Beruflich Dokumente
Kultur Dokumente
This document is designed to help those candidates who are preparing for the Cisco
CCIE® Routing and Switching lab exam. The following topics are discussed:
1 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
1. Routing Table Structure
A Cisco IP routing table is a hierarchical structure, which speeds up the lookup process.
Level 1 routes have a subnet mask equal to or less than the classful mask of the network
addresses. It can be a default route, supernet route, or network route.
A parent route is a level 1 route. A parent route does not contain a next-hop IP address or
any exit interface information. A parent route occurs any time a subnet is added to the
routing table.
In classful networks, both child routes have the same subnet mask.
2 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
In Classless networks, child routes do not have to share the same subnet mask
3 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
The following table compares classful with classless networks.
4 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
2. The Routing Table Lookup Process
5 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
3. Routing Behavior in a Routed Network
Classful routing behavior: The command no IP classless had been configured in the router.
What happens if there is no match with any level 2 child routes of the parent?
6 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
The following diagram is an example of when classful routing behavior is in effect.
The subnet mask of the destination is a /24, and none of the leftmost bits of the child routes
matches the first 24 bits. This means that the packet is dropped.
7 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.
Classless routing behavior works for discontiguous networks and classless interdomain
routing (CIDR) supernets.
Here is the route lookup process when the IP classless command is configured in the
router.
The router begins the search process by finding a match between the destination IP and the
parent route.
— After finding the match, the router searches the child route.
It is recommended that you use classless routing behavior, because supernet and default routes
can be used whenever they are needed.
8 Routing Tables Explained Cisco Learning Network www.cissco.com/go/learningnetwork © 2009 Cisco Systems, Inc.