The ifconfig command is used to assign an address to a network interface and/or configure network interface parameters. It can also used to display network card information such as Subnet mask, IP address and much more.
Command to display network card Information
Generally you will see lo0 (loopback) and network card interface such as ra0 along with IP, netmask etc (look for inet 10.0.0.38 netmask 0xffffff00 broadcast 10.0.0.255 line)Code:ifconfig
You will also find several other interfaces come enabled by default. These are virtual interfaces that serve various functions under OpenBSD:
- lo - Loopback Interface
- pflog - Packet Filter Logging Interface
- sl - SLIP Network Interface
- ppp - Point to Point Protocol
- tun - Tunnel Network Interface
- enc - Encapsulating Interface
- bridge - Ethernet Bridge Interface
- vlan - IEEE 802.1Q Encapsulation Interface
- gre - GRE/MobileIP Encapsulation Interface
- gif - Generic IPv4/IPv6 Tunnel Interface
- carp - Common Address Redundancy Protocol Interface
Read man OpenBSD man page
Code:man ifconfig man gre man ppp man gif
What's wrong? I hope I am not making you uncomfortable...
Never send a boy to do a mans job.
There are currently 1 users browsing this thread. (0 members and 1 guests)