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

简介:
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.
***************************************************




本文转自redking51CTO博客,原文链接: http://blog.51cto.com/redking/72302 ,如需转载请自行联系原作者
相关文章

热门文章

最新文章