Template:Networking rutos manual interfaces: Difference between revisions
Appearance
→DHCP Server: General Setup: updated DHCP server information and pictures. |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 769: | Line 769: | ||
<td>ip4; default: <b>none</b></td> | <td>ip4; default: <b>none</b></td> | ||
<td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td> | <td>Specifies custom DNS servers. If left empty, DNS servers advertised by peer are used. </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Use gateway metric</td> | <td>Use gateway metric</td> | ||
<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> | ||
<tr> | <tr> | ||
<td>Override MTU</td> | <td>Override MTU</td> | ||
| Line 859: | Line 859: | ||
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_interface_configuration_dhcp_server_general_setup_lan_{{{lan}}}.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 873: | Line 873: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Start</td> | <td>Start IP</td> | ||
<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 | <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> | <td>End IP</td> | ||
<td> | <td>ip4; default: <b>{{#switch:{{{series}}}|TRB1|TRB5=192.168.2.249|#default=192.168.1.249}}</b></td> | ||
<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 [1..999999]; default: <b>12</b>< | <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>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> | ||