I'm using Zenmap to map out the network topology of the company I'm working in. When I ran the following command to trace route how my system connects to the internet but Zenmap only shows me a single hop.
nmap -sn --traceroute google.com Starting Nmap 7.70 ( https://nmap.org ) Nmap scan report for google.com (126.96.36.199) Host is up (0.00025s latency). rDNS record for 188.8.131.52: par10s28-in-f110.1e100.net TRACEROUTE (using port 80/tcp) HOP RTT ADDRESS 1 0.00 ms par10s28-in-f110.1e100.net (184.108.40.206) Nmap done: 1 IP address (1 host up) scanned in 3.19 seconds
This happens regardless of what target I provide (bing, facebook or even a server I know is on a different continent). I tried running the same command directly in the cmd but that also shows the same result. Tracert command on cmd shows the correct result (ie all the hops).
I know nmap runs traceroute in a different way but I'd like to know why this happens. Also is there anyway to fix this and make it actually show the entire route and all the hops? I searched on the internet but I couldn't find a solution. This is important for building the topology diagram in zenmap.
EDIT: As per comments, I tried traceroute to IP addreess.
nmap -sn --traceroute 220.127.116.11
Still shows the same result.
Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-24 18:13 Nmap scan report for par10s28-in-f14.1e100.net (18.104.22.168) Host is up (0.00025s latency). TRACEROUTE (using port 80/tcp) HOP RTT ADDRESS 1 0.00 ms par10s28-in-f14.1e100.net (22.214.171.124) Nmap done: 1 IP address (1 host up) scanned in 3.18 seconds