background image
306
Chapter 5
IP Routing
Hands-on Lab 5.2: Dynamic Routing with RIP
In this lab, we will use the dynamic routing protocol RIP instead of static and
default routing.
1.
Remove any static routes or default routes configured on your routers
by using the no ip route command. For example, here is how you
would remove the static routes on the 2501A router:
2501A#config t
2501A(config)#no ip route 172.16.30.0 255.255.255.0
172.16.20.2
2501A(config)#no ip route 172.16.40.0 255.255.255.0
172.16.20.2
2501A(config)#no ip route 172.16.50.0 255.255.255.0
172.16.20.2
Do the same thing for Routers 2501B and 2501C as well as the 2621A
router. Type sh run and press Enter on each router to verify that all
static and default routes are cleared.
2.
After your static and default routers are clear, go into configuration
mode on Router 2501A by typing config t.
3.
Tell your router to use RIP routing by typing router rip and pressing
Enter, as shown here:
config t
router rip
4.
Add the network number you want to advertise by typing network
172.16.0.0
and pressing Enter.
5.
Press Ctrl
+Z to get out of configuration mode.
6.
Go to Routers 2501B and 2501C as well as the 2621A router and type
the same commands, as shown here:
Config t
Router rip
Network 172.16.0.0
7.
Verify that RIP is running at each router by typing the following com-
mands at each router:
show ip protocol
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com