Difference between revisions of "Template:Networking rutos manual lan"

From Teltonika Networks Wiki
(Created page with "{{Template:Networking_rutos_manual_fw_disclosure | fw_version = {{{series}}}_R_00.02.03 | series = {{{series}}} }} ==Summary== The <b>LAN</b> page is used to to set up L...")
 
(45 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:Networking_rutos_manual_fw_disclosure
+
{{Template: Networking_rutos_manual_fw_disclosure
| fw_version = {{{series}}}_R_00.02.03
+
| fw_version ={{Template: Networking_rutos_manual_latest_fw
| series    = {{{series}}}
+
| series = {{{series}}}
 +
| name  = {{{name}}}
 +
}}
 
}}
 
}}
 
+
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} LAN (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
 +
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} LAN (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_rutos_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
 
==Summary==
 
==Summary==
  
The <b>LAN</b> page is used to to set up LAN network interfaces.
+
The <b>LAN</b> page is used to create and set up local area network interfaces.
  
 
This manual page provides an overview of the LAN windows in {{{name}}} devices.
 
This manual page provides an overview of the LAN windows in {{{name}}} devices.
 
{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer}}
 
  
 
==LAN Configuration==
 
==LAN Configuration==
Line 16: Line 17:
 
The <b>LAN Configuration</b> section displays LAN interfaces currently existing on this device.
 
The <b>LAN Configuration</b> section displays LAN interfaces currently existing on this device.
  
{{#ifeq: {{{series}}} | TRB14X
+
{{#switch: {{{series}}}  
  | [[File:Networking_trb14x_manual_lan_settings_v1.png|border|class=tlt-border]]
+
| TRB1=[[File:Networking_trb14x_manual_lan_settings_v1.png|border|class=tlt-border]]
  | [[File:Networking_rutos_manual_lan_settings_v1.png|border|class=tlt-border]]
+
  | TRB5=[[File:Networking_trb5_manual_lan_settings_v1.png|border|class=tlt-border]]
 +
  | #default=[[File:Networking_rutos_manual_lan_settings_v1.png|border|class=tlt-border]]
 
}}
 
}}
  
 
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:
  
{{#ifeq: {{{series}}} | TRB14X
+
{{#switch: {{{series}}}  
  | [[File:Networking_trb14x_manual_lan_begin_to_edit_v1.png]]
+
| TRB1=[[File:Networking_trb14x_manual_lan_begin_to_edit_v1.png]]
  | [[File:Networking_rutos_manual_lan_begin_to_edit_v1.png]]
+
  | TRB5=[[File:Networking_trb5_manual_lan_begin_to_edit_v1.png]]
 +
  | #default=[[File:Networking_rutos_manual_lan_begin_to_edit_v1.png]]
 
}}
 
}}
  
 
===General Setup===
 
===General Setup===
 
----
 
----
The <b>General Setup</b> section is used to configure the main parameters of  
+
The <b>General Setup</b> section is used to configure the main parameters of LAN.
  
{{#ifeq: {{{series}}} | TRB14X
+
{{#switch: {{{series}}}  
| [[File:Networking_trb14x_manual_lan_configuration_general_setup_v1.png|border|class=tlt-border]]
+
| TRB1|TRB5 = [[File:Networking_trb14x_manual_lan_configuration_general_setup_v2.png|border|class=tlt-border]]
| [[File:Networking_rutos_manual_lan_configuration_general_setup_v1.png|border|class=tlt-border]]
+
| TRB2 = [[File:Networking_trb24x_manual_lan_configuration_general_setup_v2.png|border|class=tlt-border]]
 +
| #default = [[File:Networking_rutos_manual_lan_configuration_general_setup_v3.png|border|class=tlt-border]]
 
}}
 
}}
  
Line 45: Line 49:
 
     <tr>
 
     <tr>
 
       <td>IPv4 address</td>
 
       <td>IPv4 address</td>
       <td>ip4; default: <b>none</b></td>
+
       <td>ip4; default: <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>
 
     <tr>
 
     <tr>
 
       <td>IPv4 netmask</td>
 
       <td>IPv4 netmask</td>
       <td>netmask; default: <b>none</b></td>
