ifconfig and netstat on client
bash-3.2$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
ether a8:20:66:2f:98:8f
inet6 fe80::aa20:66ff:fe2f:988f%en0 prefixlen 64 scopeid 0x4
inet 10.191.36.171 netmask 0xfffffe00 broadcast 10.191.37.255
media: autoselect (1000baseT <full-duplex>)
status: active
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 5c:96:9d:72:39:6b
media: autoselect (<unknown type>)
status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 0e:96:9d:72:39:6b
media: autoselect
status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr a8:20:66:ff:fe:91:11:5e
media: autoselect <full-duplex>
status: inactive
tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.0.4.6 --> 10.0.4.5 netmask 0xffffffff
open (pid 5992)
bash-3.2$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.0.2.1 UGSc 28 45 en1
10.0.2/24 link#5 UCS 1 0 en1
10.0.2.1 0:17:f2:47:d5:43 UHLWIir 29 501 en1 27
10.0.2.3 127.0.0.1 UHS 0 0 lo0
10.0.4.5 10.0.4.6 UH 2 0 tun0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 19 535570 lo0
169.254 link#5 UCS 0 0 en1
192.168.2 10.0.4.5 UGSc 0 0 tun0