Networking

Modem

"Modem" and "router" get used interchangeably in everyday conversation, but they're not the same device doing the same job — a modem's job is much narrower, and understanding exactly where it ends clarifies a lot of home-network troubleshooting.

Quick reference
What it is
A device that translates between an ISP's physical-layer signal (over phone line, coax cable, or fiber) and standard Ethernet.
Mental model
A translator at a border crossing — it converts the language spoken on the ISP's side of the wire into the language your home network speaks, and makes zero decisions about where anything actually goes.
Key numbers
DSL, cable (DOCSIS), and fiber (PON) each use a completely different physical-layer encoding — the reason a modem is tied to one specific type of ISP connection.
Reach for it when
Never chosen directly — it's supplied by, and matched to, your specific ISP connection type.

Where the name comes from

"Modem" is short for modulator-demodulator: it takes your home network's digital Ethernet frames and modulates them onto whatever physical signal your specific ISP connection uses — DOCSIS over a coax cable, DSL over a phone line, PON over fiber — and demodulates the incoming signal back into ordinary Ethernet frames in the other direction. Every one of those signaling standards is completely different from the others, which is why a cable modem can't be swapped for a DSL modem even though both eventually hand your router the exact same kind of Ethernet frame.

Modem vs. router

A modem
Translates a signal. It has no concept of multiple devices, no DHCP, no NAT, and usually no way to plug in more than one device — historically, one Ethernet port out, feeding a separate router.
A router
Makes the actual decisions — assigning private addresses, translating them via NAT, and routing traffic between your LAN and whatever the modem hands it. This is the part that actually creates "your network."

A modem plugged directly into a single computer, with no router at all, still works — but that computer is now directly exposed on the ISP's network with no NAT translation standing between it and the public internet.

Why one box today does both

Nearly every ISP-provided device today bundles a modem, a router, a switch, and a Wi-Fi access point into one enclosure — a "gateway" device, in ISP marketing language. That bundling is exactly why "the modem" and "the router" get used as if they mean the same physical box in casual conversation, even though internally it's still doing two conceptually separate jobs, one right after the other.

Real-world applications

Gotchas

Field notes