It is based on the idea of a Reverse Path Tree that spans all nodes in the network.
To understand this, let's look at the forward tree first....
|
(NOTE: the paths are contructed by "reading" the routing tables)
|
(NOTE: the paths are contructed by "reading" the routing tables)
NOTE:
The reserve tree and the forward tree can be different !!!
(Compare the reverse and forward tree of node A)
|
The paths from node X to (all) other nodes in a forward tree is always minimum cost paths
The paths from node X to other nodes in a reverse tree may NOT be minimum cost paths
(In other words, then paths from node X to other nodes in a reverse tree are also minimum cost paths
The forward and reverse trees are equal....
A can send messages along these blue edges to reach all nodes (broadcast = send to all nodes)
A can also send messages along these blue edges to reach all nodes:
In both cases, the edges form a tree rooted at node A
(The parent node is the next node in the tree towards the root of the tree) |
When node B receives a broadcast message on link AB, node B will forward it on links BD and BG.
NOTE:
So if B receives a broadcast messages from A through link BD, B can safely ignore it
In order to perform a broadcast operation using a tree, each node:
|
|
If the forward tree is used, then messages will traverse the fastest route to every destination
(The previous statement is not true for the reverse tree)
|
All you have to do is to look at the Next field for the entry where destination = A
This method is known as Reverse Path Broadcasting (RPB).
Since the reverse tree spans all nodes in the network, their method will broadcast...
|
|
|
Because each node can correctly identify its parent node of the tree (for a node X), the node can tell its parent node that it's a child node of the tree for a node X |
To | Next -------+-------- A | A B | - C | E D | E E | E |
Result: A enters B into the broadcast table for entry A
Result: E enters C into the broadcast table for entry A
Result: A enters D into the broadcast table for entry A
Result: D enters E into the broadcast table for entry A
The broadcast routing tables clearly shows that broadcast messages from
A will follow the reverse tree and it uses
the
minimum number of messages