Objective: configure IP addresses on Routers 1, 2, and 4 with Routing Information Protocol (RIP)as the routing protocol. Then observe routing activity using the debug ip rip command, and examine routes using the show ip route command.
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 7: Routing Protocols
1. configure Routers 1, 2, and 4 to the specifi cations outlined in the table below. 2. Use the proper network statements to configure RIP on all routers. 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. Use the show ip route command to confirm that the routes are being received on all routers. Router1#show ip route Router2#show ip route
Router4#show ip route
4. Once the routers have received the routes, execute the debug ip rip command at the privileged mode prompt on Router1. Router1#debug ip rip Observe the output on Router1’s terminal screen. (The output could take up to 60 seconds to appear.) 5. To turn off the debug command, use the no keyword in front of the command (i.e., no debug ip rip). Router1#no debug ip rip 6. View the routing table entries on Router2 and Router4. Notice the administrative distances and metrics for these routes. Router2#show ip route Router4#show ip route 7. Make sure you can ping all devices on the network from every other device. If all pings do not succeed, then you will need to troubleshoot the router configurations to ensure you configured all settings correctly. Router1#ping 192.168.1.2 Router1#ping 192.168.2.2 Router2#ping 192.168.1.1 Router2#ping 192.168.2.2 Router4#ping 192.168.2.1 Router4#ping 192.168.1.2 ************************************************ 本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72133 ,如需转载请自行联系原作者