Create DHCP parameter templates to simplify the configuration of multiple DHCP subnets. Specify time settings for leases and updates, configure networking settings, and apply them to your client address pools.
Before You Begin
Before configuring DHCP parameter templates, enable advanced pool configuration in the DHCP service setup. For more information, see How to Configure Advanced DHCP Settings.
Step 1. Configure Lease Constraints
- Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > DHCP > DHCP Enterprise Configuration.
- In the left menu, expand Configuration Mode and click Advanced View.
- In the left menu, select Parameter Templates.
- Click Lock.
- In the Parameters table, click + to add a parameter template.
- Enter a Name for the template and click OK. The Parameters window opens.
- In the Lease Constraints table, configure the following settings:
- Max Lease Time – The maximum length of time in seconds that will be assigned to a lease. The only exceptions to this setting are Dynamic BOOTP lease lengths, which are not specified by the client.
- Def Lease Time – The default length in seconds that is assigned to a lease.
- Min Lease Time – The minimum length in seconds that is assigned to a lease.
Reply Delay – The minimum number of seconds since a client began trying to acquire a new lease before the DHCP server will respond to its request. The number of seconds is based on what the client reports, and the maximum value that the client can report is 255 seconds. If you specify 1 second, the DHCP server will not respond to the client's first request but will always respond to its second request. This setting can be used to set up a secondary DHCP server which never offers an address to a client until the primary server has been given a chance to do so. If the primary server is down, the client will bind to the secondary server, but otherwise clients should always bind to the primary.
Step 2. Configure Dynamic DNS Parameters
Configure dynamic DNS settings if DNS updates are enabled and ddns-update (see How to Configure DHCP with Dynamic DNS ) is set to interim.
- From the Do Fwd Updates list, select whether the DHCP server should attempt to update a DHCP client's A record if the client acquires or renews a lease.
- true – Forward updates are enabled, and the DHCP server will also honor the setting of the client-updates flag.
- false – The DHCP server only attempts to update the client's PTR record if the client supplies an FQDN that should be placed in the PTR record using the 'fqdn' option.
- From the Optimized Updates list, select one of the following options:
- true – The DHCP server will only update when the client information changes, the client gets a different lease, or the client's lease expires.
- false / not-set – If set for a given client, the server will attempt a DNS update for that client each time the client renews its lease, rather than only attempting an update when necessary. This allows the DNS to heal from database inconsistencies more easily, but the DHCP server must do many more DNS updates.
Leave Update Static Leases as default (false) unless instructed otherwise.
- Enter the DDNS Domainname that should be appended to the client's hostname to form a FQDN.
- In the Rev DDNS Domainname field, you can change the domain name (default= in-addr.arpa.) for use in the client's PTR record, that should be appended to the client's reversed IP address (e.g. 184.108.40.206.in-addr.arpa. for client 10.17.92.74).
In the Dynamic BOOTP Lease Time field, you can specify the length in seconds of leases dynamically assigned to BOOTP clients. At some sites, it may be possible to assume that a lease is no longer in use if its holder has not used BOOTP or DHCP to get its address within a certain time period. If a client reboots using BOOTP during the timeout period, the lease duration is reset to this length, so a BOOTP client that boots frequently enough will never lose its lease.
- In the Boot File Server field, enter t he host IP address of the server from which the initial boot file (specified in the file name statement) is to be loaded. If this setting does not apply to a given client, the IP address of the DHCP server is used.
- In the Boot File field, enter the name of the initial boot file which is to be loaded by a client. The file name should be recognizable to the file transfer protocol used to load the file.
Step 3. Configure Miscellaneous Parameters
Configure address assignment for clients without host declaration, and specify domain lookup and ping checking behavior. Some BOOTP clients expect RFC1048-style responses, but do not follow RFC1048 when sending their requests. In this case, the client is not getting the options that you have configured for it and the server log the message '(non-rfc1048)' is printed with each BOOTREQUEST that is logged. To send RFC1048 options to such a client, you can set the always-reply-rfc1048 option (RFC1048 Conformance) in that client's host declaration and the DHCP server will respond with an RFC-1048-style vendor options field.
- From the Boot Unknown Clients list, select one of the following options:
- true / not-set – Clients without host declaration are allowed to obtain IP addresses, as long as those addresses are not restricted by 'allow' and 'deny' statements within their pool declarations.
- false – Clients without host declaration will not be allowed to obtain IP addresses.
- From the RFC1048 Conformance list, select one of the following options:
- true – Response in RFC 1048-style. This flag affects all clients that are covered by the respective scope.
- false – Response NOT in RFC 1048-style.
- From the Hostname via Rev-DNS list, select whether or not DHCP looks up the domain name corresponding to the IP address of each address in the lease pool and uses that address for the DHCP hostname option:
- true – Lookup is done for all addresses in the current scope.
- false – No lookups are done.
From the Ping Check list, select whether or not an ICMP echo request is sent to the address being assigned.
- true – Ping check is done for all addresses in the current scope.
In the Ping Timeout field, specify how many seconds the DHCP server should wait for an ICMP echo response. If a response is not received before the timeout expires, it assigns the address. If a response is heard, the server does not respond to the client.
- false – No ping checks are done.
- not-set – (default) Deactivates the setting.
- true – Ping check is done for all addresses in the current scope.
- Click OK.
- Click Send Changes and Activate.
Now you can apply your configured template to your DHCP subnets. Fore more information, see How to Configure DHCP Subnets and Address Pools .