My Account|View Cart|Wishlist|Checkout|About Us|Contact Us

Main Menu

Cisco CCNA Dynamic Routing Part I


Cisco CCNA Dynamic Routing


Dynamic routing utilizes a routing protocol to find and update routing tables on routers.

True—this is easier than using static or default routing, but it’ll cost you in terms of router CPU processes and bandwidth on the network links.  Different routing protocols utilize different amounts of CPU and bandwidth which will be explained as each routing protocol is covered.

A routing protocol defines the set of rules used by a router when it communicates between neighbor routers.

Cisco CCNA What is a Routing Protocol?


A routing protocol is used by routers to dynamically find all the networks in the internetwork and to ensure that all routers have the same routing table (also referred to as the routing table being converged).

A routing protocol determines the path of a packet through an internetwork. Examples of routing protocols are RIP, IGRP, EIGRP and OSPF.

Okay—once all routers know about all networks, a routed protocol can be used to send user data (packets) through the established enterprise.Routed protocols are assigned to an interface and determine the method of packet delivery. Examples of routed protocols are IP and IPX.  This is the reason IP addresses are assigned to an interface.

Cisco CCNA Dynamic Routing Protocols


Dynamic routing protocols do exactly what the name implies, they dynamically discover remote networks updating routes as the network changes.  There are numerous different routing protocols, some are classful while other are classless.  The difference between classful and classless routing protocols will be described later in this chapter.


Cisco CCNA Routing Protocols


There are two types of routing protocols used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

IGPs are used to exchange routing information with routers in the same autonomous system (AS). An AS is a collection of networks under a common administrative domain, which basically means that all routers sharing the same routing table information are in the same AS.

EGPs are used to communicate between ASs. An example of an EGP is Border Gateway Protocol (BGP), which is not part of the CCNA course but rather part of the CCNP course.

An administrative domain is a network under a single administrative control.

Cisco CCNA Classfull Routing Over view


Classful routing is used in routing packets based upon the class of IP address, Class A, B and C.

Classful routing is a consequence of the fact that routing masks are not advertised in the routing advertisements generated by distance vector routing protocols.  In a classful environment, the receiving device must know the mask associated with any advertised subnets or those subnets cannot be advertised to it. There are two ways this information can be obtained:

• Share the same routing mask as the advertising device

• If the routing mask does not match, this device must summarize the received route a classful boundary and send the default routing mask in its own advertisements.


Cisco CCNA Classless Routing Overview


Classless routing, defined in RFC 1817, allows for the routing of non-octet boundary subnets and greatly increases the usage of the existing IPv4 address space.

The following example will explain Classless routing utilizing a Class C address.  Classless routing describes the process of splitting and routing the Class C space into multiple subnets. Assume we want to allocate and route a subnet capable of having 32 addresses and starting at address 64 (last octet), in the Class C address range This could be written as: netmask

To simplify the process of writing this, a short-form (sometimes called the 'slash' form officially an IP Prefix) '/x' is used, where x defines the number of contiguous bits in the subnet mask. So the above could be written as: (27 bits in the subnet mask

Remember that the first address in the subnet is reserved for the network or subnet and the last address is the broadcast address to you really have 30 usable addresses for host addresses.

Prefix routing sends subnet mask information with the route updates. This is called classless routing.


Cisco CCNA Classes of Routing Protocols


There are three classes of routing protocols:

Distance vector: The distance-vector protocols find the best path to a remote network by judging distance. Each time a packet goes through a router, that’s called a hop. The route with the least number of hops to the network is determined to be the best route. The vector indicates the direction to the remote network. Both RIP and IGRP are distance-vector routing protocols.  RIP uses hop count as a metric while IGRP uses an algorithm that takes into account bandwidth, delay, load, reliability and mtu.  They send the entire routing protocol to directly connected neighbors.

Link state: In link-state protocols, also called shortest-path-first protocols, the routers each create three separate tables. One of these tables keeps track of directly attached neighbors, one determines the topology of the entire internetwork, and one is used as the routing table. Link-state routers know more about the internetwork than any distance-vector routing protocol. OSPF is an IP routing protocol that is completely link state. Link State protocols send updates containing the state of their own link to all other routers on the network.

Hybrid (Advanced Distance Vector): The hybrid protocols use aspects of both distance vector and link state—for example, EIGRP.

Cisco CCNA Routing Protocol Comparison Chart


This slide shows the various routing protocols available and their characteristics.

RIPv2 is exactly like RIPv1, except that it send out subnet mask information with the route table updates. This allows RIPv2 to support VLSM networks and discontiguous networks.  Another difference is that RIPv2 sends out updates via IP multicast where RIPv1 sends out updates via broadcast.

In order for a routing protocol to be a classless routing protocol it needs to support VLSM.  By looking at the chart you can see that RIPv1 and IGRP are classful routing protocols.

Also note that IGRP and EIGRP are Cisco proprietary routing protocols so they only work with other Cisco devices.

Remember that while faster to converge, link state protocols are more CPU intensive than other routing protocols.

Cisco CCNA Administrative Distance (AD)


The Administrative Distance (AD) is used to rate the trustworthiness of routing information received on a router from a neighbor router. An Administrative Distance is an integer from 0 to 255, where 0 is the most trusted and 255 means no traffic will be passed via this route.

If a router receives two updates listing the same remote network, the first thing the router checks is the AD. If one of the advertised routes has a lower AD than the other, then the route with the lowest AD will be placed in the routing table.

If both advertised routes to the same network have the same AD, then routing protocol metrics (such as hop count or bandwidth of the lines) will be used to find the best path to the remote network. The advertised route with the lowest metric will be placed in the routing table. But if both advertised routes have the same AD as well as the same metrics, then the routing protocol will load-balance to the remote network.

Cisco CCNA Distance Vector Metrics


Metrics are used to determine the best path to a remote network if more then one path exists.

RIP uses hop count as a metric where each hop the metric gets incremented by 1 and a metric of 16 is considered unreachable.  So as you can see, RIP does not scale to large networks.

IGRP utilizes a composite metric of bandwidth and delay by default.  This metric scale to large networks but IGRP is still a classful routing protocol so utilizing IP address space efficiently is not possible.



connect on facebook