Search Tools Links Login

What is Routing?

Routing is the process by which an item gets from one location to another. Many items get routed: for example, mail, telephone calls, and trains. In networking, a router is the device used to route traffic. The routing information a router learns from its routing sources is placed in its routing table. The router will rely on this table to tell it which port to use when forwarding addressed packets

Types of Routes

Static Route Configuration

A static route allows manual configuration of the routing table. No dynamic changes to this table entry will occur as long as the path is active. The ip route command is used to configure a static route in global configuration mode.

Default Routes

A default route is a special type of static route. A default route is a route to use for situations when the route from a source to a destination is not known or when it is unfeasible for the routing table to store sufficient information about the route.

Dynamic Routing

Routing protocols are used between routers to determine paths and maintain routing tables. Dynamic routing relies on a routing protocol to disseminate knowledge.

Characteristics of Routing Protocols

A routing protocol defines the set of rules used by a router when it communicates with neighboring routers. It interprets information in a network layer address to allow a packet to be forwarded to the destination network. Routing protocols describe:

Two examples of routing protocols are

Routing Information Protocol (RIP) and Interior Gateway Routing Protocol (IGRP).

Autonomous Systems

An autonomous system is a collection of networks under a common administrative domain. There are two major types of routing protocols used to connect autonomous systems:

Ranking Routes with Adminstrative Distance

Multiple routing protocols and static routes may be used at the same time. If there are several sources for routing information, an administrative distance value is used to rate the trustworthiness of each routing information source. An Administrative Distance is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. It is an integer from 0 to 255. Specifying administrative distance values enables the Cisco IOS software to discriminate between sources of routing information. For each destination learned, the IOS always places in the routing table the route from the source with the lowest administrative distance. In general, a routing protocol with a lower administrative distance has a higher likelihood of being used.

Classes of Routing Protocols

Within an autonomous system, most IGP routing algorithms can be classified as conforming to one of three algorithms. Distance Vector The distance vector routing approach determines the direction (vector) and distance to any link in the internetwork. Link State The link-state (also called shortest path first) approach re-creates the exact topology of the entire internetwork (or at least the partition in which the router is situated). Balanced Hybrid A balanced hybrid approach combines aspects of the link-state and distance vector algorithms. An example of Distance vector protocol is Routing Information protocol(RIP). Engineers have implemented this link-state concept in Open Shortest Path First (OSPF) routing. An example of a balanced hybrid protocol is Cisco's Enhanced Interior Gateway Routing Protocol (Enhanced IGRP).

Distance Vector Routing Problems

Discovering Neighbors with CDP

Cisco Discovery Protocol (CDP) is an information gathering tool used by network administrators to get information about directly connected devices. CDP is a proprietary tool that enables network administrators to access a summary of protocol and address information about other devices that are directly connected to the device initiating the command. CDP runs over the data link layer connecting the physical media to the upper-layer protocols. Because CDP operates at this level, two or more CDP devices that support different network-layer protocols (for example, IP and Novell IPX) can learn about each other. Physical media supporting the Subnetwork Access Protocol (SNAP) encapsulation connect CDP devices. These can include all LANs, Frame Relay and other WANs, and ATM networks. A CDP packet can be as small as 80 octets, mostly made up of ASCII strings that represent information such a CDP interfaces, neighbor entries, statistics, etc. The network administrator uses a show command to display information about the networks directly connected to the switch.

CDP Summary Information

Packets formed by CDP provide the following information about each CDP neighbor device:

About this post

Posted: 2007-05-02
By: FortyPoundHead
Viewed: 3,030 times






No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.