background image
The IP Routing Process
263
route
command displays the directly connected networks of 172.16.20.0,
172.16.30.0, and 172.16.40.0.
2501B#sh ip route
[output cut]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.40.0 is directly connected, Serial1
C 172.16.30.0 is directly connected, Ethernet0
C 172.16.20.0 is directly connected, Serial0
2501B#
Routers 2501A and 2501B can communicate because they are on the
same WAN network. However, Router 2501B cannot communicate with
the 2621A router because it does not know about network 172.16.10.0.
Router 2501A can ping both the 2621A router and 2501B, but 2501B and
2621A cannot see each other--yet.
2501C Configuration
The configuration of 2501C is the same as 2501A except that it has different
network IDs.
Router>en
Router#config t
Router(config)#hostname 2501C
2501C(config)#int e0
2501C(config-if)#ip address 172.16.50.1 255.255.255.0
2501C(config-if)#no shut
2501C(config-if)#int s0
2501C(config-if)#ip address 172.16.40.2 255.255.255.0
2501C(config-if)#no shut
Interface Ethernet 0 is configured to participate in the 172.16.50.0 net-
work, and serial 0 is configured into the 172.16.40.0 WAN network. The
output of the show ip route command, displayed below, shows the directly
connected networks on Router 2501C.
2501C#sh ip route
[output cut]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com