ssid.ai/blog
networking-basics

LAN port vs WAN port: what each one does on your router

TL;DRThe WAN port connects your router to the internet; the LAN ports connect your own devices. Mix them up and nothing gets online.

Short answer: the WAN port is the single port that connects your router to your modem or ISP’s wall jack, and the LAN ports (usually three or four, grouped together) connect your own computers, consoles, and other wired devices to your router. Plug a cable into the wrong one and that device, or your whole network, won’t get online.

How to tell them apart

Look at the back of the router. Most consumer routers group the LAN ports together, labeled LAN 1 through LAN 4 or just numbered, and set the WAN port apart from that group, often labeled WAN, Internet, or Modem. Color is the fastest tell: many brands make the WAN port a different color, commonly blue or yellow, while the LAN ports are all one color (usually gray or black).

If a router has unlabeled ports, check the quick-start sheet that shipped with it or the printed diagram on the underside of the unit. The port count is also a clue: a router with five Ethernet ports almost always has four LAN ports and one WAN port, not five identical ones.

Why the wrong port breaks the connection

The two kinds of port run different logic inside the router. The label is just a hint pointing at that difference.

  • The WAN port is a DHCP client. It asks whatever is upstream, your modem or your ISP’s network, for a single IP address it can use to reach the internet. That’s the address NAT translates every one of your devices’ requests through.
  • The LAN ports are a DHCP server. The router hands out private addresses (something like 192.168.1.*) to anything plugged into them, the same way it hands addresses to devices connecting over WiFi.

Plug your modem into a LAN port, and the router never requests a public address on it, so there’s no internet to share. Plug a laptop into the WAN port, and the router doesn’t run its address-handing-out service there, so the laptop sits with no address and no connection. The ports aren’t interchangeable because each one is doing a different job, not because of a label someone picked.

What this looks like in practice

A common setup mistake happens right after unboxing a new router: the modem cable goes into LAN 1 because it’s the first open port, and the WAN port sits empty. The router’s internet light stays off or blinks amber, and none of the connected devices can load a page, even though everything looks plugged in correctly.

The fix is just moving the modem’s cable to the port labeled WAN (or the differently colored one) and leaving the LAN group for your actual devices: desktop, smart TV, game console, or a switch if you need more wired ports than the router has. Once that one swap is made, the router’s internet light should turn solid and devices regain their connection within a few seconds.

Checking it worked

After connecting the modem to the WAN port, log into the router’s admin page and look for a WAN or internet status section. It should show a real public IP address, not a private one starting with 192.168 or 10.. If you’re not sure how to reach that login page, finding your router’s IP address walks through it, and the router login directory has the default address and credentials by brand if your router isn’t at the usual 192.168.1.1.

A WAN section still showing no address, or stuck on “connecting,” usually means the modem itself needs a power cycle rather than another port swap. The router can only request an address once the modem is actually passing a signal through to it.

One port, one job

Every device that should reach the internet plugs into a LAN port, and only the line from your modem or ISP’s jack goes into the WAN port. That one rule covers the vast majority of “why isn’t this working” moments that trace back to cabling rather than settings.

Frequently asked questions

Can I plug the internet modem into a LAN port instead?

No. LAN ports hand out private addresses to devices on your network; they don't ask your ISP for a public address the way the WAN port does. Plug a modem into a LAN port and the router has no path to the internet at all.

Does it matter which LAN port I use?

No. All the LAN ports on a home router are wired to the same internal switch, so devices plugged into LAN 1 and LAN 4 behave identically. Pick whichever one is closest to the cable.

What if my router's ports have no labels at all?

Check for a port that's a different color or set slightly apart from the rest, since that's almost always the WAN port. If the color and spacing both look uniform, the router's manual or printed quick-start sheet will show the layout.