From point A to point B
Point A: you know DUAL, the successor and the feasible successor on the whiteboard, but EIGRP is still a black box: you type router eigrp, neighbors and D routes show up, and you don't know what happened on the wire. Point B: by the end of this chapter you will read a Hello field by field, explain how RTP makes an Update reliable and pull the feasible distance, the reported distance and the successor out of show ip eigrp topology without hesitation.
In the class we move from theory to the console: three routers in GNS3, Wireshark open and EIGRP taken apart "surgically", packet by packet.
- The lab: AS 10, an explicit router ID and
network 0.0.0.0 - The first Hello: 224.0.0.10, protocol 88, opcode, flags and TLVs
- Update and RTP: INIT, sequence, acknowledge and End of Table
- The topology table: where 128,256 and 130,816 come from
- The neighbor table: Hold, SRTT, RTO, Q Cnt and Seq Num
- The third router and a 600-second hold time
Three routers are enough
With three routers in a row you can cover 80 or 90 % of EIGRP's features. The topology slide shows AS 100 with nine routers; live, the lab used AS 10 in classic mode, the traditional one. Named mode comes later.
The chapter's lab: three routers, two /24 links and a loopback on each one. Diagram: The House of Routing.
The EIGRP configuration is short. Three decisions keep it clean:
- The same autonomous system number on every router. In classic mode, if it doesn't match, there is no adjacency.
- An explicit router ID. Setting it by hand with
eigrp router-idis good practice, instead of letting the router pick one. network 0.0.0.0. It tells EIGRP: "take every interface and try to form neighbors". Handy in a lab; in production, be more precise.
RT01# conf t
RT01(config)# interface loopback 0
RT01(config-if)# ip address 1.1.1.1 255.255.255.0
RT01(config-if)# interface GigabitEthernet0/0
RT01(config-if)# description conexion a RT02 por la GigabitEthernet0/1
RT01(config-if)# ip address 10.10.10.1 255.255.255.0
RT01(config-if)# no shutdown
RT01(config-if)# exit
RT01(config)# router eigrp 10
RT01(config-router)# eigrp router-id 0.0.0.1
RT01(config-router)# network 0.0.0.0
RT02 follows the same pattern with its loopback 2.2.2.2/24, 10.10.10.2 on the link to RT01 and router ID 0.0.0.2.
RT02(config)# interface loopback 0
RT02(config-if)# ip address 2.2.2.2 255.255.255.0
RT02(config-if)# interface GigabitEthernet0/1
RT02(config-if)# ip address 10.10.10.2 255.255.255.0
RT02(config-if)# no shutdown
RT02(config-if)# exit
RT02(config)# router eigrp 10
RT02(config-router)# eigrp router-id 0.0.0.2
RT02(config-router)# network 0.0.0.0
The first Hello, field by field
After network 0.0.0.0 on RT01, Wireshark, filtered on eigrp, shows the first Hello. Five seconds later the second one arrives, and so on: there is no neighbor yet and there is already EIGRP traffic on the link.
The three layers of the Hello as Wireshark shows them. Diagram: The House of Routing.
The IP header
The destination is 224.0.0.10, the multicast address reserved for EIGRP. The source is the interface that builds the packet. And the Protocol field holds the surprise: after IP there is no TCP or UDP, EIGRP comes right away as IP protocol 88.
The EIGRP header
- Opcode: the packet type. Hello is 5. Update is 1, Query 3 and Reply 4.
- Flags: Init, Conditional Receive, Restart and End-of-Table. In a Hello they are 0.
- Sequence and acknowledge: the two fields the Reliable Transport Protocol (RTP) uses to provide reliability. In a Hello both are 0.
- Autonomous system: 10. It travels inside the packet, which is why a different AS prevents the adjacency.
The TLVs
After the header, EIGRP carries its information in TLVs (Type, Length, Value). The first one is the parameters TLV: type 1, 12 bytes long. It carries the K values of the composite metric and the hold time.
| Field | What it stands for | Default value |
|---|---|---|
| K1 | Bandwidth | 1 |
| K2 | Load | 0 |
| K3 | Delay | 1 |
| K4 and K5 | Reliability | 0 |
| K6 | Jitter and energy (extended metrics) | 0 |
| Hold time | Seconds the neighbor must wait before declaring you down | 15 |
The Hello interval does not travel in the packet. Only the hold time does. A second TLV carries the EIGRP software version (not the IOS version): in the capture, 23, with TLV version 2.0.
The same Hello seen through debug
The class compares the capture with debug. With debug eigrp packets, the router prints every Hello with AS 10, flags 0x0 and the unreliable mark with sequence 0/0: exactly the header we saw in Wireshark. The terse variant leaves the Hello packets out.
Seeing the TLVs took debug eigrp packet all detail, after a few live attempts. It shows the header up to the autonomous system and, below it, the parameters TLV in hexadecimal: type 1, length 12, the digit pairs for K1 to K6 (K1 = 01, K2 = 00…) and hold time 15, which is F in hexadecimal.
RT01# debug eigrp packets
! AS 10, flags 0x0, seq 0/0: Hello, unreliable
RT01# debug eigrp packets terse
! terse leaves the Hello packets out
RT02# debug eigrp packet all detail
! header up to the AS, then the TLVs: type 1, length 12, K values, hold time 15 (0xF)
RT02# undebug all
undebug all.Update and RTP reliability
When RT02 joins the domain, Wireshark shows Hello, Update, Update, Hello, acknowledge… This is EIGRP reliability in action.
From Hello to End of Table between RT01 and RT02. Diagram: The House of Routing.
- The first Update is unicast, not multicast, with the INIT flag and no topology information. Its job is to start the exchange. The opcode changes from 5 (Hello) to 1 (Update).
- It carries a sequence number. In the capture, RT02 sends its INIT with sequence 1. RT01 answers with its own INIT and puts that 1 in the Acknowledge field: "I got your 1".
- The prefixes arrive. The next Update is no longer INIT: it has the End of Table flag and the routes RT02 knows, with sequence 2. RT01 confirms it with acknowledge 2 and sends its own End of Table.
- Calm returns. After the last acknowledgments, only Hello packets every 5 seconds remain.
The rule to spot a reliable packet is simple: a sequence other than 0, which the neighbor echoes in Acknowledge. Hello packets are always 0 and 0 because they are not reliable. Updates are. In TCP, reliability starts with the three-way handshake; in EIGRP, RTP gets it from these two fields.
Reading show ip eigrp topology
The adjacency is up. On RT02, show ip eigrp topology shows two entries, both with the P for passive: no computation in progress, the route is ready to use.
- 2.2.2.0/24, its own loopback, with a feasible distance of 128,256.
- 1.1.1.0/24, learned through the successor 10.10.10.1, with two numbers in brackets: 130,816 / 128,256.
The number on the right is the reported distance: what RT01 advertises, from its own point of view, to reach 1.1.1.0. RT02 adds its local distance, the cost of the link between them, and gets the computed distance, the number on the left. Since this is the successor's route, its computed distance becomes the feasible distance. It is also the metric in show ip route: [90/130816], where 90 is the administrative distance of internal EIGRP.
Why such big numbers? Because of the classic formula with K1 = K3 = 1: 256 × (10⁷ / minimum bandwidth in kbps + sum of delays in tens of microseconds). With Cisco's default values, a loopback has 8,000,000 kbps and 5,000 µs of delay, and a GigabitEthernet has 1,000,000 kbps and 10 µs:
| Route | Bandwidth | Delay | Metric |
|---|---|---|---|
| 2.2.2.0/24 on RT02 (loopback) | 10⁷ / 8,000,000 = 1 | 5,000 µs = 500 | 256 × 501 = 128,256 |
| 1.1.1.0/24 on RT02 (via Gi) | 10⁷ / 1,000,000 = 10 | 5,000 + 10 µs = 501 | 256 × 511 = 130,816 |
The composite metric is covered in depth in chapter 8.
RT02# show ip eigrp topology
RT02# show ip route
RT02# show ip eigrp neighbors
RT02# clear ip eigrp neighbors
! forces the adjacency to restart: new Update exchange, new sequence numbers
Reading show ip eigrp neighbors
The other output you must master is the neighbor table. Column by column:
- H (handle): the order in which the adjacencies came up, starting at 0. It has nothing to do with hops.
- Address and Interface: the neighbor and the local interface that hears it.
- Hold: the countdown before the neighbor is declared down. It starts at 15 and, since a Hello arrives every 5 seconds, it doesn't drop below 10 in practice. If it drops further, Hello packets are being lost.
- SRTT and RTO: the smooth round-trip time, in milliseconds, for a reliable packet to reach the neighbor and come back acknowledged, and the retransmission timeout, how long the router waits before retransmitting.
- Q Cnt: packets (Update, Query, Reply) waiting to be sent. It must be 0. A growing value means trouble.
- Seq Num: the sequence number of the last reliable packet received from that neighbor. That is why it changes after
clear ip eigrp neighbors: the adjacency restarts, the Update exchange happens again and new sequence numbers arrive.
The class's conclusion: SRTT and RTO are rarely checked. What matters is to verify the adjacency and to know how to read the topology table.
RT03 joins and the hold time goes to 600
To complete the domain, RT02 gets 10.10.11.2/24 on its interface toward RT03. EIGRP needs no change: do show run | section eigrp confirms that network 0.0.0.0 already covers the new interface. On RT03 you set the hostname, a loopback 3.3.3.3/24, 10.10.11.3/24 toward RT02, the same AS 10, an explicit router ID and network 0.0.0.0. The adjacency comes up at once.
Why so many loopbacks? Because they are always up: they are perfect for testing end-to-end reachability.
! RT02: the interface toward RT03 only needs its address (10.10.11.2/24);
! network 0.0.0.0 already covers it
RT02(config-if)# do show run | section eigrp
RT03(config)# hostname RT03
RT03(config)# interface loopback 0
RT03(config-if)# ip address 3.3.3.3 255.255.255.0
RT03(config-if)# interface GigabitEthernet0/1
RT03(config-if)# description conexion a RT02
RT03(config-if)# ip address 10.10.11.3 255.255.255.0
RT03(config-if)# no shutdown
RT03(config-if)# exit
RT03(config)# router eigrp 10
RT03(config-router)# eigrp router-id <explicit-id>
RT03(config-router)# network 0.0.0.0
RT03# show ip eigrp neighbors
RT03# show ip eigrp topology
RT03# show ip route
RT03# ping 1.1.1.1
RT03# ping 2.2.2.2
Jesús proposes a three-step check that works for any EIGRP domain:
- Adjacency:
show ip eigrp neighbors. The neighbor is there, with its 15-second hold time. - Topology table: everything in P. On RT03, 2.2.2.0 and 1.1.1.0 arrive through the same successor, 10.10.11.2, and the feasible distance equals the computed distance.
- Routing table: D routes with administrative distance 90 (internal EIGRP; external EIGRP, redistributed, would show 170). Then
ping 1.1.1.1andping 2.2.2.2.
Behind all of this is the trio that makes EIGRP work: DUAL, RTP and PDM.
A 600-second hold time
The next goal is to trigger a stuck in active: an adjacency has to survive even when Hello packets stop arriving. First step: on RT01, the interface toward RT02 advertises a 600-second hold time.
RT01(config)# interface GigabitEthernet0/0
RT01(config-if)# ip hold-time eigrp 10 600
RT02# show ip eigrp neighbors
! Hold for RT01 now counts down from 600 and resets every 5 s (595... 599)
On RT02, the Hold column for RT01 jumps to 599, drops to 595 and climbs back, because the Hello still arrives every 5 seconds. The adjacency stays up. The reason: the hold time is a value each router advertises in its Hello for the neighbor to use. It does not have to match between neighbors. The adjacency with RT03, on the other hand, stays at 15. Chapter 4 uses all this to show SIA live.
Class videos
These are the four videos from the 1st EIGRP Marathon covered in this chapter. They were recorded live with Cisco routers in GNS3, debug and Wireshark; the audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 1 · Part 9Classic-mode EIGRP lab: the first Hello in Wireshark and debugWatch video
- Day 1 · Part 1Reading show ip eigrp topology and show ip eigrp neighbors liveWatch video
- Day 1 · Part 1Update messages and RTP reliability in Wireshark and debugWatch video
- Day 1 · Part 1Adding router 3 to the EIGRP domain and raising the hold time to 600 secondsWatch video
Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 1 playlist on YouTube
Test what you learned
1. A capture shows an EIGRP packet with opcode 5, sequence 0 and acknowledge 0. What is it, and why the zeros?
Answer. It is a Hello. Hello packets are not reliable: they travel with sequence 0 and nobody acknowledges them. Only reliable packets, such as Updates, carry a non-zero sequence that the neighbor echoes in Acknowledge.
2. Which transport layer does EIGRP use?
Answer. None of the usual ones. EIGRP runs directly over IP as protocol 88, with no TCP or UDP. Its own RTP provides reliability with the sequence and acknowledge fields.
3. RT02 shows route 1.1.1.0/24 with 130816/128256. What is each number?
Answer. 128,256 is the reported distance, what RT01 advertises. 130,816 is the computed distance, the reported distance plus the cost of the link. Since it is the successor's route, it is also the feasible distance and the metric in show ip route.
4. You set ip hold-time eigrp 10 600 on one side of a link and the other side stays at 15. Does the adjacency drop?
Answer. No. Each router advertises its hold time in the Hello and the neighbor uses it to wait. The timers don't have to match.
5. What is the INIT flag in the first Update for, and why is that Update unicast?
Answer. INIT asks the new neighbor to send all its routes and starts the reliable exchange. It is unicast, with no routes, to prove that unicast delivery works in both directions before the table is sent.
Your takeaways
- With three routers, the same AS, an explicit router ID and
network 0.0.0.0you can already study most of EIGRP. - The Hello goes to 224.0.0.10, over IP as protocol 88, with opcode 5 and sequence 0: it is not reliable.
- The parameters TLV carries the K values (K1 = K3 = 1) and the hold time; the Hello interval does not travel.
- RTP makes Updates reliable: unicast INIT, sequence, acknowledge and End of Table with the prefixes.
- Reported distance + local distance = computed distance; the successor's is the feasible distance and the RIB metric.
- In the neighbor table, watch Hold and make sure Q Cnt is 0; Seq Num is the last sequence received.
- The hold time is advertised to the neighbor and doesn't have to match: that is the basis of the SIA lab.
Official resources
- RFC 7868: Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)rfc-editor.org
- Introduction to EIGRPcisco.com
- Enhanced Interior Gateway Routing Protocol (white paper)cisco.com
- IP Routing: EIGRP Configuration Guide · EIGRPcisco.com
- EIGRP Command Reference, I through R (ip hold-time eigrp, network)cisco.com
- EIGRP Command Reference, S through V (show ip eigrp neighbors, topology)cisco.com
Source and credits. Chapter written from the EIGRP Masterclass that Jesús Espinoza recorded live in 2022. Text drafted with AI assistance and reviewed; original diagrams by The House of Routing. Technical data and configuration were checked against official Cisco documentation and IETF RFC 7868.