What is the role of master and slave in OSPF?

What is the role of master and slave in OSPF?

Master/Slave – First of all the master/slave relation is determined, to decide who speaks first. This is determined by priority, with the router-id being used to break any potential tie. Next, the master sends a summary packet, also known as the database description (DBD), of the LSDB. The slave then sends theirs.

What is master slave in OSPF?

The master/slave negotiation in OSPF happens during the exstart state : both neighbors will claim to be the master by sending an empty database description packet with the Master Slave bit (MS-bit) set to one indicating that both routers believe they are the master.

How does OSPF choose Dr?

router with the highest OSPF priority will become a DR. By default, all routers have a priority of 1. if there is a tie, a router with the highest router ID wins the election. The router with the second highest OSPF priority or router ID will become a BDR.

Which is to be the master or the slave in OSPF?

OSPF: DBD Packets Master/Slave Negotiation. During the Database exchange neighbors determine which router is to be the Master and which is to be the Slave. These roles determine the responsibility of a router during the exchange process.

Can a slave send a DBD packet to a Master?

Masters are only allowed to send DBD packets on its own accord as well as increasing the sequence numbers. Slaves are allowed to send DBD packets only in response to a DBD packet from the master router.

How to establish neighbor relationships with OSPF routers?

Routers flood their LSAs to adjacent neighbors. Adjacent neighbors receiving the LSA immediately flood the LSA to other directly connected neighbors, until all routers in the area have all LSAs. Build the topology table: After the LSAs are received, OSPF-enabled routers build the topology table (LSDB) based on the received LSAs.

Can a DR / BDR node become a slave?

Yes dr/bdr can also become slave. Election is based on ip address and node with higher ip address becomes Master ExStart. In this state, the router and its neighbor establish a master/slave relationship and determine the initial DD sequence number in preparation for the exchange of Database Description packets.