You are tasked with configuring the network shown in Figure 5-14 using EIGRP such that:

1. Each interface on every router is advertised in EIGRP AS 1
2. Traffic from 172.17.0.0/16 network destined to 172.20.0.0/16 should take the RouterD->RouterA->RouterB->RouterC path. If that path is not accessible, the traffic should be routed via RouterE.
3. Ensure that EIGRP can support dis-contiguous networks.
4. RouterD sould have only a summary route for all 192.168.1.x networks not directly connected to it.
5. Remember that the DCE side of your DTE/DCE back to back cable should be connected to the interface configured with clock rate.

Figure 5-14 Network for Lab 5-2

 14

The initial configuration for all routers is shown below:

RouterA

Router(config)#hostname RouterA
RouterA(config)#int fa0/0
RouterA(config-if)#ip address 172.16.0.1 255.255.0.0
RouterA(config-if)#no shut
RouterA(config-if)#exit
RouterA(config)#int s0/0
RouterA(config-if)#ip address 192.168.1.1 255.255.255.252
RouterA(config-if)#no shut
RouterA(config-if)#exit
RouterA(config)#int s0/1
RouterA(config-if)#ip address 192.168.1.9 255.255.255.252
RouterA(config-if)#no shut
RouterA(config-if)#exit

RouterB

Router(config)#hostname RouterB
RouterB(config)#int fa0/0
RouterB(config-if)#ip address 192.168.1.5 255.255.255.252
RouterB(config-if)#no shut
RouterB(config-if)#exit
RouterB(config)#int s0/0
RouterB(config-if)#ip add 192.168.1.2 255.255.255.252
RouterB(config-if)#clock rate 2000000
RouterB(config-if)#no shut
RouterB(config-if)#exit
RouterB(config)#int s0/1
RouterB(config-if)#ip address 192.168.1.13 255.255.255.252
RouterB(config-if)#clock rate 2000000
RouterB(config-if)#no shut
RouterB(config-if)#exit
RouterB(config)#int fa0/1
RouterB(config-if)#ip address 172.18.0.2 255.255.0.0
RouterB(config-if)#no shut
RouterB(config-if)#exit

RouterC

Router(config)#hostname RouterC
RouterC(config)#int fa0/0
RouterC(config-if)#ip address 192.168.1.6 255.255.255.252
RouterC(config-if)#no shut
RouterC(config-if)#exit
RouterC(config)#int s0/0
RouterC(config-if)#ip address 172.20.0.3 255.255.0.0
RouterC(config-if)#no shut
RouterC(config-if)#exit

RouterD

Router(config)#hostname RouterD
RouterD(config)#int fa0/0
RouterD(config-if)#ip address 172.17.0.4 255.255.0.0
RouterD(config-if)#no shut
RouterD(config-if)#exit
RouterD(config)#int s0/0
RouterD(config-if)#clock rate 2000000
RouterD(config-if)#ip address 192.168.1.17 255.255.255.252
RouterD(config-if)#no shut
RouterD(config-if)#exit
RouterD(config)#int s0/1
RouterD(config-if)#clock rate 2000000
RouterD(config-if)#ip address 192.168.1.10 255.255.255.252
RouterD(config-if)#no shut
RouterD(config-if)#exit

RouterE

Router(config)#hostname RouterE
RouterE(config)#int fa0/0
RouterE(config-if)#ip address 172.19.0.5 255.255.0.0
RouterE(config-if)#no shut
RouterE(config-if)#exit
RouterE(config)#int s0/0
RouterE(config-if)#ip address 192.168.1.18 255.255.255.252
RouterE(config-if)#no shut
RouterE(config-if)#exit
RouterE(config)#int s0/1
RouterE(config-if)#ip address 192.168.1.14 255.255.255.252
RouterE(config-if)#no shut
RouterE(config-if)#exit

Solution

First, each interface on each router needs to be added in RIP and version 2 has to be enabled:

RouterA(config)#router rip
RouterA(config-router)#version 2
RouterA(config-router)#network 192.168.1.0
RouterA(config-router)#network 172.16.0.0
RouterA(config-router)#end

RouterB(config)#router rip
RouterB(config-router)#version 2
RouterB(config-router)#network 192.168.1.0
RouterB(config-router)#network 172.18.0.0
RouterB(config-router)#end

RouterC(config)#router rip
RouterC(config-router)#version 2
RouterC(config-router)#network 192.168.1.0
RouterC(config-router)#network 172.20.0.0
RouterC(config-router)#end

