gaqsports.blogg.se

Router on a stick native vlan
Router on a stick native vlan








router on a stick native vlan

The packet reaches switch 2 which interprets it as a VLAN 10 packet (per the native vlan configuration). Since VLAN 10 is the native VLAN on the inter switch link it is sent untagged. If it doesn't use per-vlan MAC tables then it may match a MAC table entry for PC B and get sent to switch 2 or it may get flooded out all ports on the VLAN.Įither way the packet is sent to switch 2. If it uses per-vlan MAC tables then the mac lookup would fail and the packet would be flooded out all ports on the VLAN (except the one it came from). Exactly what happens here depends on if the switch uses per-vlan MAC tables. So to clarify you are asking what would happen if PC A sent a frame to PC B's MAC address. The packet is flooded to all VLAN 10 ports, and all trunks that carry VLAN 10 (except the source port).

router on a stick native vlan

Switch 2 receives the packet via the trunk, looks up destination MAC and sees it's not in the CAM table for VLAN 10.Switch 1 looks up destination MAC and sees it's not in the CAM table for VLAN 10.Switch 1 receives packet and marks it for VLAN 10.PC A sends a packet addressed to the MAC of PC B.In more detail, here is what happens if this is a layer 2 packet: Therefore, it will be flooded to all ports on the same VLAN, and never reach the other PC. Since the PC's are not on the same VLAN, the other PC will never be in the switch CAM table for the sender's VLAN. Your question isn't clear, but I think what you're asking is this: PC A - Switch 1 - Switch 2 - PC BĪssuming that none of the switches are performing any type of routing, then PC A and PC B will never be able to talk to each other.










Router on a stick native vlan