nmap - Print Host interfaces and Routes

Find out host interface and route information with nmap by using the “–iflist” option.

sudo nmap -iflist 192.168.1.69

Result:

Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 00:49 BST
************************INTERFACES************************
DEV   (SHORT) IP/MASK                      TYPE     UP MTU   MAC
eth0  (eth0)  (null)/0                     ethernet up 1500  E8:03:9A:04:76:35
lo    (lo)    127.0.0.1/8                  loopback up 65536
lo    (lo)    ::1/128                      loopback up 65536
wlan0 (wlan0) 192.168.1.69/24              ethernet up 1500  90:A4:DE:EF:C0:70
wlan0 (wlan0) fe80::92a4:deff:feef:c070/64 ethernet up 1500  90:A4:DE:EF:C0:70

**************************ROUTES**************************
DST/MASK                      DEV   METRIC GATEWAY
192.168.1.0/24                wlan0 9
0.0.0.0/0                     wlan0 0      192.168.1.1
::1/128                       lo    0
fe80::92a4:deff:feef:c070/128 lo    0
fe80::/64                     wlan0 256
ff00::/8                      wlan0 256