Flooding can be divided into two types: data flooding and routing control packet flooding. Another categorization option is
uncontrolled flooding and
controlled flooding. In
uncontrolled flooding each node unconditionally distributes packets to each of its neighbors. Without conditional logic to prevent indefinite recirculation of the same packet,
broadcast storms are a hazard.
Controlled flooding has its own two algorithms to make it reliable, SNCF (
Sequence Number Controlled Flooding) and RPF (
reverse-path forwarding). In SNCF, the node attaches its own address and sequence number to the packet, since every node has a memory of addresses and sequence numbers. If it receives a packet in memory, it drops it immediately while in RPF, the node will only send the packet forward. If it is received from the next node, it sends it back to the sender. ==Algorithms==