Results 1 to 3 of 3
I created a DHCP pool on my Centos 5.3.
In my dhcpd.conf, one line says:
Code:
range 192.168.1.101 192.168.1.199;
Why is the first client, that requests an IP address, getting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-17-2009 #1Just Joined!
- Join Date
- Jul 2009
- Location
- Ansager, Denmark
- Posts
- 26
DHCP pool start and end
I created a DHCP pool on my Centos 5.3.
In my dhcpd.conf, one line says:
Why is the first client, that requests an IP address, getting the last available in the pool, and the second clients getting the second last availble address? Or in other words: why gets the first client 192.168.1.199, the second 192.168.1.198, and so on? Can I change this?Code:range 192.168.1.101 192.168.1.199;
- 07-17-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
From the dhcpd.conf(5) man page:
If you have version 3 of the DHCP server package, you can't control the IP allocation order.The DHCP server generates the list of available IP addresses from a hash table. This means that the addresses are not sorted in any particular order, and so it is not possible to predict the order in which the DHCP server will allocate IP addresses. Users of previous versions of the ISC DHCP server may have become accustomed to the DHCP server allocating IP addresses in ascending order, but this is no longer possible, and there is no way to configure this behavior with version 3 of the ISC DHCP server.
- 07-17-2009 #3Just Joined!
- Join Date
- Jul 2009
- Location
- Ansager, Denmark
- Posts
- 26
OK thanks. Then I know, I didn't do something strange
And I know, I don't have to find an answer on how to have influence on the DHCP pool.
Albert


Reply With Quote
