Jump to content

Template:Networking rutos manual interfaces: Difference between revisions

m
Text replacement - "\{\{Template: Networking_rutos_manual_fw_disclosure (.*) (.*) (.*) (.*) \}\}" to "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{series}}} | name = {{{name}}} }} }}"
No edit summary
m (Text replacement - "\{\{Template: Networking_rutos_manual_fw_disclosure (.*) (.*) (.*) (.*) \}\}" to "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{series}}} | name = {{{name}}} }} }}")
 
(70 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Template:Networking_rutos_manual_fw_disclosure
{{Template: Networking_device_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.03
| series = {{{series}}}
| series     = {{{series}}}
| name  = {{{name}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
| series = {{{series}}}
| name  = {{{name}}}
}}
}}
}}


Line 8: Line 12:
The <b>Interfaces</b> page is used to to set up network interfaces.  
The <b>Interfaces</b> page is used to to set up network interfaces.  


This manual page provides an overview of the Interfaces windows in {{{name}}} devices.
This manual page provides an overview of the Interfaces page in {{{name}}} devices.


{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer}}
{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer
| series = {{{series}}}
}}


==Network Interfaces==
==Network Interfaces==
Line 16: Line 22:
The <b>Network Interfaces</b> section displays interfaces currently existing on this device.
The <b>Network Interfaces</b> section displays interfaces currently existing on this device.


