What is a router vs switch?
Router vs. switch is a question of scope. A router connects separate networks and decides where traffic goes between them, while a switch connects devices within a local network and forwards traffic between them. Most business networks need both, with each device serving a different role.
This guide explains specifications, capabilities, and the deployments where each device earns its place. By the end, you'll be able to tell whether your next addition is a router, a switch, or both.
Key Takeaways
- Routers connect separate networks, such as an office network and the internet, while switches link devices within the same local network.
- Gateway specifications measure how much traffic the device can route, inspect, or encrypt, while switch specifications cover port count, switching capacity, and power delivery.
- Managed switches create separate network segments for staff, guests, and cameras, but the gateway still handles address translation, remote access, and firewall policy.
- Most business networks need both, adding a switch once wired devices outnumber the gateway's ports or once access points and cameras need Power over Ethernet.
- A Layer 3 switch can route traffic between internal segments, but it doesn't replace the gateway at the internet edge.
What Is a Router?
A router sits between two or more networks and forwards traffic between them using IP addresses. In a business network, it commonly connects the local area network (LAN) to the internet, which makes it the natural place to translate addresses and filter traffic at that boundary.
Business routers often handle several additional functions. Network address translation (NAT) lets multiple devices share one public IPv4 address while using private addresses internally. Dynamic Host Configuration Protocol (DHCP) assigns IP addresses and other network settings automatically, so devices can join the network without manual configuration. Firewall policy determines which traffic may cross the boundary, while Virtual Private Network (VPN) termination lets remote workers and branch offices reach internal resources through encrypted tunnels.
When choosing between a router and a switch, a router is usually the answer when you need internet access, remote access, or control over what crosses the network boundary. Depending on the model, Omada gateways combine routing with capabilities such as load balancing across multiple wide area network (WAN) connections and VPN connectivity. Security features can include URL filtering, denial-of-service (DoS) defense, and intrusion prevention system (IPS) protection.
What Is a Switch?
A switch connects devices within a local network and forwards Ethernet frames using MAC addresses, the hardware addresses assigned to network interfaces. It learns which MAC addresses are reachable through which ports and forwards traffic destined for a device to the appropriate port. Broadcasts and frames for unknown destinations are typically sent to the other ports in the same virtual local area network (VLAN).
Each port is a separate link, so devices on different ports can send and receive at the same time rather than taking turns on a shared connection. That makes the switch a key source of wired capacity for workstations, printers, access points, IP cameras, and VoIP phones. Many switches also deliver Power over Ethernet (PoE), which carries power and data over one cable so access points and cameras can be installed where there is no nearby outlet.
In a network switch vs. router decision, a switch is usually the answer when you need more ports or PoE. The Omada switch lineup shows how port counts, speeds, and PoE options vary by model.
Router vs. Switch: The Core Difference
The core difference between a router and a switch is scope. A router connects separate networks and routes IP packets between them, while a switch connects devices within a local network and forwards Ethernet frames between them. In a business network, the gateway connects the internal network to the internet, while the switch provides wired connections for local devices.
Traffic between devices on the same VLAN can stay on the switch without passing through the gateway. Each VLAN typically uses its own IP subnet. When devices in different subnets need to communicate, their traffic must be routed by the gateway or a switch with routing capabilities, such as a Layer 3 switch. In a typical business network, internet-bound traffic passes through the gateway.
For anyone specifying hardware, this provides a practical starting point. Adding wired ports or PoE capacity is usually a switch question. Adding internet connectivity, WAN failover, or VPN access for remote workers and branch offices usually comes down to the gateway. VLAN segmentation can involve both, depending on where routing and access-control policies are configured.
The table below summarizes the router and switch differences across the points that are crucial for a business deployment.
| Feature | Router / Gateway | Switch |
|---|---|---|
| OSI layer | Layer 3 (network) | Typically Layer 2 (data link); Layer 3 switches also route traffic |
| What it connects | Separate IP networks, such as a LAN and the internet | Devices within a LAN or VLAN |
| Addressing used | IP addresses for routing | MAC addresses for Layer 2 forwarding |
| Typical port count | One or more WAN ports and a few LAN ports; varies by model | Many access ports plus uplinks |
| Typical location | Network edge, between the provider connection and the internal network | Behind the gateway, close to the devices it serves |
| Common functions | Routing, NAT, firewall, DHCP, VPN, and WAN failover, depending on model | Frame forwarding and VLANs; access control lists (ACLs) and port security on managed models; PoE on supported models |
| Needed in a small business? | Yes, for internet access and connectivity between networks | When devices need more ports, PoE, or VLAN segmentation than the gateway provides |
How Router and Switch Specifications Differ
Router and switch specifications measure different things because the devices do different jobs. Gateway specifications describe how much traffic a gateway can process at the internet edge. Switch specifications describe how many devices it can connect, how fast those ports run, and how much power it can deliver. When reading an Ethernet switch vs. router datasheet, three areas matter most.
Ports and Port Density
A router typically has one or a small number of WAN ports and a handful of LAN ports. Many business gateways let several ports run as either WAN or LAN, and select models support multi-WAN load balancing across several internet connections. A switch offers a dense row of identical access ports, plus uplink ports that connect it to the gateway or to other switches.
This difference is often why people want to understand this comparison in the first place. Running out of LAN ports on the gateway is a switch problem, not a reason to buy a bigger gateway.
Speed, Throughput, and Uplinks
A gateway's throughput specifications describe how much traffic it can route, inspect, or encrypt. Actual throughput can decrease when features such as intrusion prevention or VPN processing are enabled. For internet-bound traffic, achievable speeds depend on both gateway performance and the internet connection.
Switching capacity measures something different: how much traffic a switch can move between its local ports at once. For example, a switch with 24 Gigabit access ports and four additional Gigabit uplink ports can have a switching capacity of 56 Gbps. That figure counts all 28 ports sending and receiving data at 1 Gbps at the same time. It measures how much traffic the switch can handle across its ports.
Uplinks matter more as access point density rises. Omada Wi-Fi 7 access points use 2.5 Gbps or 10 Gbps Ethernet ports, so a Gigabit switch port can limit their throughput. As traffic grows, uplinks between switches may also need multi-gigabit capacity to avoid bottlenecks.
Power over Ethernet
Switches commonly supply PoE in business networks, and a switch's PoE support decides whether access points, cameras, and phones need separate power. Consider two factors: power per port and the total PoE budget, which is the combined wattage a switch can supply across all ports at once.
Budgets vary by model, and some depend on configuration. For support matching PoE budget to a deployment, see the Omada switch buying guide.
How Router and Switch Capabilities Differ
Capabilities show where the gateway and switch roles separate. The gateway handles the network boundary: internet access, address translation, firewall policy, and remote connectivity. The switch handles wired connectivity and segmentation inside the network, and managed switches add the visibility and control needed to configure devices and troubleshoot issues.
Routing, NAT, and Internet Access
The gateway commonly translates private IPv4 addresses for internet access, applies firewall policy at the network boundary, and usually serves as the network's DHCP server. It can also terminate VPN tunnels for remote workers connecting from home and for site-to-site links between branch offices. Omada VPN gateways support protocols including IPsec, OpenVPN, WireGuard, and L2TP, with SSL VPN available on select models.
These functions explain why a business can't solve every networking problem by adding a switch. If a requirement involves internet connectivity, remote access, or a second WAN connection for failover, it typically belongs to the gateway.
Segmentation and VLANs
VLANs are where the two devices share responsibility. A managed switch applies VLAN assignments to ports and carries VLAN traffic across the network, creating separate Layer 2 segments for staff devices, guest Wi-Fi, VoIP phones, and cameras. Routing between those VLANs happens at the gateway or a Layer 3 switch. Select Layer 2+ (L2+) switches with static routing can also handle basic routing between VLANs.
ACLs or firewall rules then determine which traffic may cross those boundaries. VLAN separation alone is not the same as firewall enforcement. On many gateways, devices on different VLANs can reach each other by default unless ACLs or firewall policies restrict that traffic, so isolation should be configured rather than assumed.
Management and Visibility
The managed switch vs. router comparison is less about routing and more about control. Managed switches provide configuration, monitoring, and access-control features, so administrators can see which port a problem is on and manage connected devices. Unmanaged switches are plug-and-play and suit simple port expansion, but they don't provide configurable VLANs or the same per-port monitoring and control as managed switches.
With Omada, the gateway, managed switches, and access points can be administered through one controller instead of device by device. Controller options include the cloud-based controller (a free Essentials tier and a licensed Standard tier), hardware controllers, and a locally hosted software controller. Available features vary by controller tier, device, and firmware compatibility. For example, Cloud Essentials supports WireGuard VPN configuration, while Cloud Standard and on-premises controllers support additional VPN protocols on compatible gateways.
Do You Need a Router, a Switch, or Both?
Every business network that connects to the internet needs routing, typically provided by a router or gateway. Many also need a separate switch to connect additional wired devices. If you're deciding whether you need a router or just a switch, consider how many wired devices you have, how many need PoE, and whether your network requires separate VLANs.
When a Gateway on Its Own Is Enough
The smallest deployments can operate without a separate switch. If every wired device, including any access point, fits the gateway's available LAN ports and the gateway provides the required PoE, a switch adds little.
For these deployments, a unified device can cover more of the network on its own. The Omada Fusion Series combines a gateway and an integrated hardware controller in a single device, and its PoE variants add PoE ports that power access points, IP cameras, and VoIP phones without a separate PoE switch.
When You Need to Add a Switch
Growing networks can reach this point quickly. Common triggers include:
- More wired devices than the gateway has available LAN ports
- Access points, IP cameras, or VoIP phones that need PoE
- Wired connections to a second floor, back office, or storage room
- VLANs that need to extend across more wired devices than the gateway's ports can serve, such as separate networks for staff, guests, and cameras
In each case, the switch adds capacity without changing the gateway's role at the network boundary.
When You Need Both, and More Than One Switch
Multi-floor and multi-site deployments often place switches close to the devices they serve, while the gateway remains at the network boundary. A common layout connects the gateway to an aggregation switch, which feeds access switches on each floor. Smaller networks may connect access switches directly to the gateway without a separate aggregation layer. Multi-site operations can use a gateway at each location and link the sites with a site-to-site VPN.
Because Omada manages gateways, switches, and access points on one platform, the same approach covers a single office or a multi-site operation. Site templates and zero-touch provisioning let new locations reuse existing configurations. Growth then means adding devices to the same platform rather than migrating to a new one.
Layer 3 Switch vs. Router: Where the Roles Overlap
A Layer 3 switch routes traffic between VLANs using hardware forwarding, which is why the line between a router and a switch can blur at this tier. It typically does not replace a dedicated business gateway, which provides WAN connectivity and can handle functions such as NAT, VPN tunnels, and firewall policies at the network boundary.
In the Layer 3 switch vs. router comparison, the switch's advantage is internal routing. Traffic between VLANs can be routed close to where devices connect, instead of traveling to the gateway and back. Select Omada Layer 3 switches support routing protocols such as OSPF and RIP, along with high-availability features such as VRRP.
The practical rule is that a Layer 3 switch can reduce the load on the gateway for traffic between internal segments when inter-VLAN routing is configured on the switch. It doesn't remove the need for a gateway at the internet edge.
Where the Modem Fits: Modem vs. Router vs. Switch
A modem connects a provider's cable or DSL service to your network, while an optical network terminal (ONT) terminates a fiber connection and provides an Ethernet interface. In a typical modem vs. router vs. switch setup, the connection runs from the modem or ONT to the gateway, then to the switch and connected devices, including access points.
Many providers supply combo units that put a modem, router, and Wi-Fi in one box. Business deployments may place their own gateway behind this equipment or connect the gateway directly to the provider's ONT. When a provider-supplied router is used, putting it in bridge mode, if supported, keeps routing, firewall, and VPN policies on the business's own gateway. If both devices perform NAT, the setup creates double NAT, which can complicate VPNs and port forwarding.
For the hub vs. switch vs. router question, a hub repeats every incoming signal to all of its other ports. A switch learns where devices are connected and forwards most traffic only to the port that needs it. Switches have largely replaced hubs in business networks.
Router vs. Switch: Planning the Right Combination for Your Network
The router or gateway connects your network to the internet and routes traffic between networks. A switch expands wired connectivity within your network and, on PoE models, can also power connected devices. That's why the router vs. switch question is rarely either-or.
Choosing the right combination starts with three things: port count, PoE budget, and network segmentation. A quick inventory covers all three: the devices that need a wired connection, the ones that need power, and the groups that belong on separate VLANs.
A managed switch makes sense when you need configurable VLANs, access controls, or more detailed network visibility. The Omada switch buying guide can help you explore the right options.
Frequently Asked Questions
Do I need a router or just a switch?
If your network needs internet access, you typically need a router or gateway to connect it to your provider and route traffic between networks. A standard switch alone can't provide that connection. Add a switch when you need more wired ports or PoE for devices like access points and cameras. Most business networks use both.
Can I use a router as a switch?
Yes, for basic port expansion. Connect a LAN port on the second router to the main network and disable its DHCP server. Give it an unused IP address in the main network's subnet, outside its DHCP range, and leave its WAN port unused. A dedicated switch is usually simpler to set up and easier to scale.
Can a switch replace a router?
Not in a typical business network that needs internet access. A switch forwards traffic between devices, and a Layer 3 switch can also route between VLANs. But a switch usually doesn't provide the internet-edge functions a business gateway handles, such as WAN connectivity, NAT, VPN services, and firewall policies at the network boundary.
What is the difference between a modem router and a switch?
A modem router combines two devices. The modem connects to your provider's cable or DSL service, and the router connects your network to the internet and handles functions such as DHCP and NAT. Fiber services typically use an optical network terminal (ONT) instead of a modem. A switch adds wired ports so more devices can join the network.