Description

Milesight Router and LoRaWAN Gateway can access to the internet via WAN.

This article describes how to troubleshoot unable to Get Network Connection via WAN


Content

  1. When setting Static IP as Connection Type
  2. When setting DHCP Client as Connection Type
  3. When setting PPPoE or Dual-Stack Lite as Connection Type
  4. Check whether NAT is enabled
  5. Set WAN/eth0 as Main interface
  6. Check DNS address
  7. Confirm switch/router can access to the Internet
  8. Check whether the Ethernet port on the switch/router is broken or has poor contact with the cable
  9. Check whether the Ethernet cable is plugged into WAN port of Milesight Router
  10. Check Ethernet port LEDs


Configuration

1. When setting Static IP as Connection Type

Ensure your static IP is not occupied by other devices and Gateway IP is correct. You can connect your PC under switch/router’s subnet (LAN and Wi-Fi may be different subnets), run ipconfig in terminal to find out its network segment.


Take the configuration in the following figure as an example, the network segment is 192.168.23.0 so we will assign an IP address under 192.168.23.0 subnet to the device. You can ping 192.168.23.221 to see if you get any reply; If not, it means this IP address is not used by other devices and we can assign 192.168.23.221 to Milesight Router/Gateway as its static WAN IP. Network mask and default gateway can be set the same as your PC’s.



2. When setting DHCP Client as Connection Type

Go to Maintenance -> Tools -> Ping, check whether DHCP Server IP is reachable, if not, check configuration of DHCP Server.


3. When setting PPPoE or Dual-Stack Lite as Connection Type

For PPPoE: double check whether Username and Password are correct.

For Dual-Stack Lite: Check whether Gateway address DS-Lite of AFTR address are reachable.


4. Check whether NAT is enabled

It is recommended to enable NAT for most use. When enabled, a private IP can be translated to a public IP otherwise further network service outside of switch/router cannot be used.


5. Set WAN/eth0 as Main interface

For Milesight Router: Go to Network -> Interface -> Link Failover, set WAN as the highest priority.

For Milesight Gateway: Go to Network -> Link Failover -> WAN Failover, set eth0 as Main interface.


6. Check DNS address

We provide Use Peer DNS option to obtain peer DNS automatically during PPP dialing, but sometimes you will need to set the primary and secondary DNS. In that case, please double check if some universal DNS servers are accessible in local network by pinging it on PC.


7. Confirm switch/router can access to the Internet

Connect another device under its subnet (LAN or WiFi) and visit Internet. Check if you can visit Google or watch videos on YouTube, if so, please follow next step.


8. Check whether the Ethernet port on the switch/router is broken or has poor contact with the cable

Use the same cable to connect the device to another port on switch/router. If it still doesn’t work, use the same port to connect the device with another cable.


9. Check whether the Ethernet cable is plugged into WAN port of Milesight Router

You need to plug Ethernet cable into WAN port for the device to be in the switch/router’s subnet. If the Ethernet cable is plugged into LAN port, the configuration in Network -> Interface -> WAN won’t take into effect.


10. Check Ethernet port LEDs

If the green LED is on, there is 10/100/1000 Mbps (auto-sensing) traffic. If the orange LED is blinking, data is being transferred. If both are off, refer to switch/router section above.


 


                                                                             ----END- --