In the following hands-on labs, you will configure a network with three routers. These exercises assume all the same setup requirements as the labs found in earlier chapters.
This chapter includes the following labs:
Lab 6.1: Creating Static Routes
Lab 6.2: Configuring RIP Routing
The internetwork shown in the following graphic will be used to configure all routers.
Table 6.4 shows the IP addresses for each router (each interface uses a /24 mask).
These labs were written without using the LAN interface on the Lab_B router. You can choose to add that LAN into the labs if necessary.
In this lab, you will create a static route in all three routers so that the routers see all networks. Verify with the Ping program when complete.
Lab_A#config t Lab_A(config)#ip route 172.16.30.0 255.255.255.0 172.16.20.2 Lab_A(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.2
Lab_B#config t Lab_B(config)#ip route 172.16.10.0 255.255.255.0 172.16.20.1 Lab_B(config)#ip route 172.16.40.0 255.255.255.0 172.16.30.2
Lab_C#config t Lab_C(config)#ip route 172.16.10.0 255.255.255.0 172.16.30.1 Lab_C(config)#ip route 172.16.20.0 255.255.255.0 172.16.30.1
In this lab, you will use the dynamic routing protocol RIP instead of static routing.
Lab_A#config t Lab_A(config)#no ip route 172.16.30.0 255.255.255.0 172.16.20.2 Lab_A(config)#no ip route 172.16.40.0 255.255.255.0 172.16.20.2
Do the same thing for routers Lab_B and Lab_C. Verify that only your directly connected networks are in the routing tables.
config t router rip
Since router Lab_A has two interfaces that are in two different networks, you must enter a network statement using the network ID of the network in which each interface resides. Alternately, you could use a summarization of these networks and use a single statement, minimizing the size of the routing table. Since the two networks are 172.16.10.0/24 and 172.16.20.0/24, the network summarization 172.16.0.0 would include both subnets. Do this by typing network 172.16.0.0 and pressing Enter.
Config t Router rip network 172.16.0.0
show ip protocols
This should indicate to you that RIP is present on the router.
show ip route
(This should have routes present with an R to the left of them.)
show running-config or show run
(This should indicate that RIP is present and the networks are being advertised.)
3.145.110.176