OSPF Neighbor Adjacencies Flashcards
When does an adjacency occur?
when connected neighbors use Hello packets
to agree on unique and common attributes - the exchanged parameters in the Hello packets need to match
What parameters must match in OSPF Hello to form an adjacency? (8)
- Area ID
- Hello interval
- Dead interval
- Interface MTU
- Network Type
- Authentication (if used)
- Stub Flags
- Subnet/mask
What parameters in Hello packets
do not need to match?
- OSPF router ID (has to be different on both routers)
- list of neighbors reachable on the interface
- router priority
- DR IP address
- Backup DR IP address
What are the two different neighborship that can exist?
-
2-Way Neighbors
- neighbors recognize each other and send Hello to each other
- neighbors didn’t exchange LSAs with each other - no topology information was exchanged
-
Fully Adjacent Neighbors
- LSAs were exchanged, link state databases match
What is usually the default value for the Hello packet interval?
10 seconds
How is the Dead Interval
calculated?
as 4 times of the Hello Interval
What are the 8 different adjacency states in OSPF?
- Down
- Attempt
- Init
- 2-Way State
- ExStart
- Exchange
- Loading
- Full
Describe the Down adjacency state
no Hellos have been received from neighbor
Describe the Attempt adjacency state
unicast Hello packet
has been sent to neighbor, but no Hello packet
has been received back
Describe the Init adjacency state
- an OSPF router has sent an OSPF
Hello packet
to its neighbor and is waiting for a response - the router has detected a potential neighbor on the link but has not yet confirmed the neighborship
Describe the 2-Way State adjacency state
- router received a hello packet from neighbor and the neighbor acknowledged hello packet
- router ID of the initializing router is sent back from the neighbor (acknowledges that two routers receive each other packets)
Describe the ExStart adjacency state
- first step of actual adjacency
- master and slave relationship is formed where master has higher router-id
- master chooses the starting sequence number for the database descriptor packets that are used for actual LSA exchange
Describe the Exchange adjacency state
- local link state database is sent through DBD packets
- DBD sequence number is used for reliable acknowledgement/retransmission
Describe the Loading adjacency state
Link State Request packets are sent to ask for more information about a particular LSA
Describe the Full adjacency state
neighbours are fully adjacent and databases synchronized