Building the Network You Need with OpenBSD's PF: EuroBSDCon, St. Julian's, September 26th 2013 | ||
---|---|---|
Prev | Next |
Check interface status with ifconfig -a
$ ifconfig -a lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33208 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:08:a1:85:8d:8c priority: 4 groups: wlan media: IEEE802.11 autoselect mode 11g hostap status: active ieee80211: nwid unwiredbsd chan 1 bssid 00:08:a1:85:8d:8c nwkey <not displayed> 100dBm inet6 fe80::208:a1ff:fe85:8d8c%ral0 prefixlen 64 scopeid 0x2 inet6 2001:16d8:ccbc:baad::1 prefixlen 64 inet 10.168.103.1 netmask 0xff000000 broadcast 10.255.255.255 xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:50:da:21:cb:c9 priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::250:daff:fe21:cbc9%xl0 prefixlen 64 scopeid 0x3 inet 213.187.179.198 netmask 0xfffffffc broadcast 213.187.179.199 inet6 2001:16d8:ccbc:dead:beef::1 prefixlen 64 sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:04:e2:e1:aa:e5 priority: 0 media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.103.1 netmask 0xffffff00 broadcast 192.168.103.255 inet6 fe80::204:e2ff:fee1:aae5%sk0 prefixlen 64 scopeid 0x4 inet6 2001:16d8:ccbc:dead::1 prefixlen 64 enc0: flags=0<> priority: 0 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208 groups: pflog