Lab Objective:
The focus of this lab is to understand EIGRP implementation and configuration in Cisco IOS routers. Additional technologies tested include redistribution and path control. In addition, basic ODR implementation and configuration is also tested.
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. |
Task 1
Configure hostnames and IP addressing on all routers as illustrated in the network topology.
Task 2
Configure EIGRP for AS 1as is illustrated in the topology; however, you should NOT advertise the 10.0.0.12/30 subnet between routers R3 and R4 or the 150.3.3.0/24 LAN subnet connected to R3 via EIGRP. Ensure that no EIGRP packets are sent or received on any interfaces for which EIGRP is enabled but which will have no EIGRP neighbors. Verify your configuration.
Task 3
Configure ODR between R3 and R4. Verify that R3 receives the 150.4.4.0/24, 160.4.4.0/24, and 170.4.4.0/24 subnets connected to R4s LAN interface via ODR.
Task 4
Configure your network so that all the other routers can reach the 150.4.4.0/24, 160.4.4.0/24 , and 170.4.4.4.0/24 subnets configured on R4. These prefixes should be assigned a route tag of 150, 160, and 170, respectively. Ensure all routers can ping each other following this configuration. Verify your configuration using the appropriate commands.
Task 5
Configure your network so R1 prefers the path via R2 to reach the 150.3.3.0/24 and 150.4.4.0/24 subnets. All other routes should follow the best path. Do NOT modify EIGRP metrics in any manner to complete this task. Verify your configuration.
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/0 R1(config-if)#no shutdown R1(config-if)#ip address 10.0.0.1 255.255.255.252 R1(config-if)#clock rate 2000000 R1(config-if)#exit R1(config)#interface serial 0/1 R1(config-if)#no shutdown R1(config-if)#ip address 10.0.0.5 255.255.255.252 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/0 R2(config-if)#no shutdown R2(config-if)#ip address 10.0.0.2 255.255.255.252 R2(config-if)#exit R2(config)#interface serial 0/0 R2(config-if)#no shutdown R2(config-if)#ip address 10.0.0.9 255.255.255.252 R2(config-if)#exit |
| Router(config)#hostname R3 R3(config)#interface fastethernet 0/0 R3(config-if)#no shutdown R3(config-if)#ip address 150.3.3.3 255.255.255.0 R3(config-if)#exit R3(config)#interface serial 1/0 R3(config-if)#no shutdown R3(config-if)#ip address 10.0.0.6 255.255.255.252 R3(config-if)#clock rate 128000 R3(config-if)#exit R3(config)#interface serial 1/1 R3(config-if)#no shutdown R3(config-if)#ip address 10.0.0.10 255.255.255.252 R3(config-if)#clock rate 128000 R3(config-if)#exit R3(config)#interface serial 1/2 R3(config-if)#no shutdown R3(config-if)#ip address 10.0.0.13 255.255.255.252 R3(config-if)#clock rate 128000 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)#ip address 160.4.4.4 255.255.255.0 secondary R4(config-if)#ip address 170.4.4.4 255.255.255.0 secondary R4(config-if)#exit R4(config)#interface serial 0/0 R4(config-if)#no shutdown R4(config-if)#ip address 10.0.0.14 255.255.255.252 R4(config-if)#exit |
Task 2
| R1(config)#router eigrp 1 R1(config-router)#network 150.1.1.0 0.0.0.255 R1(config-router)#network 10.0.0.0 0.0.0.3 R1(config-router)#network 10.0.0.4 0.0.0.3 R1(config-router)#passive-interface fastethernet 0/0 R1(config-router)#no auto-summary R1(config-router)#exit |
| R2(config)#router eigrp 1 R2(config-router)#network 150.2.2.0 0.0.0.255 R2(config-router)#network 10.0.0.0 0.0.0.3 R2(config-router)#network 10.0.0.8 0.0.0.3 R2(config-router)#passive-interface fastethernet 0/0 R2(config-router)#no auto-summary R2(config-router)#exit |
| R3(config)#router eigrp 1 R3(config-router)#network 10.0.0.4 0.0.0.3 R3(config-router)#network 10.0.0.8 0.0.0.3 R3(config-router)#no auto-summary R3(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 1 10.0.0.6 Se0/1 13 00:00:06 14 200 0 21 0 10.0.0.2 Se0/0 12 00:00:07 5 200 0 25 |
| R2#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 11 00:00:03 3 200 0 31 0 10.0.0.10 Se0/1 14 00:00:05 24 200 0 30 |
| R3#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.9 Se1/1 11 00:00:03 15 1140 0 38 0 10.0.0.5 Se1/0 14 00:00:05 11 1140 0 35 |
You can view passive interfaces using the show ip protocols command:
| R1#show ip protocols Routing Protocol is “eigrp 1” Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Default networks flagged in outgoing updates Default networks accepted from incoming updates EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 1 EIGRP NSF-aware route hold timer is 240s Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 10.0.0.0/30 10.0.0.4/30 150.1.1.0/24 Passive Interface(s): FastEthernet0/0 Routing Information Sources: Gateway Distance Last Update (this router) 90 00:00:27 10.0.0.2 90 00:00:22 10.0.0.6 90 00:00:22 Distance: internal 90 external 170 |
Task 3
In order to run ODR, CDP must be enabled. By default, CDP is enabled on LAN and point-to-point WAN interfaces. If CDP is disabled, it can be globally enabled using the cdp run command. Alternatively, CDP can be enabled on a per-interface basis using the cdp enable command. Use the show cdp interface command to see the interfaces running CDP.
| R4#show cdp interface FastEthernet0/0 is up, line protocol is up Encapsulation ARPA Sending CDP packets every 60 seconds Holdtime is 180 seconds Serial0/0 is up, line protocol is up Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds Serial0/1 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds |
The second requirement is that ODR routing is enabled only on the hub using the router odr command. This command should not be enabled on the spoke router. Additionally, there should be no other routing protocols enabled on the spoke router. If a routing protocol has been enabled, ODR will not run on the spoke router. Complete the first part of this task as follows:
| R3(config)#router odr R3(config-router)#exit |
Verify your configuration using the show ip route command:
| R3#show ip route odr 170.4.0.0/24 is subnetted, 1 subnets o 170.4.4.0 [160/1] via 10.0.0.14, 00:00:09, Serial1/2 160.4.0.0/24 is subnetted, 1 subnets o 160.4.4.0 [160/1] via 10.0.0.14, 00:00:09, Serial1/2 150.4.0.0/24 is subnetted, 1 subnets o 150.4.4.0 [160/1] via 10.0.0.14, 00:00:09, Serial1/2 |
By default, the hub will advertise the spoke router(s) a default route when ODR is enabled:
| R4#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2 E1 – OSPF external type 1, E2 – OSPF external type 2 i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2 ia – IS-IS inter area, * – candidate default, U – per-user static route o – ODR, P – periodic downloaded static route Gateway of last resort is 10.0.0.13 to network 0.0.0.0 170.4.0.0/24 is subnetted, 1 subnets |
Task 4
There are multiple ways in which this task can be completed. The first overall requirement is to complete this task are to redistribute ODR routes into EIGRP via a route map using IP prefix list or ACL matching. Because EIGRP does not assign a default metric to ODR routes, you must specify the metric in the route map, when using the redistribute command, or by configuring a seed metric for EIGRP using the default-metric command. The second overall requirement is to complete this task is to redistribute the connected ODR subnets into EIGRP. This will allow R4 to ping all other routers and vice-versa.
| R3(config)#ip prefix-list NET-150 seq 5 permit 150.4.4.0/24 R3(config)#ip prefix-list NET-160 seq 5 permit 160.4.4.0/24 R3(config)#ip prefix-list NET-170 seq 5 permit 170.4.4.0/24 R3(config)#route-map ODR-2-EIGRP permit 10 R3(config-route-map)#match ip address prefix-list NET-150 R3(config-route-map)#set tag 150 R3(config-route-map)#exit R3(config)#route-map ODR-2-EIGRP permit 20 R3(config-route-map)#match ip address prefix-list NET-160 R3(config-route-map)#set tag 160 R3(config-route-map)#exit R3(config)#route-map ODR-2-EIGRP permit 30 R3(config-route-map)#match ip address prefix-list NET-170 R3(config-route-map)#set tag 170 R3(config-route-map)#exit R3(config)#router eigrp 1 R3(config-router)#redistribute odr route-map ODR-2-EIGRP R3(config-router)#redistribute connected R3(config-router)#default-metric 100000 100 255 1 1500 R3(config-router)#exit |
Verify the EIGRP redistribution configuration using the show ip eigrp topology command on the local router:
| R3#show ip eigrp topology | include (tag|Redistributed) P 150.4.4.0/24, 1 successors, FD is 51200, tag is 150 via Redistributed (51200/0) P 160.4.4.0/24, 1 successors, FD is 51200, tag is 160 via Redistributed (51200/0) P 170.4.4.0/24, 1 successors, FD is 51200, tag is 170 via Redistributed (51200/0) |
NOTE: When routes are redistributed into EIGRP from ODR, the routing protocol is listed as ‘Unknown’. This can be verified by looking at specific route entries in the topology table:
| R3#show ip eigrp topology 150.4.4.0/24 IP-EIGRP (AS 1): Topology entry for 150.4.4.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 51200 Routing Descriptor Blocks: 10.0.0.14, from Redistributed, Send flag is 0x0 Composite metric is (51200/0), Route is External Vector metric: Minimum bandwidth is 100000 Kbit Total delay is 1000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 0 External data: Originating router is 150.3.3.3 (this system) AS number of route is 0 External protocol is Unknown protocol, external metric is 1 Administrator tag is 150 (0x00000096) |
Complete this task by pinging between the routers as required in the task:
| R1#ping 10.0.0.14 source 150.1.1.1
Type escape sequence to abort. |
| R1#ping 150.3.3.3 source 150.1.1.1
Type escape sequence to abort. |
| R1#ping 150.2.2.2 source 150.1.1.1
Type escape sequence to abort. |
Task 5
Before completing this task, the RIB on R1 should show the following external route entries:
| R1#show ip route eigrp | include EX D EX 170.4.4.0 [170/2195456] via 10.0.0.6, 00:21:13, Serial0/1 D EX 160.4.4.0 [170/2195456] via 10.0.0.6, 00:21:13, Serial0/1 D EX 10.0.0.12 [170/21024000] via 10.0.0.6, 00:21:27, Serial0/1 D EX 150.3.3.0 [170/2172416] via 10.0.0.6, 00:21:27, Serial0/1 D EX 150.4.4.0 [170/2195456] via 10.0.0.6, 00:21:13, Serial0/1 |
Complete this task my modifying the metrics with an offset list as follows:
| R1(config)#access-list 1 permit 150.3.3.0 0.0.0.255 R1(config)#access-list 1 permit 150.4.4.0 0.0.0.255 R1(config)#router eigrp 1 R1(config-router)# offset-list 1 in 123456789 serial 0/1 R1(config-router)#exit |
Following this change, the RIB on R1 should show the following external route entries:
| R1#show ip route eigrp | include EX D EX 170.4.4.0 [170/2195456] via 10.0.0.6, 00:02:16, Serial0/1 D EX 160.4.4.0 [170/2195456] via 10.0.0.6, 00:02:16, Serial0/1 D EX 10.0.0.12 [170/21024000] via 10.0.0.6, 00:02:16, Serial0/1 D EX 150.3.3.0 [170/2684416] via 10.0.0.2, 00:01:36, Serial0/0 D EX 150.4.4.0 [170/2707456] via 10.0.0.2, 00:01:36, Serial0/0 |
Final Router Configurations
R1
|
R1#term len 0 Current configuration : 1094 bytes R1# |
R2
|
R2#term len 0 Current configuration : 954 bytes R2# |
R3
|
R3#term len 0 Current configuration : 1766 bytes R3# |
R4
|
R4#term len 0 Current configuration : 885 bytes R4# |
