RUTX11 DHCP

Wiki mirrorView source
The information in this page is updated in accordance with firmware version RUTX_R_00.07.22.1.

Summary

The DHCP page is used to to set up DHCP settings, which are used to connect device with external networks.
This manual page provides an overview of DHCP page in RUTX11 devices.

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.
This page displays static IP leases currently existing on this device.
To make the Static Lease section visible, set interface protocol to Static.
The Static Lease list is empty by default. To add a new Static Lease click the 'Add' button.
Appears static lease, which should look similar to this:
FieldValueDescription
MACmac; default: noneMAC address of a device that will connect to this network interface. Possible variants: MAC address: 01:23:45:56:78:9a, Wildcard: 01:23:45:56:*:*
IPip; default: noneThe IP address that will be reserved for the specified device.
Hostnamestring; default: noneName of static lease.
Additionally there is a IPv6 tab for IPv6 static leases.
FieldValueDescription
DUIDDUID; default: noneDHCP unique identifier is used by DHCPv6 to identify device. Similar to MAC that is used by DHCPv4.
Host IDipv6; default: noneUsed to define IPv6 address that will be statically leased. To get it from the IPv6 address remove the IPv6 prefix and all semicolons.
Hostnamestring; default: noneName of static lease.
After you click 'Save & Apply' static leases will be saved.

DHCP server configuration

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.

IPv4

To edit lan interface DHCPv4 settings click the 'Edit' button.
Note:`dnsmasq` does not lease IPv4 addresses ending with .0 and .255.
The information button shows the number of dynamic and static leases:

DHCPv4 general setup

The General Setup section is used to set up the main operating parameters of the DHCP server.
FieldValueDescription
Enableon | off; default: onTurns the DHCPv4 server on or off.
DHCPv4 modeServer | Relay; default: ServerSpecifies DHCPv4 mode
  • Possible variants:
  • Server: This device will be used to handle IP assigning
  • Relay: Specified server will be used to handle IP assigning
  • Start IPinteger [1..254]; default: 100Type an IP address to serve as the start of the IP range that DHCP will use to assign IP addresses.
    End IPinteger [1..254]; default: 254Type an IP address to serve as the end of the IP range that DHCP will use to assign IP addresses.
    Lease timeinteger [1..999999] | infinite*; default: 12integer [2..999999]**integer [120..999999]***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.
    *Infinite option DHCP address will never expire.
    **If selected Units is Minutes.
    ***If selected Units is seconds.
    DHCP serverip; default: noneSpecifies DHCP server's IP address, which directs any requests into server.
    Enable option 82off | on; default: offEnables DHCP relay agent information option used to provide additional information about the location of the DHCP client.
    Circuit IDstring; default: noneRelay agent circuit id sub-option.
    Remote IDstring; default: noneRelay agent remote id sub-option.
    Delete-(action button)Removes DHCP server.

    Advanced settings

    Refer to the table below for information on the Advanced Settings section.
    FieldValueDescription
    Dynamic DHCPoff | on; default: onDynamically allocate DHCP addresses for clients. If disabled, only clients having static leases will be served.
    Forceoff | on; default: offForce DHCP on this network even if another server is detected.
    IPv4-Netmasknetmask; default: noneOverride the netmask sent to clients. Normally it is calculated from the subnet that is served.
    Custom DHCP Options-(interactive button)Custom DHCP options are number and value pairs used to configure advanced DHCP functionality. It does not configure DHCP ipv6!
    Force DHCP optionsoff | on; default: offForce DHCP options to be sent even if it's not requested.
    Custom DHCP options
    Custom DHCP options are number and value pairs used to configure advanced DHCP functionality. It does not configure DHCP ipv6!. The DHCP options modal is used to 'Add', 'Delete', 'Save' multiple options.
    FieldValueDescription
    Add-(interactive button)To add custom DHCP options.
    Option codeCustom | Time offset (2) | Router (3) | DNS (6) | Domain name (15) | NTP server (42) | +Add new; default: Time offset (2)Standartized DHCP option code.
    Option valueinteger; default: noneValue that will be set for selected option.
    Do not sendoff | on; default: offForce this value to not be sent.

    IPv6

    To edit lan interface DHCPv6 settings click the 'Edit' button.

    DHCP Server: IPv6 Settings

    Refer to the table below for information on the IPv6 Settings section.
    FieldValueDescription
    Enableoff | on: onTurns the DHCPv6 server on or off.
    Router Advertisement ServiceDisabled | Server mode | Reley mode | Hybrid mode; default: Server modePossible variants:
  • Disabled: Do not advertise any devices as router
  • Server: Advertise this device as a router
  • Relay: Advertise the parent interface as a router
  • Hybrid: Normally works as 'Relay' with automatic fallback to 'Server' if there is no active parent interface
  • DHCPv6-ServiceDisabled | Server mode | Relay mode | Hybrid mode; default: Server modePossible variants:
  • Disabled: Do not automatically assign IPv6 addresses
  • Server: This device assigns IPv6 addresses
  • Relay: Forward IPv6 assigning requests between network devices and parent interface
  • Hybrid: Normally works as 'Relay' with automatic fallback to 'Server' if there is no active parent interface
  • DHCPv6-ModeAuto | Prefer stateless | Prefer stateful; default: AutoConfigure how clients will get IPv6 addresses. Possible variants:
  • Prefer stateless: Prefer client to use SLAAC (Stateless Address Autoconfiguration) to get an IPv6 address. This can be ignored by some devices. Disable DHCPv6-Service to enforce stateless mode.
  • Auto: The client will use its preferred way to get an IPv6 address.
  • Prefer stateful: Prefer client to use DHCPv6 to get an IPv6 address. This can be ignored by some devices without DHCPv6 support like android.
  • NDP ProxyDisabled | Relay mode | Hybrid mode; default: DisabledPossible variants:
  • Disabled: Do not proxy any NDP packets
  • Relay: Forward NDP packets between network devices and the parent interface
  • Hybrid: Normally works as 'Relay' with automatic fallback to 'Disabled' if there is no active parent interface
  • Always announce default routeroff | on; default: offAnnounce as default router even if no public prefix is available.
    Announced DNS serverstrin; default: noneSupplements DHCP-assigned DNS server entries with ones specified in this field.
    Announced DNS domainsstring; default: noneDNS domain handed out to DHCP clients.
    * When an interface is set to act as a DHCP Relay, it redirects all received DHCP request messages to another specified DHCP server:
    Note: devices with EG060K-EA modem module support DHCP Relay over mobile connection.