SLIDE 4 Spanningtree
- election of a root Bridge (lowest ID)
- election of a designated Bridge for every segment
> shortest distance to root > lowest ID
- removal of loops by blocking ports on segments other
than the one closest to the root Bridge or for which the bridge is designated Bridge. 3 27 15
Segment
The Bridges are exchanging HELLO messages including:
- their ID
- ID of the bridge assumed to be root Bridge
- length of best known path to root Bridge
- etc.
closest to root closest to root designated
updated
Algorhyme from Radia Perlman
I think that I shall never see a graph more lovely than a tree. A tree whose crucial property is loop-free connectivity. A tree that must be sure to span so packet can reach every LAN. First, the root must be selected. By ID, it is elected. Least-cost paths from root are traced. In the tree, these paths are placed. A mesh is made by folks like me, then bridges find a spanning tree.
Routing and Forwarding
- Routing: determine the route or path a packet has to follow.
- Forwarding: move a packet from an input link to an
appropriate output link (determined by the routing).
Routing Forwarding
Three Switching Techniques