logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

How to Set Up WAN on a Router: DHCP, PPPoE, Static IP Guide

User question

how to set up WAN on router

Artificial Intelligence Response

Direct answer to the question

To set up WAN on a router, you need to:

  1. Connect your modem/ONT/ISP cable to the router’s WAN or Internet port.
  2. Log in to the router’s admin interface.
  3. Go to WAN, Internet, or Network settings.
  4. Select the WAN connection type required by your ISP:
    • Dynamic IP / DHCP — most common
    • PPPoE — requires ISP username and password
    • Static IP — requires IP address, subnet mask, gateway, and DNS from ISP
  5. Save the settings and check whether the router receives a WAN IP address.

Detailed problem analysis

1. Connect the WAN port correctly

On the back of your router, find the port labeled:

  • WAN
  • Internet
  • A globe icon
  • Sometimes colored differently from the LAN ports

Connect it like this:

ISP modem / ONT / wall Ethernet port → Router WAN port

Then connect your computer or phone to the router by:

  • Ethernet cable to a LAN port, or
  • Wi-Fi using the default SSID/password printed on the router label.

If you have a separate modem, power-cycle in this order:

  1. Turn off modem and router.
  2. Turn on the modem first.
  3. Wait 1–3 minutes until the modem is fully online.
  4. Turn on the router.

This helps clear old ISP MAC address bindings.


2. Log in to the router

Open a web browser and go to the router’s local address. Common addresses are:

192.168.1.1
192.168.0.1
192.168.1.254
10.0.0.1

If you do not know the address:

On Windows:

ipconfig

Look for Default Gateway.

On macOS/Linux:

ip route

or:

netstat -nr

Log in using the router admin credentials. These are often printed on the router label unless they were changed.


3. Choose the correct WAN connection type

Go to a menu such as:

Internet
WAN
Network > WAN
Advanced > Internet Setup

Then select the connection type.


Common WAN setup types

WAN Type When to Use Information Needed
Dynamic IP / DHCP / Automatic IP Most cable, fiber, and modem-router setups Usually none
PPPoE Many DSL and some fiber ISPs ISP username and password
Static IP Business internet or fixed-IP service IP address, subnet mask, gateway, DNS
L2TP/PPTP Less common ISP configurations Server, username, password
VLAN/802.1Q WAN tagging Some fiber ISPs VLAN ID from ISP

Option A: Dynamic IP / DHCP

This is the most common home setup.

Use this if your ISP did not give you a username, password, or fixed IP details.

Steps:

  1. Open WAN/Internet Settings.
  2. Select:
Dynamic IP
Automatic IP
DHCP
Obtain IP Automatically
  1. Leave DNS automatic, or manually set DNS if desired.
  2. Save/apply settings.
  3. Check the WAN status page.

The router should receive:

  • WAN IP address
  • Subnet mask
  • Default gateway
  • DNS servers

If the WAN IP shows 0.0.0.0, the router did not receive an address.


Option B: PPPoE

Use PPPoE if your ISP gave you a login username and password.

Steps:

  1. Go to WAN/Internet Settings.
  2. Select:
PPPoE
  1. Enter the ISP-provided:
Username
Password
  1. Set connection mode to:
Always On
  1. Set MTU to:
1492

unless your ISP specifies something else.

  1. Save/apply settings.

PPPoE is common on DSL and some fiber connections.


Option C: Static IP

Use this only if your ISP provided fixed WAN details.

You will need:

WAN IP address
Subnet mask
Default gateway
Primary DNS server
Secondary DNS server

Example:

IP Address: 203.0.113.10
Subnet Mask: 255.255.255.0
Gateway: 203.0.113.1
Primary DNS: 8.8.8.8
Secondary DNS: 1.1.1.1

Steps:

  1. Select Static IP in WAN settings.
  2. Enter the ISP-provided values exactly.
  3. Save/apply.
  4. Check the WAN status page.

Do not invent these values; they must come from your ISP.


Important advanced settings

MAC address cloning

Some ISPs lock service to the MAC address of the first connected device.