RouterD(config)#router rip
RouterD(config-router)#version 2
RouterD(config-router)#network 192.168.1.0
RouterD(config-router)#network 172.17.0.0
RouterD(config-router)#end

RouterE(config)#router rip
RouterE(config-router)#version 2
RouterE(config-router)#network 192.168.1.0
RouterE(config-router)#network 172.19.0.0
RouterE(config-router)#end

Solution

The first item requires configuring EIGRP on all routers and advertising all interfaces as shown below:

RouterA(config)#router eigrp 1
RouterA(config-router)#network 192.1.1.0
RouterA(config-router)#network 172.16.0.0
RouterA(config-router)#end

RouterB(config)#router eigrp 1
RouterB(config-router)#network 192.1.1.0
RouterB(config-router)#network 172.18.0.0
RouterB(config-router)#end

RouterC(config)#router eigrp 1
RouterC(config-router)#network 192.1.1.0
RouterC(config-router)#network 172.20.0.0
RouterC(config-router)#end

RouterD(config)#router eigrp 1
RouterD(config-router)#network 192.1.1.0
RouterD(config-router)#network 172.17.0.0
RouterD(config-router)#end

RouterE(config)#router eigrp 1
RouterE(config-router)#network 192.1.1.0
RouterE(config-router)#network 172.19.0.0
RouterE(config-router)#end

The second item in the list requires that traffic is not load balanced from RouterD to RouterA and RouterE. Both paths have an equal cost, so the metrics must be modified to stop EIGRP from load balancing as shown below:

RouterB(config)#int s0/1
RouterB(config-if)#bandwidth 1000

The next item in the list requires auto summarization to be disabled on all routers as shown below:

RouterA(config)#router eigrp 1
RouterA(config-router)#no auto-summary
RouterA(config-router)#end

RouterB(config)#router eigrp 1
RouterB(config-router)#no auto-summary
RouterB(config-router)#end

RouterC(config)#router eigrp 1
RouterC(config-router)#no auto-summary
RouterC(config-router)#end

RouterD(config-router)#router eigrp 1
RouterD(config-router)#no auto-summary
RouterD(config-router)#end

RouterE(config)#router eigrp 1
RouterE(config-router)#no auto-summary
RouterE(config-router)#end

The final item requires you to configure summarization on RouterA and RouterE. Since you can only configure summarization in blocks, you will need to summarize the addresses in block of 32 to cover all 192.168.x.x/30 networks as shown below

RouterA(config)#int s0/1
RouterA(config-if)#ip summary-address eigrp 1 192.168.1.0 255.255.255.224

RouterE(config)#int s0/0
RouterE(config-if)#ip summary-address eigrp 1 192.168.1.0 255.255.255.224

Verification

To verify the solution, first check the routing table on all routers. They should look similar to the ones shown below:

RouterA#sh ip route
–output truncated–

Gateway of last resort is not set

D 172.17.0.0/16 [90/2195456] via 192.168.1.10, 00:07:51, Serial0/1
C 172.16.0.0/16 is directly connected, FastEthernet0/0
D 172.19.0.0/16 [90/2707456] via 192.168.1.10, 00:05:34, Serial0/1
[90/2707456] via 192.168.1.2, 00:05:34, Serial0/0
D 172.18.0.0/16 [90/2195456] via 192.168.1.2, 00:08:34, Serial0/0
D 172.20.0.0/16 [90/2707456] via 192.168.1.2, 00:08:16, Serial0/0
192.168.1.0/24 is variably subnetted, 6 subnets, 2 masks
C 192.168.1.8/30 is directly connected, Serial0/1
D 192.168.1.12/30 [90/2681856] via 192.168.1.2, 00:02:31, Serial0/0
C 192.168.1.0/30 is directly connected, Serial0/0
D 192.168.1.0/27 is a summary, 00:02:31, Null0
D 192.168.1.4/30 [90/2195456] via 192.168.1.2, 00:02:31, Serial0/0
D 192.168.1.16/30 [90/2681856] via 192.168.1.10, 00:05:34, Serial0/1

RouterB#sh ip route
–output truncated–

Gateway of last resort is not set

