Skip to content

Instantly share code, notes, and snippets.

@wujiang
Created February 1, 2016 19:43
Show Gist options
  • Save wujiang/cdf03b5a2d13af24b8a1 to your computer and use it in GitHub Desktop.
Save wujiang/cdf03b5a2d13af24b8a1 to your computer and use it in GitHub Desktop.
openbsd ifconfig
~ $ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
priority: 0
groups: lo
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0c:29:81:a7:db
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet 192.168.240.246 netmask 0xffffff00 broadcast 192.168.240.255
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
priority: 0
groups: pflog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment