现在去掉RIP启动EIGRP再查看结果:

  1. R1(config)#no router rip  
  2. R1(config)#router ei 100  
  3. R1(config-router)#no au  
  4. R1(config-router)#net 1.1.1.0 0.0.0.255  
  5. R1(config-router)#net 11.1.1.0 0.0.0.255 

  1. R2(config)#no router rip  
  2. R2(config)#router ei 100  
  3. R2(config-router)#no au  
  4. R2(config-router)#net 2.2.2.0 0.0.0.255  
  5. R2(config-router)#net 11.1.1.0 0.0.0.255 

  1. R3(config)#no router rip  
  2. R3(config)#router ei 100  
  3. R3(config-router)#no au  
  4. R3(config-router)#net 3.3.3.0 0.0.0.255  
  5. R3(config-router)#net 11.1.1.0 0.0.0.255 

查看R2 R3路由表

  1. R2#sh ip route  
  2. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  3. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  4. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  5. E1 - OSPF external type 1, E2 - OSPF external type 2  
  6. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  7. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  8. o - ODR, P - periodic downloaded static route 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:01:33, Serial0/0  (此时只有R1的路由没有R3的了)  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. C       2.2.2.0 is directly connected, Loopback0  
  7. 11.0.0.0/24 is subnetted, 1 subnets  
  8. C       11.1.1.0 is directly connected, Serial0/0 

  1. R3#sh ip route  
  2. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  3. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  4. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  5. E1 - OSPF external type 1, E2 - OSPF external type 2  
  6. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  7. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  8. o - ODR, P - periodic downloaded static route 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:05:01, Serial0/0同样也是只有R1的路由没R2的)  
  5. 3.0.0.0/24 is subnetted, 1 subnets  
  6. C       3.3.3.0 is directly connected, Loopback0  
  7. 11.0.0.0/24 is subnetted, 1 subnets  
  8. C       11.1.1.0 is directly connected, Serial0/0 

这是我们在接口下关闭EIGRP的水平分割再看

  1. R1(config)#int s0/0  
  2. R1(config-if)#no ip split-horizon eigrp 100 

查看路由表

  1. R2#sh ip route  
  2. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  3. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  4. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  5. E1 - OSPF external type 1, E2 - OSPF external type 2  
  6. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  7. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  8. o - ODR, P - periodic downloaded static route 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:00:25, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. C       2.2.2.0 is directly connected, Loopback0  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. D       3.3.3.0 [90/2809856] via 11.1.1.1, 00:00:25, Serial0/0这时,我们看到了R3的路由)  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0  
  11. R3#sh ip route  
  12. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  13. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  14. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  15. E1 - OSPF external type 1, E2 - OSPF external type 2  
  16. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  17. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  18. o - ODR, P - periodic downloaded static route 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:00:20, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. D       2.2.2.0 [90/2809856] via 11.1.1.1, 00:00:20, Serial0/0 同样也有了R2的路由)  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. C       3.3.3.0 is directly connected, Loopback0  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0 

此时验证完毕,在帧中继环境中,rip协议的水平分割是默认关闭的,而eigrp的水平分割是开启的,需要在接口下手动关闭水平分割,以防出现路由缺失问题。


相关内容