EIGRP Configuration: Build, Verify and Repair a Lab
Configure a three-router EIGRP network from empty interfaces to working routes. Every step includes the reason, the command, the expected result, and the first check when it fails.
Configuration at a Glance
A reliable EIGRP build follows one order: make the links work, enable the correct interfaces, form neighbors, learn topology information, install routes, and finally prove traffic in both directions.
In This Lesson
- Plan the three-router lab
- Configure and verify interface addressing
- Start classic EIGRP
- Use precise network statements
- Set a stable router ID
- Control neighbor formation with passive interfaces
- Validate neighbor formation
- Explain and validate the learned route
- Troubleshoot configuration failures
- Continue with one focused topic
- Complete the guided configuration lab
- Review the frequently asked questions
1. Plan the Three-Router Lab
R2 is the transit router. R1 and R3 advertise loopbacks that represent user or server networks. All router-to-router links use EIGRP AS 100.
RID 1.1.1.1Lo0: 10.1.1.1/24RID 2.2.2.2Transit routerRID 3.3.3.3Lo0: 10.3.3.3/24| Router | Interface | Address | EIGRP role |
|---|---|---|---|
| R1 | Gi0/0 | 10.0.12.1/30 | Active transit |
| R1 | Lo0 | 10.1.1.1/24 | Advertised, passive |
| R2 | Gi0/0 | 10.0.12.2/30 | Active transit |
| R2 | Gi0/1 | 10.0.23.1/30 | Active transit |
| R3 | Gi0/0 | 10.0.23.2/30 | Active transit |
| R3 | Lo0 | 10.3.3.3/24 | Advertised, passive |
2. Configure and Verify Interface Addressing
EIGRP cannot repair an incorrect Layer 3 link. Configure addresses first and prove that directly connected peers can ping each other.
R1 interfaces
interface GigabitEthernet0/0
ip address 10.0.12.1 255.255.255.252
no shutdown
interface Loopback0
ip address 10.1.1.1 255.255.255.0R2 interfaces
interface GigabitEthernet0/0
ip address 10.0.12.2 255.255.255.252
no shutdown
interface GigabitEthernet0/1
ip address 10.0.23.1 255.255.255.252
no shutdownR3 interfaces
interface GigabitEthernet0/0
ip address 10.0.23.2 255.255.255.252
no shutdown
interface Loopback0
ip address 10.3.3.3 255.255.255.0Verify state
show ip interface brief
show interfaces description
show ip route connectedVerify each link
R1# ping 10.0.12.2
R2# ping 10.0.23.2
Both should succeed before
EIGRP is configured.3. Start Classic EIGRP
Classic mode uses router eigrp followed by the autonomous-system number. Direct neighbors must use the same AS.
R1
router eigrp 100
eigrp router-id 1.1.1.1
network 10.0.12.0 0.0.0.3
network 10.1.1.0 0.0.0.255
passive-interface Loopback0
no auto-summaryR2
router eigrp 100
eigrp router-id 2.2.2.2
network 10.0.12.0 0.0.0.3
network 10.0.23.0 0.0.0.3
no auto-summaryR3
router eigrp 100
eigrp router-id 3.3.3.3
network 10.0.23.0 0.0.0.3
network 10.3.3.0 0.0.0.255
passive-interface Loopback0
no auto-summaryno auto-summary remains common in classic-mode labs and older configurations. Confirm your platform defaults.4. Use Precise Network Statements
An EIGRP network statement selects local interfaces whose primary address matches the statement. It does not create a network, assign an address, or directly point at a remote prefix.
| Statement | Local match | Operational effect |
|---|---|---|
network 10.0.12.0 0.0.0.3 | Addresses in 10.0.12.0/30 | Enables EIGRP on the R1–R2 link |
network 10.1.1.0 0.0.0.255 | Addresses in 10.1.1.0/24 | Includes R1 Loopback0 |
network 10.0.0.0 | Potentially a broad classful range | May enable unintended interfaces |
- Prefer precise matches: They are easier to review and reduce accidental neighbor formation.
- Verify the result: Use
show ip eigrp interfacesrather than assuming the statement matched correctly. - Connected prefix: Once the interface participates, its connected network can be advertised to EIGRP neighbors.
5. Set a Stable Router ID
A router ID is a 32-bit identifier written like an IPv4 address. Configure it explicitly so the value remains predictable when interfaces change.
Configure and verify
router eigrp 100
eigrp router-id 1.1.1.1
show ip protocols
show ip eigrp topologyKeep it unique
R1 1.1.1.1
R2 2.2.2.2
R3 3.3.3.3
Duplicate router IDs can
damage route identification.6. Control Neighbor Formation with Passive Interfaces
A passive interface advertises its connected network but does not send EIGRP Hellos or form neighbors. User VLANs and loopbacks are usually passive.
Safer default pattern
router eigrp 100
passive-interface default
no passive-interface GigabitEthernet0/0
no passive-interface GigabitEthernet0/1Confirm the list
show ip protocols
show ip eigrp interfaces
Only router-to-router links
should send Hellos.| Interface type | Typical setting | Reason |
|---|---|---|
| Router transit link | Not passive | Must discover and maintain the peer |
| Loopback | Passive | Advertise the prefix without useless Hellos |
| User or server VLAN | Passive | Avoid unintended adjacency attempts |
7. Validate Neighbor Formation
A neighbor entry proves Hello exchange and parameter compatibility. Read the health fields instead of checking only whether an address appears.
Expected R2 neighbors
R2# show ip eigrp neighbors
H Address Interface Hold Uptime Q
1 10.0.23.2 Gi0/1 13 00:12:10 0
0 10.0.12.1 Gi0/0 11 00:12:18 0Interpret health
Hold Counts down and refreshes
Uptime Increases without resets
SRTT Reliable-packet round trip
RTO Retransmission timeout
Q Normally remains zero8. Explain and Validate the Learned Route
After the neighbors are stable, follow one prefix through the router. R1 should learn R3's 10.3.3.0/24 network from R2, keep the path in the topology table, install the successor in the routing table, and forward traffic in both directions.
Neighbor table
Confirms which directly connected peers can exchange routes.
Topology table
Shows successors, alternates, FD, RD, and Passive or Active state.
Routing table
Shows the selected D or D EX route and next hop.
R1 route evidence
show ip eigrp topology 10.3.3.0/24
show ip route 10.3.3.0
show ip cef 10.3.3.3 detailEnd-to-end proof
R1# ping 10.3.3.3 source 10.1.1.1
R3# ping 10.1.1.1 source 10.3.3.3
Test both directions.D route through R2, resolved by CEF, and reachable with sourced pings in both directions.” If one part is missing, stop at that layer and fix it before continuing.9. Configure a Manual Summary
Summaries reduce route-table size and query scope. Place them at a logical boundary only after confirming that all covered component routes belong behind that boundary.
Classic interface summary
interface GigabitEthernet0/0
ip summary-address eigrp 100
10.10.0.0 255.255.0.0Verify both levels
show ip route 10.10.0.0
show ip eigrp topology 10.10.0.0/16
show ip route 10.10.10.0
ping a real component prefix10. Protect Neighbor Relationships
Authentication rejects EIGRP packets without the expected key. Configure matching settings on both ends during a controlled change because a mismatch immediately breaks the neighbor relationship.
Create a lab key chain
key chain EIGRP-LAB
key 1
key-string LAB-ONLY-SECRETApply classic-mode MD5
interface GigabitEthernet0/0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100
EIGRP-LAB- Both ends: Mode, key chain, active key ID, and key string must agree.
- Documentation: Never publish a real production secret; use an approved password system.
- Rotation: Plan overlapping key lifetimes and verify the device clocks when supported.
11. Build the Same Lab in Named Mode
Named mode groups address-family, interface, and topology settings under one EIGRP process name. Do not configure classic and named mode for the same lab at the same time.
R1 named mode
router eigrp CAMPUS
address-family ipv4 autonomous-system 100
eigrp router-id 1.1.1.1
network 10.0.12.0 0.0.0.3
network 10.1.1.0 0.0.0.255
af-interface Loopback0
passive-interface
exit-af-interface
exit-address-familyWhere settings live
address-family
networks and router ID
af-interface
passive, authentication, timers
topology base
redistribution and variance12. Orient the Configuration for IPv6
EIGRP for IPv6 keeps the same DUAL ideas but uses IPv6 neighbor communication and link-local next hops. The router ID remains a unique 32-bit value.
| Item | IPv4 orientation | IPv6 orientation |
|---|---|---|
| Multicast | 224.0.0.10 | FF02::A |
| Neighbor next hop | IPv4 interface address | Usually link-local IPv6 address |
| Router ID | Unique 32-bit value | Still a unique 32-bit value |
| Verification | show ip eigrp ... | Platform-specific show ipv6 eigrp ... |
13. Tune Paths with Bandwidth and Delay
Default EIGRP path selection uses minimum configured bandwidth and cumulative configured delay. Keep bandwidth truthful and prefer a controlled delay adjustment when tuning only EIGRP.
Capture inputs
show interfaces GigabitEthernet0/0
show interfaces GigabitEthernet0/1
show ip eigrp topology all-linksControlled lab change
interface GigabitEthernet0/1
delay 200
Verify successor, backups,
CEF, and return traffic.14. Control Multiple Paths
EIGRP installs equal-cost successors automatically up to the maximum. The variance command can add qualified unequal-cost feasible successors.
| Control | Purpose | Required check |
|---|---|---|
maximum-paths | Limits installed next hops | Confirm platform and CEF limits |
variance | Sets the allowed metric multiplier | Alternate must still be a feasible successor |
traffic-share | Controls use of installed routes on supported platforms | Verify real CEF and traffic behavior |
Lab example
router eigrp 100
maximum-paths 4
variance 2Verify
show ip eigrp topology all-links
show ip route prefix
show ip cef destination detail15. Redistribute Routes Carefully
Redistribution introduces routes from another source as EIGRP external routes. Use explicit policy, a valid seed metric where required, route tags, and a documented return path.
Choose one boundary
Document which router imports routes and why that boundary owns the decision.
Apply policy
Permit only required prefixes and attach tags that identify their source.
Verify both ways
Check D EX routes, metrics, next hops, loop prevention, and return traffic.
9. Troubleshoot Configuration Failures
Find the first failed layer. Do not clear the process or paste a new configuration until the evidence identifies one cause.
| Symptom | Likely cause | Check first |
|---|---|---|
| No EIGRP interface | Network statement does not match or address is missing | show ip eigrp interfaces and interface config |
| Interface present, no neighbor | AS, K-values, subnet, passive setting, authentication, or ACL | show ip protocols on both ends |
| Neighbor resets | Hold expiry, link loss, key lifetime, or transport trouble | Neighbor detail, logs, Q count, and interface errors |
| Neighbor stable, route missing | Source prefix absent, policy, summary, or better route | Topology entry and full route lookup |
| Wrong path selected | Bandwidth, delay, AD, variance, or route source | All-links topology plus interface values |
| Route remains Active | No feasible successor, large query domain, loss, or slow peer | Active topology output and named peer |
- Confirm interface state, address, mask, and direct ping.
- Confirm EIGRP activation and passive-interface state.
- Compare neighbor parameters on both ends.
- Trace the prefix through topology, routing, CEF, and return path.
10. Continue with One Focused Topic
The base configuration is now complete. Study advanced features separately so each lesson has one clear goal and its own validation method.
Named mode and VRF
Learn the address-family hierarchy and verify IPv4, IPv6, and VRF routing contexts without mixing tables.
Open address familiesNeighbor security
Apply authentication to the correct interfaces and diagnose a key or algorithm mismatch.
Open authenticationSummaries and defaults
Build a routing boundary, verify component reachability, and recognize possible black-hole behavior.
Open summarization17. Use a Safe Change Workflow
Routing changes can move many traffic flows immediately. Write the success criteria and rollback before applying the first command.
Baseline
Save neighbors, topology, routes, CEF, traffic, CPU, and logs.
Change one layer
Apply the smallest approved interface or process change.
Verify
Check peers, paths, both traffic directions, and unaffected prefixes.
Close or roll back
Keep the change only when every success check passes.
11. Guided Configuration Lab
Begin with empty EIGRP configuration. Complete one task, capture the result, and restore the healthy baseline before the next fault.
Task 1: Build the Baseline
- Configure the six interfaces in the addressing plan.
- Prove both transit links with direct pings.
- Configure classic EIGRP AS 100.
- Make loopbacks passive.
- Verify neighbors and end-to-end loopback traffic.
Expected result: R1 and R3 learn each other's loopbacks as internal D routes.
Task 2: Repair a Passive Transit Link
- Configure
passive-interface defaulton R2. - Observe both neighbors disappear.
- Use show commands to identify the passive links.
- Remove passive mode only from Gi0/0 and Gi0/1.
- Confirm neighbors and routes recover.
Expected result: You preserve the safer default while restoring only intended adjacencies.
Task 3: Diagnose an AS Mismatch
- Move R3 to EIGRP AS 200.
- Confirm Gi0/0 stays up/up.
- Compare
show ip protocolson R2 and R3. - Restore AS 100.
- Verify uptime begins again and routes return.
Expected result: You separate physical reachability from EIGRP parameter compatibility.
12. Frequently Asked Questions
What does an EIGRP network statement actually do?
It matches local interface addresses, enables EIGRP on those interfaces, and allows their connected prefixes to be advertised. It does not configure a remote network.
Must EIGRP neighbors use the same AS number?
Yes for the same classic EIGRP domain. In named mode, neighbors must use the same autonomous-system value inside the address family.
Do Hello and hold timers have to match?
No. Each router advertises the hold time it expects its peer to use. Consistent timers are easier to operate, but equality is not a neighbor requirement.
Does a passive interface advertise its network?
Yes, when the interface is selected by EIGRP. Passive mode stops Hellos and neighbor formation; it does not automatically remove the connected prefix from advertisements.
Why is the neighbor up but the route missing?
The source router may not advertise the prefix, policy or summarization may hide it, or another route source may win. Follow the prefix from topology table to routing table.
Should I use classic mode or named mode?
Use the mode supported by your design and platform standard. Classic mode is simple for basic IPv4 labs; named mode organizes multiple address-family and interface features more clearly.
Does EIGRP authentication encrypt route information?
No. It authenticates routing packets so unexpected senders are rejected, but it does not provide confidentiality for the route contents.