本文共 958 字,大约阅读时间需要 3 分钟。
一、实验拓扑:
Note:1、V1版本:只发送V1更新,接收V1/2更新;V2版本:只发送及接收V2更新。2、把R1变为版本2,发现R2有R1的路由条目,但是R1没有R2的路由条目。
因为版本2是组播,组播只监听组播IP地址;版本1是广播。二、命令部署:1、修改R1为版本2R1(config)#router ripR1(config-router)#version 2R1(config-router)#end2、在接口下修改R1的RIP版本2接收原则
R1(config)#int f0/0R1(config-if)#ip rip receive version 1 23、在接口下修改R1的RIP版本2发送原则
R1(config)#int f0/0R1(config-if)#ip rip send version 1 2三、验证:
1、默认R1、R2都是版本1R1#show ip proversionInterface Send Recv Triggered RIP Key-chainFastEthernet0/0 1 1 2 Loopback1 1 1 22、修改R1为版本2,R2仍为版本1
R1#show ip route 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback112.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0结果:R1收不到R2的RIP路由条目3、修改R1的RIP版本2接收原则
R1#show ip proRedistributing: ripDefault version control: send version 2, receive version 2Interface Send Recv Triggered RIP Key-chainFastEthernet0/0 2 1 2 Loopback1 2 2转载于:https://blog.51cto.com/13856092/2137479