Got it

Broadcast - Controlled Flooding approach

Latest reply: Oct 5, 2021 16:30:27 748 27 36 0 0

Hello Everyone!


Today, we will discuss about Controlled Flooding approach of broadcast communication.


The key to avoiding a broadcast storm is for a node to judiciously choose when to flood a packet and (e.g., if it has already received and flooded an earlier copy of a packet) when not to flood a packet. In practice, this can be done in one of several ways.


In sequence-number-controlled flooding, a source node puts its address (or other unique identifier) as well as a broadcast sequence number into a broadcast packet, then sends the packet to all of its neighbors. Each node maintains a list of the source address and sequence number of each broadcast packet it has already received, duplicated, and forwarded. 


When a node receives a broadcast packet, it first checks whether the packet is in this list. If so, the packet is dropped; if not, the packet is duplicated and forwarded to all the node’s neighbors (except the node from which the packet has just been received). 


The Gnutella protocol, uses sequence-number-controlled flooding to broadcast queries in its overlay network. (In Gnutella, message duplication and forwarding is performed at the application layer rather than at the network layer.)


A second approach to controlled flooding is known as reverse path forwarding (RPF), also sometimes referred to as reverse path broadcast (RPB). The idea behind RPF is simple, yet elegant. When a router receives a broadcast packet with a given source address, it transmits the packet on all of its outgoing links (except the one on which it was received) only if the packet arrived on the link that is on its own shortest unicast path back to the source. 


Otherwise, the router simply discards the incoming packet without forwarding it on any of its outgoing links. Such a packet can be dropped because the router knows it either will receive or has already received a copy of this packet on the link that is on its own shortest path back to the sender. (You might want to convince yourself that this will, in fact, happen and that looping and broadcast storms will not occur.) 


Note that RPF does not use unicast routing to actually deliver a packet to a destination, nor does it require that a router know the complete shortest path from itself to the source. RPF need only know the next neighbor on its unicast shortest path to the sender; it uses this neighbor’s identity only to determine whether or not to flood a received broadcast packet.



a


Fig. Reverse path forwarding



The above Fig. illustrates RPF. Suppose that the links drawn with thick lines represent the least-cost paths from the receivers to the source (A). Node A initially broadcasts a source-A packet to nodes C and B. Node B will forward the source-A packet it has received from A (since A is on its least-cost path to A) to both C and D. B will ignore (drop, without forwarding) any source-A packets it receives from any other nodes (for example, from routers C or D). 


Let us now consider node C, which will receive a source-A packet directly from A as well as from B. Since B is not on C’s own shortest path back to A, C will ignore any source-A packets it receives from B. On the other hand, when C receives a source-A packet directly from A, it will forward the packet to nodes B, E, and F.


You're welcome to leave a message and exchange in the comment area!

Good share, thank you!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:31 (0) (0)
Thank you for reading the post  
Thanks for sharing! Keep up the good work!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:37 (0) (0)
Thank you for reading the post  
Good share!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:42 (0) (0)
Thank you for reading the post  
IndianKid
Moderator Author Created Sep 15, 2021 14:20:04

Thanks for sharing! Keep up the good work!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:48 (0) (0)
Thank you for reading the post  
Nice post on about the broadcast algorithms!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:53 (0) (0)
Thank you for reading the post  
Great post, thanks for sharing
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:59 (0) (0)
Thank you for reading the post  
Informative post
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 12:40:17 (0) (0)
Thank you for reading the post  
The content is beneficial, thanks.
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 18, 2021 15:59:16 (0) (0)
Thank you for reading the post  
Well done
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 19, 2021 04:54:01 (0) (0)
Thank you for reading the post  
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.