Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msjyoo/e83bb708fc456cbb64d4d6f68d04e56e to your computer and use it in GitHub Desktop.
Save msjyoo/e83bb708fc456cbb64d4d6f68d04e56e to your computer and use it in GitHub Desktop.

If you have a gaming machine and a laptop, and want to use steam in-home streaming, but you only have 1 internet port in your room, and you only have a switch at your disposal? And it turns out just switching everything together doesn't work because your 1 port has port security enabled?

VLAN can be used to make sure that the port-security port doesn't see the computer while still all connected to the same switch.

1 - College LAN 2 - Laptop 3 - Gaming computer

Set up a VLAN between 1,2 and 2(tagged),3(PVID set to this VLAN). Pretty standard. But on my TL-SG105E switch, there always exists a default VLAN which broadcasts to every other port. So the issue I encountered was that as 1 sends its packets, my supposedly segregated gaming computer will receive those packets. Of course, since it can't reply back to port 1, the port-security held. But I was getting others' computers showing up on Steam on my gaming computer. This told me that there was some segregation leaking happening.

The solution was to also set a PVID on port 1, so that every packet sent from it only gets sent to the (1,2) VLAN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment