background image
Configuring IP Routing in Our Network
267
appear in the routing table, it is because the router cannot communicate with
the next-hop address you configured. You can use the permanent parameter
to keep the route in the routing table even if the next-hop device cannot be
contacted.
2621A#sh ip route
[output cut]
172.16.0.0/24 is subnetted, 5 subnets
S 172.16.50.0 [1/0] via 172.16.10.2
S 172.16.40.0 [1/0] via 172.16.10.2
S 172.16.30.0 [1/0] via 172.16.10.2
S 172.16.20.0 [1/0] via 172.16.10.2
C 172.16.10.0 is directly connected, FastEthernet0/0
2621A#
The S in the routing table entries means that the network is a static entry.
The [1/0] is the administrative distance and number of hops to the remote
network, which is 0.
The 2621A router now has all the information it needs to communicate
with the other remote networks. However, if the 2501A router is not con-
figured with all the same information, the packets will be discarded at
2501A.
2501A
The 2501A router is connected to the networks 172.16.10.0 and 172.16.20.0.
The following static routes must be configured on the 2501A router:
172.16.30.0
172.16.40.0
172.16.50.0
Here is the configuration for the 2501A router.
2501A(config)#ip route 172.16.30.0 255.255.255.0
172.16.20.2
2501A(config)#ip route 172.16.40.0 255.255.255.0
172.16.20.2
2501A(config)#ip route 172.16.50.0 255.255.255.0
172.16.20.2
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com