11.3. IP assignment via DHCP#

The Dynamic Host Configuration Protocol (DHCP) assigns computers an IP address, the subnet mask and further settings for the gateway or NetBIOS server as necessary. The IP address can be set fixed or dynamic.

The use of DHCP allows central assignment and control of IP addresses via the LDAP directory without performing manual configuration on the individual computer systems.

The DHCP integration in UCS only supports IPv4.

In a DHCP service, DHCP servers are grouped in a shared LDAP configuration. Global configuration parameters are entered in the DHCP service; specific parameters in the subordinate objects.

A DHCP server can be installed from the Univention App Center with the application DHCP server. Alternatively, the software package univention-dhcp can be installed. Additional information can be found in Installation of further software.

Every DHCP assigns IP addresses via DHCP. In the default setting, only static IP addresses are assigned to computer objects registered in the UCS LDAP.

If only fixed IP addresses are assigned, as many DHCP servers as required may be used in a DHCP service. All the DHCP servers procure identical data from the LDAP and offer the DHCP clients the data multiple times. DHCP clients then accept the first answer and ignore the rest.

If dynamic IP addresses are also assigned, the DHCP failover mechanism must be employed and a maximum of two DHCP servers can be used per subnet.

A DHCP host entry is used to make the DHCP service aware of a computer. A DHCP host object is required for computers attempting to retrieve a fixed IP address over DHCP. DHCP computer objects do not normally need to be created manually, because they are created automatically when a DHCP service is assigned to a computer object with a fixed IP address.

A DHCP subnet entry is required for every subnet, irrespective of whether dynamic IP addresses are to be assigned from this subnet.

Configuration parameters can be assigned to the different IP ranges by creating DHCP pools within subnets. In this way unknown computers can be allowed in one IP range and excluded from another IP range. DHCP pools can only be created below DHCP subnet objects.

If several IP subnets are used in a physical Ethernet network, this should be entered as a DHCP shared subnet below a DHCP shared network. DHCP shared subnet objects can only be created below DHCP shared network objects.

Values which are set on a DHCP configuration level always apply for this level and all subordinate levels, unless other values are specified there. Similar to policies, the value which is closest to the object always applies.

11.3.1. Composition of the DHCP configuration via DHCP LDAP objects#

The content of this section moved to DHCP module in Nubus Manual 1.x [8].

11.3.1.1. Administration of DHCP services#

The content of this section moved to DHCP services in Nubus Manual 1.x [8].

11.3.1.2. Administration of DHCP server entries#

The content of this section moved to DHCP server in Nubus Manual 1.x [8].

11.3.1.3. Administration of DHCP subnets#

The content of this section moved to DHCP subnets in Nubus Manual 1.x [8].

11.3.1.4. Administration of DHCP pools#

The content of this section moved to DHCP pools in Nubus Manual 1.x [8].

General tab#

The content of this section moved to General tab - DHCP pools in Nubus Manual 1.x [8].

Advanced settings tab#

The content of this section moved to Advanced settings tab - DHCP pools in Nubus Manual 1.x [8].

11.3.1.5. Registration of computers with DHCP computer objects#

The content of this section moved to DHCP host in Nubus Manual 1.x [8].

11.3.1.6. Management of DHCP shared networks / DHCP shared subnets#

The content of this section moved to DHCP shared network in Nubus Manual 1.x [8].

11.3.2. Configuration of clients via DHCP policies#

The content of this section moved to Configuration of clients through DHCP policies in Nubus Manual 1.x [8].

11.3.2.1. Setting the gateway#

The content of this section moved to Setting the gateway in Nubus Manual 1.x [8].

11.3.2.2. Setting the DNS servers#

The content of this section moved to Setting the DNS servers in Nubus Manual 1.x [8].

11.3.2.3. Setting the WINS server#

The content of this section moved to Setting the NetBIOS server in Nubus Manual 1.x [8].

11.3.2.4. Configuration of the DHCP lease#

The content of this section moved to Configuration of the DHCP lease in Nubus Manual 1.x [8].

11.3.2.5. Configuration of boot server/PXE settings#

The content of this section moved to Configuration of boot server in Nubus Manual 1.x [8].

11.3.2.6. Further DHCP policies#

The content of this section moved to Further DHCP policies in Nubus Manual 1.x [8].