Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-qks25 Total loading time: 0 Render date: 2024-09-02T09:27:32.328Z Has data issue: false hasContentIssue false

7 - Routing fundamentals and protocols

Published online by Cambridge University Press:  05 June 2012

Maria Luisa Merani
Affiliation:
Università degli Studi di Modena, Italy
Maurizio Casoni
Affiliation:
Università degli Studi di Modena, Italy
Walter Cerroni
Affiliation:
Università degli Studi, Bologna, Italy
Get access

Summary

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.

Type
Chapter
Information
Hands-On Networking
From Theory to Practice
, pp. 187 - 219
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org 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.

Available formats
×

Save book 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 Dropbox.

Available formats
×

Save book to Google Drive

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.

Available formats
×