On 6/22/06, Peter Philipp <[EMAIL PROTECTED]> wrote:
In my setup here at home the router changes addresses frequently (this has many benefits, such as deterring people from using static ip's on the wifi) however I'd like the DHCP clients to enjoy a rather ever changing address as well, I've set the leases to 10 seconds or so but the other host seems to not want to move away from the IP it was given. I was hoping it would pick an IP out of the range option in dhcpd.conf.
I'm being good and not unleashing a torrent of vitriol and bile at you for that idea. DHCP will do a renew to try hang on to the address it currently has before it'll ask for a new one. I'm not so sure that breaking the protocol is a good idea (ie. don't do it). Someone else asked what the real problem you're trying to solve is. If this is a real problem (and not you wanting to have the l33t-est ftp server on the block) I suggest that you go look at the pf table features in dhcpd (in -current). Let dhcpd detect campers and use pf to punish them. Let dhcpd put the currently leased addresses in a table and block everything else. Don't shoot yourself in the foot with a broken dhcp server. CK -- GDB has a 'break' feature; why doesn't it have 'fix' too?

