OSPFv2 Components and Roles
OSPFv2 can be configured on either a point-to-point or broadcast network.
Devices can take a variety of roles in an OSPFv2 topology.
Area Border Routers
An OSPF router can be a member of multiple areas. Routers with membership in multiple areas are known as Area Border Routers (ABRs). All ABRs must have either a direct or indirect link to an OSPF backbone area (also known as area 0 or area 0.0.0.0). Each ABR maintains a separate topological database for each area the router is in. Each topological database contains all LSA databases for each router within a given area. The routers within the same area have identical topological databases. An ABR is responsible for forwarding routing information or changes among its border areas.
For more information on OSPFv2 areas, refer to Assigning OSPFv2 Areas.
Autonomous System Boundary Routers
An Autonomous System Boundary Router (ASBR) is a router that is running multiple protocols and serves as a gateway to routers outside the OSPF domain and those operating with different protocols. The ASBR is able to import and translate different protocol routes into OSPF through a process known as redistribution.
Designated Routers
In an OSPF broadcast network, OSPF elects one router to serve as the designated router (DR) and another router on the segment to act as the backup designated router (BDR). This minimizes the amount of repetitive information that is forwarded on the network. OSPF forwards all messages to the designated router.
On broadcast networks such as LAN links, all routers on the LAN other than the DR and BDR form full adjacencies with the DR and BDR and pass LSAs only to them. The DR forwards updates received from one neighbor on the LAN to all other neighbors on that same LAN. One of the main functions of a DR is to ensure that all the routers on the same LAN have identical LSDBs. Therefore, on broadcast networks, an LSDB is synchronized between a DROther (a router that is not a DR or a BDR) and its DR and BDR.
Without the need for Designated and Backup Designated routers, a point-to-point network establishes adjacency and converges faster. The neighboring routers become adjacent whenever they can communicate directly. In contrast, in broadcast and non-broadcast multi-access (NBMA) networks, the Designated Router and Backup Designated Router become adjacent to all other routers attached to the network.
In a network with no designated router and no
backup designated router, the neighboring router with the highest priority is
elected as the DR, and the router with the next highest priority is elected as
the
BDR, as shown in the following figure. Priority is a configurable option at the
interface level; refer to the ip ospf priority
command in the RUCKUS FastIron Command
Reference.
If the DR goes off line, the BDR automatically becomes the DR. The router with the next highest priority becomes the new BDR.
If two neighbors share the same priority, the
router with the highest router ID is designated as the DR. The router with the
next
highest router ID is designated as the BDR. The DR and BDRs are recalculated after
the OSPF protocol is disabled and re-enabled by means of the router ospf command.
When multiple routers on the same network are declaring themselves DRs, then both the priority and router ID are used to select the designated router and backup designated routers.
The DR and BDR election process is performed when one of the following events occurs:
