学习啦 > 学习电脑 > 网络知识 > 路由器 > 路由器设置 > cisco思科 > 思科Eigrp split-horizon丢失路由分析

思科Eigrp split-horizon丢失路由分析

时间: 权威724 分享

思科Eigrp split-horizon丢失路由分析

学习啦在线学习网   cisco公司已成为公认的全世界网络互联解决方案的领先厂商,该公司出产的一系列路由器更是引领世界,那么你知道思科Eigrp split-horizon丢失路由分析吗?下面是学习啦小编整理的一些关于思科Eigrp split-horizon丢失路由分析的相关资料,供你参考。

  思科Eigrp split-horizon丢失路由分析:

  我们测试的网络类型是帧中继(HUB-SPOKE),R1分别与R2和R3建立frame映射,R1为 hub端,2,3 分别为spoke端 。R2只与 R1建立映射,R3也只与R1建立映射。

学习啦在线学习网   R2-----R1------R3

  配置帧中继:

  R1配置:

  R1#conf t

学习啦在线学习网   R1(config)#int lo 0

  R1(config-if)#ip add 1.1.1.1 255.255.255.0

  R1(config-if)#no sh

  R1(config-if)#int s0/0

  R1(config-if)#ip add 11.1.1.1 255.255.255.0

  R1(config-if)#encapsulation frame-relay

学习啦在线学习网   R1(config-if)#no arp frame-relay

学习啦在线学习网   R1(config-if)#no frame inverse-arp

学习啦在线学习网   R1(config-if)#frame map ip 11.1.1.2 102 broadcast

  R1(config-if)#frame map ip 11.1.1.3 103 broadcast (帧中继的标准配置)

学习啦在线学习网   R1(config-if)#no sh

  R2配置:

学习啦在线学习网   R2(config-if)#int s0/0

  R2(config-if)#ip add 11.1.1.2 255.255.255.0

  R2(config-if)#no sh

  R2(config-if)#encapsulation frame-relay

  R2(config-if)#no arp frame-relay

学习啦在线学习网   R2(config-if)#no frame inverse-arp

  R2(config-if)#frame map ip 11.1.1.1 201 broadcast

  R2(config-if)#no sh

  R3配置:

  R3(config-if)#int s0/0

  R3(config-if)#ip add 11.1.1.3 255.255.255.0

  R3(config-if)#encapsulation frame-relay

  R3(config-if)#no arp frame-relay

  R3(config-if)#no frame inverse-arp

  R3(config-if)#frame map ip 11.1.1.1 301 broadcast

  R3(config-if)#no sh

学习啦在线学习网   查看帧中继建立情况

学习啦在线学习网   R1#sh frame map

  Serial0/0 (up): ip 11.1.1.2 dlci 102(0x66,0x1860), static,

学习啦在线学习网   broadcast,

  CISCO, status defined, active

学习啦在线学习网   Serial0/0 (up): ip 11.1.1.3 dlci 103(0x67,0x1870), static,

  broadcast,

学习啦在线学习网   CISCO, status defined, active

  R2#sh frame map

学习啦在线学习网   Serial0/0 (up): ip 11.1.1.1 dlci 201(0xC9,0x3090), static,

学习啦在线学习网   broadcast,

  CISCO, status defined, active

学习啦在线学习网   R3#sh frame map

学习啦在线学习网   Serial0/0 (up): ip 11.1.1.1 dlci 301(0x12D,0x48D0), static,

  broadcast,

  CISCO, status defined, active

  已经建立完毕

  测试连通性:

学习啦在线学习网   R3#ping 11.1.1.1

学习啦在线学习网   Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 11.1.1.1, timeout is 2 seconds:

学习啦在线学习网   !!!!!(成功)

  Success rate is 100 percent (5/5), round-trip min/avg/max = 48/77/96 ms

学习啦在线学习网   帧中继有水平分割,在rip协议中,帧中继的水平分割默认是被关闭的,在eigrp协议中 帧中继的水平分割默认是被打开的可查看R1的S0/0接口

学习啦在线学习网   R1#sh ip int s0/0

  Serial0/0 is up, line protocol is up

学习啦在线学习网   Internet address is 11.1.1.1/24

  Broadcast address is 255.255.255.255

学习啦在线学习网   Address determined by setup command

学习啦在线学习网   MTU is 1500 bytes

  Helper address is not set

学习啦在线学习网   Directed broadcast forwarding is disabled

  Multicast reserved groups joined: 224.0.0.9

  Outgoing access list is not set

  Inbound access list is not set

学习啦在线学习网   Proxy ARP is enabled

学习啦在线学习网   Local Proxy ARP is disabled

  Security level is default

学习啦在线学习网   Split horizon is disabled

  ICMP redirects are always sent

  ICMP unreachables are always sent

  ICMP mask replies are never sent

学习啦在线学习网   IP fast switching is enabled

  IP fast switching on the same interface is enabled

学习啦在线学习网   IP Flow switching is disabled

  我们分别用 rip 和 eigrp做同样的实验,首先每台路由器启动RIP,通过查看路由表可以发现,R2 R3会学到对方的路由。

  R2#sh ip route

  1.0.0.0/24 is subnetted, 1 subnets

  R 1.1.1.0 [120/1] via 11.1.1.1, 00:00:04, Serial0/0

学习啦在线学习网   2.0.0.0/24 is subnetted, 1 subnets

  C 2.2.2.0 is directly connected, Loopback0

学习啦在线学习网   3.0.0.0/24 is subnetted, 1 subnets

  R 3.3.3.0 [120/2] via 11.1.1.3, 00:00:04, Serial0/0

  11.0.0.0/24 is subnetted, 1 subnets

学习啦在线学习网   C 11.1.1.0 is directly connected, Serial0/0

  可以看到3.3.3.0的路由

学习啦在线学习网   R3#sh ip route

  1.0.0.0/24 is subnetted, 1 subnets

  R 1.1.1.0 [120/1] via 11.1.1.1, 00:00:06, Serial0/0

  2.0.0.0/24 is subnetted, 1 subnets

  R 2.2.2.0 [120/2] via 11.1.1.2, 00:00:06, Serial0/0

  3.0.0.0/24 is subnetted, 1 subnets

学习啦在线学习网   C 3.3.3.0 is directly connected, Loopback0

  11.0.0.0/24 is subnetted, 1 subnets

  C 11.1.1.0 is directly connected, Serial0/0

  可以看到有2.2.2.0 的路由

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

学习啦在线学习网   R1(config)#no router rip

学习啦在线学习网   R1(config)#router ei 100

  R1(config-router)#no au

  R1(config-router)#net 1.1.1.0 0.0.0.255

学习啦在线学习网   R1(config-router)#net 11.1.1.0 0.0.0.255

  R2(config)#no router rip

  R2(config)#router ei 100

  R2(config-router)#no au

  R2(config-router)#net 2.2.2.0 0.0.0.255

  R2(config-router)#net 11.1.1.0 0.0.0.255

  R3(config)#no router rip

学习啦在线学习网   R3(config)#router ei 100

学习啦在线学习网   R3(config-router)#no au

学习啦在线学习网   R3(config-router)#net 3.3.3.0 0.0.0.255

  R3(config-router)#net 11.1.1.0 0.0.0.255

565032