background image
The IP Routing Process
261
Notice that only the configured network is shown in the routing table. This
means the router only knows how to get to network 172.16.10.0.
2621A#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP,
M - mobile, B ­ BGP D - EIGRP, EX - EIGRP external, O -
OSPF, IA - OSPF inter area N1 - OSPF NSSA external type
1, N2 - OSPF NSSA external type 2 E1 - OSPF external
type 1, E2 - OSPF external type 2, E ­ EGP i - IS-IS,
L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default, U - per-user static route, o - ODR, P -
periodic downloaded static route, T - traffic
engineered route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.10.0 is directly connected, FastEthernet0/0
2621A#
The preceding routing table shows the directly connected network
172.16.10.0. Notice the C; this means that the network is directly connected.
The codes for each type of connection are listed at the top of the show ip
route
command with their abbreviations.
In the interest of brevity, the codes will be cut in the rest of this chapter.
2501A Configuration
It is now time to configure the next router. To configure 2501A, two inter-
faces need to be configured: Ethernet 0 and serial 0.
Router>en
Router#config t
Router(config)#hostname 2501A
2501A(config)#int e0
2501A(config-if)#ip address 172.16.10.2 255.255.255.0
2501A(config-if)#no shut
2501A(config-if)#int s0
2501A(config-if)#ip address 172.16.20.1 255.255.255.0
2501A(config-if)#no shut
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com