|
|
|
|
|
by theBobMcCormick
6122 days ago
|
|
The article is full of poorly written handwaving. Every problem looks easy from a distance. The devil is in the details. Sure it sounds like networking should be "just plug a bunch of boxes together and let them figure it out". But that's about as naive as saying we shouldn't have bother with these pesky programming language things.. We should just be able to describe what we want the computer to do in english! :-) Yeah, that's likely. Aside from the run-on sentences and other grammatical problems with the piece, specific comments in that article also lead me to believe the author doesn't know much about networking. Take this one for example: "We don't need a cable between every pair of switches carrying the same subnet, though; a switch will happily forward traffic coming from one trunk out to another trunk, but we need to be mindful of our uptime requirements; if an intermediate switch or trunk fails, then the subnet will be shattered into pieces unless we set up alternative paths through the network (andsuffer the consequences of Spanning Tree Protocol aka STP, which doesn't yet support VLANs very well; you pretty much have to trunk every VLAN to every switch if you're using STP and VLANs together" Say what? Every working network engineer in the world will be quite suprised to know that STP doesn't support VLAN's well. They'll also be quite surprised at the assertion that VLAN trunking is required because of STP?!?! That whole sentence is so wrong I'm not sure where to begin. |
|
Ok, the deal with STP and VLANs is thus: STP works at the level of the actual Ethernet cables in the system, rather than the VLANs.
Imagine you have four switches, A B C and D. Say vlan 1 exists on A and B; vlan 2 on C and D, and vlan 3 on all four, and physical cables (carrying tagged VLANs) run from A-B (vlans 1 and 3), A-C (just vlan 3), B-D (just vlan 3), and C-D (vlans 2 and 3); eg, they're in a square. And you enable STP.
STP will cause the switches (ignoring VLANs) to choose one of those four cables to disable, to remove the cycle in the network. It's as likely to disable the A-B or C-D cables, which will then split vlan 1 or 3 in half.
The solution is to make all VLANs present on all switches and (tagged) on all inter-switch trunks, so that any cable can be disabled and connectivity continues; there are extensions to STP that are aware of VLANs (such as the Cisco proprietary per-VLAN spanning tree); there's the recent (2003?) Multiple Spanning Tree Protocol (MSTP), but that's not supported by the switches I've been playing with, so useless to me at least :-)