Watch on Instagram

Network Bytes · Episode 2 · CCNA 1.1

Router vs switch vs modem

That "router" on your shelf is usually three devices in a trench coat. Here's what each one does.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

One box, three jobs

The box your internet provider gave you probably says "router" or "gateway" on it. Inside, it's usually doing three different jobs that used to be three separate devices. Let's take them one at a time, following your data from the wall to your laptop.

The modem: a translator

Your internet provider sends its signal into your home over a cable TV line, a phone line or a fiber line. That signal isn't in a form your laptop understands. The modem translates between the two: it turns the provider's signal into normal network data, and back again for anything you send out.

Without a modem, your home network has no way to talk to your provider, so it has no way to reach the internet.

The switch: connects devices inside

A switch connects the devices inside one network to each other. When data arrives for your TV, the switch sends it to the TV only, not to every device in the house. That keeps things fast and tidy.

If you've ever seen a box with a row of identical network ports on the back, that's a switch at work. On a home box, the numbered LAN ports are its built-in switch.

The router: connects networks

A router sits on the border between two networks, like your home and the internet, and decides where each piece of traffic should go next. Is this data for the laptop in the kitchen, or for a server in another country? The router makes that call, over and over, for every packet.

Here's the easy way to keep them apart:

  • A switch connects devices in the same network.
  • A router connects networks to other networks.

And Wi-Fi?

Most home boxes also have a wireless access point built in. That's the part that lets phones and laptops join the network without a cable. It's another job squeezed into the same box.

In an office, they split up

In a business, these jobs are usually done by separate, more powerful devices that sit in a rack: a router at the edge, switches connecting the desks, and access points on the ceilings. Those are the devices network engineers (and CCNA students) spend most of their time with.

Try it yourself

Look at the back of your home internet box. You'll usually find one port that's a different color or labeled WAN or Internet. That's where the outside world comes in. The group of matching ports labeled LAN or numbered 1 to 4 is the built-in switch for your wired devices.

Common mix-up

Wi-Fi and the internet aren't the same thing. Wi-Fi is just a wireless way to join your home network. If your modem loses its connection to the provider, your phone can still show full Wi-Fi bars and have no internet at all.

Test your knowledge

Quick quiz: Router vs switch vs modem

4 multiple-choice questions. Pick one answer for each, then check how you did.

1Which device translates your internet provider's signal for your home network?
2What does a switch do?
3Which device connects different networks, like your home and the internet?
4Your phone shows full Wi-Fi bars, but nothing will load. What's a likely cause?

Sources

Video transcript

That "router" on your shelf? It's usually three devices in a trench coat.

Let's open it up. First, the modem. Your internet provider sends a signal down a cable or fiber line. The modem translates that into something your home network understands.

Next, the switch. It connects the devices inside your home and makes sure each packet goes to the right device, not to everyone.

Then the router. It sits on the border between your home and the internet and decides where traffic goes next. Is this packet for the laptop in the kitchen, or a server in another country?

Most home boxes also have Wi-Fi built in, so your phone can join without a cable. In an office, these are usually separate devices, and those are what network engineers work with every day.

That's your bite. Next: your device's home address.