sudo nmap -sn --traceroute 192.168.1.2
result:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 02:07 BST
Nmap scan report for 192.168.1.2
Host is up (0.0024s latency).
MAC Address: 44:A8:42:34:16:49 (Unknown)
TRACEROUTE
HOP RTT ADDRESS
1 2.43 ms 192.168.1.2
Nmap done: 1 IP address (1 host up) scanned in 0.26 seconds