In this post I will configure the network in the diagram below to use EIGRP as its routing protocol.

Before I get into the config I'll just mention that EIGRP is a Cisco proprietary hybrid routing protocol. It has all the features of OSPF but can be easily set up like RIP. The downside is that it can only run on Cisco routers. With that said, lets get on with the fun stuff.
I have subnetted the 192.168.1.0 network using VLSM to cater or networks of the following sizes:
192.168.1.0 - 60 Hosts
192.168.1.64 - 40 Hosts
192.168.1.128 - 30 Hosts
192.168.1.160 - 25 Hosts
First I configure EIGRP on R1 on just one interface (linked to R2).
R1R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#router eigrp 10 R1(config-router)#network 192.168.1.193 0.0.0.0 R1(config-router)#no auto-summary R1(config-router)#endI have used 10 as the AS for EIGRP, this must be the same for all the routers. I have turned off auto-summary so I can have better control of summarisation. I use some show commands to check its running on just the specified interface.
R1#sh ip eigrp interfaces IP-EIGRP interfaces for process 10 Xmit Queue Mean Pacing Time Multicast PendingInterface Peers Un/Reliable SRTT Un/Reliable Flow Timer RoutesEt0/0 0 0/0 0 0/1 0 0 I can also see that there are currently no neighbors.
R1#sh ip eigrp neighbors IP-EIGRP neighbors for process 10I now enable EIGRP on R2 and I see the adjacency form.
R2R2#conf tEnter configuration commands, one per line. End with CNTL/Z.R2(config)#router eigrp 10 R2(config-router)#network 192.168.1.194 0.0.0.0R2(config-router)#network 192.168.1.197 0.0.0.0R2(config-router)#*Mar 1 00:42:40.399: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 192.168.1.193 (Ethernet0/3) is up: new adjacencyBack on R1 i check the neighbor table.
R1R1#sh ip eigrp neighbors IP-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 192.168.1.194 Et0/0 12 00:00:39 13 200 0 3Checking the route table on R1 i can also see the EIGRP route.
R1#sh ip routeCodes: 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 routeGateway of last resort is not set 192.168.1.0/30 is subnetted, 3 subnetsC 192.168.1.204 is directly connected, Ethernet0/1C 192.168.1.192 is directly connected, Ethernet0/0D 192.168.1.196 [90/307200] via 192.168.1.194, 00:04:36, Ethernet0/0On R4 I enable EIGRP.
R4R4#conf t Enter configuration commands, one per line. End with CNTL/Z.R4(config)#router eigrp 10 R4(config-router)#network 192.168.1.198 0.0.0.0R4(config-router)#network 192.168.1.202 0.0.0.0And on R3 I enable EIGRP.
R3#conf t Enter configuration commands, one per line. End with CNTL/Z.R3(config)#router eigrp 10 R3(config-router)#network 192.168.1.201 0.0.0.0R3(config-router)#network 192.168.1.206 0.0.0.0R3(config-router)#network 192.168.1.161 0.0.0.0From R3 I check the routing table and I can see routes to the all the other networks I have configured so far.
R3#sh ip routeCodes: 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 routeGateway of last resort is not set 192.168.1.0/24 is variably subnetted, 5 subnets, 2 masksC 192.168.1.200/30 is directly connected, Ethernet0/1C 192.168.1.204/30 is directly connected, Ethernet0/0D 192.168.1.192/30 [90/332800] via 192.168.1.202, 00:00:09, Ethernet0/1D 192.168.1.196/30 [90/307200] via 192.168.1.202, 00:00:09, Ethernet0/1C 192.168.1.160/27 is directly connected, Ethernet0/2What is missing from my routing table is routes for all the networks hanging off R2. This is because I used the wildcard mask of 0.0.0.0 to specify that EIGRP only ran on certain interfaces. To enable EIGRP for all networks on R2 I will add a new network with no wildcard mask. This is similar to commands used when setting up RIP.
R2R2#conf t Enter configuration commands, one per line. End with CNTL/Z.R2(config)#router eigrp 10 R2(config-router)#network 192.168.1.0Now when I check the routing table on R3 i can see all the new networks attached to R2.
R3R3#sh ip routeCodes: 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 routeGateway of last resort is not set 192.168.1.0/24 is variably subnetted, 8 subnets, 3 masksD 192.168.1.64/26 [90/332800] via 192.168.1.202, 00:02:14, Ethernet0/1D 192.168.1.0/26 [90/332800] via 192.168.1.202, 00:02:14, Ethernet0/1C 192.168.1.200/30 is directly connected, Ethernet0/1C 192.168.1.204/30 is directly connected, Ethernet0/0D 192.168.1.192/30 [90/332800] via 192.168.1.202, 00:04:25, Ethernet0/1D 192.168.1.196/30 [90/307200] via 192.168.1.202, 00:04:25, Ethernet0/1C 192.168.1.160/27 is directly connected, Ethernet0/2D 192.168.1.128/27 [90/332800] via 192.168.1.202, 00:02:14, Ethernet0/1Now I can see all the networks.
I want to test my reliance between R3 and R2. To do this I will test connectivity and then shut down an interface on R4. Hopefully routing will continue.
R3R3#ping r2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.197, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/9/16 msR3 can ping R2 successfully. Now I shutdown R4's interface.
R4R4(config)#int ethernet 0/0R4(config-if)#shutR3R3#ping r2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.197, timeout is 2 seconds:..*Mar 1 01:16:28.347: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 10: Neighbor 192.168.1.202 (Ethernet0/1) is down: holding time expired...Success rate is 0 percent (0/5)Pings fail! I check R1 and find that it is only routing for network 192.168.1.192 (on interface 192.168.1.193).
R1R1#sh ip protocols Routing Protocol is "eigrp 10" 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 10 EIGRP NSF-aware route hold timer is 240s Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 192.168.1.193/32 Routing Information Sources: Gateway Distance Last Update 192.168.1.194 90 00:01:37 Distance: internal 90 external 170I add the other interface into EIGRP for AS 10.
R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#router eigrp 10R1(config-router)#network 192.168.1.205 0.0.0.0Back on R3 I attempt to contact R2 again.
R3
R3#ping r2 Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.197, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/9/12 msAnd looking at my routing table I can see that the next hop to get to R2 is R1 whereas before it was R4
R3#sh ip routeCodes: 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 routeGateway of last resort is not set 192.168.1.0/24 is variably subnetted, 8 subnets, 3 masksD 192.168.1.64/26 [90/332800] via 192.168.1.205, 00:01:22, Ethernet0/0D 192.168.1.0/26 [90/332800] via 192.168.1.205, 00:01:22, Ethernet0/0C 192.168.1.200/30 is directly connected, Ethernet0/1C 192.168.1.204/30 is directly connected, Ethernet0/0D 192.168.1.192/30 [90/307200] via 192.168.1.205, 00:01:22, Ethernet0/0D 192.168.1.196/30 [90/332800] via 192.168.1.205, 00:01:22, Ethernet0/0C 192.168.1.160/27 is directly connected, Ethernet0/2D 192.168.1.128/27 [90/332800] via 192.168.1.205, 00:01:22, Ethernet0/0