
5.5 ROUTING 169
5.2 ROUTING ON THE INTERNET
TECHNICAL
FOCUS
The Internet is a network of autonomous system net-
works. Each autonomous system operates its own
interior routing protocol while using Border Gate-
way Protocol (BGP) as the exterior routing protocol
to exchange information with the other autonomous
systems on the Internet. Although there are a num-
ber of interior routing protocols, Open Shortest Path
First (OSPF) is the preferred protocol, and most orga-
nizations that run the autonomous systems forming
large parts of the Internet use OSPF.
Figure 5.11 shows how a small part of the
Internet might operate. In this example, there
are six autonomous systems (e.g., Sprint, AT&T),
three of which we have shown in more detail.
Each autonomous system has a border router that
connects it to the adjacent autonomous systems
and exchanges route information via BGP. In this
example, autonomous system A is connected to
autonomous system B, which in turn is connected
to autonomous system C. A is also connected to C
via a route through systems D and E. If someone
in A wants to send a message to someone in C,
the message should be routed through B because
it is the fastest route. The autonomous systems
must share route information via BGP so that the
border routers in each system know what routes are
preferred. In this case, B would inform A that there
is a route through it to C (and a route to E), and D
would inform A that it has a route to E, but D would
not inform A that there is a route through it to C. The
border router in A would then have to decide which
routetousetoreachE.
Each autonomous system can use a different inte-
rior routing protocol. In this example, B is a rather
simple network with only a few devices and routes,
and it uses RIP, a simpler protocol in which all routers
broadcast route information to their neighbors every
minute or so. A and C are more complex networks
and use OSPF. Most organizations that use OSPF
create a special router called a designated router to
manage the routing information. Every 15 minutes or
so, each router sends its routing information to the
designated router, which then broadcasts the revised
routing table information to all other routers. If no
designated router is used, then every router would
have to broadcast its routing information to all other
routers, which would result in a very large number
of messages. In the case of autonomous system C,
which has seven routers, this would require 42 sep-
arate messages (seven routers each sending to six
others). By using a designated router, we now have
only 12 separate messages (the six other routers
sending to the designated router, and the designated
router sending the complete set of revised informa-
tion back to the other six).
System to Intermediate System (IS-IS) Open Shortest Path First (OSPF), and Enhanced
Interior Gateway Routing Protocol (EIGRP).
Border Gateway Protocol (BGP) is a dynamic distance vector exterior routing
protocol used on the Internet to exchange routing information between autonomous
systems—that is, large sections of the Internet. Although BGP is the preferred rout-
ing protocol between Internet sections, it is seldom used inside companies because it is
large, complex, and often hard to administer.
Internet Control Message Protocol (ICMP) is the simplest interior routing proto-
col on the Internet. ICMP is simply an error-reporting protocol that enables computers to
report routing errors to message senders. ICMP also has a very limited ability to update
routing tables.
7
7
ICMP is the protocol used by the ping command.