Template:Networking rutxxx manual wan: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template: Networking_rutxxx_manual_fw_disclosure
| fw_version = RUT2XX_R_00.01.14.3
| series    = {{{series}}}
}}
==Summary==
==Summary==


A wide area network (WAN) is a telecommunications network or computer network that extends over a large geographical distance. For example, the Internet is a wide are network. This chapter is an overview of {{{name}}} routers' WAN section.
A wide area network (WAN) is a telecommunications network or computer network that extends over a large geographical distance. For example, the Internet is a wide are network. This chapter is an overview of {{{name}}} routers' WAN section.
{{Template: Networking_rutxxx_manual_fw_disclosure
| fw_version = {{{fw_version}}}
}}


==Operation Modes==
==Operation Modes==
Line 11: Line 12:
The Operation Modes window lets you determine how the router will be connecting to the internet. You can chose between three types of WAN – Mobile, Wired and Wi-Fi. You can also setup backup WAN options in case your main connection goes down.
The Operation Modes window lets you determine how the router will be connecting to the internet. You can chose between three types of WAN – Mobile, Wired and Wi-Fi. You can also setup backup WAN options in case your main connection goes down.


[[Image:{{{wan_operation_modes}}}]]
[[Image:Network_wan_operation_v2.png]]


You can choose one main WAN and one or two (or none) backup WAN options. To choose your main WAN just check the desired option (wired, mobile or Wi-Fi) in the '''Main WAN''' column (first from the left), to choose a backup WAN(s), check the desired option(s) in the Backup WAN column (second from the left). Above is an example of a configuration that uses wired as Main WAN and mobile as Backup WAN.
You can choose one main WAN and one or two (or none) backup WAN options. To choose your main WAN just check the desired option (wired, mobile or Wi-Fi) in the '''Main WAN''' column (first from the left), to choose a backup WAN(s), check the desired option(s) in the Backup WAN column (second from the left). Above is an example of a configuration that uses wired as Main WAN and mobile as Backup WAN.
Line 27: Line 28:
----
----


