Lab7:IGRP的简单配置
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://guyun.blog.51cto.com/71128/22502 |
![]() 注:因IGRP与RIP一样,也是有类路由,所以基本上和RIP一样. Router> Router>en Router#con t Router(config)#host R1 R1(config)#int e0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#exit R1(config)#exit R1#show controllers 在不知道哪个是DCE的话可用此命令 HD unit 0, idb = 0x1AE828, driver structure at 0x1B4BA0 buffer size 1524 HD unit 0,V.35 DCE cable cpb = 0x7, eda = 0x58DC, cda = 0x58F0 RX ring with 16 entries at 0x4075800 R1#con t R1(config)#int s0 R1(config-if)#ip add 192.168.2.1 255.255.255.0 R1(config-if)#clock rate 64000 R1(config-if)#no sh R1(config-if)#exit R1(config)#route igrp 100 启用IGRP路由 R1(config-router)#net 192.168.1.0 R1(config-router)#net 192.168.2.0 R1(config-router)#exit R1(config)#exit Router> Router>en Router#con t Router(config)#host R2 R2(config)#int e0 R2(config-if)#ip add 192.168.3.1 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#int s0 R2(config-if)#ip add 192.168.2.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#route igrp 100 R2(config-router)#net 192.168.2.0 R2(config-router)#net 192.168.3.0 R2(config-router)#exit R2(config)#exit R2#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 192.168.3.0 is directly connected, Ethernet0 C 192.168.2.0 is directly connected, Serial0 R2#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route Gateway of last resort is not set C 192.168.3.0 is directly connected, Ethernet0 C 192.168.2.0 is directly connected, Serial0 I 192.168.1.0 [100/651] via 192.168.2.1, 00:05:24, Serial0 R1#show ip route Codes: C - connected, S - static, I - IGRP,
R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route
Gateway of last resort is not set
C
192.168.3.0 is directly connected, Ethernet0
C
192.168.2.0 is directly connected, Serial0
I
192.168.1.0 [100/651] via 192.168.2.1, 00:05:24, Serial0
本文出自 “Ж孤云Ж” 博客,请务必保留此出处http://guyun.blog.51cto.com/71128/22502 本文出自 51CTO.COM技术博客 |



Ж孤云Ж
博客统计信息
热门文章
最新评论
友情链接