What Is a Router?
A router is a networking device that forwards data packets between separate networks by reading the destination IP address in each packet and choosing the path toward it. It works at Layer 3 of the OSI model, the network layer, which is what separates it from a switch that moves frames inside one network by MAC address. In a home, a single box usually combines the router with a switch, a Wi-Fi access point, and gateway services (NAT, DHCP, and a firewall), connecting your private network to the internet through your provider. The current Wi-Fi standard to look for in 2025 and 2026 is Wi-Fi 7 (802.11be).
What Is a Router?
A router is a device that forwards data packets between separate networks by reading their destination IP addresses. It connects networks that use different address ranges, such as a home LAN at 192.168.1.0/24 and the wider internet, and it picks the path that moves each packet toward its destination. The Internet Engineering Task Force (IETF) defines this packet-forwarding behavior in RFC 1812, “Requirements for IP Version 4 Routers.”
- Router vs switch: a router moves packets between networks by IP address, while a network switch forwards frames inside one network by MAC address.
- Two sides: a router has at least two interfaces, one facing the wide area network (the WAN port) and one or more facing the local network (the LAN ports).
- The routing table: a router keeps a table of known networks and the next device toward each one, which is how it decides where a packet goes.
How Does a Router Work?
A router works by reading the destination IP address in each incoming packet and matching it against entries in a routing table. The table stores destination networks, subnet masks, and the next-hop address for each route, and the router picks the most specific match, a process called longest prefix match in RFC 1812.
- Receive the packet. A frame arrives on an interface and the router reads the destination IP address in the packet header.
- Look up the route. It matches that address against the routing table using longest prefix match to find the best next hop.
- Update the header. It decrements the Time To Live field (defined in RFC 791) and recalculates the header checksum, dropping the packet if the TTL reaches zero.
- Forward it on. The packet leaves through the chosen interface toward the next hop, and the process repeats at each router until it reaches the destination network.
A home router holds a small table with a single default route that sends all unknown traffic to the provider gateway. An enterprise router holds thousands of routes learned through dynamic protocols such as OSPF and BGP, and decrementing the TTL on each hop is what prevents packets from circulating forever.
What Functions Does a Home Router Combine?
A home router folds four devices into one box: a router, a network switch, a wireless access point, and a set of gateway services. The single chassis cuts cabling and configuration for a household, and the four roles are distinct.
- Routing: forwards packets between your home network and the internet provider, the core function that names the device.
- Switching: the built-in LAN ports let wired devices exchange frames inside the home. A separate network switch adds more ports when you run out.
- Wireless access: an integrated access point provides Wi-Fi to laptops and phones over the IEEE 802.11 radio standards.
- Gateway services: NAT, DHCP, and a firewall let many devices share one public address, receive automatic local addresses, and stay shielded from the internet.
NAT (Network Address Translation) maps the many private addresses behind the router to the single public address your provider assigns, and it is defined in RFC 3022. DHCP (Dynamic Host Configuration Protocol), defined in RFC 2131, runs a server in the router that hands each device a private address, subnet mask, default gateway, and DNS server automatically. The deeper mechanics are covered in what NAT is and what DHCP is.
What Is the Difference Between a Router, a Modem, and a Gateway?
A modem reaches the provider, a router builds and shares your local network, and a gateway combines both in one box. The three are easy to confuse because internet providers often supply a single unit that does all of it.
The router always sits behind the modem: the modem reaches the provider, the router connects to it through the WAN port, and your devices connect to the router by Ethernet or Wi-Fi. The full split of duties appears in what a modem is and the side-by-side modem vs router comparison.
What Is the Difference Between Wired and Wireless Routers?
A wired router forwards packets only through physical Ethernet ports, while a wireless router adds an integrated radio access point for Wi-Fi clients. The wired ports follow the IEEE 802.3 Ethernet standard, and the radio follows the IEEE 802.11 family.
- Wired router: suits installations where every device connects by cable, such as a small server room or a wiring closet that feeds separate access points.
- Wireless router: suits homes and offices where phones, tablets, and laptops connect without cables, and it still includes Ethernet ports for wired devices.
- Both at once: a wireless router supports cabled and wireless connections together, so the two are not mutually exclusive.
What Wi-Fi Standard Should a Router Have in 2026?
Wi-Fi 7 (802.11be) is the current standard to look for in 2025 and 2026, with Wi-Fi 6E as the step below it. The Wi-Fi generation built into a wireless router sets its speed, capacity, and how well it handles a crowded home full of devices.
For coverage rather than raw speed, a mesh Wi-Fi system uses a main node plus one or more satellites that share a single network name, so devices roam from room to room without switching networks. Mesh is the better choice for a large or multi-floor home, or where thick walls create dead zones, while a single router is enough when one unit already reaches every room. A wired backhaul between mesh nodes gives the most stable result. Wi-Fi itself is covered in how Wi-Fi works.
What Is the Difference Between Home and Enterprise Routers?
A home router serves one network of a couple of hundred devices with a single static route, while an enterprise or business router serves many networks and runs dynamic routing protocols. Business routers from vendors such as Cisco or Juniper process routes through OSPF, BGP, and IS-IS and forward traffic at rates measured in gigabits to terabits per second.

