Octet

Which multicast addresses does OSPF use, and who listens to each?

Show the answer

Say this first

224.0.0.5 is AllSPFRouters: every OSPF router listens and hellos go there. 224.0.0.6 is AllDRouters: only the DR and BDR listen. On a broadcast segment a DROTHER sends its updates to 224.0.0.6, and the DR floods them back to everyone on 224.0.0.5. In IPv6, OSPFv3 uses FF02::5 and FF02::6.

Go deeper

Flow on a broadcast segment

  1. R3, a DROTHER, sees a link change and sends an LSU to 224.0.0.6.
  2. The DR and BDR receive it. The BDR listens so it can take over without resynchronizing.
  3. The DR floods the LSU to 224.0.0.5, so every router on the segment gets it.
  4. Routers acknowledge to the DR.

Other details

  • Both are link-local scope (224.0.0.0/24), sent with TTL 1 and never routed.
  • The MAC addresses are 0100.5e00.0005 and 0100.5e00.0006.
  • On point-to-point links everything goes to 224.0.0.5, since there is no DR.
  • Unicast is used for retransmissions, and for all packets on NBMA networks where neighbors are configured statically.

Traps

  • Swapping the two addresses. .5 is everyone, .6 is the DR and BDR.
How did you do?