Article Side

Online Article Directory!

Hello Guest! Login or Register to submit articles!

Basic of Routing Algorithm Used in Network Layer

By Pankaj Rattan Subscribe to RSS | February 1st 2012 | Views:
loading
 
  



The main function of the network layer is routing packets from the source machine to the destination machine. In most subnets, packets will require multiple hops to make the journey. The only notable exception is for broadcast networks, but even here routing is an issue if the source and destination are not on the same network. The algorithms that choose the routes and the data structures that they use are a major area of network layer design.

The routing algorithm is that part of the network layer software responsible for deciding which output line an incoming packet should be transmitted on. If the subnet uses datagrams internally, this decision must be made anew for every arriving data packet since the best route may have changed since last time. If the subnet uses virtual circuits internally, routing decisions are made only when a new virtual circuit is being set up. Thereafter, data packets just follow the previously-established route. The latter case is sometimes called session routing because a route remains in force for an entire user session (e.g., a login session at a terminal or a file transfer).

It is sometimes useful to make a distinction between routing, which is making the decision which routes to use, and forwarding, which is what happens when a packet arrives. One can think of a router as having two processes inside it. One of them handles each packet as it arrives, looking up the outgoing line to use for it in the routing tables. This process is forwarding. The other process is responsible for filling in and updating the routing tables. That is where the routing algorithm comes into play.

Regardless of whether routes are chosen independently for each packet or only when new connections are established, certain properties are desirable in a routing algorithm: correctness, simplicity, robustness, stability, fairness, and optimality. Correctness and simplicity hardly require comment, but the need for robustness may be less obvious at first. Once a major network comes on the air, it may be expected to run continuously for years without systemwide failures. During that period there will be hardware and software failures of all kinds. Hosts, routers, and lines will fail repeatedly, and the topology will change many times. The routing algorithm should be able to cope with changes in the topology and traffic without requiring all jobs in all hosts to be aborted and the network to be rebooted every time some router crashes.

Routing algorithms can be grouped into two major classes:

1).Nonadaptive .

2).Adaptive.

Nonadaptive algorithms, do not base their routing decisions on measurements or estimates of the current traffic and topology. Instead, the choice of the route to use to get from I to J (for all I and J) is computed in advance, off-line, and downloaded to the routers when the network is booted. This procedure is sometimes called static routing.

Adaptive algorithms, in contrast, change their routing decisions to reflect changes in the topology, and usually the traffic as well. Adaptive algorithms differ in where they get their information (e.g., locally, from adjacent routers, or from all routers), when they change the routes (e.g., every T sec, when the load changes or when the topology changes), and what metric is used for optimization (e.g., distance, number of hops, or estimated transit time). In the following sections we will discuss a variety of routing algorithms, both static and dynamic.

Pankaj Rattan - About Author:
Are you concerned about your your computer security.Do you fear that your accounts can be hacked.Learn PC Tricks Tips to get into the minds of hackers.Here you will also get mobile tricks tips and Vodafone GPRS.

Share on Facebook Tweet It Stumbleupon this post This post is delicious !

Article Source:
http://www.articleside.com/networks-articles/basic-of-routing-algorithm-used-in-network-layer.htm

Related Networks Articles Subscribe to RSS

Best network security support for your business
Published by Chris Mills on January 25th 2012 | Computer
Whether its public, private, corporate or governmental issue, network security support plays a great...
 
Advantages of wireless network service provider
Published by Chris Mills on February 1st 2012 | Networks
Internet is the best possible way to enter into international market for creating own brand image in...
 
Know about different features of network storage device before final purchase
Published by Rajvines on March 13th 2012 | Networks
Data storage has become a vital issue as more and more individuals prefer to store data in their com...
 
Does your network security work hard enough for you?
Published by Bgiles on July 26th 2012 | Computer

Make sure your network security is up to scratch by investing in the latest software.
...
 
How to speed up your home network
Published by Theodore Sumrall on February 12th 2012 | Networks
These techniques and tips can’t speed up your home network more than the internet connection you h...
 
Accessorize your electronic equipment with safe and sound electrical wiring through network cables
Published by Oliver Margarson on March 10th 2012 | Networks
This article tells us how network cable has its relevance in the world of technology. It also highli...
 
Integrating surveillance camera system with effective network solutions
Published by Chris Mills on May 30th 2012 | Networks
With the increase in crime and terrorism all over the world the integration of modern network techno...