3Com Switch 7750 Configuration Guide Guide
292 CHAPTER 34: OSPF CONFIGURATION
■ DR election is required for broadcast or NBMA interfaces but is not required for
P2P or P2MP interfaces.
■ DR is based on the router interfaces in a certain segment. A router may be a DR
on an interface and a BDR or DR Other on another interface.
■ If a new router is added after DR and BDR election, the router does not become
the DR immediately even if it has the highest DR priority.
■ The DR on a network segment is not necessarily the router with the highest
priority. Likewise, the BDR is not necessarily the router with the second-highest
priority.
OSPF Packets OSPF uses five types of packets:
Hello packet:
Hello packets are most commonly used OSPF packets, which are periodically sent
by a router to its neighbors. A Hello packet contains the values of some timers, the
DR, the BDR and the known peers.
DD packet:
When two routers synchronize their databases, they use database description (DD)
packets to describe their own LSDBs, including the digest of each LSA. The digest
refers to the HEAD of an LSA which uniquely identifies the LSA. This reduces the
size of traffic transmitted between the routers because the HEAD of an LSA only
occupies a small portion of the LSA. With the HEAD, the peer router can judge
whether it has the LSA or not.
LSR packet:
After exchanging DD packets, the two routers know which LSAs of the peer router
are lacked in the local LSDB, and send link state request (LSR) packets requesting
for the lacked LSAs to the peer. These LSR packets contain the digest of the
needed LSAs.
LSU packet:
Link state update (LSU) packets are used to transmit the needed LSAs to the peer
router. An LSU packet is a collection of multiple LSAs (complete LSAs, not LSA
digest).
LSAck packet
Link state acknowledgment (LSAck) packets are used to acknowledge received
LSU packets. An LSAck contains the HEAD(s) of LSA(s) to be acknowledged (one
LSAck packet can acknowledge multiple LSAs).
LSA Types Five basic LSA types
As described in the preceding sections, LSAs are the primary source for OSPF to
calculate and maintain routes. RFC 2328 defines five types of LSAs:
■ Router-LSA: Type-1 LSAs, generated by every router to describe the router’s link
states and costs and advertised only in the area where the router resides.