+
       <td>netmask; default: <b>255.255.255.0</b></td>
 
       <td>The IPv4 netmask of this interface. A <b>[[What is a Netmask?|netmask]]</b> is used to define how "large" a network is by specifying which part of the IP address denotes the network and which part denotes a device.</td>
 
       <td>The IPv4 netmask of this interface. A <b>[[What is a Netmask?|netmask]]</b> is used to define how "large" a network is by specifying which part of the IP address denotes the network and which part denotes a device.</td>
 +
    </tr>
 +
    <tr>
 +
      <td>IPv4 gateway</td>
 +
      <td>ip4; default: <b>none</b></td>
 +
      <td>The IPv4 gateway address used by this interface. An interface's default gateway is the default address through which all outgoing traffic is directed.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 58: Line 67:
 
       <td>DNS server addresses that this interface will use. If left empty, DNS servers are assigned automatically. To see what DNS servers are currently used, you can check the contents of the <i>/tmp/resolv.conf.auto</i> file.</td>
 
       <td>DNS server addresses that this interface will use. If left empty, DNS servers are assigned automatically. To see what DNS servers are currently used, you can check the contents of the <i>/tmp/resolv.conf.auto</i> file.</td>
 
     </tr>
 
     </tr>
</table>
+
{{#ifeq:{{{LAN_to_WAN}}}| 1 |
 
 
===Advanced Settings===
 
----
 
The <b>Advanced Settings</b> section is used to set up some of the more specific and less frequently used interface parameters.
 
 
 
[[File:Networking_rutos_manual_lan_configuration_advanced_settings_v1.png|border|class=tlt-border]]
 
 
 
<table class="nd-mantable">
 
    <tr>
 
        <th>Field</th>
 
        <th>Value</th>
 
        <th>Description</th>
 
    </tr>
 
 
     <tr>
 
     <tr>
         <td>Override MAC address</td>
+
         <td>LAN to WAN </td>
         <td>mac; default: <b>none</b></td>
+
         <td>-(interactive button)</td>
         <td>When set, uses a user-defined MAC address for the interface.</td>
+
         <td> After press of a button device's LAN port will act as if it were a WAN port. </td>
    </tr>
 
    <tr>
 
        <td>Override MTU</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>
 
 
     </tr>
 
     </tr>
 +
|}}
 
</table>
 
</table>
  
Line 88: Line 80:
 
A <b>DHCP</b> (<b>Dynamic Host Configuration Protocol</b>) server is a service that can automatically configure the TCP/IP settings of any device that requests such a service. If you connect a device that has been configured to obtain an IP address automatically, the DHCP server will lease out an IP address from the available IP pool and the device will be able to communicate within the private network.
 
A <b>DHCP</b> (<b>Dynamic Host Configuration Protocol</b>) server is a service that can automatically configure the TCP/IP settings of any device that requests such a service. If you connect a device that has been configured to obtain an IP address automatically, the DHCP server will lease out an IP address from the available IP pool and the device will be able to communicate within the private network.
  
[[File:Networking_rutx_manual_lan_static_dhcp_server_scheme_v1.png]]
+
{{#switch: {{{series}}}  
 
+
  | TRB1|TRB5=[[File:Networking_trb14x_manual_lan_configuration_dhcp_server_general_setup_v2.png|border|class=tlt-border]]
====DHCP Server: General Setup====
+
  | #default=[[File:Networking_rutos_manual_lan_configuration_dhcp_server_general_setup_v2.png|border|class=tlt-border]]
----
 
The <b>General Setup</b> section is used to set up the main operating parameters of the DHCP server.
 
{{#ifeq: {{{series}}} | TRB14X
 
  | [[File:Networking_trb14x_manual_lan_configuration_dhcp_server_general_setup_v1.png|border|class=tlt-border]]
 
  | [[File:Networking_rutos_manual_lan_configuration_dhcp_server_general_setup_v1.png|border|class=tlt-border]]
 
 
}}
 
}}
  
