注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 Pass4sure CCNA640-802 v3..
 帮助

CCNA(Stand-ALONE)Lab 17-Connectivity Tests With Traceroute


2008-04-18 15:45:01
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://redking.blog.51cto.com/27212/72302
Objective: Learn how to use the traceroute command. This command is used to map the IP addresses that a packet travels through to get from one device to another.
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
1. configure Routers 1, 2, and 4 to the specifications outlined in the table below.
Router1:
Router2:
Router4:

2. After you have configured the proper IP addresses, enable RIP routing across all three routers. Make sure you use the proper network statements.
Router1#conf t
Router1(config)#router rip
Router1(config-router)#network 192.168.1.0
Router1(config-router)#network 192.168.2.0
Router1(config-router)#exit
Router1(config)#exit
Router1#

Router2#config t
Router2(config)#router rip
Router2(config-router)#network 192.168.1.0
Router2(config-router)#exit
Router2(config)#exit
Router2#

Router4#config t
Router4(config)#router rip
Router4(config-router)#network 192.168.2.0
Router4(config-router)#exit
Router4(config)#exit
Router4#

3. From Router1, ping the directly connected routers and their interfaces, which are Router2 Ethernet 0 and Router4 serial 0.
Router1#ping 192.168.1.2
Router1#ping 192.168.2.2

4. Because RIP routing is enabled, you should be able to ping non-directly connected routers. Connect to Router2, and ping Router4’s serial 0 interface.
Router2#ping 192.168.2.2

5. The goal behind the traceroute command is to help you troubleshoot and determine the path a packet is taking to reach a destination device. In this example, there are three routers and only one path to any destination. Trace the route from Router2 to Router4’s serial 0 interface.
Router2#traceroute 192.168.2.2

6. Observe the output from the traceroute command. It lists Router1’s Ethernet 0 IP address and then the destination IP address. This means that the packet leaves Router2’s Ethernet 0 interface and passes through Router1’s Ethernet 0 interface before reaching Router4’s serial 0 interface.
***************************************************

本文出自 “大唐网络” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/72302





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: