Chapter 13 – Configuring Dynamic Routing
OSPF Fun damentals
The Open Path Shortest First (OSPF) protocol routing determines the best path for
routing IP traffic over a TCP/IP network based on link cost and quality. Unlike static
routing, OSPF takes link failures and other network topology changes into account.
Unlike the RIP routing protocol, OSPF provides less router to router update traffic.
RuggedRouter routing protocols are supplied by the Quaaga routing package.
The RuggedRouter OSPF daemon (ospfd) is an RFC 2178 compliant implementation
of OSPFv2. The daemon also adheres to the RFC2370 (Opaque LSA) and RFC3509
(ABR-Types) extensions.
OSPF network design usually involves partitioning a network into a number of self
contained areas. The areas are chosen to minimize intra-area router traffic, making
more manageable and reducing the number of advertised routes. Area numbers are
assigned to each area. All routers in the area are known as Area routers. If traffic
must flow between two areas a router with links in each area is selected to be an Area
Border router, and serves as a gateway.
Link Sta te Advertis ements
When an OSPF configured router starts operating it issues a hello packet. Routers
having the same OSPF Area, hello-interval and dead-interval timers will
communicate with each others and are said to be neighbors
After discovering its neighbors, a router will exchange Link State Advertisements in
order to determine the network topology.
Every 30 minutes (by default) the entire topology of the network must be sent to all
routers in an area. If the link speeds are too low, the links too busy or there are too
many routes, then some routes may fail to get re-announced and will be aged out.
Splitting the network into smaller areas to reduce the number of routes within an area
or reducing the number of routes to be advertised may help to avoid this problem.
In shared access networks (i.e. routers connected by switches or hubs) a designated
router and a backup designated are elected to receive route changes from subnets in
the area. Once a designated router is picked, all routing state changes are sent to the
designated router, which then sends the resulting changes to all the routers.
The election is decided based on the priority assigned to the interface of each router.
The highest priority wins. If the priority is tied, the highest router-id wins.
Key OSPF And RIP Param eters
Network Areas
Network areas determine the regions within which routes are distributed to other
routers. The subnets at a particular router can be added to its OSPF Area. The router
will advertise these subnets to all routers in its area.
Note: O SPF areas must be de signed su ch that no single l ink failur e will ca use the network to be spli t into tw o disjoint networks .
RuggedCom 139