
A layer 2 switch moves traffic between devices on the same network, using their MAC addresses. A layer 3 switch does that too, and can also route traffic between separate networks by IP address, which is the router's job. Cisco Meraki's comparison calls a layer 3 switch "basically a switch that can perform routing functions in addition to switching."
Meraki notes that devices in the same VLAN "can communicate with each other without the need for routing." So at home, a switch's routing only comes into play once you split the network into VLANs, such as one for cameras and smart plugs and one for computers. Even then, a layer 3 switch does not replace your router. Ubiquiti says its layer 3 switches do no address translation, and they still send internet traffic to the router.
This guide is AI-generated from switch makers' documentation and data sheets. GearExplained did not test any of the hardware mentioned. The product cards at the end link to Amazon, and GearExplained may earn a commission. That does not decide which products appear here.
What a layer 2 switch does
Inside one network, devices reach each other by MAC address. Meraki walks through it: a computer that wants to reach another on the same network first finds its MAC address with an ARP request, "broadcasted throughout the layer 2 segment," then sends the packet, and "the switch will forward out the correct port based on its MAC-Address-Table." Our hub vs switch explainer covers that table in detail.
Everything a layer 2 switch connects is one broadcast domain. Meraki says a broadcast "will be forwarded out to all ports except for the port the broadcast packet arrived on," and broadcasts stop at a layer 3 boundary.
A small unmanaged switch such as the NETGEAR GS305v3 works this way with, in NETGEAR's words, "no software or configuration needed." NETGEAR describes its unmanaged switches as having "no need for management," so there is nowhere to set up VLANs.
VLANs are where routing comes in
A managed layer 2 switch can split its ports into VLANs. Meraki says large broadcast domains are prone to problems such as broadcast storms, and "for security and policy reasons, it is best to separate certain clients into different broadcast domains." Each VLAN gets its own subnet.
That separation is the point, and it cuts both ways. TP-Link's VLAN routing guide says devices in different VLANs "cannot communicate with each other due to VLAN isolation." For a printer on one VLAN to reach a laptop on another, something has to route between them. Meraki is plain about who can: "Layer 2-only switches require an external L3 routing device to provide communication between VLANs."
NETGEAR's switch tiers show where VLANs and routing start. Its Smart Managed Plus switches offer VLANs and QoS and are, NETGEAR says, "ideal for the home or small office." Static routing is one of the additions NETGEAR lists for the next tier, Smart Managed Pro, which it says is "intended for commercial use."
What a layer 3 switch adds
A layer 3 switch gets an IP address on each VLAN it routes. Meraki calls these switched virtual interfaces, and once they exist, devices in separate VLANs "can talk to one another without the need to be in the same broadcast domain or to have a router acting as a gateway." Datto's VLAN interface guide puts the requirement simply: the switch "must have an IP address (and, therefore, a presence) on each subnet for which it will facilitate inter-VLAN routing."
Ubiquiti's layer 3 routing guide lists what its layer 3 UniFi switches do besides routing between VLANs: static routes, a DHCP server to hand out addresses, and DHCP relay to forward requests to another server. TP-Link's series comparison adds dynamic routing to the list for full layer 3 switches, with "static routing, routing protocol like OSPF and ECMP, multicast routing protocol and DHCP relay."
Switch makers give speed and router load as the reasons to route on the switch. TP-Link says a layer 3 switch routes packets "by its hardware," on a dedicated chip rather than the CPU. Meraki says layer 3 routing on the switch lets you control traffic between VLANs "while reducing workload on your Router or Firewall." Ubiquiti says applying those restrictions at the switch, instead of upstream at the gateway, "may save several milliseconds of latency."
Layer 2+ sits in between
Some switches are sold as L2+. TP-Link's L2+ page says "a standard Layer 2 switch handles traffic switching within VLANs but cannot route traffic between them," while an L2+ switch "adds static routing capabilities." Its L2+ switches suit networks that "don't require dynamic routing protocols like OSPF or BGP."
The Omada SG3210 is an example. Its hardware version 3.30 data sheet lists, under L3 features, 16 IPv4/IPv6 interfaces, 48 static routes, a DHCP server and DHCP relay. TP-Link's product page lists 32 IP interfaces for the same version, without explaining the difference. Neither lists OSPF. For a home network with a handful of VLANs, either count covers one interface per VLAN.
So read the data sheet, not the label. IP or VLAN interfaces and static routes are what let a switch route between VLANs, whatever tier name it carries.
What a layer 3 switch does not do
A layer 3 switch routes inside your network. It does not take the router's place at the edge.
Ubiquiti's switches, at least, do no address translation. Its FAQ asks whether its layer 3 switch translates traffic using NAT and answers: "No, traffic is forwarded without translation." Internet traffic still goes to the gateway. Ubiquiti's switches use the gateway "as the default gateway to the internet," and TP-Link's guide sets a default route on the switch that points at the gateway.
The router also has to know the way back. TP-Link says that "to correctly forward traffic from terminal devices to the internet and ensure that external traffic returns to the correct devices, it is necessary to configure a pair of static routes on both the switch and the gateway." Ubiquiti requires a third-party gateway to "support VLAN tagging and manual configuration of static routes." Before buying a layer 3 switch for a home network, check that your router has a static route setting. NETGEAR says you typically don't need static routes "unless you have multiple routers or multiple IP subnets on your network," and VLANs routed on a switch are multiple subnets.
Filtering moves to the switch too. Ubiquiti describes firewall rules as "the standard method of controlling traffic between VLANs," and its switch access lists as a way to apply those restrictions at the switch "instead of traversing upstream through the gateway." It also says Traffic Identification, and features that rely on it, "are not supported on networks managed by an L3 switch." Since traffic routed by the switch between VLANs does not go through the router, rules meant to keep smart devices away from your computers belong on the switch.
| Layer 2, unmanaged | Layer 2, managed | Layer 2+ | Layer 3 | |
|---|---|---|---|---|
| Forwards by | MAC address | MAC address, per VLAN | MAC address, plus IP between VLANs | MAC address, plus IP between VLANs |
| VLANs | No | Yes | Yes | Yes |
| Routes between VLANs | No | No, needs a router | Yes, with static routes | Yes |
| Dynamic routing such as OSPF | No | No | Not on the SG3210 | On some models |
| Internet access | Through the router | Through the router | Through the router | Through the router, with no NAT on Ubiquiti's switches |
| Example | NETGEAR GS305v3 | NETGEAR Smart Managed Plus | TP-Link Omada SG3210 | Layer 3 UniFi switches |
Which one do you need?
If your home network is one network with no VLANs, a layer 2 switch covers it. An unmanaged one like the GS305v3 adds ports with nothing to set up, and our switch vs router guide covers where it plugs in.
If you want VLANs, start with a managed layer 2 switch and let the router route between them. Routing on the switch, through an L2+ or layer 3 model, makes sense when a lot of traffic crosses between VLANs inside the house, such as backups from computers on one VLAN to a network drive on another, and you want that traffic to stay off the router. Budget for setting static routes on both the switch and the router, and for moving your VLAN blocking rules to the switch.
Full layer 3 switches are, in TP-Link's words, "mainly used in the core layer of a middle sized business network." Its L2+ page says L2+ suits networks that "don't require dynamic routing protocols like OSPF or BGP." A house with a few VLANs fits that description.
Sources
- Cisco Meraki, Comparing Layer 3 and Layer 2 Switches and MS Layer 3 Switching and Routing, checked November 17, 2026.
- Datto, Working with VLAN interfaces and static routing, checked November 17, 2026.
- TP-Link Omada, differences among switch series, L2+ switches and How to Configure VLAN Interfaces and Static Routes on Omada Switches, checked November 17, 2026.
- TP-Link, SG3210 product page and hardware version 3.30 data sheet, checked November 17, 2026.
- NETGEAR, Which NETGEAR switch is right for me?, What are static routes and how do they work with my NETGEAR router?, checked November 17, 2026, and GS305v3 product page, checked November 12, 2026.
- Ubiquiti, Layer 3 Routing and UniFi Switches and Access Control Lists, checked November 17, 2026.



