What does a router do?

Reviewed by Hritik, White Fortress Academy · last reviewed 2026-11-11

A router connects your local network to the internet and directs traffic between devices. It gives each device an address, and in a home it usually provides the Wi-Fi as well.

Modem, router and switch

A typical setup

The provider’s line goes into the modem, the modem into the router’s WAN port, and a switch or your devices into the router’s LAN ports. Many home boxes combine modem, router, switch and Wi-Fi in one.

Common mistakes

Questions people ask

Do I need a separate switch?

Only if the router does not have enough wired ports. A switch adds more wired connections inside the same network.

What is the default gateway?

It is the router’s address on your network. Devices send traffic for outside networks to it.

Also in the arcade: Network Setup Simulator, a router and switch setup practice game. Terms: router, modem, switch, default gateway. All quick answers · IT glossary

Plain-English guide by White Fortress Academy.