background image
32
Chapter 2
Routing Principles
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 6 subnets
C 172.16.60.0 is directly connected, BRI0/0
C 172.16.50.0 is directly connected, Ethernet0/0
S 172.16.10.0 [1/0] via 172.16.50.1, Ethernet0/0
S 172.16.11.0 [1/0] via 172.16.50.1, Ethernet0/0
R 172.16.50.0 [120/3] via 172.16.10.2,
FastEthernet0/0
R 172.16.40.0 [120/2] via 172.16.10.2,
FastEthernet0/0
2600B#
At the top of the routing table are the different codes that describe the
entries found in a routing table. In the example above, the entries include
both directly connected static routes and RIP entries.
Let's take a look at a static route entry:
S 172.16.10.0 [1/0] via 172.16.50.1, Ethernet0/0
The list below describe the different parts of the routing table entry:
S The means by which the entry was learned on this router. S is for static
entry, which means that the administrator added the route manually.
172.16.10.0 The logical destination remote network or subnet.
[1 The administrative distance, or trustworthiness, of a route. (We dis-
cuss this in the next section.)
/0] The metric value. Since it is a static route, the value is 0 because the
router is not learning the route; thus the router has nothing to compare
the route with. This value will vary widely depending on the routing pro-
tocol used.
via 172.16.50.1 The address of the next relay device to forward pack-
ets to.
Ethernet0 The interface from which the path was learned and to which
the packets will be forwarded.
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com