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:
  1. lo - Loopback Interface
  2. pflog - Packet Filter Logging Interface
  3. sl - SLIP Network Interface
  4. ppp - Point to Point Protocol
  5. tun - Tunnel Network Interface
  6. enc - Encapsulating Interface
  7. bridge - Ethernet Bridge Interface
  8. vlan - IEEE 802.1Q Encapsulation Interface
  9. gre - GRE/MobileIP Encapsulation Interface
  10. gif - Generic IPv4/IPv6 Tunnel Interface
  11. carp - Common Address Redundancy Protocol Interface


Read man OpenBSD man page
Code:
man ifconfig
man gre
man ppp
man gif