In this part of the lab, you will configure and verify EIGRP in the network. R1 and R3 will used Named EIGRP, while R2 will use Classic EIGRP. After you have established the network, you will examine the differences in how each version of EIGRP deals with metrics.
For the lab, you will use the Autonomous System number 27 on all routers.
a. Start the configuration of Classic EIGRP by issuing the router eigrp 27 command.
Open configuration window
R2(config)# router eigrp 27 |
b. Configure the EIGRP router ID using the eigrp router-id command. Use the number 2.2.2.2 for R2.
R2(config-router)# eigrp router-id 2.2.2.2 |
c. Identify the interfaces that should be speaking EIGRP and the networks that should be included in the EIGRP topology table. This is done with the network command.
It is best to be as specific as possible when creating network statements, while balancing efficiency and the number of commands necessary. For our lab example, we will use network 10.0.0.0 255.255.224. to specify the interfaces. This covers less network space than 10.0.0.0/8, while including both interfaces with a single network command.
R2(config-router)# network 10.0.0.0 255.255.224.0 R2(config-router)# end |
d. Verify the interfaces now involved in EIGRP with the show ip eigrp interfaces command.
R2#sh ip eigrp interfaces EIGRP-IPv4 Interfaces for AS(27) Xmit Queue PeerQ Mean Pacing Time Multicast Pending Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes Gi0/1 0 0/0 0/0 0 0/0 0 0 Gi0/2 0 0/0 0/0 0 0/0 0 0 |
Close configuration window
a. Start the configuration of Named EIGRP by issuing the router eigrp [ name ] command. The name parameter can be a number, but the number does not identify an Autonomous System as it does with Classic EIGRP, it simply identifies the process. For our purposes, name the process BASIC-EIGRP-LAB.
Open configuration window
R1(config)# router eigrp BASIC-EIGRP-LAB |
b. Enter into address-family configuration mode with the address-family ipv4 unicast autonomous-system 27 command.
R1(config-router)# address-family ipv4 unicast autonomous-system 27 |
c. Configure the EIGRP router ID using the eigrp router-id command. Use the number 1.1.1.1 for R1.
R1(config-router-af)# eigrp router-id 1.1.1.1 |
d. Identify the interfaces that should be speaking EIGRP and the networks that should be included in the EIGRP topology table. This is done with the network command. In this case, the configuration requires three network commands. An example for R1 follows:
R1(config-router-af)# network 10.0.12.0 255.255.255.0 R1(config-router-af)# network 172.16.1.0 255.255.255.0 R1(config-router-af)# network 192.168.1.0 255.255.255.0 R1(config-router-af)# end |
Close configuration window
e. Repeat Steps 2a through 2d for R3 and D2. Use 3.3.3.3 for the router ID on R3, and 132.132.132.132 for the router ID on D2. Configure the appropriate network statements on both devices according to the Addressing Table.
Open configuration window
R3(config)# router eigrp BASIC-EIGRP-LAB R3(config-router)# address-family ipv4 unicast autonomous-system 27 R3(config-router-af)# eigrp router-id 3.3.3.3 R3(config-router-af)# network 10.0.23.0 255.255.255.0 R3(config-router-af)# network 172.16.13.0 255.255.255.0 R3(config-router-af)# network 192.168.3.0 255.255.255.0 R3(config-router-af)# end |
Close configuration window.
Open configuration window
D2(config-if)# router eigrp BASIC-EIGRP-LAB D2(config-router)# address-family ipv4 unicast autonomous-system 27 D2(config-router-af)# eigrp router-id 132.132.132.132 D2(config-router-af)# network 172.16.0.0 255.255.0.0 D2(config-router-af)# end |
a. A few seconds after configuring the network statements, you should have seen syslog messages noting that EIGRP adjacencies have been formed.
*Feb 18 15:49:34.243: %DUAL-5-NBRCHANGE: EIGRP-IPv4 27: Neighbor 10.0.12.2 (GigabitEthernet0/0/0) is up: new adjacency
b. To verify that routing is working, ping from PC1 to interface Loopback 0 on R3 (192.168.3.1). The ping should be successful. You can also randomly ping other addresses in the topology.
c. On R1, examine the EIGRP entries in the IP routing table using the show ip route eigrp | begin Gateway command. As you can see, there is one path installed in the routing table for the network, and two paths for the 192.168.3.0/24 network. Take note of the metric values listed.
Open configuration window
R1# show ip route eigrp | begin Gateway Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks D 10.0.23.0/24 [90/15360] via 10.0.12.2, 00:00:12, GigabitEthernet0/1 172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks D 172.16.13.0/24 [90/15360] via 172.16.1.2, 00:00:12, GigabitEthernet0/0.1 D 192.168.3.0/24 [90/16000] via 172.16.1.2, 00:00:12, GigabitEthernet0/0.1 [90/16000] via 10.0.12.2, 00:00:12, GigabitEthernet0/1 |
d. Now examine the EIGRP topology table using the show ip eigrp topology all-links command. The all-links parameter instructs the router to display all available routes, including the ones that are not successors or feasible successors.
Remember that the topology table is EIGRP’s database of route information. EIGRP selects the best paths from this database, based on the DUAL algorithm, and offers them to the IP routing table. However, the IP routing table does not have to use those offered paths, because the router may have learned about the same network from a more reliable routing source, which would be a routing source with a lower administrative distance.
R1#sh ip ei topo all-links EIGRP-IPv4 VR(BASIC-EIGRP-LAB) Topology Table for AS(27)/ID(1.1.1.1) Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply, r – reply Status, s – sia Status P 192.168.3.0/24, 1 successors, FD is 2048000, serno 34 via 172.16.1.2 (2048000/1392640), GigabitEthernet0/0.1 via 10.0.12.2 (2211840/1556480), GigabitEthernet0/1 P 172.16.13.0/24, 1 successors, FD is 1966080, serno 31 via 172.16.1.2 (1966080/1310720), GigabitEthernet0/0.1 via 10.0.12.2 (2785280/2129920), GigabitEthernet0/1 P 192.168.1.0/24, 1 successors, FD is 1310720, serno 3 via Connected, GigabitEthernet0/0.2 P 172.16.1.0/24, 1 successors, FD is 1310720, serno 2 via Connected, GigabitEthernet0/0.1 P 10.0.23.0/24, 1 successors, FD is 1966080, serno 35 via 10.0.12.2 (2129920/1474560), GigabitEthernet0/1 via 172.16.1.2 (2621440/1966080), GigabitEthernet0/0.1 P 10.0.12.0/24, 1 successors, FD is 1310720, serno 1 via Connected, GigabitEthernet0/1 |
We will focus on the routes, highlighted in the above output, to 192.168.3.0/24 and 10.0.23.0/24. There are several things to notice:
Note: A network with mixed EIGRP implementations (Named and Classic in the same routing domain), will have some loss of route clarity which could lead to sub-optimal path selection. The recommended implementation is to use Named EIGRP in all cases.
e. To see the Routing Information Base (RIB) Scale and Metric Scale values, as well as other protocol information, issue the show ip protocols | section eigrp command.
R1# show ip protocols | section eigrp Routing Protocol is “eigrp 27” 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-IPv4 VR(BASIC-EIGRP-LAB) Address-Family Protocol for AS(27) Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0 Metric rib-scale 128 Metric version 64bit Soft SIA disabled NSF-aware route hold timer is 240 EIGRP NSF disabled NSF signal timer is 20s NSF converge timer is 120s Router-ID: 1.1.1.1 Topology : 0 (base) Active Timer: 3 min Distance: internal 90 external 170 Maximum path: 4 Maximum hopcount 100 Maximum metric variance 1 Total Prefix Count: 5 Total Redist Count: 0 |
f. To examine details about a particular path, issue the show ip eigrp topology [address] command.
R1# show ip eigrp topology 192.168.3.0/24 EIGRP-IPv4 VR(BASIC-EIGRP-LAB) Topology Entry for AS(27)/ID(1.1.1.1) for 192.168.3.0/24 State is Passive, Query origin flag is 1, 2 Successor(s), FD is 2048000, RIB is 16000 Descriptor Blocks: 10.0.12.2 (GigabitEthernet0/1), from 10.0.12.2, Send flag is 0x0 Composite metric is (2048000/1392640), route is Internal Vector metric: Minimum bandwidth is 1000000 Kbit Total delay is 21250000 picoseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2 Originating router is 3.3.3.3 172.16.1.2 (GigabitEthernet0/0.1), from 172.16.1.2, Send flag is 0x0 Composite metric is (2048000/1392640), route is Internal Vector metric: Minimum bandwidth is 1000000 Kbit Total delay is 21250000 picoseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 2 Originating router is 3.3.3.3 |