OSPF Flashcards
How do OSPF-enabled routers establish neighbor adjacencies?
Via the exchange of Hello packets
What happens once OSPF-enabled routers have established adjacencies?
Routers exchange LSAs
What process occurs once LSAs have been received?
Routers build their topology table (LSDB)
Once the LSDB has been built, what process does the router perform?
Router runs SPF algorithm against LSDB to create SPF tree. The SPF tree contains the computed best paths to destination networks.
Once the SPF algorithm has been run, what happens next?
Computed routes are offered to the routing table
What is contained in the Datalink header of an OSPFv2 message?
Destination MAC (multicast 01-00-5e-00-00-05 or 06) Source MAC (sending interface)
What is contained in the IP packet header of an an OSPFv2 message?
Destination IP address (224.0.0.5 or .6)
Source IP address
Protocol field, with value 89 indicating OSPF message
What is contained within the OSPF packet header of an OSPFv2 message?
Type code indicating OSPF packet type
Router ID
Area ID
What is the purpose of a Type 1 OSPF packet?
Hello packet, used to establish and maintain adjacencies with other OSPF routers
What is the purpose of a Type 2 OSPF packet?
Database Description Packet (DBD, DD), which is an abbreviated list of the sending router’s LSDB.
What is the purpose of a Type 3 OSPF packet?
Link-state Request (LSR), used by routers that have received a Type 2 DBD (summary) to request additional information from their neighbor about specific LSDB entries)
What is the purpose of a Type 4 OSPF packet?
Link State Update, sent in response to an LSA, and to announce newly-learned information.
What is the purpose of a Type 5 OSPF packet?
Link State Acknowledgement (LSAck), sent in response to a received LSA to confirm receipt.
Which packets are involved in the DR/BDR election process?
Type 1 (Hello) packets
What fields are included in a Type 1 Hello Packet
Type, router ID, Area ID, network mask, hello/dead timer intervals, router priority, DR (if applicable), BDR (if applicable), list of neighbors
What determines whether two OSPF routers form an adjacency?
Hello/Dead interval timers must match, both devices must be on same subnet (subnet mask mis-match is a giveaway)
What is the default value of the Hello interval?
10 seconds on multiaccess and P2P networks, 30 seconds on NBMA networks (Frame Relay)
OSPFv2 Hello packets are sent to which address?
Multicast 224.0.0.5
What is the default value of the Dead Interval?
4x hello interval
List the OSPF operational states from Establishment through convergence
Down, Init, 2-way, ExStart, Exchange, Loading, Full
What OSPF operational states are expected as adjacencies are established?
Down, Init, 2-way
What OSPF operational states are expected routers exchange OSPF databases?
ExStart, Exchange, Loading, Full
Identify the OSPF State, and what will happen next
- No hello packets yet received
- Router sends hello packets
Down, transition to Init
Identify the OSPF State, and what will happen next
- Hello packets received from neighbors
- Sending router’s RID observed
Init, transition to 2-way
Identify the OSPF State, and what will happen next
- On Ethernet links, elect DR and BDR
2-way, transition to ExStart
Identify the OSPF State, and what will happen next
- Negotiate Master/Slave relationship
- Negotiate DBD sequence number
- Initiate DBD packet transmission
ExStart, transition to Exchange
Identify the OSPF State, and what will happen next
- Exchange of DBD packets
Exchange State. If additional router information is required, transition to Loading. Otherwise, transition to Full
Identify the OSPF State, and what will happen next
- LSRs and LSUs used to gain additional route information
- Routes are processed using SPF
Loading. Transition to Full