Jump to content

Flooding (computer networking)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kitplane01 (talk | contribs) at 01:04, 27 January 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Flooding is a routing algoritm and is very simple. Send every incoming packet out every outgoing link. It is important when using flooding to stop duplicated packets circulating forever. Possible methods include

  • Put a hopcount or time to live on each packet (start at the diameter of the network or so).
  • Have each node keep track of every packet seen, and only forward each packet exactly one time.


Advantages:

  • If a packet can be deliviered, it will (probably multiple times).
  • Since flooding chooses every path through the network, it chooses the shortest path.
  • This algorithm is vey simple to implement.

Disadvantages:

  • Flooding is very costly in terms of wasted bandwidth, but sometimes that's OK (nuclear power plants, aircraft control systems, etc).