Template:Networking rutx manual lan

From Wiki Knowledge Base | Teltonika Networks
This is the approved revision of this page, as well as being the most recent.

Summary[edit | edit source]

A LAN (local area network) is a relatively small computer network that interconnects devices within a limited area such as a residence, school, laboratory, university campus, office building, etc. This chapter is an overview of the LAN section for {{{name}}} routers.

The information in this page is updated in accordance with the [[Media:{{{fw_version}}}_single.bin|{{{fw_version}}}]] firmware version.

LAN[edit | edit source]

The main LAN page displays information on existing LAN interfaces and provides you with the possibility to add additional ones. LAN configuration varies greatly in accordance with the chosen protocol. There are three available options:

  • Static address - the IP address and other settings for the interface will be set manually.
  • DHCP client - the interface will act as a DHCP client and receive all necessary settings from a specified DHCP server.
  • PPPoE - the interface will be used to establish a Digital Subscriber Line (DSL) Internet service connection using the Point-to-Point Protocol over Ethernet (PPPoE).

To select a protocol, begin editing a LAN interface by clicking the button that looks like a pencil Networking rutx trb14x manual edit button v1.png next to it:

[[File:{{{file_lan_edit}}}]]

Then select a protocol and click "Switch protocol:

[[File:{{{file_lan_switch_protocol}}}]]

NOTE: rest of the LAN configuration manual will be organized based on protocol choice.


Additional notes:

  • The Static address protocol is required if you also wish to host a DHCP server on the interface.
  • If you have multiple interfaces with separate DHCP servers, LAN devices may receive DHCP leases from any of these interfaces randomly. If the additional interfaces are used together with VLAN, then this issue is irrelevant.

Protocol: Static address[edit | edit source]

Static address: general[edit | edit source]


To find information on general LAN settings when using Protocol: Static address, refer to the figure and table below:

[[File:{{{file_lan_static_general}}}]]

Field Value Description
Protocol Static | DHCP | PPPoE; Default:Static The protocol used by the WAN interface
IPv4 address ip4; default: 192.168.1.1 The interface's IPv4 address. 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 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 the device.
IPv4 gateway ip; default: none An interface's default gateway is the address through which all outgoing traffic is directed by default.
IPv4 broadcast ip; default: none IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.
Use custom DNS servers ip; default: none Specify custom DNS servers that the interface should use. If left empty, DNS servers are assigned automatically. To check what DNS servers are currently used, you can read the contents of the /tmp/resolv.conf.auto file.

Static address: advanced[edit | edit source]


To find information on advanced LAN settings when using Protocol: Static address, refer to the figure and table below:

[[File:{{{file_lan_static_advanced}}}]]

Field Value Description
Force link off | on; default: on 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.
Use built in IPv6-management off | on; default: on Specifies whether to enable prefix delegation.
Override MAC address mac; default: none When set, uses a different, user-defined MAC address for the interface.
Override MTU integer [1..9200]; default: none 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.
Use gateway metric integer; default: 0 A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).
IPv6 assignment length 60 | 64 | disabled | integer [0..64]; default: 60Delegates a prefix of given length to the interface.
IPv6 assignment hintstring; default: noneHint the subprefix-ID that should be delegated as hexadecimal number.
IPv6 suffix ip6 suffix; default: noneWhen 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.
IPv6 addressip6; default: noneThe interface's IPv6 address. An IP address identifies a device on a network and allows it to communicate with other devices.
NOTE: this field only becomes visible when IPv6 assignment length is set to disabled.
IPv6 gatewayip6; default: noneIPv6 prefix routed here for use on other interfaces.
NOTE: this field only becomes visible when IPv6 assignment length is set to disabled.
IPv6 routed prefixip6; default: noneIPv6 prefix routed here for use on other interfaces.
NOTE: this field only becomes visible when IPv6 assignment length is set to disabled.

Static address: DHCP server[edit | edit source]


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.

[[File:{{{file_lan_static_dhcp_scheme}}}]]

In order to view the DHCP server configuration, the interface's protocol must be set to [[{{{name}}}_LAN#Protocol:_Static_address|Static address]].

DHCP server: general[edit | edit source]


To find information on general DHCP server settings, refer to the figure and table below:

[[File:{{{file_lan_static_dhcp_general}}}]]

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 device connects to the router, the router will redirect any DHCP requests to the specified DHCP Server.
Start integer [1..255]; default: 100 The starting IP address value. e.g., if your router’s LAN IP is 192.168.1.1 and your subnet mask is 255.255.255.0 that means that in your network a valid IP address has to be in the range of [192.168.1.0..192.168.1.254] (192.168.1.255 is a special unavailable address). If the Start value is set to 100 then the DHCP server will only lease out addresses starting from 192.168.1.100.
Limit integer [1..255]; default: 150 How many addresses the DHCP server can lease out. Continuing from the example above: if the start address is 192.168.1.100 and the server can lease out 150 addresses, available addresses will be from 192.168.1.100 to 192.168.1.249 (100 + 150 – 1 = 249; this is because the first address is inclusive).
Lease time interger [2..999999]; default: 12 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.
Units Hours | Minutes; default: Hours Lease time measuring units.

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

