如何控制IP地址的发送?

我设置/使用的每个家庭路由器地址从低到高。

但是,来自Internet Systems Consortium的 dhcpd似乎以相反的顺序发送地址 – 即从高到低。

有没有办法改变这个地址是从范围的底部开始发布的,并且进度更高?

无法控制顺序dynamic地址分配给ISC dhcpd版本3或更高版本。 从dhcpd.conf手册页 :

DHCP服务器从哈希表生成可用IP地址列表。 这意味着地址没有按照任何顺序sorting,所以不可能预测DHCP服务器分配IP地址的顺序。 先前版本的ISC DHCP服务器的用户可能已经习惯了DHCP服务器按升序分配IP地址,但这已不再可能,并且无法使用ISC DHCP服务器的版本3来configuration此行为。

从ISC dhcp.conf(5)手册页

  The DHCP server generates the list of available IP addresses from a hash table. This means that the addresses are not sorted in any par- ticular order, and so it is not possible to predict the order in which the DHCP server will allocate IP addresses. Users of previous ver- sions 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. 

不,根据ISC DHCPd当前版本(3.x)的文档。 (如果您使用不同的版本,答案可能会有所不同。)

从手册页('man 5 dhcpd.conf',可在此获得: http : //linux.die.net/man/5/dhcpd.conf ):

“DHCP服务器从哈希表中生成可用IP地址列表,这意味着地址没有按照任何顺序sorting,所以不可能预测DHCP服务器分配IP地址的顺序。以前版本的ISC DHCP服务器可能已经习惯了DHCP服务器按升序分配IP地址,但这已经不再可能,并且无法使用ISC DHCP服务器的版本3来configuration此行为。