The WAN page is used to to set up WAN network interfaces, which are used to connect device with external networks.
This manual page provides an overview of the WAN windows in RUT900 devices.
The WAN section displays WAN network interfaces currently existing on this device.
From here you can turn the interfaces on or off, change their priority* or enter an interface's configuration page.
* You can change the priority by dragging and dropping an interface to another position. Moving an interface changes its metric value in the configuration file. Interfaces that are higher on the list have greater priority.
Interface configuration[edit source]
This section provides information on WAN interface configuration. There are two types of WAN interfaces on the device:
- Ethernet WAN
- Mobile WAN
Each supports different types of protocols and setups, which are described in the sections below.
To begin configuring an interface, click the 'Edit' button on the right side of the interface:
The static address protocol uses a predefined manual configuration instead of obtaining parameters automatically via a DHCP lease.
Static: General Settings
|IPv4 address||ip4; default: none||The IPv4 address interface of this interface. An IP address identifies a device on a network and allows it to communicate with other devices.|
|IPv4 netmask||netmask; default: none||The IPv4 netmask of this interface. A netmask is used to define how "large" a network is by specifying which part of the IP address denotes the network and which part denotes a device.|
|IPv4 gateway||ip4; default: none||The IPv4 address gateway of this interface. An interface's gateway is the default next hop address to access other networks.|
|DNS servers||ip4; default: none||DNS server addresses that this interface will use. If left empty, DNS servers are assigned automatically. To see what DNS servers are currently used, you can check the contents of the /tmp/resolv.conf.auto file.|
Static: DHCP Server
A DHCP (Dynamic Host Configuration Protocol) server is a service that can automatically configure the TCP/IP settings of any device that requests such a service. If you connect a device that has been configured to obtain an IP address automatically, the DHCP server will lease out an IP address from the available IP pool and the device will be able to communicate within the private network.
This section is used to set up the main operating parameters of the DHCP server.
|Enable DHCP||Enable | Disable | DHCP Relay*; default: Enable||Turns the DHCP server on or off or enables DHCP relay*.
If DHCP Relay* is selected, you will be prompted to enter an IP address of another DHCP server in your LAN. In this case, whenever a new machine connects to this device, it will redirect any DHCP requests to the specified DHCP Server.
|Start||integer [1..255]; default: 100||The starting IP address value. e.g., if your device’s LAN IP is 192.168.1.1 and your subnet mask is 255.255.255.0 that means that in your network a valid IP address has to be in the range of [192.168.1.0..192.168.1.254] (192.168.1.255 is a special unavailable address). If the Start value is set to 100 then the DHCP server will only lease out addresses starting from 192.168.1.100.|
|Limit||integer [1..255]; default: 150||How many addresses the DHCP server can lease out. Continuing from the example above: if the start address is 192.168.1.100 and the server can lease out 150 addresses, available addresses will be from 192.168.1.100 to 192.168.1.249 (100 + 150 – 1 = 249; this is because the first address is inclusive).|
|Lease time||integer [1..999999]; default: none
|A DHCP lease will expire after the amount of time specified in this field and the device that was using the lease will have to request a new one. However, if the device stays connected, its lease will be renewed after half of the specified amount of time passes (e.g., if lease time is 12 hours, then every 6 hours the device will ask the DHCP server to renew its lease).
The minimal amount of time that can be specified is 2 minutes.
*If selected Units is Minutes.
**If selected Units is seconds.
|Units||Hours | Minutes | Seconds; default: Hours||Lease time units.|
* When an interface is set to act as a DHCP Relay, it redirects all received DHCP request messages to another specified DHCP server:
The DHCP client protocol is used to set up an interface which obtains its configuration parameters automatically via a DHCP lease.
|Hostname to send when requesting DHCP||string; default: none||A hostname for this interface used to identify this machine on the DHCP server.|
The Mobile protocol is used to set up an interface which can establish a mobile WAN connection.
Mobile: General Settings
|Mode||NAT | Bridge | Passthrough; default: NAT||Mobile connection operating mode.
|PDP Type||IPv4 | IPv6 | IPv4/IPv6; default: IPv4||Specifies what of address will be requested from the operator.|
|SIM||SIM1 | SIM2; default: SIM1||Selects which SIM slot will be used for this interface.|
|Auto APN||off | on; default: on||The Auto APN feature scans an internal Android APN database and selects an APN based on the SIM card's operator and country. If the first automatically selected APN doesn't work, it attempts to use the next existing APN from the database.|
|APN / Custom APN||string; default: none||An Access Point Name (APN) is a gateway between a GSM, GPRS, 3G or 4G mobile network and another computer network. Depending on the contract, some operators may require you to use an APN just to complete the registration on a network. In other cases, APN is used to get special parameters from the operator (e.g., a public IP address) depending on the contract.
An APN Network Identifier cannot start with any of the following strings:
|Bridge | Passthrough: MAC Address||mac; default: none||Specifies the MAC address of the device that will receive the mobile interface's IP address in Bridge or Passthrough mode.
Note: this field only becomes visible when using Bridge or Passthrough mode.
Mobile: Mobile Data Limit
The Mobile Data Limit section provides you with the possibility to set data usage limits for your mobile network interfaces and data usage warnings via SMS message in order to protect yourself from unwanted data charges.
In order to view the Mobile Data Limit section, the interface protocol must be set to Mobile.
|Enable data connection limit||off | on; default: off||Turns mobile data limitations on or off.|
|Data limit* (MB)||integer; default: 1000||The amount of data that is allowed to be downloaded over the specified period of time. When the limit is reached, the device will no longer be able to establish a data connection until the period is over or the data limit is reset.|
|Period||Month | Week | Day; default: Day||Data limit period after which the data counter is reset on the specified Start day.|
|Start day | Start hour||day [1..31] | day [Monday..Sunday] | hour [1..24]; default: hour 0||Specifies when the period of counting data usage should begin. After the period is over, the limit is reset and the count begins over again.|
|Enable SMS warning||off | on; default: off||Turns SMS warning on or off. When turned on and configured, sends an SMS message to a specified number after the SIM card uses a specified amount of data.|
|Data limit* (MB)||integer; default: none||The received data limit before sending an SMS warning. After reaching using the the amount of data specified in this field, the router will send an SMS warning message to the specified phone number.|
|Phone number||phone number; default: none||Recipient's phone numbers.|
|Clear Collected Data||- (interactive button)||Clears the data limit counter.|