Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: DISCOVERs from "unkown network segment" - suppress log
      messages? (Christina Siegenthaler)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Nov 2022 08:22:59 +0000
From: Christina Siegenthaler <t...@ieu.uzh.ch>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DISCOVERs from "unkown network segment" - suppress log
        messages?
Message-ID: <41038117-6e6e-4384-ad24-008f1c075...@ieu.uzh.ch>
Content-Type: text/plain; charset="utf-8"

Thanks for all the ideas. Tried some stuff and ended up with this:

I added a subnet declaration for the subnet of the offending host and added 
?ignore booting? to it, but no pool. This didn?t work, though, since it just 
changed the log messages from ?unknown subnet? to ?no free leases?, but I still 
got them.

Since I know that the rogue client is supposed to get a fixed IP address (and 
which one), I added a pool to that subnet declaration containing just this one 
IP, plus a host declaration for the rogue client with a ?fixed-address? 
statement giving it the fixed IP it?s supposed to get from the other DHCP 
server, plus, just to be safe, an "ignore booting" statement as well.


Looks like this:


####################
# Ignore these
####################

subnet 10.65.xx.0 netmask 255.255.254.0 {
        pool { range 10.65.xx.61 10.65.xx.61;
                ignore booting; }
}

host ignore_me_1 { hardware ethernet 00:07:32:xx:xx:xx; ignore booting; 
fixed-address 10.65.xx.61; }

###########

And yes! Now I?m no longer getting the messages.


I?m just hoping that this configuration doesn?t mess up that subnet? getting a 
lot of ?unkown lease? and ?no free leases? log messages for that subnet now, 
replacing the ?unknown subnet? ones. I don?t see any NAKs going out, though, so 
I hope this should be OK. Guess I?ll find out sooner or later? 

It?s not pretty, but if that gets rid of these messages for good, I can live 
with it. As was mentioned - I?m processing the log each night to import some 
stuff into our inventory database, and if it?s filled with these crap messages, 
that?s not really helping.

To be honest, I had half a mind to start handing out bogus leases to that 
subnet, especially since the department owning the printer seems to have chosen 
to ignore my complaints, but as someone pointed out, this wouldn?t help my 
career, and I still have some years to go on ;-) As it is now, I think I have 
done everything to try and make sure I don?t mess up anything for them while 
still getting rid of the messages. Except maybe for the rogue client, but since 
they don?t want fix that, it?s their problem.


Tina

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 169, Issue 15
*******************************************

Reply via email to