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.
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.
![](https://i-blog.csdnimg.cn/blog_migrate/ff85beff375535bed356800f448a9d02.png)
Router1:
![](https://i-blog.csdnimg.cn/blog_migrate/6f5ffb47f89bafb368ca3b7b724bc575.png)
Router2:
![](https://i-blog.csdnimg.cn/blog_migrate/de81548d7877348d8059cd3d168f4461.png)
Router4:
![](https://i-blog.csdnimg.cn/blog_migrate/bd037f4a45230d7c03b6fe89b156f996.png)
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#
![](https://i-blog.csdnimg.cn/blog_migrate/e8468428e76d3c57b5e9cc1e94d1c04a.png)
Router2#config t
Router2(config)#router rip
Router2(config-router)#network 192.168.1.0
Router2(config-router)#exit
Router2(config)#exit
Router2#
![](https://i-blog.csdnimg.cn/blog_migrate/c4e49f2be312b063660fecedd4ea41d7.png)
Router4#config t
Router4(config)#router rip
Router4(config-router)#network 192.168.2.0
Router4(config-router)#exit
Router4(config)#exit
Router4#
![](https://i-blog.csdnimg.cn/blog_migrate/392d7ec2017e79ebb37af0f8509d11d7.png)
3. Use the show ip route command to confirm that the routes are being received on all routers.
Router1#show ip route
![](https://i-blog.csdnimg.cn/blog_migrate/0514627ca609b9c4eb4d1e01e37f3e83.png)
Router2#show ip route
![](https://i-blog.csdnimg.cn/blog_migrate/dc836138c14f7fd5a2a36ad485dba772.png)
Router4#show ip route
![](https://i-blog.csdnimg.cn/blog_migrate/44389e17fd29511e4ca88a7a2e843cb5.png)
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
![](https://i-blog.csdnimg.cn/blog_migrate/47ee6bde0a7168336fd6c04b2b2fd5bb.png)
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
![](https://i-blog.csdnimg.cn/blog_migrate/b7e93c0be4aa96880915e2d27c22f556.png)
6. View the routing table entries on Router2 and Router4. Notice the administrative distances and metrics for these routes.
Router2#show ip route
![](https://i-blog.csdnimg.cn/blog_migrate/290eaa4b82cbdc7af91f92c27ee3f79b.png)
Router4#show ip route
![](https://i-blog.csdnimg.cn/blog_migrate/f29ccb56e266429f5f659677cd0492fc.png)
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
![](https://i-blog.csdnimg.cn/blog_migrate/55c91b1b9272fbd3053ebad6fe094680.png)
Router2#ping 192.168.1.1
Router2#ping 192.168.2.2
![](https://i-blog.csdnimg.cn/blog_migrate/c14b5abce4a92c7fdc17740ff973359b.png)
Router4#ping 192.168.2.1
Router4#ping 192.168.1.2
![](https://i-blog.csdnimg.cn/blog_migrate/007971961214c6496f65396dfb5dbb92.png)
************************************************
本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72133
,如需转载请自行联系原作者