09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

forwarded by bridge 1), it assumes that its (bridge 2) SAT is wrong,<br />

and updates its SAT <strong>to</strong> reflect that <strong>the</strong> location of host dog is on<br />

<strong>network</strong> B. To make matters worse, because it still has no SAT entry<br />

for <strong>the</strong> host cat, bridge 2 <strong>the</strong>n forwards <strong>the</strong> packet <strong>to</strong> <strong>network</strong> A again.<br />

While all this is going on with bridge 2, <strong>the</strong> original packet that bridge<br />

2 copied and forwarded has now reached bridge 1. The boomerang of<br />

<strong>the</strong> original packet causes a repeat performance of <strong>the</strong> same incorrect<br />

process thathas just occurred on bridge 2.<br />

Now both packets are back on <strong>network</strong> A, where <strong>the</strong> same mistake is<br />

made all over again. With each loop, <strong>the</strong> packets proliferate, and <strong>the</strong><br />

packet looks <strong>the</strong> same each time it is retransmitted.<br />

To prevent loops from occurring, <strong>the</strong> spanning tree algorithm is used.<br />

According <strong>to</strong> its crea<strong>to</strong>r Radia Perlman (from her book<br />

Interconnections: Bridges and Routers), its purpose "is <strong>to</strong> have<br />

bridges dynamically discover a subset of <strong>the</strong> <strong>to</strong>pology that is loop-free<br />

(a tree) and yet has enough connectivity so that where physically<br />

possible, <strong>the</strong>re is a path between every pair of LANs (<strong>the</strong> tree is<br />

spanning)."<br />

The spanning tree algorithm became IEEE standard 802.1d in 1990. It<br />

was specifically designed <strong>to</strong> address <strong>the</strong> looping and packet<br />

replication issues that result from multiple transparent bridge paths.<br />

The spanning tree is created when all <strong>the</strong> bridges on <strong>the</strong> LAN elect a<br />

root bridge. After <strong>the</strong> root bridge is selected, all <strong>the</strong> o<strong>the</strong>r bridges<br />

connected <strong>to</strong> <strong>the</strong> LAN calculate <strong>the</strong> shortest possible distance <strong>to</strong> <strong>the</strong><br />

root bridge. If a bridge has multiple paths, <strong>the</strong> o<strong>the</strong>r paths are placed<br />

in a "blocking state" until <strong>the</strong> primary path fails; <strong>the</strong>n, <strong>the</strong> next<br />

shortest path will become active. A spanning tree bridge map is<br />

illustrated in Figure 6.5.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!