Communication Networks · Visualized
Flooding
Routing
How routers choose paths — flooding everything, computing shortest-path trees, or exchanging distance tables.
3 interactive subtopics — each one animated, step-through and explained.
Flooding
RoutingFlooding is the brute-force routing strategy: forward every incoming packet out of every other interface. The first copy to arrive is guaranteed to have taken the shortest path — but without controls the network drowns in duplicates. Hop limits and remembering seen packets tame the storm.
How Flooding Works
- Source sends one copy of the packet to all neighbours.
- Every receiving router forwards copies out of all interfaces except the arrival one.
- Duplicates soon arrive at routers that already saw that packet — they are discarded.
- A hop-count/TTL field decrements per hop and kills packets that wander too long.
- Result: fastest delivery possible, at the cost of massive redundant traffic.
Flooding Worked Example
Try it: Play — watch copies spread hop by hop; red ✕ marks discarded duplicates; the TTL counter stops stragglers.
By hop 2 nearly every router already holds a copy; the remaining frames show pure duplication being pruned. Great robustness, terrible efficiency — which is exactly why it survives only inside OSPF link-state announcements.
Flooding: Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.