What Does a Router Do? Follow a Packet to Its Next Stop
A message leaving your laptop may pass through several routers. Each handles one part of the journey: choosing where to send it next.
A router forwards data between networks, groups of connected devices. It handles packets: units of data carrying delivery information, including a destination IP address. IP stands for Internet Protocol; its numerical addresses direct traffic toward destinations.
Routing can be performed by dedicated equipment or by software on a computer.
The Next Stop Beyond Your Network
Imagine a laptop contacting a website on another network. It sends a packet to its default gateway, the router used when it has no more specific route.
The router checks the destination address and selects a next hop: the next router or directly connected destination to receive the packet. Here, it sends the packet toward the internet provider.
Later routers make their own forwarding decisions. The IPv4 router specification describes this forwarding work.
How a Router Chooses a Direction
A routing table lists known destinations and directions for reaching them. Administrators can enter routes, or routers can learn them through routing protocols, rules for exchanging route information.
For ordinary IP forwarding, a more specific destination rule takes priority over a broader match. A default route is the fallback when no more specific rule applies. The classless routing specification defines that selection principle.
For example, a route to a particular office network beats a general route toward the internet provider.
The choice follows the available routes and rules. It doesn't prove the router has found the fastest path anywhere on the internet.
Hub, Switch or Router: What's the Difference?
Several Jobs Inside One Box
The box sold as a home router can combine several jobs.
Local wired connections are the job of an Ethernet switch. Ordinary switching handles local traffic; routing moves traffic between networks. Some equipment performs both jobs. Cisco's switch-and-router explanation describes the basic distinction.
A Wi-Fi access point gives wireless devices access to the local network. It may be built into the router or installed separately. A device can therefore provide Wi-Fi access without doing the network's routing. Cisco illustrates the separate roles in its access-point documentation.
A modem handles the connection to the provider, for example over a cable line. Some home gateways combine modem and router functions; other arrangements deliver Ethernet directly to a router, so the household has no separate modem. Google's modem guidance covers those arrangements.
Fiber service can use an Optical Network Terminal to handle the fiber connection. Verizon lists this equipment separately from the router in Verizon's installation guide.
A home gateway may also run NAT, network address translation, to change traffic's address information, plus a firewall to allow or block connections. Routing doesn't automatically provide either function. An analysis of NAT's security limits separates translation from access controls.
A guest Wi-Fi name needs enforced rules to separate visitors from other devices. This is part of network segmentation, the practice of separating network areas.
- Give every phone, laptop and TV a steadier connection with Wi-Fi 6.
- Stop the buffering at busy hours, with room for many devices at once.
- Replace an aging router and get stronger coverage across more of your home.
Who Can Change the Settings?
The password used to join Wi-Fi and the password used to administer the router protect different things. The administrator password controls access to settings, including changes that can affect where traffic goes or who can reach the network.
Remote management makes those settings accessible over the internet. It's a separate feature from allowing household devices to browse websites. The FTC's home-network guidance recommends unique passwords and turning remote management off when it isn't needed.
The router also runs software, called firmware, that can need security fixes. Check the exact model's support status and update instructions with its manufacturer or internet provider. Age alone won't tell you whether it still receives fixes.
The FBI's 2025 alert about unsupported routers advises replacing equipment that has reached the end of support where possible. A router can keep forwarding packets long after routine security updates have stopped. Working internet access doesn't answer the support question.
IP Forwarding: How a Packet Finds Its Next Stop

Subnet: Where an Address Group Ends and Routing Begins

Dynamic Routing Protocols: How Networks Find Another Way

QUOTE:
"Amateurs hack systems, professionals hack people."