- VLANs: business routers segment traffic into separate virtual networks, such as keeping guest Wi-Fi apart from internal systems. Home routers do not support VLANs, so every device shares one segment.
- VPN: business routers terminate many IPsec or SSL VPN tunnels for remote staff, where home routers offer little or none.
- QoS: business routers prioritize traffic so calls and video keep their bandwidth, and they use higher-quality parts built for continuous operation.
- Integration: a home router builds in Wi-Fi, switching, and gateway services; an enterprise router usually leaves Wi-Fi and switching to separate devices.
| Attribute | Home Router | Enterprise Router |
|---|---|---|
| Networks served | One LAN plus one WAN link | Many VLANs and WAN links |
| Routing method | Static default route | OSPF, BGP, IS-IS dynamic routing |
| Throughput | Hundreds of Mbps to a few Gbps | Multiple Gbps to Tbps |
| Integrated Wi-Fi | Usually included | Rarely included |
| Integrated switch | Built-in LAN ports | External switches used |
Where Does a Router Sit in a Home Network?
A router sits between the modem and every internal device. The modem connects to the provider, the router connects to the modem through its WAN port, and devices connect to the router through LAN ports or Wi-Fi. A device that translates the carrier signal, the modem that reaches the provider, must sit ahead of the router.
The router LAN interface is also the default gateway for your devices: the IP address a device uses to reach any network outside its own subnet. A host at 192.168.1.50 with gateway 192.168.1.1 sends every off-subnet packet to 192.168.1.1, the router. The DHCP service supplies that gateway address to each client under RFC 2131, and a device with no gateway can reach only hosts inside its own subnet.
What Routing Protocols Do Routers Use?
Routers use routing protocols to learn paths to networks they do not directly connect. A static route is set by hand and never changes on its own, while a dynamic protocol exchanges route information with other routers and updates the table automatically.
- RIP (Routing Information Protocol, RFC 2453): advertises routes by hop count, with a 15-hop maximum that limits it to small networks.
- OSPF (Open Shortest Path First, RFC 2328): a link-state protocol that computes the shortest path with Dijkstra’s algorithm across an autonomous system.
- IS-IS (Intermediate System to Intermediate System, ISO/IEC 10589): a link-state protocol used in large service-provider networks.
- BGP (Border Gateway Protocol, RFC 4271): the path-vector protocol that exchanges routes between autonomous systems and forms the routing backbone of the internet.
A home router runs none of these in most cases, because a single static default route sends all external traffic to the provider gateway. These protocols matter on enterprise routers that must reach many internal networks and choose between several paths.
What Security Functions Does a Router Provide?
A router guards the boundary between your network and the internet, so inbound traffic clears its defenses before reaching any device. The main functions are below.

- Stateful packet inspection: the built-in firewall tracks active connections and blocks inbound packets that do not match an existing session, on by default in a home router.
- NAT masking: hiding internal private addresses behind one public address means external hosts cannot address internal devices directly.
- Port forwarding: maps a chosen external port to one internal device, exposing a single service while the rest stay shielded.
- Access control lists: permit or deny traffic by source, destination, or port, standard on enterprise routers and present on many home routers.
Because the router applies these at the network edge, a home network built behind a router inherits protection from that single boundary device. Keeping the router firmware updated and changing its default admin password are the two steps that keep this boundary trustworthy.
Last Thoughts on Routers
A router defines the boundary between your local network and every other network, including the internet. Routing tables, IP addressing, and packet forwarding give it the ability to move data toward the right destination across many hops, and at home it folds routing, switching, wireless access, and gateway services into one box. An enterprise router separates those roles and runs dynamic protocols such as OSPF and BGP at far higher throughput. When choosing a new wireless router in 2026, Wi-Fi 7 is the standard to look for, with a mesh system for homes too large for a single unit.
A router is one device in a larger system of links, addresses, and protocols. The hub on what a computer network is connects it to switches, modems, IP addressing, and the rest of the pieces that move data between machines.
Key Takeaways:
- A router forwards packets between networks by reading destination IP addresses at Layer 3 of the OSI model.
- Routing tables and longest prefix match, defined in RFC 1812, determine the path of each packet.
- A home router combines routing, switching, a wireless access point, NAT, DHCP, and a firewall in one box.
- A modem reaches the provider, a router builds and shares the local network, and a gateway combines both.
- Wi-Fi 7 (802.11be) is the current standard to look for, with mesh systems for whole-home coverage.
- An enterprise router adds VLANs, VPN tunnels, and dynamic protocols such as OSPF and BGP at far higher throughput than a home router.
Frequently Asked Questions (FAQs)
What does a router do?
A router forwards data packets between separate networks by reading the destination IP address in each packet and selecting the next hop from its routing table. In a home it connects your local network to the internet and shares one connection across every device.
Is a router the same as a modem?
No. A modem converts your provider signal into Ethernet and gives a single internet connection, while a router builds a local network and shares that connection. Many internet providers supply a gateway, which is a modem and router combined in one box.
Does a router create Wi-Fi?
A wireless router creates Wi-Fi because it integrates an IEEE 802.11 access point. A wired-only router has no radio and provides Ethernet ports instead. The current Wi-Fi standard to look for is Wi-Fi 7 (802.11be).
What layer does a router operate on?
A router operates at Layer 3, the network layer of the OSI model, where forwarding decisions use IP addresses rather than MAC addresses. A network switch works one layer below it, at Layer 2, using MAC addresses.
What is the difference between Wi-Fi 7 and Wi-Fi 6E?
Wi-Fi 6E added the 6 GHz band to reduce congestion. Wi-Fi 7 builds on that with Multi-Link Operation, which uses the 2.4, 5, and 6 GHz bands at once, plus 320 MHz channels and 4K-QAM for higher throughput and lower latency. Wi-Fi 7 is becoming the mainstream choice through 2026.
When should I use a mesh router instead of a single one?
Use a mesh system when one router cannot cover a large or multi-floor home, or when thick walls create dead zones. Mesh nodes share one network name so devices roam between them automatically. A single router is enough for a small home where every room already has a strong signal.


