当前位置:主页   - 电脑 - 认证考试 - Cisco
CCNA(Stand-ALONE)Lab 17-Connectivity Tests With Traceroute
来源:网络   作者:redking   更新时间:2010-09-26
收藏此页】    【字号    】    【打印】    【关闭

  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.

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

  Router1:

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

  Router2:

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

  Router4:

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

  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#

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

  Router2#config t

  Router2(config)#router rip

  Router2(config-router)#network 192.168.1.0

  Router2(config-router)#exit

  Router2(config)#exit

  Router2#

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

  Router4#config t

  Router4(config)#router rip

  Router4(config-router)#network 192.168.2.0

  Router4(config-router)#exit

  Router4(config)#exit

  Router4#

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

  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

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

  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

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

  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

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

  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.

  本文出自 “王乾De技术Blog” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/72302

其它资源
来源声明

版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明