The reservation of IP addresses usually serves the purpose of excluding IP addresses or address ranges from the IP pool. Mostly, because those IP addresses are already known to be used somewhere in the network and are not to be reused or controlled by DHCP. There are two ways on how to reserve IP addresses.
1. Define the IP pool with defined excludes
The easiest way is to define the IP pool in a way such that the IP addresses you don’t want to be served by means of DHCP are not even part of the pool. Here is an example:
This defines an IP Pool from 22.214.171.124 until 126.96.36.199 excluding (reserving) the following IP addresses:188.8.131.52, .93, .95, .96, .97, .98, .99. The excluded IP addresses will not be served by means of DHCP and can therefore be used in the network for static assignments.
2. Add static client entries to the INI file
Another way is to simply add client entries to the INI file. The DHCP server will not serve IP addresses that are already occupied in any client section in the entire INI file. Assuming there is a device on your network with the static IP address 184.108.40.206. The corresponding client entry that you can add to the INI file could look like this:
Please note the IP_220.127.116.11 heading. Here you would normally expect the MAC address of the device. If you know it, then of course you can use that as well. If you don’t know it then it doesn’t really matter what section heading the client section has, as long as it is unique throughout the INI file. This can easily be achieved as shown here with IP_18.104.22.168. With that client section in the INI file, the address 22.214.171.124 will no longer be served by the DHCP server (it is reserved).