In Chapter 1, we learned that split horizon is a Distance Vector protocol feature that mandates that routing information cannot be sent back out of the same interface through which it was received. This prevents the re-advertising of information back to the source from which it was learned. While this characteristic is a great loop prevention mechanism, however, it is also a significant drawback, especially in hub-and-spoke networks. To better understand the drawbacks of this feature, we will refer to the EIGRP hub-and-spoke network in Figure 2-14:
Fig. 2-14. EIGRP Split Horizon
The topology in Figure 2-14 illustrates a classic hub and spoke network, with router HQ as the hub router and routers S1 and S2 as the two spoke routers. On the Frame Relay WAN, each spoke router has a single DLCI provisioned between itself and the HQ router in a partial mesh topology. The Frame Relay configuration on the routers is verified as follows:
| HQ#show frame-relay map Serial0/0 (up): ip 172.16.1.2 dlci 102(0x66,0x1860), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 172.16.1.1 dlci 103(0x67,0x1870), static, broadcast, CISCO, status defined, activeS1#show frame-relay map Serial0/0 (up): ip 172.16.1.2 dlci 301(0x12D,0x48D0), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 172.16.1.3 dlci 301(0x12D,0x48D0), static, broadcast, CISCO, status defined, activeS2#show frame-relay map Serial0/0 (up): ip 172.16.1.1 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 172.16.1.3 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, active |
NOTE: You are not expected to perform any Frame Relay configuration in the ROUTE exam. This output is provided for clarity.
EIGRP has been enabled on all three routers, using AS 150. The HQ router shows the following EIGRP neighbor relationships with the spoke routers:
| HQ#show ip eigrp neighbors IP-EIGRP neighbors for process 150 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 172.16.1.1 Se0/0 165 00:01:07 24 200 0 2 0 172.16.1.2 Se0/0 153 00:01:25 124 744 0 2 |
The first spoke router, S1, shows the EIGRP neighbor relationship with the HQ router:
| S1#show ip eigrp neighbors IP-EIGRP neighbors for process 150 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 172.16.1.3 Se0/0 128 00:00:53 911 5000 0 4 |
The second spoke router, S2, also shows the EIGRP neighbor relationship with the HQ router:
| S2#show ip eigrp neighbors IP-EIGRP neighbors for process 150 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 172.16.1.3 Se0/0 156 00:02:20 8 200 0 4 |
By default, EIGRP split horizon is enabled for WAN interfaces connected to packet switched networks, such as Frame Relay. This means that the HQ router will not advertise routing information learned on Serial0/0 out of the same interface. The effect of this default behavior is that the HQ router will not advertise the 10.1.1.0/24 prefix received from S1 to S2 because the route is received via the Serial0/0 interface and the split horizon feature prevents the router from advertising information learned on that interface back out the same interface. The same is also applicable for the 10.2.2.0/24 prefix the HQ router receives from S2.
This default behavior means that while the HQ router is aware of both prefixes, the spoke routers only have partial routing tables. The routing table on the HQ router is as follows:
| HQ#show ip route eigrp 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks D 10.1.1.0/24 [90/2195456] via 172.16.1.1, 00:12:04, Serial0/0 D 10.2.2.0/24 [90/2195456] via 172.16.1.2, 00:12:06, Serial0/0 |
The routing table on spoke S1 shows the following:
| S1#show ip route eigrp 192.168.1.0/26 is subnetted, 1 subnets D 192.168.1.0 [90/2195456] via 172.16.1.3, 00:10:53, Serial0/0 |
The routing table on spoke S2 shows the following:
| S2#show ip route eigrp 192.168.1.0/26 is subnetted, 1 subnets D 192.168.1.0 [90/2195456] via 172.16.1.3, 00:10:55, Serial0/0 |
The result of this default behavior is that while the HQ router will be able to reach both of the spoke router networks, neither spoke router will be able to reach the network of the other. There are several ways such a situation can be addressed. The methods that can be used are:
- Disabling split horizon on the HQ (hub) router
- Advertising a default route from the HQ router to the spoke routers
- Manually configuring EIGRP neighbors on the routers
Disabling split horizon is performed at the interface level using the no ip split-horizon eigrp [AS] interface configuration command on the hub router. Referencing the network topology illustrated in Figure 2-13, this interface configuration command would be applied to the Serial0/0 interface on the HQ router. This is performed as follows:
| HQ(config)#interface serial 0/0 HQ(config-if)#no ip split-horizon eigrp 150 |
After split horizon is disabled, the HQ router can advertise information back out on the same interface on which it was received. For example, the routing table on spoke S2 now shows a routing entry for the 10.1.1.0/24 prefix advertised by spoke S1 to the HQ router:
| S2#show ip route eigrp 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks D 10.1.1.0/24 [90/2707456] via 172.16.1.3, 00:00:47, Serial0/0 192.168.1.0/26 is subnetted, 1 subnets D 192.168.1.0 [90/2195456] via 172.16.1.3, 00:00:47, Serial0/0 |
A simple ping test from spoke S2 to the 10.1.1.0/24 subnet can be used to verify connectivity:
| S2#ping 10.1.1.2Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 24/27/32 ms |
The second method to work around split horizon is to simply advertise a default route from the HQ router to the spoke routers. In this situation, the ip summary-address eigrp 150 0.0.0.0 0.0.0.0 interface configuration command could be applied to the Serial0/0 interface of the HQ router. This would allow the spoke routers to reach each other through the HQ router, which contains the full routing table negating the need to disable split horizon.
The final alternative method to disabling split horizon is to manually configure EIGRP neighbor statements on all routers using the neighbor router configuration command. Because updates between neighbors are Unicast when this configuration is used, the split horizon limitation is removed. This option works well in small networks; however, as the network grows and the number of spoke routers increases, so does the configuration overhead.
Given that the configuration of both EIGRP default routing and static neighbors was described in detail in earlier sections in this chapter, the configuration of these features is omitted for brevity. EIGRP stub routing is a core ROUTE requirement that is described in the section below.
