Skip to main content

ClearOS DHCP Server

About

ClearOS 7 is configured to be the DHCP server for any LAN interfaces by default. The DHCP server settings can be customized to your preferences, or turned off entirely in the event you wish to have other equipment manage DHCP on your network.

Settings

  1. Sign-in to the ClearOS Webconfig panel

  2. Navigate to Network / Settings / DHCP Server

    clearos7-webconfig-network-infrastructure-dhcp-server.png

  3. By default, the DHCP server is configured to

    • Authoritative
    • Use the system hostname for the local domain Change these settings with the Edit button.

Subnets are listed out per-interface, along with the DHCP server configuration for those subnets. Actions available:

  • Change existing configurations with Edit
  • Turn off the DHCP server for a subnet with Delete
  • Configure the DHCP server for a subnet with Configure clearos7-webconfig-dhcp-server-subnet-list-for-settings.png Subnet settings are available as follows:
    • Lease Time
    • Gateway
    • IP Range Start
    • IP Range End
    • DNS server(s)
    • Additional server types Select Update to apply your changes. (Initial configuration of a prior-unconfigured subnet will show Add instead of Update.) clearos7-webconfig-dhcp-server-subnet-settings.png
  1. The Lease Table shows information on existing leases. For more information, including lease time/status, select Detailed Report (#1 on the screenshot).
  • The Add button (#2 on the screenshot) enables creating new lease for a device that hasn't connected to the network yet. A new form will load for you to enter the MAC and IP address information.
  • The Edit button (#3 on the screenshot) enables you to edit the IP address lease information, as well as the lease type.

Be aware that edits to an existing Lease won't take effect until the device in question re-requests an address from the DHCP server.

  • The Delete button (#4 on the screenshot) removes the lease entry from the server. clearos7-webconfig-dhcp-server-lease-table.png

    Dynamic lease example:

    clearos7-webconfig-dhcp-server-dynamic-lease-example.png

    Static lease example:

    clearos7-webconfig-dhcp-server-static-lease-example.png