traceroute command example
To trace IP router it, enter:
$ traceroute {IP-address}
$ traceroute 202.54.2.5
$ traceroute google.com
tracert equivalents to traceroute -I
To run Windows equivalent tracert command, enter:
$ traceroute -I google.com
tracepath example
Type the command as follows:
$ tracepath {ip-address}
$ tracepath google.com
参考:
Display Current Config for all NIC's: ifconfig
Display Current Config for eth0: ifconfig eth0
Assign IP: ifconfig eth0 192.168.1.2
Ping: ping -c 3 192.168.1.1
Assign multiple IP's: ifconfig eth0:0 192.168.1.2
Assign second IP: ifconfig eth0:1 192.168.1.3
Disable network card: ifconfig eth0 down
Enable network card: ifconfig eth0 up
View current routing table: route "or" route -n
View arp cache: arp "or" arp -n
Assign IP/Subnet: ifconfig eth0 192.168.1.2 netmask 255.255.255.0
Assign Default Gateway: route add default gw 192.168.1.1
Trace Route: traceroute
Trace Path: tracepath
DNS Test: host
Advanced DNS Test: dig
Reverse Lookup: host 66.11.119.6
Advanced Reverse Lookup: dig -x 66.11.119.69
Read more:
阅读(610) | 评论(0) | 转发(0) |