Chapter 5

Routing

5.1 Routing in IP Networks

Routing in IP networks has been a topic of great interest for the past two decades and has led to the emergence of several routing protocols. The main function of the routing protocol is to determine the “best” path to reach a destination according to various metrics and objective functions. For example, RIP [163] considers the best path as the path with a minimum number of hops, whereas the best path computed by OSPF [179] is the path with minimal cost where the path cost is the sum of all link costs along that path.

Routing tables are populated in routers and indicate the best next hop(s) for each reachable destination potentially along with other parameters. Upon receiving an IP packet, the router ...

Get Interconnecting Smart Objects with IP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.