Friday, 11 July 2014

Routing

Routing

Static Routing

Static routing is not really a routing protocol. Static routing is simply the process of manually entering routes into a device's routing table via a configuration file that is loaded when the routing device starts up. As an alternative, these routes can be entered by a network administrator who configures the routes manually. Since these manually configured routes don't change after they are configured (unless a human changes them) they are called 'static' routes.
Static routing is the simplest form of routing, but it is a manual process.
Use static routing when you have very few devices to configure (<5) and when you know the routes will probably never change.
Static routing also does not handle failures in external networks well because anyroute that is configured manually must be updated or reconfigured manually to fix or repair any lost connectivity.

Dynamic Routing

Dynamic routing protocols are supported by software applications running on the routing device (the router) which dynamically learn network destinations and how to get to them and also advertise those destinations to other routers. This advertisement function allows all the routers to learn about all the destination networks that exist and how to those networks.
A router using dynamic routing will 'learn' the routes to all networks that are directly connected to the device. Next, the router will learn routes from other routers that run the same routing protocol (RIP, RIP2, EIGRP, OSPF, IS-IS, BGP etc). Each router will then sort through its list of routes and select one or more 'best' routes for each network destination the router knows or has learned.

Static vs. Dynamic Routing
The following briefly outlines the advantages and disadvantages of static
routing:
Advantages of Static Routing
1. Minimal CPU/Memory overhead
2. No bandwidth overhead (updates are not shared between routers)
3. Granular control on how traffic is routed
Disadvantages of Static Routing
1. Infrastructure changes must be manually adjusted
2. No “dynamic” fault tolerance if a link goes down
3. Impractical on large network
The following briefly outlines the advantages and disadvantages of dynamic routing:
Advantages of Dynamic Routing
1. Simpler to configure on larger networks
2. Will dynamically choose a different (or better) route if a link goes down
3.  Ability to load balance between multiple links
Disadvantages of Dynamic Routing
1. Updates are shared between routers, thus consuming bandwidth
2. Routing protocols put additional load on router CPU/RAM
3. The choice of the “best route” is in the hands of the routing protocol, and not the network administrator

Routing table
A routing table is a document stored in the router or a network computer. The routing table is stored in the form of a database or is simply a file stored in the router. The data entered in the routing table is referred to when the best possible path to transfer information across two computers in a network is to be determined. The two classifications, viz., static and dynamic routing, are based on the way in which the routing tables are updated every time they are used. The routers in which the data is stored and updated manually are called static routers. On the other hand, the routers, in which the information is changed dynamically, by the router itself, are referred to as dynamic routers.
  
Routing Protocol
A routing protocol is a standardized process by which routers learn and communicate connectivity information, called routes, each of which describes how to reach a destination host and network. Routers that wish to exchange routing information must use the same routing protocol to communicate routing information.
Routing is the process of learning all the paths through the network (routes) and using routes to forward data from one network to another. A protocol is a standardized way to perform a task. So, a routing protocol would be a standardized way of learning routes and moving data from one network to another.
Routing protocols are used by routers to dynamically learn all paths through a set of networks and forward data between the networks. Routers are specialized computer devices designed to perform routing.

No comments:

Post a Comment