-
Neighbor Creation (Adjacency)
-
7 States:
-
1. Down
- No OSPF neighbors detected
-
2. Init
- Hello packet received
-
3. Two-Way
- Own router id found in hello packet
-
4. Exstart
- Master and slave roles determined
-
5. Exchange
- Database description packets (DBD) sent
-
6. Loading
- Exchange of LSRs and LSUs packets
-
7. Full
- OSPF routers now have an adjacency
- LINK STATE UPDATES R1-R2.txt
-
Uses Protocol ID 89 to transport packets
- Does not use TCP or UDP
- Frame Header | IP Header | OSPF Packet | Payload
- #debug ip ospf packet
- #debug ip ospf adj
-
Packet Fields
-
V:
- Version number
-
T:
- Packet Number
-
L:
- Packet Length
-
RID:
- Router ID
-
AID
- Area ID
-
CHK:
- Checksum
-
AUT:
- Authentication Type
-
AUK:
- Empty field unless authentication has been enabled
- PACKET DEBUGGING R1-R2.txt
-
Packet Types
- 1. Hello
- 2. Database Description (DBD)
- 3. Link State Request (LSR)
- 4. Link State Update (LSU)
- 5. Link State Acknowledgement (LSAck)