5.4. Configuring DHCP

The DHCP service (Dynamic Host Configuration Protocol) allows you to automate provisioning of network settings to clients in a local network. In a network with the DHCP server, each network device can be dynamically assigned an IP address, gateway address, and DNS.

UserGate is also able to work as a DHCP relay by forwarding DHCP requests from clients in different networks to the central DHCP server. For more details on how to configure a DHCP relay, please refer to Configuring DHCP.

In UserGate, you can create multiple ranges of IP addresses that will be allocated via DHCP. A DHCP server works independently on each node of the high-availability cluster. To ensure high availability of the DHCP server, make sure to configure DHCP on both nodes and allocate them non-overlapping IP ranges.

To create a new DHCP range, click Add subnet and specify the following parameters:

Name

Description

Enabled

Enable or disable this DHCP range

Node name

Node of the cluster where this range will be created

Interface

Interface of the server om which the IP addresses from the new range will be allocated

IP range

Range of IP addresses allocated to clients by DHCP

Mask

Subnet mask allocated to clients by DHCP

Lease time

Period for which the IP addresses are allocated, in seconds

Domain

Domain name allocated to clients by DHCP

Gateway

IP address of the gateway allocated to clients by DHCP

Name servers

IP addresses of the DNS servers allocated to clients by DHCP

Reserved hosts

MAC addresses and their mapped IP addresses

Ignored MAC

List of MAC addresses that should be ignored by the DHCP server

DHCP PXE boot

Server address and boot file name provided to PXE boot

All assigned IP addresses are shown in the Leased addresses panel. Network administrators can release any assigned address by selecting it in the list and clicking Release.