8 Optimization of OSPF Routing in IP Networks 201
In the present chapter we will focus our attention on the optimization problems
related to Internet routing. The Internet is a packet switching network, an intercon-
nection of more than 13, 000 different subnetworks. It uses the Internet Protocol (IP)
to transport data packets across the network and the TCP and UDP protocols to con-
trol the flow of data packets between end users. Each individual subnetwork, also
known as an Autonomous System (AS), is managed by a single administrative en-
tity of the telecom operator. Some of these ASs are huge and deployed world-wide,
though most of them are very small and involve only a few nodes called “routers.”
The routing protocols that are implemented inside an AS and decide how to route
the traffic from one node of the AS to another are called Interior Gateway Proto-
cols (IGPs). “Classical” IGPs rely on a simple routing paradigm called shortest path
routing (SPR in short); every packet is forwarded on IP links along the shortest route
between its source and destination nodes of the AS. Although in the late 1990s, in
order to somewhat overcome what was felt at that time as a deficiency of the short-
est path protocols providing more flexibility in the design of routes, more complex
routing paradigms were proposed for the Internet, in particular in the context of the
MPLS (Multi-protocol Label Switching) technology [3, 84]; at present, SPR proto-
cols are still widely and successfully used on the Internet. Simulation experiments,
practical trials, and field deployments have shown, despite the original feeling that
it would be very difficult to control traffic efficiently through shortest path mech-
anisms, that with the shortest path routing paradigm pretty good network traffic
performance can actually be achieved. This good performance is partly due to re-
cent advances in routing optimization methods and their implementation in network
planning systems.
The most frequently deployed IGP protocols are OSPF (Open Shortest Path First,
see [61]) and IS-IS (Intermediate System to Intermediate System, see [65]). Accord-
ing to these protocols, each individual router in the AS must acquire and maintain
a complete and accurate vision of the topology of the AS (this is done by frequent
exchange of the routing protocol’s messages between routers), and appropriate in-
formation on every link of this topology. The link-related information is limited to
the administrative weight of the link, which is an integer value assigned by the net-
work administrator (within the bounds defined by the version of the routing proto-
col). Using the topology and the administrative weights of links, each router is able
to compute its shortest path tree covering the topology graph, or, in other words, a
shortest path towards every other router in the network. This information is stored
locally in the so called forwarding table and is used when forwarding incoming
packets to the outgoing links. The forwarding table determines, for each destination
router in the AS network, the outgoing link that should be used in order to reach
the next node on the shortest path to that particular destination router. The admin-
istrative weights are the only means the network administrator can use to influence
and control the routing of traffic in the network. This control is realized in an indi-
rect way: although the network administrator is interested in optimizing the paths
used by each traffic demand, with the shortest path routing protocols she cannot di-
rectly define a path and assign it to a particular flow. She has to set the values of the
weights so that the defined path becomes a shortest path, or even the unique shortest