04-01-2006 04:52 AM - edited 03-03-2019 02:35 AM
Hi,
How does a switch distinguish one Vlan from another if trunking is not involved ?
For Example: Switch A is connected to Switch B via a X-over cable. I place two ports at either end of the X-over cable into VLAN 2. I place one PC on switch A in VLAN 2 and one PC in switch B in VLAN 2. The result is that they can communicate. If I place one of the PC's into VLAN 1 then they cannot communicate. Is there a tagging mechanism involved here even though trunking isn't being used ?
Has anyone got an example of the frame format for Ethernet for this scenario ?
Cheers,
Phil.
04-01-2006 04:58 AM
Hi,
I think I can answer my own question.
Does it just work as a transparent bridge and consult the CAM table ?
i.e the MAC address is stored along with the source port and the VLAN and the Ethernet frame remains unmodified.
Cheers,
Phil.
04-01-2006 06:05 AM
04-01-2006 06:47 AM
Devices connected to an access port (versus a trunk port) do not receive VLAN information.
FOr example, if you connected port 1 from switch A (which happens to be in VLAN 100) via crossover to another switch port 1 (which happens to be in VLAN 200), neither switch would know anything about the VLANs on the other switch.
Tags are added on the ingress to an access port, and stripped at the egress from an access port.
Traffic going from one port to another in the same VLAN (on the same switch) is not tagged (I believe).
If you connected an "dumb" (unmanaged) switch into a port that is associated with a VLAN on the host switch, then all of the extended ports will also appear in the VLAN of the host switch's outbound trunk.
The short version is that VLANs do not come into play for things plugged into an access port.
Good Luck
Scott
04-01-2006 07:40 AM
You're right; devices connected to access port are unaware of VLAN association. Therefore Ethernet frames on access ports do not carry VLAN tags.
VLAN tags arent associated with access ports but the switch is responsible for maintaining the MAC, interface, and VLAN association for access ports.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide