DISCOVERs from "unkown network segment" - suppress log messages?

Christina Siegenthaler tina at ieu.uzh.ch
Wed Nov 30 08:33:04 UTC 2022


>> 
>> Being pedantic, you don’t need the pool - and in the general case, you should NOT have any fixed-address assignment which is also in any pool. If you do, then it’s entirely possible to hand out the address dynamically to one client, and also via the host declaration to another - causing some “interesting” effects in the network.
>> 
>> This should be sufficient :
>> subnet 10.65.xx.0 netmask 255.255.254.0 {
>> ignore booting;
>> }
>> host ignore_me_1 { hardware ethernet 00:07:32:xx:xx:xx; ignore booting; fixed-address 10.65.xx.61; }
> 
> 
> You’re right, of course, I don’t know what I was thinking…  I removed the pool and it still works fine, no messages are logged for this particular host. However, it does not work without the „fixed-address“ statement, because in this case, I’ll get a message saying „no free leases“; „ignore booting“ in the subnet and/or host declaration alone clearly does not suffice.
> 
> And thus, all other hosts in that subnet still show with either that (in case of DISCOVERs) or „unknown lease“ (REQUEST). Would have been nice to get rid of those, too, especially since the REQUESTs are being sent every 10mins per client, even though the DHCP admin says their default lease time is 4h. Oh my.
> 
> 

I just noticed that since I added that subnet declaration, my DHCP server, though it ignores DISCOVERs and REQUESTs, has started to answer to INFORMs in that subnet - could that be a problem? 

Tina




More information about the dhcp-users mailing list