Template:Networking rutos manual lan
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.
If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Advanced" button, located at the top of the WebUI.
LAN Configuration
The LAN Configuration section displays LAN interfaces currently existing on this device.
To begin configuring an interface, click the 'Edit' button on the right side of the interface:
General Setup
The General Setup section is used to configure the main parameters of LAN.
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. |
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. |
Advanced Settings
The Advanced Settings section is used to set up some of the more specific and less frequently used interface parameters.
Field | Value | Description |
---|---|---|
Override MAC address | mac; default: (default) | When set, uses a user-defined MAC address for the interface. |
Override MTU | integer [1..9200]; default: none | 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. |
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.
DHCP Server: General Setup
The General Setup section is used to set up the main operating parameters of the DHCP server.
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 | integer [1..255]; default: 100 | The starting IP address value. e.g., if your device’s LAN IP is 192.168.1.1 and your subnet mask is 255.255.255.0 that means that in your network a valid IP address has to be in the range of [192.168.1.0..192.168.1.254] (192.168.1.255 is a special unavailable address). If the Start value is set to 100 then the DHCP server will only lease out addresses starting from 192.168.1.100. |
Limit | integer [1..255]; default: 150 | How many addresses the DHCP server can lease out. Continuing from the example above: if the start address is 192.168.1.100 and the server can lease out 150 addresses, available addresses will be from 192.168.1.100 to 192.168.1.249 (100 + 150 – 1 = 249; this is because the first address is inclusive). |
Lease time | integer [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 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:
DHCP Server: IPv6 Settings
Refer to the table below for information on the IPv6 Settings section.
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 | Router announcement (RA) mode. |
Always announce default router | off | on; default: off | 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. |
Announced DNS server | ip; default: none | Supplements DHCP-assigned DNS server entries with ones specified in this field. |
Announced DNS domains | ip; default: none | DNS domain handed out to DHCP clients. |
Static Lease
Static IP leases 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. In order to view the Static Lease section, the interface protocol must be set to Static.
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.
You should be redirected to the Settings page for that lease, which should look similar to this:
Field | Value | Description |
---|---|---|
MAC address | mac; default: none | MAC address of a device that will connect to this network interface. |
IP address | ip; default: none | The IP address that will be reserved for the specified device. |
After you click 'Save & Apply' you will be redirected back to the 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.
[[Category:{{{name}}} Network section]]