Line 110: Line 97:
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Start</td>
+
         <td>Start IP</td>
 
         <td>integer [1..255]; default: <b>100</b></td>
 
         <td>integer [1..255]; default: <b>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 DHCP server's IP address range start value.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>Limit</td>
+
         <td>End IP</td>
 
         <td>integer [1..255]; default: <b>150</b></td>
 
         <td>integer [1..255]; default: <b>150</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>End IP, i.e., the last possible IP in the selected range for the DHCP server.</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td>Lease time</td>
 
         <td>Lease time</td>
         <td>integer [2..999999]; default: <b>12</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>
 
     <tr>
 
     <tr>
 
         <td>Units</td>
 
         <td>Units</td>
         <td>Hours | Minutes; default: <b>Hours</b></td>
+
         <td>Hours | Minutes | Seconds; default: <b>Hours</b></td>
 
         <td>Lease time measurement units.</td>
 
         <td>Lease time measurement units.</td>
 
     </tr>
 
     </tr>
Line 135: Line 122:
 
[[File:Networking_rutx_manual_lan_static_dhcp_server_relay_scheme_v2.png]]
 
[[File:Networking_rutx_manual_lan_static_dhcp_server_relay_scheme_v2.png]]
  
====DHCP Server: IPv6 Settings====
 
----
 
Refer to the table below for information on the <b>IPv6 Settings</b> section.
 
 
[[File:Networking_rutos_manual_lan_configuration_dhcp_server_ipv6_settings_v1.png|border|class=tlt-border]]
 
 
<table class="nd-mantable">
 
    <tr>
 
        <th>Field</th>
 
        <th>Value</th>
 
        <th>Description</th>
 
    </tr>
 
    <tr>
 
        <td>Router Advertisement-Service</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>
 
    </tr>
 
    <tr>
 
        <td>DHCPv6-Service</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>
 
    </tr>
 
    <tr>
 
        <td>NDP-Proxy</td>
 
        <td>disabled | relay mode | hybrid mode; default: <b>Disabled</b></td>
 
        <td>Specifies whether NDP should be relayed or disabled.</td>
 
    </tr>
 
    <tr>
 
        <td>DHCPv6-Mode</td>
 
        <td>stateless | stateful-only | stateless + stateful; default: <b>stateless + stateful</b></td>
 
        <td>Router announcement (RA) mode.</td>
 
    </tr>
 
    <tr>
 
        <td>Always announce default router</td>
 
        <td>off | on; default: <b>off</b></td>
 
        <td>Default router lifetime in the the router announcement (RA) message will be set if default route is present and a global IPv6 address or if default route is present but no global IPv6 address or neither of both conditions.</td>
 
    </tr>
 
    <tr>
 
        <td>Announced DNS server</td>
 
        <td>ip; default: <b>none</b></td>
 
        <td>Supplements DHCP-assigned DNS server entries with ones specified in this field.</td>
 
    </tr>
 
    <tr>
 
        <td>Announced DNS domains</td>
 
        <td>ip; default: <b>none</b></td>
 
        <td>DNS domain handed out to DHCP clients.</td>
 
    </tr>
 
</table>
 
 
===Static Lease===
 
----
 
<b>Static IP leases</b> are used to reserve specific IP addresses for specific devices by binding them to their MAC address. This is useful when you have a stationary device connected to your network that you need to reach frequently, e.g., printer, IP phone, etc.
 
 
This section displays static IP leases currently existing on this device.
 
 
[[File:Networking_rutos_manual_lan_lan_configuration_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:
 
 
[[File:Networking_rutos_manual_lan_lan_configuration_static_lease_edit_v1.png|border|class=tlt-border]]
 
 
You should be directed to a window that looks like this:
 
 
[[File:Networking_rutos_manual_lan_lan_configuration_static_lease_settings_v1.png|border|class=tlt-border]]
 
 
<table class="nd-mantable">
 
    <tr>
 
        <th>Field</th>
 
      <th>Value</th>
 
      <th>Description</th>
 
    </tr>
 
    <tr>
 
      <td>MAC address</td>
 
      <td>mac; default: <b>none</b></td>
 
      <td>MAC address of a device that is on this interface's network.</td>
 
    </tr>
 
    <tr>
 
    <td>IP address</td>
 
        <td>ip; default: <b>none</b></td>
 
        <td>The IP address that will be reserved for the specified device.</td>
 
    </tr>
 
</table>
 
 
====Static Lease: Add 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_lan_lan_configuration_static_lease_add_lease_v1.png|border|class=tlt-border]]
 
