Wednesday, July 14, 2021

Question about 802.1Q VLAN tagging

Just a general sort of theoretical question I guess, where does the VLAN tag get inserted into the frame? Does the device itself tag the frames with the VLAN ID when sending them, or does the switch insert the tag when the frame enters the trunked port on the switch?

Follow up question, if its tagged when it enters the switch, how does the switch know which VLAN to tag the frame with? Does it assign the tag based on the MAC address in the frame?



No comments:

Post a Comment