traceroute

How can MTR scriptly tracroutes multiple hosts ( one network )?


mtr

As picture showed above, since mtr can only traceroute one host once, how can I "scan" the whole network (172.16.0.0/16) and find all the hosts which only got 2 hops, with a script? Thank you.


Solution

  • For those who may need it, the simple way: enter image description here