A black TP-Link Archer AX55 router with four antennas on a white shelf, and a small black NETGEAR GS305 switch in front of it with white Ethernet cables in two of its ports
Image created with AI.

A router connects your home network to the internet. A switch connects wired devices to each other inside that network. Cisco's switch explainer puts it in one line: "While switches allow different devices on a network to communicate, routers allow different networks to communicate."

Most people asking this already have a router with a few LAN ports on the back for wired devices. So the practical question is usually whether you need a separate switch, and where it plugs in. The short answer is only when you run out of the router's ports, and always after the router.

This guide is AI-generated from manufacturers' manuals and support pages, a Cisco Press networking text and a statement from an internet provider's employee. 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 the router does

A router sits between your provider's network and yours. NETGEAR's guide to adding router ports lists its jobs: it "connects your ISP internet connection to your home network," and it "can assign IP addresses, provide NAT (Network Address Translation), and manage DHCP."

Black TP-Link Archer AX55 router with four antennas
TP-Link Archer AX55, a Wi-Fi 6 router with one WAN port and four LAN ports. Image: TP-Link

The TP-Link Archer AX55 shows what those jobs look like on a real router. Its user guide describes two kinds of Ethernet port on the back. The WAN port is "for connecting to a modem or an Ethernet outlet." The four LAN ports are "for connecting your PC or other wired devices to the router."

By default, the guide says, "the DHCP (Dynamic Host Configuration Protocol) Server is enabled and the router acts as a DHCP server," giving each device its address settings. Its NAT feature "makes devices on the LAN use the same public IP address to communicate with devices on the internet." That is how a whole house shares one connection.

Traffic bound for the internet goes through the router even when it starts on a switch. Cisco Press's chapter on Ethernet switching explains that when the destination is on a remote network, "the Ethernet frame is sent to the MAC address of the default gateway, the router."

What the switch does

A switch connects wired devices on one network so they can reach each other. NETGEAR says a switch works "at the device-to-device level, using MAC addresses to forward data," and "doesn't manage internet traffic or offer security features by default."

Black NETGEAR GS305 switch at an angle, with five Ethernet ports on the front and vent slots on the right side
NETGEAR GS305v3, a five-port unmanaged switch. Image: NETGEAR

It learns where each device sits from the traffic itself. Cisco Press describes the process: the switch "dynamically builds its MAC address table by examining the source MAC addresses of the frames received on a port," then sends each frame only to the port where its destination was seen. Our hub vs switch explainer goes through that step by step.

A small unmanaged switch such as the NETGEAR GS305v3 has five gigabit ports and, in NETGEAR's words, "no software or configuration needed." Cisco says the same of unmanaged switches in general: you "simply plug them in and they work, no configuration required."

Your router's LAN ports already do this job

The Archer AX55's four LAN ports connect wired devices to the same home network, which is the job a switch does. NETGEAR's introduction to switches acknowledges this: "you can use the ports on the back of a router or modem to connect a few Ethernet devices together."

That makes the buying decision simple. If your wired devices fit in the router's LAN ports, you don't need a switch. A desktop, a game console, a TV and a network drive fill the AX55's four. A fifth wired device, or a cluster of devices in a room far from the router, is when a switch earns its place.

Why a switch cannot replace the router

The address and NAT jobs above belong to the router. A switch plugged straight into a modem has no router behind it to give devices local addresses or put them on one shared public address.

How that plays out depends on how many addresses your provider gives you. An Xfinity employee, answering a July 2025 question in the company's community forum, said "Xfinity internet service plans only provide one public IP address," so with two routers plugged into one modem "only one of them will get internet access, since the modem can't assign two separate IPs by default." Read plainly, the same limit applies to several computers on a switch with no router, since each would need its own address from the provider. Xfinity's reply covers routers, not switches.

Not every modem manual agrees. A Linksys cable modem user guide hosted on Cox's site says that to install more than one Ethernet device, "use a multiport Ethernet switch or a router." It does not say how many addresses the provider hands out. Unless your provider confirms more than one, put a router first.

NETGEAR's own modem manual adds a specific warning. On the Nighthawk CM3000, whose LAN 1 and 2 ports can be aggregated to improve the combined transfer speed, NETGEAR says: "To avoid causing broadcast looping, which can shut down your network, do not connect an unmanaged switch to the LAN 1 and 2 port on your cable modem."

RouterSwitch
ConnectsYour home network to the internetWired devices on the same network
Works withIP addresses, at the network levelMAC addresses, device to device
Hands out device addressesYes, with its DHCP serverNot among its listed jobs
Shares one public addressYes, with NATNot among its listed jobs
Plugs intoThe modem, through its WAN portOne of the router's LAN ports
ExampleTP-Link Archer AX55: 1 WAN, 4 LANNETGEAR GS305v3: 5 ports

Where a switch plugs in

The order is modem, router, then switch. NETGEAR's setup steps are to "connect a router LAN port and a switch port with an Ethernet cable," and its FAQ says to use "one of the LAN ports on your router," not the WAN port or the modem. It adds that "the switch should always connect to a LAN port after your Modem and Router, or it can prevent the devices from connecting correctly."

On the GS305v3 any of the five ports can be the link to the router. NETGEAR's data sheet lists auto MDI/MDI-X detection on every port, which NETGEAR calls Auto Uplink, so you don't need a special port or a crossover cable. The cable to the router uses one port, which leaves four for devices.

Address assignment stays with the router. NETGEAR lists DHCP among the router's jobs, and the GS305v3's data sheet lists no DHCP server, so devices on the switch get their settings from the router, as devices plugged into the router do.

When a second router acts like a switch

If you have a spare router and want Wi-Fi in another room, some routers can step back from the router's role. TP-Link lists Router Mode and Access Point Mode for the Archer AX55. The user guide says that in this mode the router works as an access point, "transforming your existing wired network to a wireless one." You "connect the router to your existing wired router via an Ethernet cable," and "functions, such as Parental Controls, QoS and NAT Forwarding, are not supported."

Your existing router stays connected to the modem, and the AX55 adds Wi-Fi to the network behind it. If you only need more wired ports, a small unmanaged switch does that with nothing to configure.

Which one do you need?

On a plan with one public address, such as Xfinity's, you need a router to get more than one device online, unless the provider's gateway already includes one. You need a switch only when you have more wired devices than router LAN ports, or several wired devices in a room far from the router. Plug it into a router LAN port, never between the modem and the router.

If your modem and router are separate boxes and you aren't sure which does what, our modem vs router guide covers that split.

Sources