Lab Objective:
The focus of this lab is to understand EIGRP implementation and configuration in Cisco IOS routers. Additional technologies tested include split horizon and next-hop processing.
Lab Topology:
The lab network topology is illustrated below:
|
IMPORTANT NOTE If you are using the www.howtonetwork.net racks, please bring up the LAN interfaces connected to the routers by issuing the no shutdown command on the connected switches. If you are using a home lab with no interface fastethernet 0/0 Alternately, you can simply connect the interfaces to a hub or switch if you have one available in your own lab. Also, if you are using the www.howtonetwork.net racks, configure R3 as the Frame Relay switch using the following configuration commands: hostname R3-Frame-Relay-Switch |
Task 1
Configure hostnames and IP addressing on all routers as illustrated in the network topology.
Task 2
Configure EIGRP for AS 1 as illustrated in the topology. Use a single ‘network’ command to enable EIGRP for all interfaces. No EIGRP packets should be sent out of the LAN interfaces.
Task 3
Configure EIGRP so that routers R2 and R4 are able to ping each others’ 150.x.x.x/24 subnets, as well as the 150.1.1.0/24 subnet connected to R1. Do NOT use default or static routing to do this.
Task 4
Additional spoke routers will be added to the Frame Relay network in the future. In order to easily identify which spoke router is advertising which 150.x.x.x subnet, configure EIGRP so that the next hop IP address for each 150.x.x.x is the WAN IP address of the router that advertised it instead of the IP address of the hub router (R1). For example, on R2, the next hop IP address of the 150.4.4.0/24 subnet should be 10.0.0.4.
Task 5
Configure the network so that spoke R2 and R4 routers can ping each others’ 150.x.x.x/24 subnets. Test your configuration by pinging LAN-to-LAN between the spoke routers.
Lab Validation
Task 1
| Router(config)#hostname R1 R1(config)#interface fastethernet 0/0 R1(config-if)#no shutdown R1(config-if)#ip address 150.1.1.1 255.255.255.0 R1(config-if)#exit R1(config)#interface serial 0/1 R1(config-if)#ip address 10.0.0.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#encapsulation frame-relay R1(config-if)#exit |
| Router(config)#hostname R2 R2(config)#interface fastethernet 0/0 R2(config-if)#no shutdown R2(config-if)#ip address 150.2.2.2 255.255.255.0 R2(config-if)#exit R2(config)#interface serial 0/1 R2(config-if)#ip address 10.0.0.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#encapsulation frame-relay R2(config-if)#exit |
| Router(config)#hostname R4 R4(config)#interface fastethernet 0/0 R4(config-if)#no shutdown R4(config-if)#ip address 150.4.4.4 255.255.255.0 R4(config-if)#exit R4(config)#interface serial 0/0 R4(config-if)#ip address 10.0.0.4 255.255.255.0 R4(config-if)#no shutdown R4(config-if)#encapsulation frame-relay R4(config-if)#exit |
Task 2
| R1(config)#router eigrp 1 R1(config-router)#no auto-summary R1(config-router)#passive-interface fastethernet 0/0 R1(config-router)#network 0.0.0.0 255.255.255.255 R1(config-router)#exit |
| R2(config)#router eigrp 1 R2(config-router)#no auto-summary R4(config-router)#passive-interface fastethernet 0/0 R2(config-router)#network 0.0.0.0 255.255.255.255 R2(config-router)#exit |
| R4(config)#router eigrp 1 R4(config-router)#no auto-summary R4(config-router)#passive-interface fastethernet 0/0 R4(config-router)#network 0.0.0.0 255.255.255.255 R4(config-router)#exit |
Verify your configuration using the show ip eigrp neighbors command:
| R1#show ip eigrp neighbors IP-EIGRP neighbors for process 1 H  Address                Interface      Hold Uptime  SRTT  RTO Q Seq (sec)        (ms)      Cnt Num 2  10.0.0.4               Se0/1           141 00:02:32  20  200 0 11 0  10.0.0.2               Se0/1           159 00:03:02  23  200 0 3 |
| R2#show ip eigrp neighbors IP-EIGRP neighbors for process 1 H  Address                Interface      Hold Uptime  SRTT  RTO Q Seq (sec)        (ms)      Cnt Num 0  10.0.0.1               Se0/1           138 00:03:06 1215 5000 0 12 |
| R4#show ip eigrp neighbors IP-EIGRP neighbors for process 1 H  Address                Interface      Hold Uptime  SRTT  RTO Q Seq (sec)        (ms)      Cnt Num 1  10.0.0.1               Se0/0           147 00:02:26  20  200 0 12 |
Task 3
By default, EIGRP will not advertise routes out the same interface via which they were learned due to split horizon. Prior to any changes, the routing tables of all three routers are as follows:
| Â R1#show ip route eigrp 150.2.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.2.2.0 [90/2172416] via 10.0.0.2, 00:04:21, Serial0/1 150.4.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.4.4.0 [90/2172416] via 10.0.0.4, 00:02:29, Serial0/1 |
| R2#show ip route eigrp 150.1.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.1.1.0 [90/2172416] via 10.0.0.1, 00:04:58, Serial0/1 |
| R4#show ip route eigrp 150.1.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.1.1.0 [90/2172416] via 10.0.0.1, 00:02:37, Serial0/0 |
To complete this task, split horizon should be disabled on the WAN interface on R1 (hub):
| R1(config)#interface serial 0/1 R1(config-if)#no ip split-horizon eigrp 1 R1(config-if)#exit |
Following this change, the routing tables on all three routers show the following:
| R1#show ip route eigrp 150.2.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.2.2.0 [90/2172416] via 10.0.0.2, 00:06:42, Serial0/1 150.4.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.4.4.0 [90/2172416] via 10.0.0.4, 00:04:50, Serial0/1 |
| R2#show ip route eigrp 150.1.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.1.1.0 [90/2172416] via 10.0.0.1, 00:07:37, Serial0/1 150.4.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.4.4.0 [90/2684416] via 10.0.0.1, 00:01:19, Serial0/1 |
| R4#show ip route eigrp 150.1.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.1.1.0 [90/2172416] via 10.0.0.1, 00:05:38, Serial0/0 150.2.0.0/24 is subnetted, 1 subnets DÂ Â Â Â Â Â 150.2.2.0 [90/2684416] via 10.0.0.1, 00:01:43, Serial0/0 |
Verify connectivity between the LAN subnets using a simple ping:
| R1#ping 150.2.2.2 source 150.1.1.1
Type escape sequence to abort. R1#ping 150.4.4.4 source 150.1.1.1 Type escape sequence to abort. |
| R2#ping 150.1.1.1 source 150.2.2.2
Type escape sequence to abort. R2#ping 150.4.4.4 source 150.2.2.2 Type escape sequence to abort. |
| R4#ping 150.1.1.1 source 150.4.4.4
Type escape sequence to abort. R4#ping 150.2.2.2 source 150.4.4.4 Type escape sequence to abort. |
Task 4
EIGRP does not set the NEXT HOP field in EIGRP packets by default. Therefore, on a multi-access network, such as an NBMA or Ethernet network, a router receiving routes from an EIGRP router assumes that the next hop of these routes is the router sending the updates, even though it might actually be another router on the same subnet, as illustrated below:
| R2#show ip route 150.4.4.0 255.255.255.0 Routing entry for 150.4.4.0/24 Known via “eigrp 1”, distance 90, metric 2684416, type internal Redistributing via eigrp 1 Last update from 10.0.0.1 on Serial0/1, 00:08:43 ago Routing Descriptor Blocks: * 10.0.0.1, from 10.0.0.1, 00:08:43 ago, via Serial0/1 Route metric is 2684416, traffic share count is 1 Total delay is 40100 microseconds, minimum bandwidth is 1544 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 2 |
| R4#show ip route 150.2.2.0 255.255.255.0 Routing entry for 150.2.2.0/24 Known via “eigrp 1”, distance 90, metric 2684416, type internal Redistributing via eigrp 1 Last update from 10.0.0.1 on Serial0/0, 00:09:23 ago Routing Descriptor Blocks: * 10.0.0.1, from 10.0.0.1, 00:09:23 ago, via Serial0/0 Route metric is 2684416, traffic share count is 1 Total delay is 40100 microseconds, minimum bandwidth is 1544 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 2 |
The first part of this task is completed by using the no ip next-hop-self eigrp <ASN> Â command on the hub router interface. When this command is issued, R1 will begin to set the NEXT HOP field in outgoing routing updates only if the IP next hop in its EIGRP topology table belongs to the IP subnet of the outgoing interface. The NEXT HOP field is set in internal as well as external EIGRP routing updates, optimizing traffic flow in route redistribution scenarios.
| R1(config)#interface serial 0/1 R1(config-if)#no ip next-hop-self eigrp 1 R1(config-if)#exit |
Following this configuration, the routing tables for the spoke routers show the following:
| R2#show ip route 150.4.4.0 255.255.255.0 Routing entry for 150.4.4.0/24 Known via “eigrp 1”, distance 90, metric 2684416, type internal Redistributing via eigrp 1 Last update from 10.0.0.4 on Serial0/1, 00:00:20 ago Routing Descriptor Blocks: * 10.0.0.4, from 10.0.0.1, 00:00:20 ago, via Serial0/1 Route metric is 2684416, traffic share count is 1 Total delay is 40100 microseconds, minimum bandwidth is 1544 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 2 |
| R4#show ip route 150.2.2.0 255.255.255.0 Routing entry for 150.2.2.0/24 Known via “eigrp 1”, distance 90, metric 2684416, type internal Redistributing via eigrp 1 Last update from 10.0.0.2 on Serial0/0, 00:01:03 ago Routing Descriptor Blocks: * 10.0.0.2, from 10.0.0.1, 00:01:03 ago, via Serial0/0 Route metric is 2684416, traffic share count is 1 Total delay is 40100 microseconds, minimum bandwidth is 1544 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 2 |
Notice that the NEXT HOP has changed for each spoke LAN subnet and it reflects the interface address of the actual spoke router. However, because there is no direct Frame Relay PVC between the two spoke routers, you will not be able to ping between the LAN interfaces:
| R4#show frame-relay map Serial0/0 (up): ip 10.0.0.1 dlci 401(0x191,0x6410), dynamic, broadcast,, status defined, active R4#ping 150.2.2.2 source 150.4.4.4 Type escape sequence to abort. |
Task 5
In the previous task, following the changing of the NEXT HOP, we observed that we were still unable to ping between the LAN routers. This task is required to allow this connectivity:
| R2(config)#interface serial 0/1 R2(config-if)#frame-relay map ip 10.0.0.1 201 broadcast R2(config-if)#frame-relay map ip 10.0.0.4 201 broadcast R2(config-if)#exit R2(config)# R2(config)#do show frame-relay map Serial0/1 (up): ip 10.0.0.1 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, active Serial0/1 (up): ip 10.0.0.4 dlci 201(0xC9,0x3090), static, broadcast, CISCO, status defined, active |
| R4(config)#interface serial 0/0 R4(config-if)#frame-relay map ip 10.0.0.1 401 broadcast R4(config-if)#frame-relay map ip 10.0.0.2 401 broadcast R4(config-if)#exit R4(config)# R4(config)#do show frame-relay map Serial0/0 (up): ip 10.0.0.1 dlci 401(0x191,0x6410), static, broadcast, CISCO, status defined, active Serial0/0 (up): ip 10.0.0.2 dlci 401(0x191,0x6410), static, broadcast, CISCO, status defined, active |
Following this configuration, the spokes are again able to ping LAN to LAN:
| R4#ping 150.2.2.2 source 150.4.4.4 repeat 10 size 1500 df-bit timeout 1Â Â
Type escape sequence to abort. |
It should be noted that simply creating the static Frame Relay map statement does not mean that an EIGRP neighbor relationship is established between the spokes. The spoke routing information will not change. In other words the NEXT HOP will still be the spoke router that originated the route, but the route will still be received from R1:
| R4#show ip route 150.2.2.0 255.255.255.0 Routing entry for 150.2.2.0/24 Known via “eigrp 1”, distance 90, metric 2684416, type internal Redistributing via eigrp 1 Last update from 10.0.0.2 on Serial0/0, 00:24:56 ago Routing Descriptor Blocks: * 10.0.0.2, from 10.0.0.1, 00:24:56 ago, via Serial0/0 Route metric is 2684416, traffic share count is 1 Total delay is 40100 microseconds, minimum bandwidth is 1544 Kbit Reliability 255/255, minimum MTU 1500 bytes Loading 1/255, Hops 2 |
Final Router Configurations
R1
|
R1#term len 0 Current configuration : 981 bytes R1# |
R2
|
R2#term len 0 Current configuration : 989 bytes R2# |
R3
|
R3-Frame-Relay-Switch#term len 0 Current configuration : 1556 bytes R3-Frame-Relay-Switch# |
R4
|
R4#term len 0 Current configuration : 989 bytes R4# |
