Published online by Cambridge University Press: 05 June 2012
In Chapter 6, the main functions and architectures of routers have been presented and discussed. Routers are the basic active devices employed in networks and their fundamental task is to forward packets from node to node toward their final destination, taking the most adequate decisions concerning the network path to follow [65]. More specifically, routers perform three main functions: routing table creation and update, table look-up for forwarding decision and physical datagram forwarding from input ports to output ports.
The first of these functions is called routing and consists of running algorithms and implementing protocols suitable to the specific routing problem and network topology size [81].On the one hand, routing algorithms are executed to create and maintain routing tables, once sufficient information about the network topology has been gathered. On the other hand, routing protocols are employed between routers to exchange the network topology information necessary for executing the algorithms.
This chapter illustrates the basic principles of routing, describing the most important algorithms and protocols. The hierarchical approach to the routing problem adopted by the Internet is also discussed, including a brief overview of the most popular IP routing protocols, namely RIP and OSPF. A couple of practical examples of IP routing configurations conclude the chapter.
Routing algorithms
Routing algorithms are characterized by the way the routing table is created and possibly updated. Generally speaking, such an algorithm should be correct, fair, stable, optimal, fast, simple, and adaptive to network topology changes and to traffic conditions. It is evidently difficult to meet all these requirements with just a single, ideal algorithm, so any real routing algorithm usually provides a trade-off on some of them.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.