Switching: VLAN’s
What is a LAN Switch?
Logically, we really need to start with the question, what is a LAN switch?
A LAN switch is a OSI model Layer 2 device, logically similar to a bridge. We’ll primarily focus on Ethernet (Fast Ethernet, Gigabit Ethernet) switches but much of what we say also applies to Token Ring and FDDI.
As you know, bridges learn where computers are by observing source MAC addresses in LAN frames as they pass through the bridge. After first powering on, a bridge forwards frames on all ports and is pretty much indistinguishable from a hub/repeater (except that it regenerates frames, so it does not count towards the Ethernet cable length limitation or hub/repeater 5-4-3 rule). As the bridge learns which MAC address was sourced on which port, it can then be selective about what port(s) a frame is forwarded to, only forwarding the frame to the port appropriate for the destination MAC address.