This is the part that catches people out. When two networks are routed by the same Layer 3 switch, traffic between them never reaches the gateway — so the gateway cannot filter, inspect, or log it.
In concrete terms, traffic between two switch-routed networks bypasses:
- Zone-based firewall policies. The policies you built in the Network application apply at the gateway. Traffic routed inside the switch never reaches them.
- IDS/IPS inspection. Threat signatures and anomaly detection run on the gateway. A compromised host on one switch-routed VLAN can reach another switch-routed VLAN without that path being inspected.
- Gateway traffic visibility. Traffic identification, flow insights, and content filtering on that path depend on the gateway seeing the packets. Expect less visibility into east-west flows once they move.
- Gateway-hosted services. DHCP for a switch-routed network typically moves to the switch, and services such as mDNS reflection or DNS-based filtering may behave differently. Check the current Network application release notes for the exact behavior on your version.
What replaces the gateway firewall on that path is the switch's ACL capability. Switch ACLs can permit or block traffic by source, destination, subnet, and port, and the switch enforces them in hardware.
However, switch ACLs are stateless. They have no connection tracking, so there is no equivalent of the gateway's return-traffic handling — you write rules with both directions in mind, and you test them against real traffic before you rely on them.
There is good news. Traffic between a switch-routed network and a gateway-routed network still crosses the gateway: the switch forwards it over its transit link to the gateway, which routes it and applies zone policies and IDS/IPS as usual.
That behavior gives you a clean design rule. Route your trusted, high-volume networks — workstations, servers, storage, hypervisors — on the switch, and keep untrusted segments routed by the gateway.
Untrusted segments include your IoT VLAN, which our Home Assistant IoT VLAN on UniFi guide walks through, and your guest networks, covered in UniFi guest networks. Camera networks belong on the gateway side too, since cameras are exactly the kind of device whose traffic you want inspected.
Note that the trusted networks you move to the switch can still talk to the untrusted ones only through the gateway. The fast path stays fast, and every boundary that matters still sits behind a stateful firewall.