{{#ifeq: {{{wifi}}} | 1 |
 
===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>.
 
 
[[File:Networking_rutos_manual_lan_lan_configuration_relay_configuration_v1.png|border|class=tlt-border]]
 
 
<table class="nd-mantable">
 
    <tr>
 
        <th>Field</th>
 
      <th>Value</th>
 
      <th>Description</th>
 
    </tr>
 
    <tr>
 
      <td>Enabled</td>
 
      <td>off <nowiki>|</nowiki> on; default: <b>off</b></td>
 
      <td>Turns the relay configuration on or off.</td>
 
    </tr>
 
    <tr>
 
    <td>Interface</td>
 
        <td>network interface; default: <b>none</b></td>
 
        <td>Network interface associated with the relay configuration.</td>
 
    </tr>
 
</table>|}}
 
 
[[Category:{{{name}}} Network section]]
 
[[Category:{{{name}}} Network section]]

Revision as of 14:30, 23 November 2022

Template:Networking rutos manual fw disclosure


Summary

The LAN page is used to create and set up local area network interfaces.

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

LAN Configuration

The LAN Configuration section displays LAN interfaces currently existing on this device.

Networking rutos manual lan settings v1.png

To begin configuring an interface, click the 'Edit' button on the right side of the interface:

Networking rutos manual lan begin to edit v1.png

General Setup


The General Setup section is used to configure the main parameters of LAN.

Networking rutos manual lan configuration general setup v3.png

Field Value Description
IPv4 address ip4; default: 192.168.1.1 The IPv4 address interface of this interface. An IP address identifies a device on a network and allows it to communicate with other devices.
IPv4 netmask netmask; default: 255.255.255.0 The IPv4 netmask of this interface. A netmask is used to define how "large" a network is by specifying which part of the IP address denotes the network and which part denotes a device.
IPv4 gateway ip4; default: none The IPv4 gateway address used by this interface. An interface's default gateway is the default address through which all outgoing traffic is directed.
DNS servers ip4; default: none DNS server addresses that this interface will use. If left empty, DNS servers are assigned automatically. To see what DNS servers are currently used, you can check the contents of the /tmp/resolv.conf.auto file.

DHCP Server


A DHCP (Dynamic Host Configuration Protocol) server is a service that can automatically configure the TCP/IP settings of any device that requests such a service. If you connect a device that has been configured to obtain an IP address automatically, the DHCP server will lease out an IP address from the available IP pool and the device will be able to communicate within the private network.

Networking rutos manual lan configuration dhcp server general setup v2.png

Field Value Description
Enable DHCP Enable | Disable | DHCP Relay*; default: Enable Turns the DHCP server on or off or enables DHCP relay*.
If DHCP Relay* is selected, you will be prompted to enter an IP address of another DHCP server in your LAN. In this case, whenever a new machine connects to this device, it will redirect any DHCP requests to the specified DHCP Server.
Start IP integer [1..255]; default: 100 The DHCP server's IP address range start value.
End IP integer [1..255]; default: 150 End IP, i.e., the last possible IP in the selected range for the DHCP server.
Lease time integer [1..999999]; default: 12
integer [2..999999]*
integer [120..999999]**
A DHCP lease will expire after the amount of time specified in this field and the device that was using the lease will have to request a new one. However, if the device stays connected, its lease will be renewed after half of the specified amount of time passes (e.g., if lease time is 12 hours, then every 6 hours the device will ask the DHCP server to renew its lease).
The minimal amount of time that can be specified is 2 minutes.
*If selected Units is Minutes.
**If selected Units is seconds.
Units Hours | Minutes | Seconds; default: Hours Lease time measurement units.

* When an interface is set to act as a DHCP Relay, it redirects all received DHCP request messages to another specified DHCP server:

Networking rutx manual lan static dhcp server relay scheme v2.png

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