OSPF runs directly on IPv4, using it’s own protocol numbered 89, reserved for OSPF by IANA (Internet Assigned Numbers Authority).
OSPF uses multicast where possible to reduce unnecessary broadcast or unicast traffic:
- Multicast address 220.127.116.11 or MAC 01:00:5E:00:00:05. All Routers using OSPF receive these packets.
- Multicast address 18.104.22.168 or MAC 01:00:5E:00:00:06. Only designated routers receive this traffic.
|1||Hello||Used for discovering and maintaining neighbours. Sent out periodically.|
|2||Database Description (DBD/DDP)||Used for summarising database contents. Packets are exchanged on the first formation of the OSPF adjacency. Used to describe the contents within the LSDB|
|3||Link-state request (LSR)||Used for database downloads. When a router wants to update part of it’s LSDB, it will require this part of the LSDB from a neighbour using this packet type.|
|4||Link-state update (LSU)||Used for database updates. This is a specific LSA for a network link and is normally sent in response to a Type 3 / LSR packet|
|5||Link-state ack||Used in response to the flooding of LSAs. The response allows the packet flooding to be reliable.|