Skip to Content
Network Warrior, 2nd Edition
book

Network Warrior, 2nd Edition

by Gary A. Donahue
May 2011
Intermediate to advanced
788 pages
23h 34m
English
O'Reilly Media, Inc.
Content preview from Network Warrior, 2nd Edition

Chapter 10. Routing Protocols

A routing protocol is a means whereby devices exchange information about the state of the network. The information collected from other devices is used to make decisions about the best path for packets to flow to each destination network.

Routing protocols are both protocols and applications. The protocols themselves sit at Layer 3 in the OSI model, while the applications that make the routing decision run at Layer 7. Many routing protocols exist, though only a few are in common use today. Older protocols are rarely used, though some networks may contain legacy devices that support only those protocols. Some firewalls and servers may support a limited scope of routing protocols—most commonly Routing Information Protocol (RIP) and Open Shortest Path First (OSPF)—but for the sake of simplicity, I will refer to all devices that participate in a routing protocol as routers.

Routing protocols allow networks to be dynamic and resistant to failure. If all routes in a network were static, the only form of dynamic routing we would be able to employ would be the floating static route. A floating static route becomes active only if another static route is removed from the routing table. Here’s an example:

ip route 0.0.0.0 0.0.0.0 192.168.1.1 1
ip route 0.0.0.0 0.0.0.0 10.0.0.1 2

The primary default route points to 192.168.1.1 and has a metric of 1. The second default route points to 10.0.0.1 and has a metric of 2.

Routes with the best metrics are inserted into the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Networks, Fifth Edition

Computer Networks, Fifth Edition

David J. Wetherall, Andrew S. Tanenbaum

Publisher Resources

ISBN: 9781449307974Errata Page