How to Separate Traffic through L2 Port Isolation (4.80 or newer)
It’s a common application that we desire to separate or isolate the mutual traffic between various clients/devices on switches in a network environment.
The most intuitive implementation is to create different VLANs to logically segment a LAN into different broadcast domains to achieve the goal.
However, there are certain circumstances that we may want the traffic between clients to be isolated, but yet clients still share the same subnet and VLAN. Let’s say in a commercial hotel network, clients in different rooms may belong the same subnet and VLAN to reach the internet, but there is no way that clients are able to communicate with each other.
On the Zyxel enterprise switch, we can use the feature “Port Isolation” in SWITCHING > VLAN > VLAN Setup > VLAN Port Setup to separate traffic between specific ports despite belonging to the same VLAN.
This is a scenario from customer’s issue. All client PCs are in the same subnet and VLAN
By using L2 port isolation on the switches, the goals are:
1. Every PC can surf the internet.
2. Every PC cannot communicate with each other.
In the following content, a step-by-step procedure will be introduced of how to implement L2 port isolation using 3 x XMG1915-18EP to achieve the goal.
Note:
All network addresses and subnet masks are used as examples in this article. Please replace them with your actual network configuration.
1. Configuration in the Switch
1-1. Access Switch C’s web GUI.
1-2. Go to SWITCHING > VLAN > VLAN Setup > VLAN Port Setup
Check Port Isolation for port 1 & 2.
Note:
If there are multiple clients under switch B, follow the same configuration pattern as Switch C. In this case, it’s unnecessary since there’s only one client under switch B.
1-3. Access Switch A’s web GUI.
1-4. Go to SWITCHING > VLAN > VLAN Setup > VLAN Port Setup
Check Port Isolation for port 1, 7 & 8.
2. Test the Result
2-1. Client D can ping Gateway and surf the internet.
2-2. Client D cannot communicate with Client A, B, or C.
3. What May Go Wrong
3-1. L2 port isolation is port-based but not VLAN-based, that is, as long as particular ports are configured as isolation ports, they cannot communicate with each other no matter in the same VLAN or not.
Share your feedback through our survey, make your voice heard, and win a WiFi 7 AP!
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 383 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight