Objective: configure Routers 1, 2, and 4 with IP addresses and Interior Gateway Routing Protocol (IGRP).
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 7: Routing Protocols
Goals:
• Set the host name, and bring up the interfaces.
• configure IGRP.
• Select the directly connected networks.
• Display the routing table.
• Display the IGRP protocol information.
1. configure Routers 1, 2, and 4 to the specifications outlined in the table and diagram below.
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 7: Routing Protocols
Goals:
• Set the host name, and bring up the interfaces.
• configure IGRP.
• Select the directly connected networks.
• Display the routing table.
• Display the IGRP protocol information.
1. configure Routers 1, 2, and 4 to the specifications outlined in the table and diagram below.
Router1:
Router2:
Router4:
2. After you have configured the correct IP address on each interface, verify that each router can ping its directly connected neighbors.
Router1#ping 10.1.1.2
Router1#ping 172.16.10.2
Router2#ping 10.1.1.1
Router4#ping 172.16.10.1
3. Access global configuration mode on Router1, and enter the command to configure IGRP as the routing protocol on Router1; use the autonomous system number 100.
Router1#config terminal
Router1(config)#router igrp 100
Router1(config-router)#
4. Add the network(s) to which Router1 is directly connected.
Router1(config-router)#network 10.0.0.0
Router1(config-router)#network 172.16.0.0
5. Now, enter global configuration mode on Router2, and add IGRP. Remember to use the same autonomous system number.
Router2#config terminal
Router2(config)#router igrp 100
Router2(config-router)#
6. Add the network(s) to which Router2 is directly connected.
Router2(config-router)#network 10.0.0.0
7. Now, enter global configuration mode on Router4, and add IGRP. Remember to use the same autonomous system number.
Router4#config terminal
Router4(config)#router igrp 100
Router4(config-router)#
8. Add the network(s) to which Router4 is directly connected.
Router4(config-router)#network 172.16.0.0
9. IGRP should now be running on all three routers. See if pings are successful between routers that are not directly connected. From Router2, you should now be able to ping Router4’s serial 0 interface. From Router4, you should be able to ping Router2’s Ethernet 0 interface.
Router2#ping 172.16.10.2
Router4#ping 10.1.1.2
If you can ping both devices, then you have correctly configured routing. If the pings were not successful, trace back through the steps.
10. Now, display the routing table on Router4.
Router4#show ip route
11. Finally, display specific IP routing protocol information on Router4.
Router4#show ip protocol
********************************************************
本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72214
,如需转载请自行联系原作者