Made with Palestinian hands Support EmuPath ☕

No results found.

Try another search or remove some filters.

← Practical lessons

Separate office and guest traffic

By EmuPath · Reviewed November 24, 2026 · Worked design exercise

You have one managed switch, a router that supports VLAN interfaces, an office computer and a guest access point. The guest network must reach the internet without reaching the office computer. This exercise produces a port map and a test plan. It does not configure your equipment or prove that any manufacturer demo enforces traffic rules.

Start with the required outcomes

Write down the allowed flows before naming VLANs. Office clients need their own gateway. Guests need a lease, DNS and internet access. Guests must not reach the office subnet or the switch management interface. A separate Wi-Fi name alone does not implement these requirements.

Use VLAN 10 for the office and VLAN 20 for guests. Assign the example subnets 192.168.10.0/24 and 192.168.20.0/24, with .1 as the router interface in each. These are design choices for this exercise; VLAN 20 is not automatically connected to an address containing 20. Check for conflicts with existing networks before reusing the addresses.

Build the port map

Four-port teaching layout; management is planned separately
PortConnectionTraffic contract
1Office computerAccess / untagged VLAN 10
2Guest-only access pointAccess / untagged VLAN 20
3Router uplinkTrunk: tagged VLAN 10 and tagged VLAN 20
4UnusedDisabled in the intended deployment

The access point in this example bridges a single guest network without adding a VLAN tag; port 2 classifies its untagged traffic into VLAN 20. An access point carrying multiple SSIDs mapped to different VLANs would need a different uplink design. Do not copy the access-port choice into that setup.

Trace one packet

The office computer sends an untagged frame into port 1. The switch associates it with VLAN 10. When that traffic crosses the trunk on port 3, the VLAN identifier allows the router to distinguish it from guest traffic on the same physical link. A frame returning to the office access port is delivered untagged in this design.

Repeat the trace for the guest access point through port 2 and VLAN 20. Both VLANs must exist and be allowed on the switch uplink, and the router must accept the corresponding tags. Some interfaces use separate controls for VLAN membership, tagging and the PVID used to classify untagged ingress. Record all of them rather than assuming a single checkbox controls both directions.

Native or untagged VLAN behavior on a trunk depends on the platform and configuration. Our design carries both user VLANs tagged. Check the two endpoints agree about how any untagged traffic is handled. Do not use a management network as an accidental catch-all.

Separation is not the firewall policy

Once the router has interfaces in both subnets, it may be able to route between them. Add the intended guest restrictions at the routing/firewall boundary. Plan guest DHCP and DNS separately; a broad block rule can break required services if their location is ignored. Exact rule order, connection tracking and return-traffic handling depend on the firewall.

Protect device management from guest clients and include IPv6 in the design if it is enabled. An IPv4-only test does not establish isolation for every protocol. This small lab also omits resilience, authentication and a full management VLAN design.

Test the result, not just the menu

  1. On an office client, confirm a 192.168.10.x lease, the intended mask and gateway.
  2. On a guest client, confirm a 192.168.20.x lease and the intended DNS resolver.
  3. Test the permitted guest internet service, then explicitly test that office and management services are blocked.
  4. Check firewall logs or counters for the expected rule. A failed ping alone is inconclusive: the destination may simply reject ICMP.
  5. Record the tested protocol, source, destination and observed result. Recheck after saving and restarting a real device under an approved maintenance plan.
Guests receive office addresses. Which check best matches this symptom?

Explore an interface

Open a switch demo and locate VLAN membership, port tagging and PVID controls. Compare the labels with this port map. The external interface may use sample data and may not save changes; it cannot replace a traffic test. Review subnet planning if the address allocation is unfamiliar.

Reference and corrections

The worked layout and test plan are EmuPath teaching examples. For vendor-specific access, trunk and native VLAN behavior, consult Cisco’s VLAN configuration guide and your device documentation. Report a correction with the step and model involved.