background image
260
Chapter 5
IP Routing
Router configuration is a fairly simple process, since you just need to
add IP addresses to your interfaces and then perform a
no shutdown
on
the interfaces. It will get a tad bit more complex in the next section, but
first, let's configure the IP addresses in the network.
2621A Configuration
To configure the 2621A router, you just need to add an IP address to inter-
face FastEthernet 0/0. Configuring the hostnames of each router will make
identification easier. Here is how I did that:
Router>en
Router#config t
Router(config)#hostname 2621A
2621A(config)#interface fa0/0
2621A(config-if)#ip address 172.16.10.1 255.255.255.0
2621A(config-if)#no shut
The configuration is only a few lines. If you have a hard time understand-
ing this process, refer to Chapter 4.
To view the IP routing tables created on a Cisco router, use the privileged
mode command show ip route. The command output is shown as follows.
T A B L E 5 . 1
Network Addressing for the IP Network
Router
Network Address
Interface
Address
2621A
172.16.10.0
f0/0
172.16.10.1
2501A
172.16.10.0
e0
172.16.10.2
2501A
172.16.20.0
s0
172.16.20.1
2501B
172.16.20.0
s0
172.16.20.2
2501B
172.16.40.0
s1
172.16.40.1
2501B
172.16.30.0
e0
172.16.30.1
2501C
172.16.40.0
s0
172.16.40.2
2501C
172.16.50.0
e0
172.16.50.1
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com