Changes

Line 45: Line 45:  
----
 
----
 
[[File:Networking_rutos_manual_wan_wan_configuration_general_setup_static_address_v2.png|border|class=tlt-border]]
 
[[File:Networking_rutos_manual_wan_wan_configuration_general_setup_static_address_v2.png|border|class=tlt-border]]
  −
<table class="nd-mantable">
  −
    <tr>
  −
        <th>Field</th>
  −
      <th>Value</th>
  −
      <th>Description</th>
  −
    </tr>
  −
    <tr>
  −
      <td>Hostname to send when requesting DHCP</td>
  −
      <td>string; default: <b>none</b></td>
  −
      <td>A hostname for this interface used to identify this machine on the DHCP server.</td>
  −
    </tr>
  −
</table>|}}
  −
  −
====Static: DHCP Server====
  −
----
  −
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]]
  −
  −
This section is used to set up the main operating parameters of the DHCP server.
  −
  −
[[File:Networking_rutos_manual_wan_wan_configuration_static_dhcp_server.png|border|class=tlt-border]]
  −
  −
<table class="nd-mantable">
  −
    <tr>
  −
        <th>Field</th>
  −
        <th>Value</th>
  −
        <th>Description</th>
  −
    </tr>
  −
    <tr>
  −
        <td>Enable DHCP</td>
  −
        <td>Enable <nowiki>|</nowiki> Disable <nowiki>|</nowiki> DHCP Relay<span class="asterisk">*</span>; default: <b>Enable</b></td>
  −
        <td>Turns the DHCP server on or off or enables DHCP relay<span class="asterisk">*</span>.<br>If DHCP Relay<span class="asterisk">*</span> 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.</td>
  −
    </tr>
  −
    <tr>
  −
        <td>Start</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>
  −
    </tr>
  −
    <tr>
  −
        <td>Limit</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>
  −
    </tr>
  −
    <tr>
  −
        <td>Lease time</td>
  −
        <td>integer [1..999999]; default: <b>none</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.</br><span class="asterisk">*</span>If selected Units is Minutes.</br><span class="asterisk">**</span>If selected Units is seconds.</td>
  −
    </tr>
  −
    <tr>
  −
        <td>Units</td>
  −
        <td>Hours <nowiki>|</nowiki> Minutes <nowiki>|</nowiki> Seconds; default: <b>Hours</b></td>
  −
        <td>Lease time units.</td>
  −
    </tr>
  −
</table>
  −
  −
<span class="asterisk">*</span> When an interface is set to act as a DHCP Relay, it redirects all received DHCP request messages to another specified DHCP server:
  −
  −
[[File:Networking_rutx_manual_lan_static_dhcp_server_relay_scheme_v2.png]]
  −
  −
===DHCP===
  −
----
  −
The <b>DHCP client</b> protocol is used to set up an interface which obtains its configuration parameters automatically via a DHCP lease.
  −
  −
[[File:Networking_rutos_manual_wan_wan_configuration_general_setup_dhcp_client.png|border|class=tlt-border]]
      
<table class="nd-mantable">
 
<table class="nd-mantable">

Navigation menu