What the "No Internet" Error Means on MikroTik
The "no internet" error on a MikroTik router means that devices on the local network (and often the router itself) cannot establish a connection to resources outside your local network. Symptoms:
- Websites do not load, even though Wi-Fi/LAN connections are active.
- On the WAN interface (e.g.,
ether1) in the status, there is no letterR(Running). - The default route (
0.0.0.0/0) is missing or incorrect in the routing table (/ip route). - The router does not receive an IP address from the provider (for DHCP/PPPoE).
- The
ping 8.8.8.8command from the router or a client fails.
The problem is at the network (L3) layer or higher and is related to routing settings, address translation (NAT), or traffic filtering.
Common Causes
- Physical link or WAN interface settings.
- Cable break or poor contact (twisted pair, fiber optic).
- Incorrect connection type from the provider (DHCP, PPPoE, static IP) or incorrectly specified credentials (login/password for PPPoE).
- Missing or incorrect VLAN configuration if the provider uses tagging.
- Faulty SFP module or optical transceiver.
- Missing or incorrect default route.
- The
0.0.0.0/0route was not added automatically (e.g., when using a static IP) and is missing manually. - The
gatewayin the route is specified incorrectly or is unreachable.
- The
- NAT (Masquerade) is not configured or is misconfigured.
- There is no rule in the
srcnatchain withmasqueradeaction to translate private IP addresses from the local network to the public IP address of the WAN interface. - A NAT rule exists, but the
out-interfaceorsrc-addressis specified incorrectly.
- There is no rule in the
- Traffic blocking by the firewall.
- Rules in the
forward,input, oroutputchains block outgoing traffic from the local network (forward) or responses from external servers (input). - Connection tracking or stateful inspection is configured incorrectly.
- Rules in the
- DNS resolution issues.
- DNS servers are not specified in the router's settings (
/ip dns). - The specified DNS servers are unreachable or blocked.
- Incorrect DNS addresses are distributed to clients via the DHCP server.
- DNS servers are not specified in the router's settings (
- Blocking by the provider.
- The provider has locked the MAC address of your previous device (router/computer). MAC address cloning is required in the WAN interface settings (
/interface ethernet set [find] mac-address=XX:XX:XX:XX:XX:XX). - Unpaid bill or maintenance on the provider's side.
- The provider has locked the MAC address of your previous device (router/computer). MAC address cloning is required in the WAN interface settings (
Troubleshooting Methods
Method 1: Check Physical Layer and Basic WAN Settings
Start with the simplest steps to rule out cable and configuration errors at the interface level.
- Check the indicators on the router and the provider's switch/modem. The WAN port (
ether1or another) should have a green/yellow light (Link/Activity). - In WinBox/WebFig or via CLI, execute:
Find your WAN interface (usually/interface printether1,sfp1, orpppoe-out1). Ensure that in thestatuscolumn it showsR(running), and in thedisabledcolumn it showsno. - Check if an IP address was obtained.
- For DHCP/PPPoE: in the same interface row, in the
actual-interfaceorrunningcolumn, an IP address should be displayed (e.g.,192.168.100.5). - For static IP: check the interface settings (
/interface ethernet set [find name=ether1]). Ensureaddressis filled correctly (IP/mask, e.g.,10.0.0.2/24).
- For DHCP/PPPoE: in the same interface row, in the
- If the status is not
R:- Reboot the router and the provider's equipment.
- Try a different cable or port on the switch.
- For PPPoE, check the logs:
/log print where topics=ppp. An authentication error is possible.
Method 2: Check and Add the Default Route
If the interface has an IP address but the route is missing, traffic has no path to follow.
- View current routes:
Look for a line with/ip route printdst-address=0.0.0.0/0. If it's not there — the route is missing. - Determine the gateway. Usually, it's the IP address in the same network as your WAN address, but not the same. Often it's
.1or.254. For example, if your WAN address is192.168.100.5/24, the gateway is likely192.168.100.1.- Option A (if the provider gave you the gateway): Add the route manually:
(replace/ip route add dst-address=0.0.0.0/0 gateway=192.168.100.1192.168.100.1with your gateway). - Option B (if using DHCP/PPPoE): The route should be added automatically. If it's missing, the provider might not be sending it. In this case, try adding it manually, specifying the gateway you see in the interface settings (often the provider's router address).
- Option A (if the provider gave you the gateway): Add the route manually:
- After adding, check gateway reachability:
If the ping fails, the problem is at the link layer (Method 1) or the gateway is incorrect.ping address=192.168.100.1
Method 3: Check and Configure NAT (Masquerade)
NAT allows devices on your local network (e.g., 192.168.88.0/24) to use a single public IP address to access the internet.
- Check for a NAT rule:
Look for a rule in the/ip firewall nat printsrcnatchain withmasqueradeaction. Example of a correct rule:
Pay attention to the fields:# CHAIN SRC-ADDRESS DST-ADDRESS OUT-INTERFACE ACTION 0 srcnat 192.168.88.0/24 masqueradechain: must besrcnat.src-address: your local network range (e.g.,192.168.88.0/24).action:masquerade.out-interface: must be the name of your WAN interface (e.g.,ether1). In modern RouterOS versions, this field can be empty if the rule applies to all outgoing interfaces.
- If the rule is missing or
out-interfaceis incorrect, create it:
(replace/ip firewall nat add chain=srcnat out-interface=ether1 action=masqueradeether1with your WAN interface name). - Important: The NAT rule must be above (have a lower number in the list) than any
droprules in theforwardchain.
Method 4: Diagnose and Configure Firewall
Incorrect firewall rules are one of the most common causes.
- Temporarily disable the entire firewall for diagnosis:
Try accessing a website from a client. If the internet starts working — the problem is definitely in the firewall./ip firewall set [find] disabled=yes - Re-enable the firewall:
/ip firewall set [find] disabled=no - Check the
forwardchain. This is the main chain for traffic between networks (LAN -> WAN and back). Ensure there is a rule allowing established/related connections:
Usually, this is a rule with/ip firewall filter print where chain=forwardaction=acceptandconnection-state=established,related. This should be sufficient for internet access. - Check the
inputchain. If you are testing access to the router itself from the local network (e.g.,pingfrom a client to the router's IP), ensure there is a rule ininputallowing ICMP (ping) or all traffic from your LAN network. - If you have custom rules, temporarily move them down the list or disable them (
set ... disabled=yes), leaving only the basic ones (accept established/related, accept from LAN to router).
Method 5: Check DNS and Test by IP
Sometimes the internet is working, but it fails due to name resolution issues.
- Check the router's DNS settings:
Working DNS servers should be specified (e.g.,/ip dns printservers=8.8.8.8,1.1.1.1). If the field is empty or contains local, non-working addresses — add them:/ip dns set servers=8.8.8.8,1.1.1.1 - Check if the router resolves names:
If the command returns an IP address — DNS is working./tool dns query address=google.com - Key test: ping by IP address. From the router or a client, execute:
ping 8.8.8.8- If the ping works but websites don't load — the problem is almost 100% DNS. Configure DNS on the router and/or on clients (specify DNS servers in network settings, e.g.,
8.8.8.8). - If the ping fails — the problem is with routing, NAT, or blocking. Go back to Methods 2, 3, 4.
- If the ping works but websites don't load — the problem is almost 100% DNS. Configure DNS on the router and/or on clients (specify DNS servers in network settings, e.g.,
Prevention
- Document changes. Before making any complex firewall or NAT rules, export the configuration (
/export file=backup) or use configuration scripts. - Use tags and comments. Comment (
#) every rule in the firewall and NAT, explaining its purpose. This will simplify future diagnostics. - Start with a simple configuration. When setting up "from scratch," first verify that basic internet access works (interface, route, NAT), and only then add complex filtering rules.
- Keep RouterOS updated regularly. Many network bugs and vulnerabilities are fixed in updates.
- Monitor logs. Enable logging for important subsystems:
/log add topics=ppp,firewall,dhcp. This will help quickly see where traffic is being blocked or where an error occurs. - Check provider settings. When changing tariffs or provider equipment (e.g., switching from DHCP to PPPoE), be sure to update the WAN interface settings on the router.