{{#ifeq: {{{series}}} | RUTX
{{#ifeq: {{{series}}} | TCR1 | [[File:Networking_rutos_manual_tcr1_interfaces_network_interfaces_v1.png|border|class=tlt-border]] |
| [[File:Networking_rutos_manual_interfaces_network_interfaces_modem_{{{modem}}}_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_{{{lan}}}_mobile_{{{mobile}}}_dualsim_{{{dualsim}}}_dualmodem_{{{dualmodem}}}_wired_{{{wired}}}_v1{{#ifeq:{{{series}}}|TRB5|_trb5|}}.png|border|class=tlt-border]]|}}
| [[File:Networking_{{lc:{{{series}}}}}_manual_interfaces_network_interfaces_v1.png|border|class=tlt-border]]
}}


==Add Interface==
==Add Interface==
Line 25: Line 29:
The <b>Add Interface</b> section is used to create additional network interfaces. To create a new interface, simply enter a custom name for it and click the 'Add' button.
The <b>Add Interface</b> section is used to create additional network interfaces. To create a new interface, simply enter a custom name for it and click the 'Add' button.


[[File:Networking_rutos_manual_interfaces_add_interface_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_add_interface.png|border|class=tlt-border]]


==Interface configuration==
==Interface configuration==


This section provides information on <b>network interface configuration</b>. There are {{{no_of_if}}} major types of interfaces on the device:
This section provides information on <b>network interface configuration</b>. There are {{{no_of_if}}} main types of interfaces on the device:


<ul>
<ul>
     <li><b>Ethernet LAN</b></li>
     <li><b>Ethernet LAN</b></li>
{{#ifeq: {{{eth}}} | 1
{{#ifeq: {{{wired}}} | 1 | <li><b>Ethernet WAN</b></li>|}}
  |<li><b>Ethernet WAN</b></li>
{{#ifeq: {{{mobile}}} | 1 | <li><b>Mobile WAN</b></li>|}}
  |}}
{{#ifeq: {{{modem}}} | 1
  |<li><b>Mobile WAN</b></li>
  |}}
</ul>
</ul>


Each type utilizes generally utilizes these interface protocols:
Different types of interfaces can be configured under different protocols:


<table class="nd-othertables_3" style="width: 900px;">
<table class="nd-othertables_3" style="width: 900px;">
Line 50: Line 50:
       <th width="14%" style="text-align: center;">DHCPv6</th>
       <th width="14%" style="text-align: center;">DHCPv6</th>
       <th width="14%" style="text-align: center;">PPPoE</th>
       <th width="14%" style="text-align: center;">PPPoE</th>
      <th width="14%" style="text-align: center;">Mobile</th>
{{#ifeq:{{{mobile}}}|1|<th width="14%" style="text-align: center;">Mobile</th>|}}
     </tr>
     </tr>
     <tr>
     <tr>
Line 58: Line 58:
       <td></td>
       <td></td>
       <td></td>
       <td></td>
      <td></td>
{{#ifeq:{{{mobile}}}|1|<td></td>|}}
     </tr>
     </tr>
{{#ifeq: {{{eth}}} | 1  
{{#ifeq: {{{wired}}} | 1  
  |  <tr>
  |  <tr>
         <td style="text-align: left; font-weight: bold;">Ethernet WAN</td>
         <td style="text-align: left; font-weight: bold;">Ethernet WAN</td>
Line 67: Line 67:
       <td>[[File:Blue_check_mark.png|center|15px]]</td>
       <td>[[File:Blue_check_mark.png|center|15px]]</td>
       <td>[[File:Blue_check_mark.png|center|15px]]</td>
       <td>[[File:Blue_check_mark.png|center|15px]]</td>
      <td></td>
{{#ifeq:{{{mobile}}}|1|<td></td>|}}
     </tr>
     </tr>
  |  
  |  
}}
}}
{{#ifeq: {{{modem}}} | 1  
{{#ifeq: {{{mobile}}} | 1  
  |  <tr>
  |  <tr>
         <td style="text-align: left; font-weight: bold;">Mobile WAN</td>
         <td style="text-align: left; font-weight: bold;">Mobile WAN</td>
Line 86: Line 86:
To begin configuring an interface, click the 'Edit' button on the right side of the interface:
To begin configuring an interface, click the 'Edit' button on the right side of the interface:


[[File:Networking_rutos_manual_interfaces_network_interfaces_begin_to_edit_v1.png]]
[[File:Networking_rutos_manual_interfaces_network_interfaces_edit_button_lan_{{{lan}}}{{#ifeq:{{{series}}}|TRB5|_trb5|}}.png]]


===Interfaces: if_name===
===General Setup===
----
----
This section covers all parameters directly related to a network <b>interface</b>.
The <b>General Setup</b> section is used to configure the protocol of an interface and all the different parameters that go along with each protocol. If <b>None</b> protocol is chosen, all other interface settings will be ignored. The following sections are different for each protocol.


====General Setup====
====General Setup: Static====
----
The <b>General Setup</b> section is used to configure the protocol and all the different parameters that go along with each protocol. This section is different for each protocol.
 
=====General Setup: Static=====
----
----
The <b>static</b> protocol uses a predefined manual configuration instead of obtaining parameters automatically via a DHCP lease.  
The <b>static</b> protocol uses a predefined manual configuration instead of obtaining parameters automatically via a DHCP lease.  


{{#ifeq: {{{series}}} | TRB14X
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_setup_static_ip_lan_{{{lan}}}.png|border|class=tlt-border]]
| [[File:Networking_trb14x_manual_interfaces_network_interfaces_lan_general_setup_static_ip_v1.png|border|class=tlt-border]]
| [[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_static_ip_v1.png|border|class=tlt-border]]
}}


<table class="nd-mantable">
<table class="nd-mantable">
Line 113: Line 106:
     <tr>
     <tr>
       <td>IPv4 address</td>
       <td>IPv4 address</td>
       <td>ip4; default[for LAN]: <b>192.168.1.1</b></td>
       <td>ip4; default[for LAN]: <b>{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.1|#default=192.168.1.1}}</b></td>
       <td>The IPv4 address interface of this interface. An IP address identifies a device on a network and allows it to communicate with other devices.</td>
       <td>The IPv4 address interface of this interface. An IP address identifies a device on a network and allows it to communicate with other devices.</td>
     </tr>
     </tr>
Line 138: Line 131:
</table>
</table>


=====General Setup: DHCP=====
====General Setup: DHCP====
----
----
The <b>DHCP</b> protocol is used to set up an interface which obtains its configuration parameters automatically via a DHCP lease.
The <b>DHCP</b> protocol is used to set up an interface which obtains its configuration parameters automatically via a DHCP lease.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_dhcp_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_setup_dhcp.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 157: Line 150:
</table>
</table>


=====General Setup: DHCPv6=====
====General Setup: DHCPv6====
----
----
The <b>DHCPv6</b> protocol is used to set up an IPv6 interface which obtains its configuration parameters automatically via a DHCP lease.
The <b>DHCPv6</b> protocol is used to set up an IPv6 interface which obtains its configuration parameters automatically via a DHCP lease.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_dhcpv6_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_setup_dhcpv6.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 181: Line 174:
</table>
</table>


=====General Setup: PPPoE=====
====General Setup: PPPoE====
----
----
The <b>PPPoE</b> protocol is used to set up a PPP (Point-to-Point Protocol) connection over the Ethernet port{{#ifeq:{{{series}}}|TRB14X| (in this case: an Ethernet connection simulated over the USB port)|}}.
The <b>PPPoE</b> protocol is used to set up a PPP (Point-to-Point Protocol) connection over the Ethernet port{{#ifeq:{{{series}}}|TRB1| (in this case: an Ethernet connection simulated over the USB port)|}}.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_pppoe_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_setup_pppoe.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 214: Line 207:
     </tr>
     </tr>
</table>
</table>
{{#ifeq: {{{modem}}} | 1 |
{{#ifeq: {{{mobile}}} | 1 |
=====General Setup: Mobile=====
====General Setup: Mobile====
----
----
The <b>Mobile</b> protocol is used to set up an interface which can establish a mobile WAN connection.
The <b>Mobile</b> protocol is used to set up an interface which can establish a mobile WAN connection.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_mobile_v1.png|border|class=tlt-border]]
=====Mode: NAT=====
----
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_setup_mobile_dualsim_{{{dualsim}}}_dualmodem_{{{dualmodem}}}.png|border|class=tlt-border]]
 
<table class="nd-mantable">
    <tr>
        <th>Field</th>
      <th>Value</th>
      <th>Description</th>
    </tr>
    <tr>
      <td>Mode</td>
      <td>NAT <nowiki>|</nowiki> Bridge <nowiki>|</nowiki> Passthrough; default: <b>NAT</b></td>
      <td>Mobile connection operating mode.
            <ul>
                <li><b>NAT</b> - the mobile connection uses NAT (network address translation).</li>
                <li><b>Bridge</b> - bridges the LTE data connection with LAN. The device assigns its WAN IP address to another device (first connected to LAN or specified with MAC address). Using Bridge mode will disable most of the device’s capabilities.</li>
                <li><b>Passthrough</b> - in this mode the {{{name}}} shares its WAN IP to a single LAN device (first connected to LAN or specified with MAC address). The LAN device will get WAN IP of {{{name}}} instead of LAN IP. Using Passthrough mode will disable most of the device’s capabilities.</li>
            </ul>
        </td>
    <tr>
    <td>PDP Type</td>
        <td>IPv4 <nowiki>|</nowiki> IPv6 <nowiki>|</nowiki> IPv4/IPv6; default: <b>IPv4</b></td>
        <td>Specifies what of address will be requested from the operator.</td>
    </tr>
    </tr>{{#ifeq: {{{dualsim}}} | 1 | {{#ifeq: {{{dualmodem}}} | 1 ||
    <tr>
    <td>SIM</td>
        <td>SIM1 <nowiki>|</nowiki> SIM2; default: <b>SIM1</b></td>
        <td>Selects which SIM slot will be used for this interface.</td>
    </tr>}}|}}{{#ifeq: {{{dualmodem}}} | 1 |
    <tr>
    <td>Modem</td>
        <td>Primary modem <nowiki>|</nowiki> Secondary modem; default: <b>Primary modem</b></td>
        <td>Selects which modem will be used for this interface.</td>
    </tr>|}}
    <tr>
    <td>Auto APN</td>
        <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
        <td>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.
        </td>
    </tr>
    <tr>
    <td>APN / Custom APN</td>
        <td>string; default: <b>none</b></td>
        <td>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 [[Private_and_Public_IP_Addresses#Public_IP_address|public IP address]]) depending on the contract.<br>An APN Network Identifier cannot start with any of the following strings:
            <ul>
                <li>rac;</li>
                <li>lac;</li>
                <li>sgsn;</li>
                <li>rnc;</li>
            </ul>it cannot end in:
            <ul>
                <li>.gprs;</li>
            </ul>and it cannot contain the asterisk symbol (<b>*</b>).
        </td>
    </tr>
    <tr>
    <td>Authentication Type</td>
        <td>NONE <nowiki>|</nowiki> PAP <nowiki>|</nowiki> CHAP; default: <b>NONE</b></td>
        <td>Authentication method that your GSM carrier uses to authenticate new connections on its network. If you select PAP or CHAP, you will also be required to enter a username and password.</td>
    </tr>
</table>
 
=====Mode: Passthrough=====
----
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_mobile_passthrough_dualsim_{{{dualsim}}}_dualmodem_{{{dualmodem}}}_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 229: Line 288:
     <tr>
     <tr>
       <td>Mode</td>
       <td>Mode</td>
       <td>NAT <nowiki>|</nowiki> Bridge<span class="asterisk">*</span>; default: <b>NAT</b></td>
       <td>NAT <nowiki>|</nowiki> Bridge <nowiki>|</nowiki> Passthrough; default: <b>NAT</b></td>
       <td>Mobile connection operating mode.
       <td>Mobile connection operating mode.
             <ul>
             <ul>
                 <li><b>NAT</b> - the mobile connection uses NAT (network address translation).</li>
                 <li><b>NAT</b> - the mobile connection uses NAT (network address translation).</li>
                 <li><span style="color: red;"><b>Bridge</b></span> - bridges the LTE data connection with LAN. In this mode the device relay the IP address received from the ISP to another LAN device (e.g., computer). Using Bridge mode will disable most of the device’s capabilities and you will only be able to access your device's WebUI with a [[Setting_up_a_Static_IP_address_on_a_Windows_10_PC|static IP configuration]].</li>
                 <li><b>Bridge</b> - bridges the LTE data connection with LAN. The device assigns its WAN IP address to another device (first connected to LAN or specified with MAC address). Using Bridge mode will disable most of the device’s capabilities.</li>
                <li><b>Passthrough</b> - in this mode the {{{name}}} shares its WAN IP to a single LAN device (first connected to LAN or specified with MAC address). The LAN device will get WAN IP of {{{name}}} instead of LAN IP. Using Passthrough mode will disable most of the device’s capabilities.</li>
             </ul>
             </ul>
         </td>
         </td>
    <tr>
    <td>Subnet selection</td>
        <td>Auto {{!}} P2P; default: <b>Auto</b></td>
        <td>Subnet selection method.</td>
     </tr>
     </tr>
{{#ifeq: {{{series}}} | TRB14X
    <tr>
|
<tr>
     <td>PDP Type</td>
     <td>PDP Type</td>
         <td>IPv4 <nowiki>|</nowiki> IPv6 <nowiki>|</nowiki> IPv4/IPv6; default: <b>IPv4</b></td>
         <td>IPv4 <nowiki>|</nowiki> IPv6 <nowiki>|</nowiki> IPv4/IPv6; default: <b>IPv4</b></td>
         <td>Specifies what of address will be requested from the operator.</td>
         <td>Specifies what of address will be requested from the operator.</td>
     </tr>  
     </tr>  
    </tr>{{#ifeq: {{{dualsim}}} | 1 | {{#ifeq: {{{dualmodem}}} | 1 ||
     <tr>
     <tr>
     <td>SIM</td>
     <td>SIM</td>
        <td>SIM1 <nowiki>|</nowiki> SIM2; default: <b>SIM1</b></td>
        <td>Selects which SIM slot will be used for this interface.</td>
    </tr>}}|}}{{#ifeq: {{{dualmodem}}} | 1 |
    <tr>
    <td>Modem</td>
        <td>Primary modem <nowiki>|</nowiki> Secondary modem; default: <b>Primary modem</b></td>
        <td>Selects which modem will be used for this interface.</td>
    </tr>|}}
    <tr>
    <td>Auto APN</td>
         <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
         <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
         <td>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.</td>
         <td>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.
     </tr>}}
        </td>
    </tr>
    <tr>
    <td>APN / Custom APN</td>
        <td>string; default: <b>none</b></td>
        <td>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 [[Private_and_Public_IP_Addresses#Public_IP_address|public IP address]]) depending on the contract.<br>An APN Network Identifier cannot start with any of the following strings:
            <ul>
                <li>rac;</li>
                <li>lac;</li>
                <li>sgsn;</li>
                <li>rnc;</li>
            </ul>it cannot end in:
            <ul>
                <li>.gprs;</li>
            </ul>and it cannot contain the asterisk symbol (<b>*</b>).
        </td>
    </tr>
    <tr>
    <td>Authentication Type</td>
        <td>NONE <nowiki>|</nowiki> PAP <nowiki>|</nowiki> CHAP; default: <b>NONE</b></td>
        <td>Authentication method that your GSM carrier uses to authenticate new connections on its network. If you select PAP or CHAP, you will also be required to enter a username and password.</td>
    </tr>
    <tr>
        <td>Disable DHCP</td>
        <td>on <nowiki>|</nowiki> off; default: <b>on</b></td>
        <td>Disables dynamic allocation of client addresses when toggled off</td>
    </tr>
    <tr>
        <td>Lease Time</td>
        <td>integer; default: <b>1</b></td>
        <td>Expiry time of leased address. The minimum value for hours is 1, the minimum value for minutes is 2 and the minimum value for seconds is 120</td>
    </tr>
    <tr>
        <td>Units</td>
        <td>Hours <nowiki>|</nowiki> Minutes <nowiki>|</nowiki> Second; default: <b>Hours</b></td>
        <td>Specifies the time measurement unit</td>
    </tr>
    <tr>
    <td>MAC Address</td>
        <td>mac; default: <b>none</b></td>
        <td>Specifies the MAC address of the device that will receive the mobile interface's IP address in Bridge or Passthrough mode.<br><b>Note:</b> this field only becomes visible when using Bridge or Passthrough mode.</td>
    </tr>
</table>
 
=====Mode: Bridge=====
----
[[File:Networking_rutos_manual_interfaces_interface_configuration_general_mobile_bridge_dualsim_{{{dualsim}}}_dualmodem_{{{dualmodem}}}_v2.png|border|class=tlt-border]]
 
<table class="nd-mantable">
    <tr>
        <th>Field</th>
      <th>Value</th>
      <th>Description</th>
    </tr>
    <tr>
      <td>Mode</td>
      <td>NAT {{!}} Bridge {{!}} Passthrough; default: <b>NAT</b></td>
      <td>Mobile connection operating mode.
            <ul>
                <li><b>NAT</b> - the mobile connection uses NAT (network address translation).</li>
                <li><b>Bridge</b> - bridges the LTE data connection with LAN. The device assigns its WAN IP address to another device (first connected to LAN or specified with MAC address). Using Bridge mode will disable most of the device’s capabilities.</li>
                <li><b>Passthrough</b> - in this mode the {{{name}}} shares its WAN IP to a single LAN device (first connected to LAN or specified with MAC address). The LAN device will get WAN IP of {{{name}}} instead of LAN IP. Using Passthrough mode will disable most of the device’s capabilities.</li>
            </ul>
        </td>
    <tr>
    <td>Subnet selection</td>
        <td>Auto {{!}} P2P; default: <b>Auto</b></td>
        <td>Subnet selection method.</td>
    </tr>
    <tr>
    <td>PDP Type</td>
        <td>IPv4 <nowiki>|</nowiki> IPv6 <nowiki>|</nowiki> IPv4/IPv6; default: <b>IPv4</b></td>
        <td>Specifies what of address will be requested from the operator.</td>
    </tr>{{#ifeq: {{{dualsim}}} | 1 | {{#ifeq: {{{dualmodem}}} | 1 ||
    <tr>
    <td>SIM</td>
        <td>SIM1 <nowiki>|</nowiki> SIM2; default: <b>SIM1</b></td>
        <td>Selects which SIM slot will be used for this interface.</td>
    </tr>}}|}}{{#ifeq: {{{dualmodem}}} | 1 |
    <tr>
    <td>Modem</td>
        <td>Primary modem <nowiki>|</nowiki> Secondary modem; default: <b>Primary modem</b></td>
        <td>Selects which modem will be used for this interface.</td>
     </tr>|}}
     <tr>
     <tr>
     <td>Auto APN</td>
     <td>Auto APN</td>
Line 276: Line 432:
     </tr>
     </tr>
     <tr>
     <tr>
     <td><span style="color: red;">MAC Address</span></td>
     <td>MAC Address</td>
         <td>mac; default: <b>none</b></td>
         <td>mac; default: <b>none</b></td>
         <td>Specifies the MAC address of the device that will receive the mobile interface's IP address in Bridge mode.<br><b>Note:</b> this field only becomes visible when using Bridge mode.</td>
         <td>Specifies the MAC address of the device that will receive the mobile interface's IP address in Bridge or Passthrough mode.<br><b>Note:</b> this field only becomes visible when using Bridge or Passthrough mode.</td>
     </tr>
     </tr>
</table>
</table>
<font size="-1">
<span class="asterisk">*</span> In <b>Bridge</b> mode the device assigns its WAN IP address to another device (identified by its MAC address}. It is used instead of Network Address Translation (NAT) in order to make this device "transparent" in the communication process.


<b>Important</b>: using Bridge mode will disable most of the device’s other capabilities.
{{#switch: {{{series}}}
</font>
| TRB1|TRB5|RUT36X =
| TRB2 =
{{#ifeq: {{{name}}} | TRB245 |
 
=====Multi-APN=====
----
{{{name}}} supports Multiple PDN feature in order to establish connections to multiple mobile networks using a single SIM card. You can find a configuration example [[Multi-APN|here]].}}
| #default =
 
=====Multi-APN=====
----
{{{name}}} supports Multiple PDN feature in order to establish connections to multiple mobile networks using a single SIM card. You can find a configuration example [[Multi-APN|here]].
}}
|}}
|}}


====Advanced Settings====
===Advanced Settings===
----
----
The <b>Advanced Settings</b> section is used to set up some of the more specific and less frequently used interface parameters. This section is different for each protocol.
The <b>Advanced Settings</b> section is used to set up some of the more specific and less frequently used interface parameters. This section is different for each protocol.


=====Advanced Settings: Static=====
====Advanced Settings: Static====
----
----
<b>Advanced Settings</b> information for <b>Static</b> protocol is provided in the table below.
<b>Advanced Settings</b> information for <b>Static</b> protocol is provided in the table below.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_advanced_settings_static_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_advanced_settings_static_v3.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 303: Line 469:
         <th>Value</th>
         <th>Value</th>
         <th>Description</th>
         <th>Description</th>
    </tr>
    <tr>
        <td>Bring up on boot</td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether the interface should be launched during the boot process. If set to <i>off</i>, the interface would have to be brought up manually after each boot.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 318: Line 479:
         <td>off | on; default: <b>on</b></td>
         <td>off | on; default: <b>on</b></td>
         <td>Specifies whether interface settings (IP, route, gateway) are assigned to the interface regardless of the link being active or only after the link has become active.</td>
         <td>Specifies whether interface settings (IP, route, gateway) are assigned to the interface regardless of the link being active or only after the link has become active.</td>
    </tr>
    <tr>
        <td>Use gateway metric</td>
        <td>integer; default: <b>3</b></td>
        <td>A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Override MAC address</td>
         <td>Override MAC address</td>
         <td>mac; default: <b>none</b></td>
         <td>mac; default: <b>none</b></td>
         <td>When set, uses a user-defined MAC address for the interface.</td>
         <td>When set, uses a user-defined MAC address for the interface instead of the default one.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Override MTU</td>
         <td>Override MTU</td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.</td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.<br>
          <ul>
                <li>'''Note:''' Interface(s): lan have mtu lower than 1280 it will make all interfaces on same physical interface no longer support IPv4.</li>
                <li>'''Note:''' Interface(s): lan have mtu lower than 576 it will make all interfaces on same physical interface no longer support DHCP.</li>
          </ul>   
        </td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Use gateway metric</td>
         <td>IP4table</td>
         <td>integer; default: <b>none</b></td>
         <td>integer [0..99999999]; default: <b>none</b></td>
         <td>A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).</td>
         <td>ID of the routing table in [[{{{name}}}_Routing#Routing_Tables|Routing tables]] page.</td>
     </tr>
     </tr>
    <tr>
<!--<tr>
         <td>IPv6 assignment length</td>
         <td>IPv6 assignment length</td>
         <td>integer [0..64] | <span style="color: red;">disabled</span>; default: <b>60</b></td>
         <td>integer [0..64] | <span style="color: #1550bf; font-weight: bold;">Disabled</span>; default: <b>Disabled</b></td>
         <td>Delegates a prefix of given length to the interface.</td>
         <td>Delegates a prefix of given length to the interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td><span style="color: red;">IPv6 address</span></td>
         <td><span style="color: #1550bf;">IPv6 address</span></td>
         <td>ip6; default: <b>none</b></td>
         <td>ip6; default: <b>none</b></td>
         <td>The interface's IPv6 address. An IP address identifies a device on a network and allows it to communicate with other devices.<br><b>NOTE</b>: this field only becomes visible when IPv6 assignment length is set to disabled.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i></td>
         <td>The interface's IPv6 address. An IP address identifies a device on a network and allows it to communicate with other devices.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i></td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td><span style="color: red;">IPv6 gateway</span></td>
         <td><span style="color: #1550bf;">IPv6 gateway</span></td>
         <td>ip6; default: <b>none</b></td>
         <td>ip6; default: <b>none</b></td>
         <td>IPv6 prefix routed here for use on other interfaces.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i>.</td>
         <td>IPv6 prefix routed here for use on other interfaces.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i>.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td><span style="color: red;">IPv6 routed prefix</span></td>
         <td><span style="color: #1550bf;">IPv6 routed prefix</span></td>
         <td>ip6; default: <b>none</b></td>
         <td>ip6; default: <b>none</b></td>
         <td>IPv6 prefix routed here for use on other interfaces.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i>.</td>
         <td>IPv6 prefix routed here for use on other interfaces.<br><b>Note:</b> this field only becomes visible when IPv6 assignment length is set to <i>disabled</i>.</td>
Line 357: Line 528:
         <td>IPv6 assignment hint</td>
         <td>IPv6 assignment hint</td>
         <td>string; default: <b>none</b></td>
         <td>string; default: <b>none</b></td>
         <td>The subprefix-ID that should be delegated as hexadecimal number.</td>
         <td>Subprefix ID to be used if available (e.g., the value <i>1234</i> with an IPv6 assignment length of 64 will assign prefixes of the form …:1234::/64 or given LAN ports, LAN & LAN2, and a prefix delegation of /56, use IPv6 assignment hint of 00 and 80 which would give prefixes of LAN …:xx00::/64 and LAN2 …:xx80::/64)</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 364: Line 535:
         <td>When an IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, use a suffix (like '::1') to form an IPv6 address ('a:b:c:d::1') for the interface. Leave empty to generate a random suffix.</td>
         <td>When an IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, use a suffix (like '::1') to form an IPv6 address ('a:b:c:d::1') for the interface. Leave empty to generate a random suffix.</td>
     </tr>
     </tr>
-->
</table>
</table>


=====Advanced Settings: DHCP=====
====Advanced Settings: DHCP====
----
----
<b>Advanced Settings</b> information for <i>DHCP</i> protocol is provided in the table below.
<b>Advanced Settings</b> information for <i>DHCP</i> protocol is provided in the table below.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_advanced_settings_dhcp_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_advanced_settings_dhcp_v4.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 377: Line 549:
         <th>Value</th>
         <th>Value</th>
         <th>Description</th>
         <th>Description</th>
    </tr>
    <tr>
        <td>Bring up on boot</td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether the interface should be launched during the boot process. If set to <i>off</i>, the interface would have to be brought up manually after each boot.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 402: Line 569:
         <td>off | on; default: <b>on</b></td>
         <td>off | on; default: <b>on</b></td>
         <td>When checked, creates a default route for the interface.</td>
         <td>When checked, creates a default route for the interface.</td>
    </tr>
    <tr>
        <td>Use DNS servers advertised by peer</td>
        <td><span style="color: red;">off</span> | on; default: <b>on</b></td>
        <td>Specifies whether to use DNS servers obtained automatically or specified manually.</td>
    </tr>
    <tr>
        <td><span style="color: red;">Use custom DNS servers</span></td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether to use DNS servers obtained automatically or specified manually.<br><b>Note:</b> this field only becomes visible when Use DNS servers advertised by peer is set to <i>off</i></td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 417: Line 574:
         <td>integer; default: <b>none</b></td>
         <td>integer; default: <b>none</b></td>
         <td>A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).</td>
         <td>A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).</td>
    </tr>
    <tr>
        <td>Use custom DNS servers</td>
        <td>ip4; default: <b>none</b></td>
        <td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 431: Line 593:
         <td>Override MAC address</td>
         <td>Override MAC address</td>
         <td>mac; default: <b>none</b></td>
         <td>mac; default: <b>none</b></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 device). 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>When set, uses a user-defined MAC address for the interface instead of the default one.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Override MTU</td>
         <td>Override MTU</td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>Changes the interfaces allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.</td>
         <td>Changes the interfaces allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.<br>
          <ul>
                <li>'''Note:''' Interface(s): lan have mtu lower than 1280 it will make all interfaces on same physical interface no longer support IPv4.</li>
                <li>'''Note:''' Interface(s): lan have mtu lower than 576 it will make all interfaces on same physical interface no longer support DHCP.</li>
          </ul></td>
    </tr>
    <tr>
        <td>IP4table</td>
        <td>integer [0..99999999]; default: <b>none</b></td>
        <td>ID of the routing table in [[{{{name}}}_Routing#Routing_Tables|Routing tables]] page.</td>
     </tr>
     </tr>
</table>
</table>


=====Advanced Settings: DHCPv6=====
====Advanced Settings: DHCPv6====
----
----
<b>Advanced Settings</b> information for <i>DHCPv6</i> protocol is provided in the table below.
<b>Advanced Settings</b> information for <i>DHCPv6</i> protocol is provided in the table below.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_advanced_settings_dhcpv6_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_advanced_settings_dhcpv6_v4.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 451: Line 622:
         <th>Value</th>
         <th>Value</th>
         <th>Description</th>
         <th>Description</th>
    </tr>
    <tr>
        <td>Bring up on boot</td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether the interface should be launched during the boot process. If set to <i>off</i>, the interface would have to be brought up manually after each boot.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 473: Line 639:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Use DNS servers advertised by peer</td>
         <td>Use custom DNS servers</td>
         <td><span style="color: red;">off</span> | on; default: <b>on</b></td>
         <td>ip4; default: <b>none</b></td>
         <td>Specifies whether to use DNS servers obtained automatically or specified manually.</td>
         <td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td>
    </tr>
    <tr>
        <td><span style="color: red;">Use custom DNS servers</span></td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether to use DNS servers obtained automatically or specified manually.<br><b>Note:</b> this field only becomes visible when Use DNS servers advertised by peer is set to <i>off</i></td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 495: Line 656:
         <td>Override MAC address</td>
         <td>Override MAC address</td>
         <td>mac; default: <b>none</b></td>
         <td>mac; default: <b>none</b></td>
         <td>When set, uses a user-defined MAC address for the interface.</td>
         <td>When set, uses a user-defined MAC address for the interface instead of the default one.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Override MTU</td>
         <td>Override MTU</td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.</td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.<br>
          <ul>
                <li>'''Note:''' Interface(s): lan have mtu lower than 1280 it will make all interfaces on same physical interface no longer support IPv4.</li>
                <li>'''Note:''' Interface(s): lan have mtu lower than 576 it will make all interfaces on same physical interface no longer support DHCP.</li>
          </ul></td>
    <tr>
     <tr>
     <tr>
        <td>IP4table</td>
        <td>integer [0..99999999]; default: <b>none</b></td>
        <td>ID of the routing table in [[{{{name}}}_Routing#Routing_Tables|Routing tables]] page.</td>
    </tr>
</table>
</table>


=====Advanced Settings: PPPoE=====
====Advanced Settings: PPPoE====
----
----
<b>Advanced Settings</b> information for <i>PPPoE</i> protocol is provided in the table below.
<b>Advanced Settings</b> information for <i>PPPoE</i> protocol is provided in the table below.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_advanced_settings_pppoe_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_advanced_settings_pppoe_v5.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 515: Line 685:
         <th>Value</th>
         <th>Value</th>
         <th>Description</th>
         <th>Description</th>
    </tr>
    <tr>
        <td>Bring up on boot</td>
        <td>off | on; default: <b>on</b></td>
        <td>Specifies whether the interface should be launched during the boot process. If set to <i>off</i>, the interface would have to be brought up manually after each boot.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 547: Line 712:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Use DNS servers advertised by peer</td>
         <td>Use custom DNS servers</td>
         <td><span style="color: red;">off</span> | on; default: <b>on</b></td>
         <td>ip4; default: <b>none</b></td>
         <td>Specifies whether to use DNS servers obtained automatically or specified manually.</td>
         <td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td><span style="color: red;">Use custom DNS servers</span></td>
         <td>VLAN tag value</td>
         <td>off | on; default: <b>on</b></td>
         <td>integer [0..7]; default: <b>none</b></td>
         <td>Specifies whether to use DNS servers obtained automatically or specified manually.<br><b>Note:</b> this field only becomes visible when Use DNS servers advertised by peer is set to <i>off</i></td>
         <td>VLAN tag value.</td>
    </tr>
    <tr>
        <td>VLAN priority</td>
        <td>integer [0..4095]; default: <b>none</b></td>
        <td>VLAN priority.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 580: Line 750:
         <td>integer [1..1500]; default: <b>none</b></td>
         <td>integer [1..1500]; default: <b>none</b></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>
        <td>IP4table</td>
        <td>integer [0..99999999]; default: <b>none</b></td>
        <td>ID of the routing table in [[{{{name}}}_Routing#Routing_Tables|Routing tables]] page.</td>
     </tr>
     </tr>
</table>
</table>
{{#ifeq: {{{modem}}} | 1 |
{{#ifeq: {{{mobile}}} | 1 |
=====Advanced Settings: Mobile=====
====Advanced Settings: Mobile====
----
----
<b>Advanced Settings</b> information for <i>Mobile</i> protocol is provided in the table below.
<b>Advanced Settings</b> information for <i>Mobile</i> protocol is provided in the table below.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_advanced_settings_mobile_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_advanced_settings_mobile_dualsim_{{{dualsim}}}_v5.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 594: Line 769:
         <th>Value</th>
         <th>Value</th>
         <th>Description</th>
         <th>Description</th>
    </tr>
    <tr>
        <td>Bring up on boot</td>
        <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
        <td>Specifies whether the interface should be launched during the boot process. If set to <i>off</i>, the interface would have to be brought up manually after each boot.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 611: Line 781:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Use DNS servers advertised by peer</td>
         <td>Use custom DNS servers</td>
         <td><span style="color: red;">off</span> <nowiki>|</nowiki> on; default: <b>on</b></td>
         <td>ip4; default: <b>none</b></td>
         <td>Specifies whether to use DNS servers obtained automatically or specified manually.</td>
         <td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td>
    </tr>
    <tr>
        <td><span style="color: red;">Use custom DNS servers</span></td>
        <td>off <nowiki>|</nowiki> on; default: <b>on</b></td>
        <td>Specifies whether to use DNS servers obtained automatically or specified manually.<br><b>Note:</b> this field only becomes visible when Use DNS servers advertised by peer is set to <i>off</i></td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 629: Line 794:
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>integer [1..9200]; default: <b>none</b></td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.</td>
         <td>Changes the interface's allowed maximum transmission unit (MTU) size. It is the largest size of a protocol data unit (PDU) that can be transmitted in a single network layer transaction.</td>
    </tr>
    <tr>
        <td>IP4table</td>
        <td>integer [0..99999999]; default: <b>none</b></td>
        <td>ID of the routing table in [[{{{name}}}_Routing#Routing_Tables|Routing tables]] page.</td>
     </tr>
     </tr>
</table>|}}
</table>|}}
====Physical Settings====
 
===Physical Settings===
----
----
The <b>Physical Settings</b> section is used to create associations with physical interfaces and bridge network interfaces.
The <b>Physical Settings</b> section is used to create associations with physical interfaces and bridge network interfaces.


{{#ifeq: {{{series}}} | TRB14x
[[File:Networking_rutos_manual_interfaces_interface_configuration_physical_settings_v2.png|border|class=tlt-border]]
| [[File:Networking_trb14x_manual_interfaces_network_interfaces_lan_physical_settings_v1.png|border|class=tlt-border]]
 
| [[File:Networking_rutos_manual_interfaces_network_interfaces_lan_physical_settings_wifi_{{{wifi}}}_v1.png|border|class=tlt-border]]
}}
<table class="nd-mantable">
<table class="nd-mantable">
     <tr>
     <tr>
Line 647: Line 816:
     <tr>
     <tr>
         <td>Bridge interfaces</td>
         <td>Bridge interfaces</td>
         <td>off | on; default: <b>on</b></td>
         <td>off | <span style="color: #1550bf; font-weight: bold;">on</span>; default: <b>on</b></td>
         <td>Bridges physical interfaces specified in this configuration.</td>
         <td>Bridges physical interfaces specified in this configuration.</td>
     </tr>
     </tr>
Line 653: Line 822:
         <td>Enable STP</td>
         <td>Enable STP</td>
         <td>off | on; default: <b>off</b></td>
         <td>off | on; default: <b>off</b></td>
         <td>Turns the use of Spanning Tree Protocol (STP) for this interface on or off.</td>
         <td>Turns the use of Spanning Tree Protocol (STP) for this interface on or off.<br><b>Note:</b> this field becomes visible when 'Bridge interfaces' is set to <i>on</i>.</td>
    </tr>
    <tr>
        <td>Enable IGMP</td>
        <td>off | on; default: <b>off</b></td>
        <td>Enabless IGMP snooping on this bridge.<br><b>Note:</b> this field becomes visible when 'Bridge interfaces' is set to <i>on</i> and 'Protocol' is set to <i>PPPoE</i>.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Interface</td>
         <td>Interface</td>
         <td>network interface(s); default: <b>{{#ifeq:{{{series}}}|TRB14X|rndis0|eth0}}{{#ifeq:{{{wifi}}}|1| wlan0 wlan1|}}</b></td>
         <td>network interface(s); default: <b>none</b></td>
         <td>Ties this network interface to physical device interfaces such as Ethernet{{#ifeq:{{{wifi}}}|1| or WiFi radios|}}.</td>
        <td>Ties this network interface to physical device interfaces such as Ethernet {{#ifeq:{{{wifi}}}|1| or WiFi radios|}}.</td>
     </tr>
    </tr>{{#ifeq: {{{name}}}| RUTXR1 |  
    <tr>
        <td>Port priority</td>
        <td>Ethernet<nowiki>|</nowiki>SFP default: <b>SFP</b></td>
         <td>Port priority option allows to change physical port priority (SFP or Ethernet). This option is uniform between all eth1 interfaces.<br><b>Note:</b> this field becomes visible when 'Interface' is set to <i>eth1</i>.</td>
     </tr>|}}
</table>
</table>


====Firewall Settings====
===Firewall Settings===
----
----
The <b>Firewall Settings</b> section is used to specify to which firewall zone if any this interface belongs.
The <b>Firewall Settings</b> section is used to specify to which firewall zone if any this interface belongs. Assigning an interface to a zone may provide easier configuration of firewall rules. For example, instead of configuring separate rules for each WAN interface, you can add all WAN interfaces into a single firewall zone and make the rule apply to that zone instead.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_firewall_settings_v1.png|border|class=tlt-border]]
More firewall zone settings can be configured from the Network → Firewall → General Settings → [[{{{name}}}_Firewall#Zones|Zones]] section.
 
[[File:Networking_rutos_manual_interfaces_interface_configuration_firewall_settings.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 676: Line 857:
     <tr>
     <tr>
         <td>Create / Assign firewall-zone</td>
         <td>Create / Assign firewall-zone</td>
         <td>firewall zone; default: <b>lan</b></td>
         <td>firewall zone; default: <b>none</b></td>
         <td>Assigns this interface to the specified firewall zone.</td>
         <td>Assigns this interface to the specified firewall zone.</td>
     </tr>
     </tr>
Line 687: Line 868:
[[File:Networking_rutx_manual_lan_static_dhcp_server_scheme_v1.png]]
[[File:Networking_rutx_manual_lan_static_dhcp_server_scheme_v1.png]]


<u>In order to view the DHCP server configuration, the interface <b>protocol must be set to <i>Static</i></b></i>.</u>
<i>To make the DHCP Server section visible, <b>set interface protocol to Static</b>.</i>


====DHCP Server: General Setup====
====DHCP Server: General Setup====
Line 693: Line 874:
The <b>General Setup</b> section is used to set up the main operating parameters of the DHCP server.
The <b>General Setup</b> section is used to set up the main operating parameters of the DHCP server.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_dhcp_server_general_setup_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_dhcp_server_general_setup_lan_{{{lan}}}_v1.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 707: Line 888:
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Start</td>
         <td>Start IP</td>
         <td>integer [1..255]; default: <b>100</b></td>
         <td>ip4; default: <b>{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.100|#default=192.168.1.100}}</b></td>
         <td>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.<b>100</b>.</td>
         <td>The starting IP address of the DHCP server IP address range. E.g., if your device’s LAN IP is {{#switch:{{{series}}}|TRB1|TRB5=192.168.2.1|#default=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 [{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.0|#default=192.168.1.0}}..{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.254|#default=192.168.1.254}}] ({{#switch:{{{series}}}|TRB1|TRB5=192.168.2.255|#default=192.168.1.255}} is a special unavailable address). If the subnet of your LAN IP address changes, this value needs to be changed accordingly.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Limit</td>
         <td>End IP</td>
         <td>integer [1..255]; default: <b>150</b></td>
         <td>ip4; default: <b>{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.249|#default=192.168.1.249}}</b></td>
         <td>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.<b>100</b> to 192.168.1.<b>249</b> (<i>100 + 150 – 1 = 249</i>; this is because the first address is inclusive).</td>
         <td>The ending IP address of the DHCP server IP address range. Continuing from the example above: if the start address is {{#switch:{{{series}}}|TRB1|TRB5=192.168.2.<b>100</b>|#default=192.168.1.<b>100</b>}} and the end address is {{#switch:{{{series}}}|TRB1|TRB5=192.168.2.<b>249</b>|#default=192.168.1.<b>249</b>}}, available addresses will be distributed from that range. If the subnet of your LAN IP address changes, this value needs to be changed accordingly.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>Lease time</td>
         <td>Lease time</td>
         <td>integer [2..999999]m/h; default: <b>12h</b></td>
         <td>integer [1..999999]; default: <b>12</b><br>integer [2..999999]<span class="asterisk">*</span><br>integer [120..999999]<span class="asterisk">**</span></td>
         <td>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).<br>The minimal amount of time that can be specified is 2 minutes.</td>
         <td>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).<br>The minimal amount of time that can be specified is 2 minutes.<br><span class="asterisk">*</span>If selected Units is Minutes.<br><span class="asterisk">**</span>If selected Units is seconds.</td>
    </tr>
    <tr>
        <td>Units</td>
        <td>Hours | Minutes | Seconds; default: <b>Hours</b></td>
        <td>Lease time units.</td>
     </tr>
     </tr>
</table>
</table>
Line 731: Line 917:
Refer to the table below for information on the <b>Advanced Settings</b> section.
Refer to the table below for information on the <b>Advanced Settings</b> section.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_dhcp_server_advanced_settings_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_dhcp_server_advanced_settings_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 758: Line 944:
         <td>dhcp options; default: <b>none</b></td>
         <td>dhcp options; default: <b>none</b></td>
         <td>Additional options to be added to the DHCP server. For example with '26,1470' or 'option:mtu, 1470' you can assign an MTU value per DHCP. You can find more information on DHCP Options [https://technet.microsoft.com/en-us/library/cc958941.aspx here].</td>
         <td>Additional options to be added to the DHCP server. For example with '26,1470' or 'option:mtu, 1470' you can assign an MTU value per DHCP. You can find more information on DHCP Options [https://technet.microsoft.com/en-us/library/cc958941.aspx here].</td>
    </tr>
    <tr>
        <td>Force DHCP options</td>
        <td>off | on; default: <b>off</b></td>
        <td>If enabled, DHCP options will be sent even if it's not requested.</td>
     </tr>
     </tr>
</table>
</table>
Line 765: Line 956:
Refer to the table below for information on the <b>IPv6 Settings</b> section.
Refer to the table below for information on the <b>IPv6 Settings</b> section.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_dhcp_server_ipv6_settings_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_dhcp_server_ipv6_settings.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 775: Line 966:
     <tr>
     <tr>
         <td>Router Advertisement Service</td>
         <td>Router Advertisement Service</td>
         <td>disabled | relay mode | server mode | hybrid mode; default: <b>Disabled</b></td>
         <td>Disabled | Relay mode | Server mode | Hybrid mode; default: <b>Disabled</b></td>
         <td>Specifies whether router advertisements should be enabled (server mode), relayed or disabled. </td>
         <td>Specifies whether router advertisements should be enabled (server mode), relayed or disabled. </td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>DHCPv6 Service</td>
         <td>DHCPv6 Service</td>
         <td>disabled | relay mode | server mode | hybrid mode; default: <b>Disabled</b></td>
         <td>Disabled | Relay mode | Server mode | Hybrid mode; default: <b>Disabled</b></td>
         <td>Specifies whether DHCPv6 server should be enabled (server), relayed (relay) or disabled (disabled).</td>
         <td>Specifies whether DHCPv6 server should be enabled (server), relayed (relay) or disabled (disabled).</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>NDP Proxy</td>
         <td>NDP Proxy</td>
         <td>disabled | relay mode | hybrid mode; default: <b>Disabled</b></td>
         <td>Disabled | Relay mode | Hybrid mode; default: <b>Disabled</b></td>
         <td>Specifies whether NDP should be relayed or disabled.</td>
         <td>Specifies whether NDP should be relayed or disabled.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>DHCPv6 Mode</td>
         <td>DHCPv6 Mode</td>
         <td>stateless | stateful-only | stateless + stateful; default: <b>stateless + stateful</b></td>
         <td>Stateless | Stateful-only | Stateless + stateful; default: <b>Stateless + stateful</b></td>
         <td>Router announcement (RA) mode.</td>
         <td>Router announcement (RA) mode.</td>
     </tr>
     </tr>
Line 816: Line 1,007:
This section displays static IP leases currently existing on this device.
This section displays static IP leases currently existing on this device.


<u>In order to view the Static Lease section, the interface <b>protocol must be set to <i>Static</i></b></i>.</u>
<i>To make the Static Lease section visible, <b>set interface protocol to Static</b>.</i>
 
[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_static_lease_v1.png|border|class=tlt-border]]
 
====Static Lease: Settings====
----
----
To access a lease's <b>settings</b> page, click the 'Edit' button located to the right of the lease:
The Static Lease list is empty by default. To add a new Static Lease look to the Add Lease section; enter a custom name for the lease and click the 'Add' button.


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_static_lease_edit_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_static_lease_add_button.png|border|class=tlt-border]]


You should be directed to a window that looks like this:
You should be redirected to the Settings page for that lease, which should look similar to this:


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_static_lease_settings_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_static_lease_settings.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 839: Line 1,026:
       <td>MAC address</td>
       <td>MAC address</td>
       <td>mac; default: <b>none</b></td>
       <td>mac; default: <b>none</b></td>
       <td>MAC address of a device that is on this interface's network.</td>
       <td>MAC address of a device that will connect to this network interface.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 848: Line 1,035:
</table>
</table>


====Static Lease: Add Lease====
After you click 'Save & Apply' you will be redirected back to the [[#Network_Interfaces|Network Interfaces]] page. If you wish to modify the lease later, you can find in the Static Lease list. Simply click the 'Edit' button next to it in order to enter the Settings page for the Static Lease.
----
 
The <b>Add Lease</b> section is used to create new static leases. To create a new lease, simply enter a custom name for it and click the 'Add' button.
[[File:Networking_rutos_manual_interfaces_interface_configuration_static_lease_edit_button.png|border|class=tlt-border]]


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_add_lease_v1.png|border|class=tlt-border]]
{{#ifeq: {{{wifi}}} | 1 |
{{#ifeq: {{{wifi}}} | 1 |
===Relay Configuration===
===Relay Configuration===
----
----
The <b>Relay Configuration</b> section is used to relay and dynamically redirect incoming connections to a target host. Its main purpose is extending the wireless network. For example, when the device is in Wireless Station (client) mode, it can be used to bridge WAN and LAN interfaces to create a larger wireless network.<br>You can find a detailed usage example <b>[[Relayd|here]]</b>.
The <b>Relay Configuration</b> section is used to relay and dynamically redirect incoming connections to a target host. Its main purpose is extending the wireless network. For example, when the device is in Wireless Station (client) mode, it can be used to bridge WAN and LAN interfaces to create a larger wireless network.<br>You can find a detailed usage example <b>[[Relayd|here]]</b>.
{{#switch: {{{series}}}
  | #default =
  | RUT36X|RUT9|TCR1 =
<u><b>


<u>In order to view the Relay Configuration section, the interface <b>protocol must be set to <i>Static</i></b></i>.</u>
Note:</b> Relay is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</u>
}}


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_relay_configuration_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_relay_configuration.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 879: Line 1,070:
     </tr>
     </tr>
</table>|}}
</table>|}}
{{#ifeq: {{{modem}}} | 1 |
 
===UDP Broadcast Relay===
----
The <b>UDP Broadcast Relay</b> will listen for broadcast traffic on the specified port and relay that traffic to the specified interface(s).
 
<i><b>Note:</b> UDP Broadcast Relay is additional software that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page.</i>
 
[[File:Networking_rutos_manual_interfaces_interface_configuration_udp_broadcast_relay.png|border|class=tlt-border]]
 
<table class="nd-mantable">
    <tr>
        <th>Field</th>
      <th>Value</th>
      <th>Description</th>
    </tr>
    <tr>
      <td>Enable</td>
      <td>off <nowiki>|</nowiki> on; default: <b>off</b></td>
      <td>Turns UDP Broadcast Relay on or off.</td>
    </tr>
    <tr>
    <td>Port</td>
        <td>integer [0..655353]; default: <b>none</b></td>
        <td>UDP port to listen for broadcast traffic.</td>
    </tr>
    <tr>
    <td>Interfaces</td>
        <td>network interface(s); default: <b>none</b></td>
        <td>The interface(s) to which the traffic will be redirected to.</td>
    </tr>
</table>
{{#ifeq:{{{series}}}|TRB5||{{#ifeq: {{{mobile}}} | 1 |
===Mobile Data Limit===
===Mobile Data Limit===
----
----
The <b>Mobile Data Limit</b> 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.
The <b>Mobile Data Limit</b> 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.


<u>In order to view the Mobile Data Limit section, the interface <b>protocol must be set to <i>Mobile</i></b></i>.</u>
<i>In order to view the Mobile Data Limit section, the interface <b>protocol must be set to Mobile</b>.</i>


[[File:Networking_rutos_manual_interfaces_network_interfaces_lan_general_setup_mobile_mobile_data_limit_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_interfaces_interface_configuration_mobile_mobile_data_limit_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 910: Line 1,132:
     <tr>
     <tr>
     <td>Start day <nowiki>|</nowiki> Start hour</td>
     <td>Start day <nowiki>|</nowiki> Start hour</td>
         <td>day [1..31] <nowiki>|</nowiki> day [Monday..Sunday] | hour [1..24]; default: <b>hour 0</b></td>
         <td>day [1..31] <nowiki>|</nowiki> day [Monday..Sunday] {{!}} hour [1..24]; default: <b>hour 0</b></td>
       <td>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.</td>
       <td>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.</td>
     </tr>
     </tr>
Line 927: Line 1,149:
         <td>phone number; default: <b>none</b></td>
         <td>phone number; default: <b>none</b></td>
         <td>Recipient's phone numbers.</td>
         <td>Recipient's phone numbers.</td>
    </tr>
    <tr>
    <td>Data limit clear due</td>
        <td><b>none</b></td>
        <td>Display the date of the next automatic data limit clear.</td>
     </tr>
     </tr>
</table>
</table>


<font size="-1"><span class="asterisk">*</span>Your carrier's data usage accounting may differ. Teltonika is not liable should any accounting discrepancies occur.</font>|}}
<font size="-1"><i><span class="asterisk">*</span>Your carrier's data usage accounting may differ. Teltonika is not liable should any accounting discrepancies occur.</i></font>|}}}}


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