You have been tasked with configuring the network shown in Figure 5-13 using RIPv2 such that:
1. All interfaces on each router are advertised in RIP
2. RouterC should not learn routes from the rest of the network. It should use a default route to reach remote networks. All routers should learn the 172.20.0.0/16 network using RIP
3. All interfaces that do not connect to another router such not advertise RIP routes.
4. 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-13 Network Setup for Lab 5-1
The initial configuration for each router is given below
RouterA
RouterB
RouterC
RouterD
RouterE
Solution
First, each interface on each router needs to be added in RIP and version 2 has to be enabled:
The second item in the list states that RouterC should not learn any routes from the rest of the network, while the rest of the network should learn routes originated by it. RouterC also needs to have a default route to the rest of the network. To achieve this, RouterB’s f0/0 interface must be made passive so that it does not advertise the routes out this interface to RouterC while it still learns the routes advertised by RouterC. The configuration required is shown below:
The final item in the list states that routes should not be advertised out interfaces that do not connect to another router. This requires some interfaces on all routers to be passive:
Verification
To verify the solution, first check the routing table on each router. The routing table should resemble the output shown below:
In the above outputs notice that RouterC does not have any RIP routes but all other routers know network 172.20.0.0/16.
A final verification can be done by sending a ping to 172.20.0.3 (interface s0/0 of RouterC) from RouterD as shown below:
A successful ping shown that routing is working perfectly in the network.