[[File:{{{file_lan_static_dhcp_relay_scheme}}}]]

DHCP server: advanced[edit | edit source]


To find information on advanced DHCP server settings, refer to the figure and table below:

[[File:{{{file_lan_static_dhcp_advanced}}}]]

Field Value Description
Dynamic DHCP off | on; default: on Enables dynamic allocation of client addresses. If this is disabled, only clients that have static IP leases will be served.
Force off | on; defualt: off The DHCP force function ensures that the router will always start it’s DHCP server, even if there is another DHCP server already running in the router’s network. By default the router’s DHCP server will not start when it is connected to a network segment that already has a working DHCP server.
IPv4 Netmask netmask; default: none Sends a different netmask than the LAN netmask to DHCP clients.
DHCP Options dhcp options; default: none 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 here.

DHCP server: IPv6[edit | edit source]


To find information on DHCP server's IPv6 settings, refer to the figure and table below:

[[File:{{{file_lan_static_dhcp_ipv6}}}]]

Field Value Description
Router Advertisement Service disabled | relay mode | server mode | hybrid mode; default: Disabled Specifies whether router advertisements should be enabled (server mode), relayed or disabled.
DHCPv6 Service disabled | relay mode | server mode | hybrid mode; default: Disabled Specifies whether DHCPv6 server should be enabled (server), relayed (relay) or disabled (disabled)
NDP Proxy disabled | relay mode | hybrid mode; default: Disabled Specifies whether NDP should be relayed or disabled
DHCPv6 Mode stateless | stateful-only | stateless + stateful; default: stateless + stateful
Always announce default router off | on; default: off
Announced DNS server ip; default: none
Announced DNS domains ip; default: none

Protocol: DHCP client[edit | edit source]

DHCP client: general[edit | edit source]


To find information on general LAN settings when using Protocol: DHCP client, refer to the figure and table below:

[[File:{{{file_lan_dhcp_general}}}]]

Field Value Description
Protocol Static | DHCP | PPPoE; Default: static The protocol used by the WAN interface
Hostname to send when requesting DHCP ip | host; default: none IP address or hostname of a DHCP server.

DHCP client: advanced[edit | edit source]


To find information on advanced LAN settings when using Protocol: DHCP client, refer to the figure and table below:

[[File:{{{file_lan_dhcp_advanced}}}]]

Field Value Description
Force link off | on; default: off 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.
Use built-in IPv6 management off | on; default: on Specifies whether to enable prefix delegation.
Use broadcast flag off | on; default: off
Use default gateway off | on; default: on When checked, creates a default route for the interface.
Use DNS servers advertised by peer off | on; default: on Specifies whether to use DNS servers obtained automatically or specified manually.
Use gateway metric integer; default: 0 A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).
Client ID to send when requesting DHCP string; Default: " " Client ID which will be sent when requesting a DHCP lease.
Vendor Class to send when requesting DHCP string; Default: " " 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 [1..9200]; default: none 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.

Protocol: PPPoE[edit | edit source]

PPPoE: general[edit | edit source]


To find information on general LAN settings when using Protocol: PPPoE, refer to the figure and table below:

[[File:{{{file_lan_pppoe_general}}}]]

Field Value Description
Protocol Static | DHCP | PPPoE; Default: StaticThe protocol used by the WAN interface
PAP/CHAP username string; default: none Username used in PAP/CHAP authentication.
PAP/CHAP password string; default: none Password used in PAP/CHAP authentication.
Access Concentrator string; default: none The Access Concentrator to connect to. ISPs used Access Concentrators to route their PPPoE connections. Usually, the settings are received automatically, however in some cases it is required to specify the name for an Access Concentrator. Leave empty to detect Access Concentrators automatically.
Service name string; default: none The Service Name to connect to. Leave empty to detect Service name automatically.

PPPoE client: advanced[edit | edit source]


To find information on advanced LAN settings when using Protocol: PPPoE, refer to the figure and table below:

[[File:{{{file_lan_pppoe_advanced}}}]]

Field Value Description
Force link off | on; default: off 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.
Use built-in IPv6 management off | on; default: on Specifies whether to enable prefix delegation.
Obtain IPv6 address Automatic | Disabled | Manual; default: Automatic
Use default gateway off | on; default: on When checked, creates a default route for the interface.
Use gateway metric integer; default: 0 A metric specifies the priority of the gateway. The lower the metric, the higher the priority (0 for highest priority).
Use DNS servers advertised by peer off | on; default: on Specifies whether to use DNS servers obtained automatically or specified manually.
LCP echo failure threshold integer; Default: " " Presumes peer to be dead after given amount of LCP echo failures. Leave it at 0 to ignore failures.
LCP echo interval integer; Default: " "Sends LCP echo requests at the given interval in seconds. This function is only effective in conjunction with failure threshold.
Host-Uniq tag content Raw hex-encoded bytes; Default: " " Leave empty unless your ISP require this.
Inactivity timeout mac; default: none Close inactive connection after the given amount of seconds. Leave it at 0 to persist connection.
Override MTU integer [0..1500]; Default: " " Maximum Transmission Unit (MTU) – specifies the largest possible size of a data packet.

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