D 172.17.0.0/16 [90/2707456] via 192.168.1.14, 00:05:56, Serial0/1
[90/2707456] via 192.168.1.1, 00:05:56, Serial0/0
D 172.16.0.0/16 [90/2195456] via 192.168.1.1, 00:05:56, Serial0/0
D 172.19.0.0/16 [90/2195456] via 192.168.1.14, 00:05:56, Serial0/1
C 172.18.0.0/16 is directly connected, FastEthernet0/1
D 172.20.0.0/16 [90/2195456] via 192.168.1.6, 00:05:56, FastEthernet0/0
192.168.1.0/30 is subnetted, 5 subnets
D 192.168.1.8 [90/2681856] via 192.168.1.1, 00:05:56, Serial0/0
C 192.168.1.12 is directly connected, Serial0/1
C 192.168.1.0 is directly connected, Serial0/0
C 192.168.1.4 is directly connected, FastEthernet0/0
D 192.168.1.16 [90/2681856] via 192.168.1.14, 00:05:56, Serial0/1

RouterC#sh ip route
–output truncated–

Gateway of last resort is not set

D 172.17.0.0/16 [90/2733056] via 192.168.1.5, 00:08:38, FastEthernet0/0
D 172.16.0.0/16 [90/2221056] via 192.168.1.5, 00:09:07, FastEthernet0/0
D 172.19.0.0/16 [90/2221056] via 192.168.1.5, 00:06:21, FastEthernet0/0
D 172.18.0.0/16 [90/307200] via 192.168.1.5, 00:09:07, FastEthernet0/0
C 172.20.0.0/16 is directly connected, Serial0/0
192.168.1.0/30 is subnetted, 5 subnets
D 192.168.1.8 [90/2707456] via 192.168.1.5, 00:09:07, FastEthernet0/0
D 192.168.1.12 [90/2195456] via 192.168.1.5, 00:09:07, FastEthernet0/0
D 192.168.1.0 [90/2195456] via 192.168.1.5, 00:09:07, FastEthernet0/0
C 192.168.1.4 is directly connected, FastEthernet0/0
D 192.168.1.16 [90/2707456] via 192.168.1.5, 00:06:21, FastEthernet0/0

RouterD#sh ip route
–output truncated–

Gateway of last resort is not set

C 172.17.0.0/16 is directly connected, FastEthernet0/0
D 172.16.0.0/16 [90/2195456] via 192.168.1.9, 00:09:00, Serial0/1
D 172.19.0.0/16 [90/2195456] via 192.168.1.18, 00:06:41, Serial0/0
D 172.18.0.0/16 [90/2707456] via 192.168.1.9, 00:06:39, Serial0/1
D 172.20.0.0/16 [90/3219456] via 192.168.1.9, 00:06:39, Serial0/1
192.168.1.0/24 is variably subnetted, 3 subnets, 2 masks
C 192.168.1.8/30 is directly connected, Serial0/1
D 192.168.1.0/27 [90/2681856] via 192.168.1.18, 00:03:20, Serial0/0
[90/2681856] via 192.168.1.9, 00:03:20, Serial0/1
C 192.168.1.16/30 is directly connected, Serial0/0

RouterE#sh ip route
–output truncated–

Gateway of last resort is not set

D 172.17.0.0/16 [90/2195456] via 192.168.1.17, 00:07:06, Serial0/0
D 172.16.0.0/16 [90/2707456] via 192.168.1.17, 00:07:04, Serial0/0
C 172.19.0.0/16 is directly connected, FastEthernet0/0
D 172.18.0.0/16 [90/3097600] via 192.168.1.13, 00:07:04, Serial0/1
D 172.20.0.0/16 [90/3609600] via 192.168.1.13, 00:07:04, Serial0/1
192.168.1.0/24 is variably subnetted, 6 subnets, 2 masks
D 192.168.1.8/30 [90/2681856] via 192.168.1.17, 00:07:04, Serial0/0
C 192.168.1.12/30 is directly connected, Serial0/1
D 192.168.1.0/30 [90/3584000] via 192.168.1.13, 00:04:01, Serial0/1
D 192.168.1.0/27 is a summary, 00:03:45, Null0
D 192.168.1.4/30 [90/3097600] via 192.168.1.13, 00:07:04, Serial0/1
C 192.168.1.16/30 is directly connected, Serial0/0

In the routing table of RouterD, notice that it has only a single route to 172.20.0.0/16 network whose next hop is RouterA. Also notice that there is a summary route on it for all the 192.168.1.x networks.

Finally, ping the 172.20.0.3 network from RouterD to verify that routing is working correctly:

RouterD#ping 172.20.0.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.20.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms