Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created November 5, 2014 15:48
Show Gist options
  • Save kaworu/a9de58ec74b55d12a71d to your computer and use it in GitHub Desktop.
Save kaworu/a9de58ec74b55d12a71d to your computer and use it in GitHub Desktop.
# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
vio0: flags=28b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST,NOINET6> mtu 1500
lladdr 00:a0:98:48:34:12
priority: 0
groups: egress
media: Ethernet autoselect
status: active
inet 178.63.43.248 netmask 0xffffff00 broadcast 178.63.43.255
enc0: flags=20000<NOINET6>
priority: 0
groups: enc
status: active
pflog0: flags=20141<UP,RUNNING,PROMISC,NOINET6> mtu 33144
priority: 0
groups: pflog
# cat /etc/hostname.vio0
inet 178.63.43.248 255.255.255.0
# cat /etc/mygate
178.63.43.193
# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 178.63.43.193 UGS 0 197 - 8 vio0
127/8 127.0.0.1 UGRS 0 0 32768 8 lo0
127.0.0.1 127.0.0.1 UH 0 0 32768 4 lo0
178.63.43/24 link#1 UC 1 0 - 4 vio0
178.63.43.193 00:26:88:76:0d:21 UHLc 1 5 - 4 vio0
178.63.43.248 00:a0:98:48:34:12 UHLl 0 0 - 1 lo0
224/4 127.0.0.1 URS 0 0 32768 8 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Prio Iface
::/104 ::1 UGRS 0 0 32768 8 lo0
::/96 ::1 UGRS 0 0 32768 8 lo0
::1 ::1 UH 14 0 32768 4 lo0
::127.0.0.0/104 ::1 UGRS 0 0 32768 8 lo0
::224.0.0.0/100 ::1 UGRS 0 0 32768 8 lo0
::255.0.0.0/104 ::1 UGRS 0 0 32768 8 lo0
::ffff:0.0.0.0/96 ::1 UGRS 0 0 32768 8 lo0
2002::/24 ::1 UGRS 0 0 32768 8 lo0
2002:7f00::/24 ::1 UGRS 0 0 32768 8 lo0
2002:e000::/20 ::1 UGRS 0 0 32768 8 lo0
2002:ff00::/24 ::1 UGRS 0 0 32768 8 lo0
fe80::/10 ::1 UGRS 0 0 32768 8 lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 - 4 lo0
fe80::1%lo0 fe80::1%lo0 UHLl 0 0 - 1 lo0
fec0::/10 ::1 UGRS 0 0 32768 8 lo0
ff01::/16 ::1 UGRS 0 0 32768 8 lo0
ff01::%lo0/32 fe80::1%lo0 UC 0 0 - 4 lo0
ff02::/16 ::1 UGRS 0 0 32768 8 lo0
ff02::%lo0/32 fe80::1%lo0 UC 0 0 - 4 lo0
# ping 178.63.43.193
PING 178.63.43.193 (178.63.43.193): 56 data bytes
--- 178.63.43.193 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment