Which copy of a road notice should replace the old one?
03Compare two copies of the same notice. A newer copy changes the map; an older copy must not overwrite it.
The comparison is for the same LSA identity, not unrelated roads.
Stored copy
What happens if you change this?
Make one change, then watch again. Restart restores the original example.
Acknowledgment removes it from the retransmission list.
Key idea: Version comparison protects the map from being overwritten by an old notice.
Terms
- Router
- A device that chooses where to send network packets next.
- Route
- Information describing how to reach a block of destinations. It is different from the packets using it.
- OSPF
- Open Shortest Path First: a protocol for sharing scoped link information and calculating low-cost routes.
- Adjacency / Full
- An OSPF neighbor relationship for synchronizing maps; Full means the applicable exchange is complete.
- LSA / LSDB
- A link-state advertisement is one map notice; the link-state database collects such information.
Rules & examples
Version comparison protects the map from being overwritten by an old notice.
- Sequence numbers, checksums, and age help decide which LSA instance is newer.
- Acknowledgments and retransmission lists make flooding reliable.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
Sequence numbers are signed 32-bit values in OSPF. Compare sequence, then checksum; with both equal, MaxAge wins, then age differences above MaxAgeDiff favor the younger copy. Old {"sequence":-2147483646,"checksum":100,"age":100}; incoming {"sequence":-2147483645,"checksum":100,"age":100}. This fixture assumes the same LSA key, no wraparound, no self-originated conflict, and for removal no pending retransmissions or Exchange/Loading neighbors.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
MaxAge LSA handling is refined: immediate acknowledgment and discard requires no database copy and no neighbor in Exchange or Loading.
Read the updated RFC section ↗