If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

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
Type ifconfig

Code:

ifconfig

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)

You will also find several other interfaces come enabled by default. These are virtual interfaces that serve various functions under OpenBSD: