The DHCP Server app (Dynamic Host Configuration Protocol) allows hosts on a network to request and be assigned IP addresses. This service eliminates the need to manually configure new hosts that join your network.
If your system does not have this app available, you can install it via the Marketplace.
You can find this feature in the menu system at the following location:
You can enable and disable the DHCP server at any time.
Unless you are running more than one DHCP on your network, enable Authoritative mode. When this is enabled, then DHCP requests on unknown leases from unknown hosts will not be ignored. This will be the case when a foreign laptop is plugged into your network.
The server can auto-configure the default Internet domain name for systems using DHCP on your network. You can either use your own Internet domain (for example: example.com) or you can simply make one up (for example: lan). Example:
A desktop system on your local network has a system name scooter and uses DHCP.
The domain name specified in the DHCP server is example.com.
On startup, the desktop system appends example.com to its system name. Its full hostname would become scooter.example.com.
In a typical installation, the DHCP server is configured on all LAN interfaces. To add/edit DHCP settings for a particular network interface, click on the appropriate add/edit button.
The network number is automatically detected by the system.
Keep a range of IP addresses available for systems and services that require static addresses. For instance, a PPTP VPN server and some types of network printers require static IP addresses.
In a typical local area network, the first 99 IP addresses are set aside for static addresses while the remaining addresses from 100 to 254 are set aside for the systems using the DHCP server. Adjust these settings to suit your needs and your network.
The server can auto-configure the DNS settings for systems using DHCP on your network. By default, the IP address of the DNS Server on your ClearOS system is used. You should change this setting if you want to use an alternate DNS server.
If you have a Microsoft Windows Internet Naming Service (WINS) server on your network, you can provide the IP address to all Windows computers on your network. This will allow Windows systems to access resources via Windows Networking. You can enter the LAN IP address of your ClearOS system here if you have enabled Windows networking on your system..
If you have a TFTP server on your network, you can specify the IP address in your DHCP configuration. Among other uses, TFTP is commonly used by VoIP phones.
If you have an NTP (time) server on your network, you can specify the IP address in your DHCP configuration. Though most modern desktop systems are already configured with a time server, some devices and applications require a local NTP server available.
Active and Static Leases
A list of systems that are actively using the DHCP server is shown in the Active Leases table. If you would like to make a DHCP lease for a particular system permanent, you can click on the appropriate button in this list.
You should only have one (1) DHCP server per network.
Enabling DHCP on your Internet connection is… not a good idea.
content/en_us/6_dhcp_server.txt · Last modified: 2015/08/07 00:01 (external edit)