This guide covers what does a router really do.

Most people point at the box with the blinking lights and call everything it does “the Wi-Fi.” Wi-Fi is only its radio. The router’s real job is in its name: routing — deciding, for every packet, which network it belongs to and which way it should go next. Around that one job, the home router has collected three more — address translation, address assignment, and gatekeeping — and understanding all four explains almost every home-network mystery, from “why does every site see the same address for our whole house” to “why can’t my friend connect straight to my game server.”
Job one: routing — choosing the next hop
A router sits between networks. In a home, that means exactly two to start: your local network and the internet, reached through your provider. Every packet that arrives carries a destination IP address. The router consults its routing table — a short list that says, in effect, “addresses in this local range stay here; everything else goes out the default route to the provider” — and forwards the packet accordingly. Packets between two devices in your house never reach the router’s routing decision at all if a switch or the access point can deliver them locally; the router earns its keep at the boundary, where networks meet.
Job two: NAT — one public address, many private ones
Your provider typically gives your home one public IPv4 address. Your house holds dozens of devices. Network Address Translation, specified in RFC 3022, is the bridge: devices use private addresses from the ranges reserved in RFC 1918 — 192.168.x.x is the one most homes know — and the router rewrites each outgoing packet’s source to the home’s one public address, recording the conversation in a translation table. When the reply returns, the table tells the router which device, and which application on it, the reply belongs to. That table is also why unsolicited inbound traffic has nowhere to go: no table entry, no delivery — which is a side-effect homeowners rely on, and the reason hosting anything at home starts with deliberately creating an entry, called port forwarding.
Job three: DHCP — handing out the addresses
Private addresses do not assign themselves. The Dynamic Host Configuration Protocol, RFC 2131, is the router’s front desk: a new device asks for an address, and the DHCP server offers one from its pool, along with the subnet mask, the router’s own address as the gateway, and DNS server addresses — usually on a lease, renewed automatically. When a device “can’t connect,” very often it is not the radio at all: it never completed this conversation and has no usable address. Reservations — pinning one device to the same leased address every time — are how printers and servers stay findable without hand-configuring every device.
Job four: the firewall — deciding what may pass
Routing decides where a packet can go; the firewall decides whether it may. A home router’s stateful firewall tracks conversations the way the NAT table does and applies a simple, powerful default: traffic that answers a request from inside is welcome; traffic that starts from outside, uninvited, is dropped unless a rule says otherwise. That default, plus NAT’s table, is the bulk of the protection a home network actually has — which is why keeping the router’s firmware updated and its remote-administration features off matters more than most add-on gadgets.
What a router is not
A router is not a modem: the modem or optical terminal translates between your provider’s line and Ethernet, and in many homes the two live in one box, which is where the confusion starts. A router is not a switch: a switch delivers frames inside one network and makes no between-networks decisions. And a router is not the access point: the radio that serves Wi-Fi can live in the same enclosure while doing a completely different job. Naming the jobs separately is not pedantry — it is how you know which piece to fix, move, or replace when something breaks.

The bottom line
Strip the blinking box down to its work and a router is a boundary with four jobs: route packets between networks by table, translate many private addresses behind one public one with NAT, hand out those private addresses with DHCP, and stand guard over the boundary with a stateful firewall. Learn those four verbs — route, translate, assign, guard — and you can reason about nearly anything your home network does, including the parts that have nothing to do with Wi-Fi at all.
By Karl Amber
Sources
- RFC 3022 — Traditional IP Network Address Translator (Traditional NAT): how address and port translation works.
- RFC 1918 — Address Allocation for Private Internets: the private IPv4 ranges (10/8, 172.16/12, 192.168/16).
- RFC 2131 — Dynamic Host Configuration Protocol: address assignment, leases, gateway and DNS options.
- Cisco routing documentation — routing tables, default routes, and forwarding behavior as implemented in practice.
Editor’s note: this article is part of ScanderLoud’s Cybersecurity & Networking series. It was researched from RFC 3022, RFC 1918, and RFC 2131 — our coverage is original and educational throughout. No NetworkChuck video was opened or used.
That is the complete picture on what does a router really do.
Featured image: Anihl, CC BY-SA 4.0, via Wikimedia Commons
