Configure DHCP client groups and assign hostnames and option templates. Host declarations are matched to actual DHCP or BOOTP clients by matching the dhcp-client-identifier option specified in the host declaration to the one supplied by the client, or, if the host declaration or the client does not provide a dhcp-client-identifier option, by matching the hardware parameter in the host declaration to the network hardware address supplied by the client. BOOTP clients do not normally provide a dhcp-client-identifier, so the hardware address must be used for all clients that may boot using the BOOTP protocol.
In this article:
Before You Begin
Before configuring known clients for use with the DHCP service, enable advanced pool configuration in the DHCP service setup. For more information, see How to Configure Advanced DHCP Settings.
Configure Known Client
- Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > DHCP-Service > DHCP Enterprise Configuration.
- In the left menu expand the Configuration Mode section, select Advanced View.
- In the left menu, select Known Clients.
- Click Lock.
- In the Client Groups table, click + and add a client group.
- Enter a Name for the group and click OK. The Client Groups window opens.
- From the Group DHCP Options list, select the DHCP options template which settings should be used for the group. For more information, see How to Configure DHCP Option Templates.
- From the Group Parameters list, select the DHCP parameter template which settings should be used for the group. For more information, see How to Configure DHCP Parameter Templates.
- Enable or disable Automatic Hostname Assignment. You can select:
- true – For every host declaration of this group of known clients, the name provided for host declaration will be supplied to the client as its hostname.
- false – (default) The setting is disabled.
- In the Clients table, click + and add the client group members.
- Enter a Name for the client and click OK. The Clients window opens.
Enter the DHCP Client Identifier that identifies the host client when requesting an IP address.
- Enter the MAC Address of the client required for identification.
- From the Match Type list, select the type of network card requesting a lease.
- If required, enter the static IP address(es) that are sent to the client in the Fixed IP Addresses field.
- For advanced configuration settings, see the following Advanced Client Assignments section.
- Click OK.
- Click Send Changes and Activate.
Advanced Client Assignments
In the Advanced Client Assignments section you can apply templates to be used for your clients and configure advanced settings for server responses and host declaration.
For each client entry, you can edit the following settings:
- Client DHCP Options – From this list, select the DHCP options template which settings should be used for the client. For more information, see How to Configure DHCP Option Templates.
- Client Parameters – From this list, select the DHCP parameter template which settings should be used for the client. For more information, see How to Configure DHCP Parameter Templates.
- Allowed Broadcast Reply – DHCP and BOOTP protocols both require DHCP and BOOTP clients to set the broadcast bit in the flags field of the BOOTP message header. Unfortunately, some DHCP and BOOTP clients do not do this, and therefore may not receive responses from the DHCP server. The DHCP server can be configured to always broadcast its responses to clients by setting this flag to yes for the relevant scope; relevant scopes would be inside a conditional statement, as a parameter for a class or as a parameter for a host declaration. In order to avoid creating excessive broadcast traffic on your network, Barracuda Networks recommends that you restrict the use of this option to as few clients as possible.
Duplicates Policy – From this list, you can select either allow or deny. Host declarations can match client messages based on the DHCP Client Identifier option or on the client's network hardware type and MAC address. If the MAC address is used, the host declaration will match any client with that MAC address – even clients with different client identifiers. This is possible when one computer has more than one operating system installed on it. For example, Microsoft Windows and NetBSD or Linux.
- Client Hostname – If a name is entered, the statement within a host declaration will override the use of the name in the host declaration.
- DDNS Hostname – Defines the hostname to be used in setting up the client's A and PTR records; if not specified, the server will derive the hostname automatically, using an algorithm that varies for each of the different update methods.