change ip address every 6 hours

José Queiroz zekkerj at gmail.com
Wed Feb 15 12:48:22 UTC 2012


Hi,

While reading this thread, I came up with a doubt. Said you have a range of
addresses, 192.168.100.0/24 to be short. One possible config to serve this
in dhcpd would be

subnet 192.168.100.0 255.255.255.0 {

range 192.168.100.2 192.168.100.254;

more_stuff;

}

But I know that you can use more that one range of addresses on the same
subnet, said:

subnet 192.168.100.0 255.255.255.0 {

pool { range 192.168.100.2 192.168.100.63; more_stuff; }
pool { range 192.168.100.64 192.168.100.127; more_stuff; }
pool { range 192.168.100.128 192.168.100.191; more_stuff; }
pool { range 192.168.100.192 192.168.100.254; more_stuff; }

}

So, my doubt is if using one way or another would change the way dhcpd
distributes the addresses, assuming that there is no rule to bind any
hardware address to any address, and all other parameters (e.g. lease time)
are very same.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120215/49730ddd/attachment.html>


More information about the dhcp-users mailing list