RUT240 LAN: Difference between revisions
Line 90: | Line 90: | ||
{{Template: webui_network_lan_dhcp_summary}} | {{Template: webui_network_lan_dhcp_summary}} | ||
===General=== | ===General Setup=== | ||
---- | ---- | ||
{{Template: webui_network_lan_dhcp_general_setup}} | {{Template: webui_network_lan_dhcp_general_setup}} | ||
[[File: | [[File:Networking_rut_manual_lan_dhcp_server_advanced_settings.png|border|class=tlt-border]] | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
<tr> | <tr> | ||
<th> | <th>Field</th> | ||
<th> | <th>Value</th> | ||
<th> | <th>Description</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>DHCP</td> | <td>DHCP</td> | ||
<td>Enable | <td>Enable | Disable | DHCP Relay; default: <b>Enable</b></td> | ||
<td>Enables or disables DHCP Server. 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</td> | <td>Enables or disables DHCP Server. 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.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Start</td> | <td>Start</td> | ||
<td>integer [1..253]; | <td>integer [1..253]; default: <b>100</b></td> | ||
<td>The starting IP address value. e.g., if your router’s LAN IP is 192.168.2.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.2.0..192.168.2.254] (192.168.2.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.2.100</td> | <td>The starting IP address value. e.g., if your router’s LAN IP is 192.168.2.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.2.0..192.168.2.254] (192.168.2.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.2.100.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Limit</td> | <td>Limit</td> | ||
<td>integer [1..4294967296]; | <td>integer [1..4294967296]; default: <b>150</b></td> | ||
<td>How many addresses the DHCP server can lease out. Continuing from the above example: if the start address is 192.168.2.100 and the server can lease out 150 (default limit value), | <td>How many addresses the DHCP server can lease out. Continuing from the above example: if the start address is 192.168.2.100 and the server can lease out 150 (default limit value), available addresses will be from 192.168.2.100 to 192.168.2.249 (100 + 150 – 1 = 249; this is because the first address is inclusive).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Lease time</td> | <td>Lease time</td> | ||
<td>time in 'h' (hours) or 'm' (minutes); | <td>time in 'h' (hours) or 'm' (minutes); default: <b>12 Hours</b></td> | ||
<td>he duration of an IP lease. Leased out addresses 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 DHCP lease. However, if the device stays connected, its lease will be renewed after half of the specified amount of time passes, e.g., if the lease time is 12 hours, then every 6 hours the device will send a request to the DHCP server asking to renew its lease<br> | <td>he duration of an IP lease. Leased out addresses 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 DHCP lease. However, if the device stays connected, its lease will be renewed after half of the specified amount of time passes, e.g., if the lease time is 12 hours, then every 6 hours the device will send a request to the DHCP server asking to renew its lease<br> | ||
Lease time can be set in | Lease time can be set in hours (h) or minutes (m). The minimal amount of time that can be specified is 2 minutes (2m).</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 133: | Line 133: | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
<tr> | <tr> | ||
<th> | <th>Field</th> | ||
<th> | <th>Value</th> | ||
<th> | <th>Description</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Dynamic DHCP</td> | <td>Dynamic DHCP</td> | ||
<td>yes | <td>yes | no; default: <b>yes</b></td> | ||
<td>Enables Dynamic allocation of client addresses. If this is disabled, only clients that have static IP leases will be served</td> | <td>Enables Dynamic allocation of client addresses. If this is disabled, only clients that have static IP leases will be served.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Enable DNS rebind protection</td> | <td>Enable DNS rebind protection</td> | ||
<td>yes | <td>yes | no; default: <b>yes</b></td> | ||
<td>Enables DNS rebind attack protection by discarding upstream RFC1918 responses (leave default unless necessary otherwise)</td> | <td>Enables DNS rebind attack protection by discarding upstream RFC1918 responses (leave default unless necessary otherwise)b</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Force</td> | <td>Force</td> | ||
<td>yes | <td>yes | no; default: <b>no</b></td> | ||
<td>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 | <td>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 serverb</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>IP netmask</td> | <td>IP netmask</td> | ||
<td>ip; | <td>ip; default: <b>255.255.255.0</b></td> | ||
<td>Overrides your LAN netmask, thus making the DHCP server think that it’s serving a larger or smaller network than it actually | <td>Overrides your LAN netmask, thus making the DHCP server think that it’s serving a larger or smaller network than it actually isb</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>DHCP Options</td> | <td>DHCP Options</td> | ||
<td>DHCP options; | <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] <br> You can add more options by clicking the plus symbol ([[Image:Services sms gateway auto reply plus symbol.PNG]]) located next to the field</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] <br> You can add more options by clicking the plus symbol ([[Image:Services sms gateway auto reply plus symbol.PNG]]) located next to the field.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Force DHCP options</td> | <td>Force DHCP options</td> | ||
<td>yes | <td>yes | no; default: <b>no</b></td> | ||
<td>Forces DHCP option to be sent even if its not requested</td> | <td>Forces DHCP option to be sent even if its not requested.</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 10:55, 16 October 2020
Main Page > EOL Products > RUT240 > RUT240 Manual > RUT240 WebUI > RUT240 Network section > RUT240 LANSummary
A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building. By contrast, a wide area network (WAN) not only covers a larger geographic distance, but also generally involves leased telecommunication circuits or Internet links. An even greater contrast is the Internet, which is a system of globally connected business and personal computers.
This chapter is an overview of the LAN section.
The information in this page is updated in accordance with the RUT2XX_R_00.01.12 firmware version.
Configuration
General Setup
The General Setup section provides you with the possibility to set the router's Private IP address, IP netmask and IP broadcast.
Field | Value | Description |
---|---|---|
IP address | ip; default: 192.168.1.1 | IP address of this LAN interface. |
IP netmask | ip; default: 255.255.255.0 | A netmask is used to define how “large" the LAN network is. |
IP broadcast | ip; default: none | IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers. |
IPv6 Address | ip6; default: none | Assigns an Ipv6 address for this interface. CIDR notation: address/prefix. |
IPv6 Prefix Length | hex; default: 60 | Delegates a prefix length for this interface. |
IPv6 Prefix | hex; default: none | Custom IPv6 prefix for this network interface. |
ULA Prefix | ip; default: none | Prefix used for the Unique Local Address. |
Advanced Settings
LAN Configurations Advanced Settings tab contains some less frequently used, more complicated configurations, such as custom MTUs and network interface metric values.
Field | Value | Description |
---|---|---|
Override MTU | integer [0..1500]; default: none | MTU (Maximum Transmission Unit) specifies the largest possible size of a data packet. |
Use gateway metric | integer; default: none | The LAN configuration generates an entry in the routing table. In this field you can alter the metric of that entry. Higher metric means higher priority |
Use WAN port as LAN | yes | no; default: no | If this is enabled, the router's WAN port will act as if it were a LAN port. This works only when WAN is not set to wired! |
DHCP Server
A DHCP server is a service that can automatically configure the TCP/IP settings of any device that requests such a service (i.e., connects to the device with the operational DHCP server). 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.
General Setup
The General Setup tab is used to set DHCP server settings. The figure below is an example of the General Setup tab and the table below provides information on the fields contained in that tab:
Field | Value | Description |
---|---|---|
DHCP | Enable | Disable | DHCP Relay; default: Enable | Enables or disables DHCP Server. 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..253]; default: 100 | The starting IP address value. e.g., if your router’s LAN IP is 192.168.2.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.2.0..192.168.2.254] (192.168.2.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.2.100. |
Limit | integer [1..4294967296]; default: 150 | How many addresses the DHCP server can lease out. Continuing from the above example: if the start address is 192.168.2.100 and the server can lease out 150 (default limit value), available addresses will be from 192.168.2.100 to 192.168.2.249 (100 + 150 – 1 = 249; this is because the first address is inclusive). |
Lease time | time in 'h' (hours) or 'm' (minutes); default: 12 Hours | he duration of an IP lease. Leased out addresses 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 DHCP lease. However, if the device stays connected, its lease will be renewed after half of the specified amount of time passes, e.g., if the lease time is 12 hours, then every 6 hours the device will send a request to the DHCP server asking to renew its lease Lease time can be set in hours (h) or minutes (m). The minimal amount of time that can be specified is 2 minutes (2m). |
Advanced Settings
You may also apply more complicated, less common configurations to your router's DHCP Server in the Advanced Settings tab. The figure below is an example of the Advanced Settings tab and the table below provides information on the fields contained in that tab:
Field | Value | Description |
---|---|---|
Dynamic DHCP | yes | no; default: yes | Enables Dynamic allocation of client addresses. If this is disabled, only clients that have static IP leases will be served. |
Enable DNS rebind protection | yes | no; default: yes | Enables DNS rebind attack protection by discarding upstream RFC1918 responses (leave default unless necessary otherwise)b |
Force | yes | no; default: no | 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 serverb |
IP netmask | ip; default: 255.255.255.0 | Overrides your LAN netmask, thus making the DHCP server think that it’s serving a larger or smaller network than it actually isb |
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 You can add more options by clicking the plus symbol () located next to the field. |
Force DHCP options | yes | no; default: no | Forces DHCP option to be sent even if its not requested. |
Static Leases
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.
field name | value | description |
---|---|---|
Hostname | string; Default: " " | A custom name that will be linked with the device |
MAC address | mac; Default: " " | Device’s MAC address |
IP address | ip; Default: " " | The desirable IP address that will be reserved for the specified device |
IPv6 Server Configuration
field name | value | description |
---|---|---|
DHCPv6 server | Enabled | Relayed | Disabled; Default: Enabled | State of DHCPv6 server |
RA server | Enabled | Relayed | Disabled; Default: Enabled | State of Router Advertisement server |
NDP server | Enabled | Relayed | Disabled; Default: Enabled | State of the Neighbour Discovery Protocol server |
DHCPv6 server type | Stateless | Stateless + Stateful | Stateful; Default: Stateless | Type of router advertisements sent by the DHCPv6 server |
DNS servers | string; Default: " " | DNS servers advertised by the DHCPv6 server |
Domain names | string; Default: " " | Domain names advertised by the DHCPv6 server |
IP Aliases
IP Aliases are a way of defining or reaching a subnet that works in the same space as the regular network. This is useful if you need to reach the router that is located in the same network but in a different subnet. If you have a static IP configuration on your computer and don’t want to change it every time you need to reach a router in a different subnet, you can configure an IP alias in order to do so.
General setup
field name | value | description |
---|---|---|
IP address | ip; Default: " " | An alternate IP address used to reach the router by a device(s) that resides in the router's LAN but has a different subnet |
Netmask | ip; Default: 255.255.255.0 | Netmask defines how "large" a network is |
As you can see, the configuration is very similar to the static protocol; in the example above an IP address with a 99th subnet is defined. In this case, if some device has an IP in the 99th subnet (e.g., 192.168.99.xxx) and the subnet’s gateway metric is “higher” and the device is trying to reach the internet it will reroute it’s traffic not to the gateway that is defined in common configurations but through the one that is specified in IP aliases.
Advanced Settings
You may also define a broadcast address, a custom DNS server and Gateway for your IP Aliases in the Advanced Settings tab.
field name | value | description |
---|---|---|
IP Broadcast | ip; Default: " " | IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers |
DNS | ip; Default: " " | A separate DNS server to be used by the IP Alias address |
Gateway | ip; Default: " " | A gateway is a network node that connects two networks using different protocols together |
Relayd
Relayd is a daemon to relay and dynamically redirect incoming connections to a target host. Its main purpose in RUT routers is extending the wireless network. For example, when RUT is in STA (Wireless Station) mode, it can be used to bridge WAN and LAN interfaces to create a larger Wireless network. You can find a detailed example on how to use Relayd here.
field name | value | description |
---|---|---|
Enable | yes | no; Default: no | Toggles Relayd ON or OFF |