Network Infrastructure

Routers, Switches and Access Points Compared

Routers, switches and access points look similar but do different jobs. Compare what each device does, where it sits and when you need one.

On this page
  1. Why they get confused
  2. Switches: connecting devices in one network
  3. Routers: connecting networks
  4. Access points: bringing wireless in
  5. The all-in-one box
  6. Side by side
  7. Other devices you may meet
  8. Choosing sensibly
  9. Seeing how they fit

Why they get confused

Routers, switches and access points often look alike: small boxes with lights, ports and sometimes antennas. Consumer products make it worse by combining all three in one case. But each performs a different task, and understanding the differences makes it much easier to plan, buy and fix a network.

Switches: connecting devices in one network

A switch connects wired devices within the same network. When a frame arrives on one port, the switch looks at the destination hardware address, checks its table of which device sits on which port, and forwards the frame only to that port. This is why a switch is more efficient than an old hub, which copied everything everywhere.

Typical uses include joining desktops, printers, servers, cameras and access points. Points to know:

  • Port count and speed. Common sizes are 5, 8, 16, 24 and 48 ports. Speeds range from older 100 megabit ports to gigabit and faster.
  • Unmanaged versus managed. Unmanaged switches work out of the box with no settings. Managed switches let you configure VLANs, monitor ports, set priorities and view statistics.
  • Power over Ethernet. Some switches supply power through the cable to devices such as access points and phones, avoiding separate power adapters.
  • Layer 3 switches. Some can also route between networks, blurring the line with routers, usually in larger setups.

A switch does not, on its own, connect you to the internet. It only links devices that are already on the same network.

Routers: connecting networks

A router connects different networks and chooses where to send traffic between them. In a small office, the most important job is joining the internal network to the internet. To do that, it typically:

  • holds the default gateway address that devices use to leave their own network
  • translates between internal private addresses and a public one
  • often hands out addresses automatically through DHCP
  • may include a basic firewall

Inside bigger organizations, routers also connect internal subnets and remote sites. The subnet mask on each device decides whether traffic is local, handled by the switch, or remote, sent to the router. The beginner’s guide to subnet masks explains that decision in detail.

Access points: bringing wireless in

An access point creates a Wi-Fi network and connects wireless devices to the wired one. It does not normally route or assign addresses; it simply bridges between radio and cable. Several access points can share the same network name, letting devices roam through a building.

Key points:

  • Each access point needs a wired connection back to a switch.
  • More access points do not always mean better Wi-Fi. Units placed too close and set to the same channel interfere with each other, a topic covered in the article on Wi-Fi channels.
  • Managed systems let you see all access points in one place, adjust settings centrally and keep firmware up to date.

The all-in-one box

The typical home gateway combines a modem, router, a small four-port switch, an access point and a firewall. It is cheap and simple, and for a small household that is perfectly sensible. Limits show up as demands increase: you cannot place the wireless unit somewhere better than where the internet line enters, you cannot add ports easily, and if one function fails you may have to replace everything.

Splitting the roles gives flexibility. The router stays where the line arrives, a switch distributes cables, and access points are mounted where the signal is needed.

Side by side

Device Connects Decides based on Typical location
Switch Wired devices in one network Hardware address Cabinet or wall rack
Router Separate networks, such as inside and internet IP address At the edge, near the provider’s line
Access point Wireless devices to the wired network Radio association Ceiling or high on a wall

Other devices you may meet

  • Modem: converts the provider’s signal into network traffic. Sometimes built into the router.
  • Firewall: filters traffic by rule. Often a feature of the router, though dedicated appliances exist.
  • Repeaters and mesh units: extend wireless coverage by relaying traffic, often at the cost of some speed if they connect wirelessly to the main unit. A cable to each unit is generally better.
  • Hubs: obsolete; if you find one, it is probably worth replacing.

Choosing sensibly

A few questions help when planning:

  1. How many wired devices need ports, and how many spare ports should remain for growth?
  2. Do any devices, such as access points or cameras, benefit from power over the cable?
  3. Do you need to separate guests, staff and equipment? If so, look at managed switches and capable routers.
  4. How large is the space, and how many people use wireless at once?
  5. Who will configure and maintain the kit? Simplicity has value when there is no dedicated IT person.

Write the answers down, then record the equipment in your asset management inventory with its location, firmware version and purchase date. Planning replacements through hardware lifecycle thinking prevents a surprise failure of a ten-year-old switch.

Seeing how they fit

The overall layout, from provider line through router, switch and access points, is described in the pillar overview of network infrastructure. A common troubleshooting move is simply to ask which device the problem is plausibly in, and the device roles above usually narrow it quickly: no internet for everyone suggests the router or the provider, one dead wall socket suggests cabling or a switch port, and weak signal in one room suggests access point placement.

The complete guide to network infrastructure

How Networks Fit Together From Router to Wireless Access
Read the guide

Keep exploring

Guides from other topics

All topics →