Chinaunix首页 | 论坛 | 博客
  • 博客访问: 836942
  • 博文数量: 489
  • 博客积分: 475
  • 博客等级: 下士
  • 技术积分: 3087
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-08 16:28
文章分类

全部博文(489)

文章存档

2013年(7)

2012年(301)

2011年(181)

分类: LINUX

2012-06-18 15:31:59

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) |
给主人留下些什么吧!~~