background image
280 Chapter 5: Network Protocols
The routing table in Example 5-4 does not list all subnets because the routing protocol
configuration has not been added. Notice that the show ip route commands list routes to the
directly attached subnets, but no others. The ip route commands in Example 5-5 have been
added to Albuquerque. Example 5-6 and Example 5-7 contain show commands executed after
the new configuration was added.
Example 5-5
Static Routes Added to Albuquerque
ip route 10.1.2.0 255.255.255.0 10.1.128.252
ip route 10.1.3.0 255.255.255.0 10.1.130.253
Example 5-6
Albuquerque Router EXEC Commands, After Adding Static Routes for 10.1.2.0 and 10.1.3.0
Albuquerque#show 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
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 5 subnets
S 10.1.3.0 [1/0] via 10.1.130.253
S 10.1.2.0 [1/0] via 10.1.128.252
C 10.1.1.0 is directly connected, Ethernet0
C 10.1.130.0 is directly connected, Serial1
C 10.1.128.0 is directly connected, Serial0
Albuquerque#ping 10.1.128.252
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.128.252, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms
! Note: the following extended ping command will result in some debug messages
! on Yosemite in Example 5-7.
Albuquerque#ping
Protocol [ip]:
Target IP address: 10.1.2.252
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.1.1.251
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
ch05.fm Page 280 Monday, March 20, 2000 5:06 PM