1. Version2:(RIP版本2)
组播更新:224.0.0.9,增加了掩码表示
2. 实验:有关RIP版本:
CCNA笔记之第十五节:RIP协议(2)_RIP 培训 ccna笔记 ccna教程
1) 按拓扑图配置环境
2) 查看R2 的路由表信息:经过自动汇总后,到172.16.0.0网段的路由有两条:
R2#sh ip route
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
R 172.16.0.0/16 [120/1] via 12.12.12.1, 00:00:11, FastEthernet0/0
[120/1] via 23.23.23.3, 00:00:05, FastEthernet0/1
3) 在R2上ping172.16.1.1 不通:经过汇总的路由汇成主网地址,路由器一个包从f0/0走,一个包从f0/1走,结果就一个不可达,一个可达:
R2#ping 172.16.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
U!.!U
4) 解决方式:R1、R2、R3修改RIP版本,关闭自动汇总,清路由表:(R2为例)
R2(config)#router rip
R2(config-router)#version 2 (改版本为2)
R2(config-router)#no auto-summary (关闭自动汇总)
R2(config-router)#do clear ip rou *
5) 再在R2 上查看路由表信息:
R2#show ip route rip
172.16.0.0/24 is subnetted, 2 subnets
R 172.16.1.0 [120/1] via 12.12.12.1, 00:00:11, FastEthernet0/0
R 172.16.2.0 [120/1] via 23.23.23.3, 00:00:17, FastEthernet0/1
6) 这时候PC1 ping PC2可以通了:
PC>ping 172.16.2.2
Reply from 172.16.2.2: bytes=32 time=17ms TTL=125
Reply from 172.16.2.2: bytes=32 time=9ms TTL=125
Reply from 172.16.2.2: bytes=32 time=10ms TTL=125
Reply from 172.16.2.2: bytes=32 time=9ms TTL=125
 
 
 
----本文档由 联科教育 (http://www.iLync.cn)原创提供,有任何问题访问我们站点咨询我们专家团队,谢谢!