[[File:{{{wan_static_general}}}]]
[[File:Network_wan_static_general.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 38: Line 39:
       <td>Protocol</td>
       <td>Protocol</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''DHCP'''</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''DHCP'''</td>
       <td>The protocol used by the WAN interface</td>
       <td>The protocol used by the WAN interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>IPv4 address</td>
       <td>IPv4 address</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>Your router’s address on the WAN network</td>
       <td>Your router’s address on the WAN network.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv4 netmask</td>
     <td>IPv4 netmask</td>
         <td>ip; Default: '''255.255.255.0'''</td>
         <td>ip; Default: '''255.255.255.0'''</td>
         <td>Netmask defines how "large" a network is</td>
         <td>Netmask defines how "large" a network is.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv4 gateway</td>
     <td>IPv4 gateway</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>The address where the router will send all the outgoing traffic</td>
         <td>The address where the router will send all the outgoing traffic.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv4 broadcast</td>
     <td>IPv4 broadcast</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers</td>
         <td>IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.</td>
    </tr>
    <tr>
    <td>Use custom DNS servers</td>
        <td>ip; Default: " "</td>
        <td>When the router needs to resolve a hostname (“www.google.com”, “www.cnn.com”, etc.) to an IP address, it will forward all the DNS requests to the gateway. By entering custom DNS servers the router will take care of the host name resolution. You can enter multiple DNS servers to provide redundancy in case one of the servers fails</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv6 Address</td>
     <td>IPv6 Address</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>Assigns an IPv6 address for this interface. CIDR notation: address/prefix</td>
         <td>Assigns an IPv6 address for this interface. CIDR notation: address/prefix.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv6 Gateway</td>
     <td>IPv6 Gateway</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>Assigns a default IPv6 gateway for this interface. CIDR notation: address/prefix</td>
         <td>Assigns a default IPv6 gateway for this interface. CIDR notation: address/prefix.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv6 Prefix Length</td>
     <td>IPv6 Prefix Length</td>
         <td>integer [0...128]; Default: " "</td>
         <td>integer [0...128]; Default: <b>none</b></td>
         <td>Delegates a prefix length for this interface</td>
         <td>Delegates a prefix length for this interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv6 Subprefix Hint</td>
     <td>IPv6 Subprefix Hint</td>
         <td>hex; Default: " "</td>
         <td>hex; Default: <b>none</b></td>
         <td>Delegates a prefix length for this interface</td>
         <td>Delegates a prefix length for this interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>IPv6 Prefix</td>
     <td>IPv6 Prefix</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>Set whole IPv6 address prefix for this interface</td>
         <td>Set whole IPv6 address prefix for this interface.</td>
    </tr>
    <tr>
    <td>Use custom DNS servers</td>
        <td>ip; Default: <b>none</b></td>
        <td>When the router needs to resolve a hostname (“www.google.com”, “www.cnn.com”, etc.) to an IP address, it will forward all the DNS requests to the gateway. By entering custom DNS servers the router will take care of the host name resolution. You can enter multiple DNS servers to provide redundancy in case one of the servers fails.</td>
     </tr>
     </tr>
</table>
</table>


Line 98: Line 97:
The Advanced Settings tab will change in accordance to which network protocol is selected. For the Static protocol you can turn NAT on or off, override the router’s MAC address, MTU and define the gateway's metric.  
The Advanced Settings tab will change in accordance to which network protocol is selected. For the Static protocol you can turn NAT on or off, override the router’s MAC address, MTU and define the gateway's metric.  


[[File:{{{wan_static_advanced}}}]]
[[File:Network_wan_static_advanced.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 109: Line 108:
       <td>Disable NAT</td>
       <td>Disable NAT</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Override MAC address</td>
       <td>Override MAC address</td>
       <td>mac; Default: '''router's mac'''</td>
       <td>mac; Default: '''none'''</td>
       <td>Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer</td>
       <td>Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Override MTU</td>
     <td>Override MTU</td>
         <td>integer [0..1500]; Default: '''1500'''</td>
         <td>integer [0..1500]; Default: '''none'''</td>
         <td>Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet</td>
         <td>Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Use gateway metric</td>
     <td>Use gateway metric</td>
         <td>integer; Default: '''0'''</td>
         <td>integer; Default: '''none'''</td>
         <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority</td>
         <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.</td>
     </tr>
     </tr>
</table>
</table>
Line 135: Line 134:
----
----


[[File:{{{wan_dhcp_general}}}]]
[[File:Network_wan_dhcp_general.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 146: Line 145:
       <td>Protocol</td>
       <td>Protocol</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''DHCP'''</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''DHCP'''</td>
       <td>The protocol used by the WAN interface</td>
       <td>The protocol used by the WAN interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Hostname to send when requesting DHCP</td>
       <td>Hostname to send when requesting DHCP</td>
       <td>ip {{!}} hostname; Default: '''router's hostname'''</td>
       <td>ip {{!}} hostname; Default: '''none'''</td>
       <td>Host name to which the DHCP request will be sent to</td>
       <td>Host name to which the DHCP request will be sent to.</td>
     </tr>
     </tr>
</table>
</table>
Line 159: Line 158:
For the DHCP protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, override the router’s MAC address, set MTU and more.  
For the DHCP protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, override the router’s MAC address, set MTU and more.  


[[File:{{{wan_dhcp_advanced}}}]]
[[File:Network_wan_dhcp_advanced.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 170: Line 169:
       <td>Disable NAT</td>
       <td>Disable NAT</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use broadcast flag</td>
       <td>Use broadcast flag</td>
       <td>yes {{!}} no; Default: '''no''' </td>
       <td>yes {{!}} no; Default: '''no''' </td>
       <td>Required for certain ISPs (Internet Service Providers), e.g. Charter with DOCSIS 3</td>
       <td>Required for certain ISPs (Internet Service Providers), e.g. Charter with DOCSIS 3.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Use default gateway</td>
     <td>Use default gateway</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured</td>
         <td>Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Use DNS servers advertised by peer</td>
     <td>Use DNS servers advertised by peer</td>
         <td>yes {{!}} no; Default: '''no'''</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored</td>
         <td>Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use custom DNS servers</td>
       <td>Use custom DNS servers</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>Lets you chose your own preferred DNS servers. This field only becomes visible if '''Use DNS servers advertised by peer''' field is unchecked</td>
       <td>Lets you chose your own preferred DNS servers. This field only becomes visible if '''Use DNS servers advertised by peer''' field is unchecked.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use gateway metric</td>
       <td>Use gateway metric</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority </td>
       <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Client ID to send when requesting DHCP</td>
     <td>Client ID to send when requesting DHCP</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>Client ID which will be sent when requesting a DHCP lease</td>
         <td>Client ID which will be sent when requesting a DHCP lease.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Vendor class to send when requesting DHCP</td>
     <td>Vendor class to send when requesting DHCP</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>Vendor class which will be sent when requesting a DHCP lease</td>
         <td>Vendor class which will be sent when requesting a DHCP lease.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Override MAC address</td>
     <td>Override MAC address</td>
         <td>mac; Default: '''router's mac'''</td>
         <td>mac; Default: '''none'''</td>
         <td>Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer</td>
         <td>Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Override MTU</td>
     <td>Override MTU</td>
         <td>integer [0..1500]; Default: '''1500'''</td>
         <td>integer [0..1500]; Default: '''none'''</td>
         <td>Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet</td>
         <td>Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet.</td>
     </tr>
     </tr>
</table>
</table>
Line 227: Line 226:
The General configuration tab for the PPPoE protocol is mainly used to specify your PAP/CHAP login information, but you can also configure some additional, more specific settings.
The General configuration tab for the PPPoE protocol is mainly used to specify your PAP/CHAP login information, but you can also configure some additional, more specific settings.


[[File:{{{wan_pppoe_general}}}]]
[[File:Network_wan_pppoe_general2.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 237: Line 236:
     <tr>
     <tr>
       <td>Protocol</td>
       <td>Protocol</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''DHCP'''</td>
       <td>Static {{!}} DHCP {{!}} PPPoE; Default: '''PPPoE'''</td>
       <td>The protocol used by the WAN interface</td>
       <td>The protocol used by the WAN interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>PAP/CHAP username</td>
       <td>PAP/CHAP username</td>
       <td>string; Default: " "</td>
       <td>string; Default: <b>none</b></td>
       <td>The username that you use to connect to your carrier’s network </td>
       <td>The username that you use to connect to your carrier’s network.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>PAP/CHAP password</td>
     <td>PAP/CHAP password</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>he password that you use to connect to your carrier’s network </td>
         <td>he password that you use to connect to your carrier’s network.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Access concentrator</td>
     <td>Access concentrator</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>The name of the access concentrator. Leave empty to auto detect</td>
         <td>The name of the access concentrator. Leave empty to auto detect.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Service name</td>
     <td>Service name</td>
         <td>string; Default: " "</td>
         <td>string; Default: <b>none</b></td>
         <td>The name of the service. Leave empty to auto detect</td>
         <td>The name of the service. Leave empty to auto detect.</td>
     </tr>
     </tr>
</table>
</table>
Line 266: Line 265:
For the PPPoE protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, configure LCP echo settings and more.
For the PPPoE protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, configure LCP echo settings and more.


[[File:{{{wan_pppoe_advanced}}}]]
[[File:Network_wan_pppoe_advanced.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 277: Line 276:
       <td>Disable NAT</td>
       <td>Disable NAT</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>yes {{!}} no; Default: '''no'''</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface</td>
       <td>Toggles Network Address Translation (NAT) on or off for the selected network interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use default gateway</td>
       <td>Use default gateway</td>
       <td>yes {{!}} no; Default: '''yes'''</td>
       <td>yes {{!}} no; Default: '''yes'''</td>
       <td>Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured</td>
       <td>Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Use gateway metric</td>
     <td>Use gateway metric</td>
         <td>integer; Default: '''0'''</td>
         <td>integer; Default: '''none'''</td>
         <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority</td>
         <td>The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Use DNS servers advertised by peer</td>
     <td>Use DNS servers advertised by peer</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>yes {{!}} no; Default: '''yes'''</td>
         <td>Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored</td>
         <td>Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Use custom DNS servers</td>
       <td>Use custom DNS servers</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>Lets you chose your own preferred DNS servers. This field only becomes visible if '''Use DNS servers advertised by peer''' field is unchecked</td>
       <td>Lets you chose your own preferred DNS servers. This field only becomes visible if '''Use DNS servers advertised by peer''' field is unchecked.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>LCP echo failure threshold</td>
       <td>LCP echo failure threshold</td>
       <td>integer; Default: '''0'''</td>
       <td>integer; Default: '''none'''</td>
       <td>Presumes peer to be dead after given amount of LCP echo failures. Leave it at 0 to ignore failures</td>
       <td>Presumes peer to be dead after given amount of LCP echo failures. Leave it at 0 to ignore failures.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>LCP echo interval</td>
     <td>LCP echo interval</td>
         <td>integer; Default: '''5'''</td>
         <td>integer; Default: '''none'''</td>
         <td>Sends LCP echo requests at the given interval in seconds. This function is only effective in conjunction with failure threshold</td>
         <td>Sends LCP echo requests at the given interval in seconds. This function is only effective in conjunction with failure threshold.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Inactivity timeout</td>
     <td>Inactivity timeout</td>
         <td>integer; Default: '''0'''</td>
         <td>integer; Default: '''none'''</td>
         <td>Close inactive connection after the given amount of seconds. Leave it at 0 to persist connection</td>
         <td>Close inactive connection after the given amount of seconds. Leave it at 0 to persist connection.</td>
     </tr>
     </tr>
</table>
</table>
Line 322: Line 321:
===General setup===
===General setup===
----
----
[[File:{{{wan_lan_ip_aliases}}}]]
[[File:Network_lan_ipaliases.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 332: Line 331:
     <tr>
     <tr>
       <td>IP address</td>
       <td>IP address</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>An alternate IP address used to reach the router by a device(s) that resides in the router's LAN but has a different subnet</td>
       <td>An alternate IP address used to reach the router by a device(s) that resides in the router's LAN but has a different subnet.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Netmask</td>
       <td>Netmask</td>
       <td>ip; Default: '''255.255.255.0'''</td>
       <td>ip; Default: '''255.255.255.0'''</td>
       <td>Netmask defines how "large" a network is</td>
       <td>Netmask, defining how large a network is.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Gateway</td>
     <td>Gateway</td>
         <td>ip; Default: " "</td>
         <td>ip; Default: <b>none</b></td>
         <td>A gateway is a network node that connects two networks using different protocols together</td>
         <td>A gateway is a network node that connects two networks using different protocols together.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 354: Line 353:
You may also define a broadcast address and a custom DNS server for your IP Aliases in the Advanced Settings tab.
You may also define a broadcast address and a custom DNS server for your IP Aliases in the Advanced Settings tab.


[[File:{{{wan_lan_ip_aliases_advanced}}}]]
[[File:Network_lan_ipaliases_advanced.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 364: Line 363:
     <tr>
     <tr>
       <td>IP Broadcast</td>
       <td>IP Broadcast</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers</td>
       <td>IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>DNS</td>
       <td>DNS Server</td>
       <td>ip; Default: " "</td>
       <td>ip; Default: <b>none</b></td>
       <td>A separate DNS server to be used by the IP Alias address</td>
       <td>A separate DNS server to be used by the IP Alias address.</td>
     </tr>
     </tr>
</table>
</table>
Line 378: Line 377:
Backup WAN is a function that allows you to back up your primary connection in case it goes down. There can be up to two backup connections selected at one time. In that case, when the primary connection fails, the router tries to use the backup with the higher priority and if this one is unavailable or fails too, then the router tries the backup with the lower priority.
Backup WAN is a function that allows you to back up your primary connection in case it goes down. There can be up to two backup connections selected at one time. In that case, when the primary connection fails, the router tries to use the backup with the higher priority and if this one is unavailable or fails too, then the router tries the backup with the lower priority.


[[File:{{{wan_failover_configuration}}}]]
[[File:Network_wan_backup_configuration.PNG]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 389: Line 388:
       <td>Health monitor interval</td>
       <td>Health monitor interval</td>
       <td>Disable {{!}} 5 sec. {{!}} 10 sec. {{!}} 20 sec. {{!}} 30 sec. {{!}} 60 sec. {{!}} 120 sec.; Default: '''10 sec.'''</td>
       <td>Disable {{!}} 5 sec. {{!}} 10 sec. {{!}} 20 sec. {{!}} 30 sec. {{!}} 60 sec. {{!}} 120 sec.; Default: '''10 sec.'''</td>
       <td>The interval at which health checks are performed</td>
       <td>The interval at which health checks are performed.</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Health monitor ICMP host(s)</td>
       <td>Health monitor ICMP host(s)</td>
       <td>ip {{!}} hostname {{!}} 8.8.4.4 {{!}} Disable {{!}} DNS server(s) {{!}} WAN gateway {{!}} --custom--; Default: '''8.8.4.4'''</td>
       <td>ip {{!}} hostname {{!}} 8.8.4.4 {{!}} Disable {{!}} DNS server(s) {{!}} WAN gateway {{!}} --custom--; Default: '''8.8.4.4'''</td>
       <td>Indicate where to send ping requests for a health check. As there is no definitive way to determine when the connection to internet is down for good, it is best to define a host whose availability is that of the internet as a whole (e.g., 8.8.8.8, 8.8.4.4)</td>
       <td>Indicate where to send ping requests for a health check. As there is no definitive way to determine when the connection to internet is down for good, it is best to define a host whose availability is that of the internet as a whole (e.g., 8.8.8.8, 8.8.4.4).</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Health monitor ICMP timeout</td>
     <td>Health monitor ICMP timeout</td>
         <td>1 sec. {{!}} 2 sec. {{!}} 3 sec. {{!}} 4 sec. {{!}} 5 sec. {{!}} 10 sec.; Default: '''3 sec.'''</td>
         <td>1 sec. {{!}} 2 sec. {{!}} 3 sec. {{!}} 4 sec. {{!}} 5 sec. {{!}} 10 sec.; Default: '''3 sec.'''</td>
         <td>The frequency at which ICMP requests are to be sent. It is advised to set a higher value if your connection has high latency or high jitter (latency spikes)</td>
         <td>The frequency at which ICMP requests are to be sent. It is advised to set a higher value if your connection has high latency or high jitter (latency spikes).</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Attempts before failover</td>
     <td>Attempts before failover</td>
         <td>1 {{!}} 3 {{!}} 5 {{!}} 1 {{!}} 15 {{!}} 20; Default: '''3'''</td>
         <td>1 {{!}} 3 {{!}} 5 {{!}} 1 {{!}} 15 {{!}} 20; Default: '''3'''</td>
         <td>The number of failed ping attempts after which the connection is to be declared as '''down'''</td>
         <td>The number of failed ping attempts after which the connection is to be declared as '''down'''.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Attempts before recovery</td>
     <td>Attempts before recovery</td>
         <td>1 {{!}} 3 {{!}} 5 {{!}} 1 {{!}} 15 {{!}} 20; Default: '''3'''</td>
         <td>1 {{!}} 3 {{!}} 5 {{!}} 1 {{!}} 15 {{!}} 20; Default: '''3'''</td>
         <td>The number of successful ping attempts after which the connection is to be declared as '''up'''</td>
         <td>The number of successful ping attempts after which the connection is to be declared as '''up'''.</td>
    </tr>
    <tr>
        <td>Execute command</td>
        <td>command; Default:'''none'''</td>
        <td>Executes command after switching to this interface.</td>
     </tr>
     </tr>
</table>
</table>

Latest revision as of 12:43, 19 August 2021

The information in this page is updated in accordance with the RUT2XX_R_00.01.14.3 firmware version.

Summary

A wide area network (WAN) is a telecommunications network or computer network that extends over a large geographical distance. For example, the Internet is a wide are network. This chapter is an overview of {{{name}}} routers' WAN section.

Operation Modes

The Operation Modes window lets you determine how the router will be connecting to the internet. You can chose between three types of WAN – Mobile, Wired and Wi-Fi. You can also setup backup WAN options in case your main connection goes down.

You can choose one main WAN and one or two (or none) backup WAN options. To choose your main WAN just check the desired option (wired, mobile or Wi-Fi) in the Main WAN column (first from the left), to choose a backup WAN(s), check the desired option(s) in the Backup WAN column (second from the left). Above is an example of a configuration that uses wired as Main WAN and mobile as Backup WAN. The Operation Modes tab also displays each interfaces name, WAN IP address and Protocol in use. To configure a WAN interface more in depth, click the Edit button located to the right of the desired interface. Each interface configures separately, to avoid redundancy this chapter will only overview the configuration of the wired WAN interface, since mobile contains less information and Wi-Fi is basically the same.

Common Configuration

The Common Configuration section is used to configure different protocols for WAN interfaces.

Static


The Static protocol is used when the source of your internet doesn’t have a DHCP server enabled. Therefore, in order to connect to the internet, you have to make configurations in accordance to that source.

General


field name value description
Protocol Static | DHCP | PPPoE; Default: DHCP The protocol used by the WAN interface.
IPv4 address ip; Default: none Your router’s address on the WAN network.
IPv4 netmask ip; Default: 255.255.255.0 Netmask defines how "large" a network is.
IPv4 gateway ip; Default: none The address where the router will send all the outgoing traffic.
IPv4 broadcast ip; Default: none IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.
IPv6 Address ip; Default: none Assigns an IPv6 address for this interface. CIDR notation: address/prefix.
IPv6 Gateway ip; Default: none Assigns a default IPv6 gateway for this interface. CIDR notation: address/prefix.
IPv6 Prefix Length integer [0...128]; Default: none Delegates a prefix length for this interface.
IPv6 Subprefix Hint hex; Default: none Delegates a prefix length for this interface.
IPv6 Prefix ip; Default: none Set whole IPv6 address prefix for this interface.
Use custom DNS servers ip; Default: none When the router needs to resolve a hostname (“www.google.com”, “www.cnn.com”, etc.) to an IP address, it will forward all the DNS requests to the gateway. By entering custom DNS servers the router will take care of the host name resolution. You can enter multiple DNS servers to provide redundancy in case one of the servers fails.

Advanced


The Advanced Settings tab will change in accordance to which network protocol is selected. For the Static protocol you can turn NAT on or off, override the router’s MAC address, MTU and define the gateway's metric.

field name value description
Disable NAT yes | no; Default: no Toggles Network Address Translation (NAT) on or off for the selected network interface.
Override MAC address mac; Default: none Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer.
Override MTU integer [0..1500]; Default: none Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet.
Use gateway metric integer; Default: none The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.

DHCP


The DHCP protocol should be used when the source of your internet has a DHCP server enabled. If that is the case, when you select the DHCP protocol you can use it as is, because most networks will not require any additional advanced configuration.

General


field name value description
Protocol Static | DHCP | PPPoE; Default: DHCP The protocol used by the WAN interface.
Hostname to send when requesting DHCP ip | hostname; Default: none Host name to which the DHCP request will be sent to.

Advanced


For the DHCP protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, override the router’s MAC address, set MTU and more.

field name value description
Disable NAT yes | no; Default: no Toggles Network Address Translation (NAT) on or off for the selected network interface.
Use broadcast flag yes | no; Default: no Required for certain ISPs (Internet Service Providers), e.g. Charter with DOCSIS 3.
Use default gateway yes | no; Default: yes Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured.
Use DNS servers advertised by peer yes | no; Default: yes Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored.
Use custom DNS servers ip; Default: none Lets you chose your own preferred DNS servers. This field only becomes visible if Use DNS servers advertised by peer field is unchecked.
Use gateway metric ip; Default: none The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.
Client ID to send when requesting DHCP string; Default: none Client ID which will be sent when requesting a DHCP lease.
Vendor class to send when requesting DHCP string; Default: none Vendor class which will be sent when requesting a DHCP lease.
Override MAC address mac; Default: none Override MAC address of the WAN interface. For example, your ISP (Internet Service Provider) gives you a static IP address and it might also bind it to your computers MAC address (i.e., that IP will only work with your computer but not with your router). In this field you can enter your computer’s MAC address and fool the gateway in to thinking that it is communicating with your computer.
Override MTU integer [0..1500]; Default: none Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet.

PPPoE


The PPPoE protocol is mainly used if you have a DSL internet provider.

General


The General configuration tab for the PPPoE protocol is mainly used to specify your PAP/CHAP login information, but you can also configure some additional, more specific settings.

field name value description
Protocol Static | DHCP | PPPoE; Default: PPPoE The protocol used by the WAN interface.
PAP/CHAP username string; Default: none The username that you use to connect to your carrier’s network.
PAP/CHAP password string; Default: none he password that you use to connect to your carrier’s network.
Access concentrator string; Default: none The name of the access concentrator. Leave empty to auto detect.
Service name string; Default: none The name of the service. Leave empty to auto detect.

Advanced


For the PPPoE protocol you can turn NAT on or off, specify custom DNS servers, define the gateway metric, configure LCP echo settings and more.

field name value description
Disable NAT yes | no; Default: no Toggles Network Address Translation (NAT) on or off for the selected network interface.
Use default gateway yes | no; Default: yes Uses the default gateway obtained through DHCP. If left unchecked, no default route is configured.
Use gateway metric integer; Default: none The WAN configuration by default generates a routing table entry. In this field you can alter the metric of that entry. Higher metric means higher priority.
Use DNS servers advertised by peer yes | no; Default: yes Uses DNS servers obtained from DHCP. If left unchecked, the advertised DNS server addresses are ignored.
Use custom DNS servers ip; Default: none Lets you chose your own preferred DNS servers. This field only becomes visible if Use DNS servers advertised by peer field is unchecked.
LCP echo failure threshold integer; Default: none Presumes peer to be dead after given amount of LCP echo failures. Leave it at 0 to ignore failures.
LCP echo interval integer; Default: none Sends LCP echo requests at the given interval in seconds. This function is only effective in conjunction with failure threshold.
Inactivity timeout integer; Default: none Close inactive connection after the given amount of seconds. Leave it at 0 to persist connection.

IP Aliases

IP Aliases are a way of defining or reaching a subnet that works in the same space as the regular network. This is useful if you need to reach the router that is located in the same network but in a different subnet. If you have a static IP configuration on your computer and don’t want to change it every time you need to reach a router in a different subnet, you can configure an IP alias in order to do so.

General setup


field name value description
IP address ip; Default: none An alternate IP address used to reach the router by a device(s) that resides in the router's LAN but has a different subnet.
Netmask ip; Default: 255.255.255.0 Netmask, defining how large a network is.
Gateway ip; Default: none A gateway is a network node that connects two networks using different protocols together.

As you can see, the configuration is very similar to the static protocol; in the example above an IP address with a 99th subnet is defined. In this case, if some device has an IP in the 99th subnet (e.g., 192.168.99.xxx) and the subnet’s gateway metric is “higher” and the device is trying to reach the internet it will reroute it’s traffic not to the gateway that is defined in common configurations but through the one that is specified in IP aliases.

Advanced Settings


You may also define a broadcast address and a custom DNS server for your IP Aliases in the Advanced Settings tab.

field name value description
IP Broadcast ip; Default: none IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.
DNS Server ip; Default: none A separate DNS server to be used by the IP Alias address.

Failover Configuration

Backup WAN is a function that allows you to back up your primary connection in case it goes down. There can be up to two backup connections selected at one time. In that case, when the primary connection fails, the router tries to use the backup with the higher priority and if this one is unavailable or fails too, then the router tries the backup with the lower priority.

field name value description
Health monitor interval Disable | 5 sec. | 10 sec. | 20 sec. | 30 sec. | 60 sec. | 120 sec.; Default: 10 sec. The interval at which health checks are performed.
Health monitor ICMP host(s) ip | hostname | 8.8.4.4 | Disable | DNS server(s) | WAN gateway | --custom--; Default: 8.8.4.4 Indicate where to send ping requests for a health check. As there is no definitive way to determine when the connection to internet is down for good, it is best to define a host whose availability is that of the internet as a whole (e.g., 8.8.8.8, 8.8.4.4).
Health monitor ICMP timeout 1 sec. | 2 sec. | 3 sec. | 4 sec. | 5 sec. | 10 sec.; Default: 3 sec. The frequency at which ICMP requests are to be sent. It is advised to set a higher value if your connection has high latency or high jitter (latency spikes).
Attempts before failover 1 | 3 | 5 | 1 | 15 | 20; Default: 3 The number of failed ping attempts after which the connection is to be declared as down.
Attempts before recovery 1 | 3 | 5 | 1 | 15 | 20; Default: 3 The number of successful ping attempts after which the connection is to be declared as up.
Execute command command; Default:none Executes command after switching to this interface.

Additional notes:

  • Failover configuration field's default values may differ based on WAN type.
  • The majority of the options consist of timing and other important parameters that help determine the health of your primary connection. Regular health checks are constantly performed in the form of ICMP packets (Pings) on your primary connection. When the connections state starts to change (READY->NOT READY and vice versa) a necessary amount of failed or passed health checks has to be reached before the state changes completely. This delay is instituted so as to mitigate “spikes” in connection availability, but it also extends the time before the backup link can be brought up or down.

[[Category:{{{name}}} Network section]]