With regards to Sub-Interfaces on a router for VLAN (Dot1q) Traffic.... I have not been able to, nor will I be able to, complete a wireshark trace to confirm how this works:-
Obviously, the Packet arrives at the router on the sub-interface, and that packet will have the dot1q tag attached. My understanding, and also a CCIE friend of mine think that the only device that can strip the Tag is a layer 2 egress port (Access port for the VLAN). So, if that is the case, how does the router read the network address from the packet if it is encapsulated with a Tag? Does it read behind the tag or does it strip the tag, read the address and then re-tag the packet?
Obviously, the Packet arrives at the router on the sub-interface, and that packet will have the dot1q tag attached. My understanding, and also a CCIE friend of mine think that the only device that can strip the Tag is a layer 2 egress port (Access port for the VLAN). So, if that is the case, how does the router read the network address from the packet if it is encapsulated with a Tag? Does it read behind the tag or does it strip the tag, read the address and then re-tag the packet?