Use MAC Clone if:

  • You replaced an old router
  • The modem worked with a PC but not the router
  • The ISP requires MAC registration

You can clone:

  • The old router’s WAN MAC address, or
  • The computer’s MAC address that previously worked.

After cloning, reboot modem first, then router.


VLAN tagging

Some fiber ISPs require WAN VLAN tagging.

Example:

WAN VLAN ID: 201

This depends entirely on your ISP. If required and not configured, the router may show a physical link but no internet connection.

Look for settings like:

IPTV/VLAN
802.1Q
Internet VLAN ID
WAN VLAN

MTU

Typical MTU values:

Connection Type Typical MTU
DHCP / Static IP over Ethernet 1500
PPPoE 1492
Some VPN/L2TP/PPTP setups 1400–1460

If websites partially load or some services fail, an MTU mismatch may be the cause.


How to verify the WAN connection

After saving settings, check the router’s Status or Internet page.

A working WAN connection should show:

WAN IP Address: present
Gateway: present
DNS: present
Connection Status: Connected

Then test from a connected computer:

ping 8.8.8.8

If that works, test DNS:

ping google.com

Interpretation:

Result Meaning
Can ping 8.8.8.8, but not google.com DNS problem
Cannot ping 8.8.8.8 WAN/routing/ISP problem
WAN IP is 0.0.0.0 Router did not get WAN address
WAN IP is 192.168.x.x, 10.x.x.x, or 172.16–31.x.x Possible double NAT or CGNAT

Common troubleshooting

Problem: WAN IP is 0.0.0.0

Possible causes:

  • Wrong WAN type selected
  • Modem not online
  • Bad Ethernet cable
  • ISP MAC lock
  • VLAN required
  • ISP outage

Try:

  1. Reboot modem and router.
  2. Use DHCP unless ISP says otherwise.
  3. Try another Ethernet cable.
  4. Clone MAC address.
  5. Call ISP to confirm WAN settings.

Problem: Router says WAN cable unplugged

This is usually a physical-layer issue.

Check:

  • Ethernet cable
  • WAN port
  • Modem LAN port
  • Link lights
  • Whether the modem/ONT is powered and online

Try a different cable and port if available.


Problem: Router has WAN IP but no internet

Check DNS settings.

Try manual DNS:

Primary DNS: 1.1.1.1
Secondary DNS: 8.8.8.8

Also confirm that the default gateway is present on the router’s WAN status page.


Problem: Double NAT

If your router’s WAN IP is something like:

192.168.x.x
10.x.x.x
172.16.x.x to 172.31.x.x

your ISP modem may also be acting as a router.

Possible solutions:

  1. Put the ISP modem/router into bridge mode.
  2. Put your router into access point mode.
  3. Use DMZ on the ISP router as a workaround.

Bridge mode is usually best if you want your own router to handle routing, firewall, DHCP, and port forwarding.


Practical guidelines

For most home users, use this setup:

WAN Connection Type: Dynamic IP / DHCP
DNS: Automatic or manual
MTU: 1500
NAT: Enabled
DHCP Server on LAN: Enabled
Firewall: Enabled

For PPPoE users:

WAN Connection Type: PPPoE
Username: from ISP
Password: from ISP
MTU: 1492
Connection Mode: Always On

For business static IP users:

WAN Connection Type: Static IP
Use only ISP-provided IP details
Confirm subnet mask and gateway carefully

Brief summary

To set up WAN, connect your ISP modem or ONT to the router’s WAN/Internet port, log in to the router, select the correct WAN type, usually Dynamic IP/DHCP, then save and verify that the router receives a WAN IP address.

If it does not work, the most common causes are wrong WAN type, PPPoE credentials, MAC binding, VLAN tagging requirements, bad cable, or double NAT.

If you tell me your router model and ISP, I can give you exact menu-by-menu instructions.

Disclaimer: The responses provided by artificial intelligence (language model) may be inaccurate and misleading. Elektroda is not responsible for the accuracy, reliability, or completeness of the presented information. All responses should be verified by the user.

Ask additional question

Wait...(2min)