background image
284
Chapter 5
IP Routing
2501A(config)#router rip
2501A(config-router)#network 172.16.0.0
2501A(config-router)#^Z
2501A#
It doesn't get much easier than this.
2501B
The 2501B router had only two static routes. Once you remove those, you
can turn on RIP routing.
2501B#config t
Enter configuration commands, one per line.
End with CNTL/Z.
2501B(config)#no ip route 172.16.10.0 255.255.255.0
172.16.20.1
2501B(config)#no ip route 172.16.50.0 255.255.255.0
172.16.40.2
2501B(config)#router rip
2501B(config-router)#network 172.16.0.0
2501B(config-router)#^Z
2501B#
There is still one more router to configure RIP routing.
2501C
The 2501C has only a default route because our use of the default route
command. Once you remove the default route, you can add RIP routing.
RouterC#config t
Enter configuration commands, one per line.
End with CNTL/Z.
RouterC(config)#no ip route 0.0.0.0 0.0.0.0 172.16.40.1
RouterC(config)#router rip
RouterC(config-router)#network 172.16.0.0
RouterC(config-router)#^Z
RouterC#
05:10:31: %SYS-5-CONFIG_I: Configured from console by
console
It is important to remember why we are doing this. Directly connected
routes have an administrative distance of 0, static routes have an administrative
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com