Sponsored Links
-->

Friday, April 6, 2018

Routing 1: Flooding - YouTube
src: i.ytimg.com

Flooding is a simple computer network routing algorithm in which every incoming packet is sent through every outgoing link except the one it arrived on.

Flooding is used in bridging and in systems such as Usenet and peer-to-peer file sharing and as part of some routing protocols, including OSPF, DVMRP, and those used in ad-hoc wireless networks (WANETs).


Video Flooding (computer networking)



Types

There are generally two types of flooding available, uncontrolled flooding and controlled flooding.

Uncontrolled flooding is the fatal law of flooding. All nodes have neighbors and route packets indefinitely. More than two neighbours creates a broadcast storm.

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.


Maps Flooding (computer networking)



Algorithms

There are several variants of flooding algorithms. Most work roughly as follows:

  1. Each node acts as both a transmitter and a receiver.
  2. Each node tries to forward every message to every one of its neighbors except the source node.

This results in every message eventually being delivered to all reachable parts of the network.

Algorithms may need to be more complex than this, since, in some case, precautions have to be taken to avoid wasted duplicate deliveries and infinite loops, and to allow messages to eventually expire from the system.

Selective flooding

A variant of flooding called selective flooding partially addresses these issues by only sending packets to routers in the same direction. In selective flooding the routers don't send every incoming packet on every line but only on those lines which are going approximately in the right direction.

Mobile Ad Hoc Network (MANET) - ppt video online download
src: slideplayer.com


Advantages

  • If a packet can be delivered, it will (probably multiple times).
  • Since flooding naturally utilizes every path through the network, it will also use the shortest path.
  • This algorithm is very simple to implement.

MAC Flooding CAM Overflow - YouTube
src: i.ytimg.com


Disadvantages

  • Flooding can be costly in terms of wasted bandwidth. While a message may only have one destination it has to be sent to every host. In the case of a ping flood or a denial of service attack, it can be harmful to the reliability of a computer network.
  • Messages can become duplicated in the network further increasing the load on the networks bandwidth as well as requiring an increase in processing complexity to disregard duplicate messages.
  • Duplicate packets may circulate forever, unless certain precautions are taken:
    • Use a hop count or a time to live (TTL) count and include it with each packet. This value should take into account the number of nodes that a packet may have to pass through on the way to its destination.
    • Have each node keep track of every packet seen and only forward each packet once.
    • Enforce a network topology without loops.

Providing the foundation for North Carolina's emergency management ...
src: www.harris.com


Examples

  • Open Shortest Path First (OSPF) - used for transferring updates to the topology (LSAs)

195 MAC Flooding And Spoofing - YouTube
src: i.ytimg.com


See also

  • Flooding algorithm
  • Flood search routing
  • Broadcasting (networking)
  • Multicast
  • Spanning Tree Protocol

computer networking spanning tree tutorial - YouTube
src: i.ytimg.com


References


Temporary Library Services | Southern University and A&M College
src: www.subr.edu


External links

  • https://www.cs.cornell.edu/projects/quicksilver/ricochet.html

Source of the article : Wikipedia

Comments
0 Comments