码迷,mamicode.com
首页 > 其他好文 > 详细

GNS3 模拟icmp路由跟踪

时间:2016-01-14 09:46:31      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

R1 :

conf t

int f0/0

no shutdown

ip add 192.168.1.1 255.255.255.0

no ip routing

end

 

R2 f0/0:

conf t

int f0/0

no shutdown

ip add 192.168.1.254 255.255.255.0

end

 

R2 f1/0:

conf t

int f0/0

no shutdown

ip add 192.168.2.254 255.255.255.0

end

 

 

R3 :

conf t

int f0/0

no shutdown

ip add 192.168.2.1 255.255.255.0

no ip routing

end

 

在R1里面添加 ip route 0.0.0.0 0.0.0.0 192.168.1.254映射从R1的路由表,然后ping 192.168.2.1 。思科linux 下是5个包出去,5个包返回。windows下是4个

技术分享

分析协议可以看到TTL(Time to live)值减1.

技术分享

GNS3 模拟icmp路由跟踪

标签:

原文地址:http://www.cnblogs.com/qq76211822/p/5129143.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!