dhcp log message

Mike Diggins mike.diggins at McMaster.CA
Thu Aug 6 01:53:45 UTC 2009

Thanks. So I could be logging debug information where I wasn't before? My 
syslog.conf is the same as it was, but I don't think I specify the debug 
level, so it's whatever DHCPD default's to. I do set the facility to 
local3 though, but I did that before too. I'll look into what level I'm 
logging at. My syslog.conf contains:

local3.*                        /var/log/dhcpd.log


On Thu, 6 Aug 2009, Glenn Satchell wrote:

> Hi Mike
> Looks like this is something that doesn't come up in other
> configurations often, so you need to help by giving more information.
> I found this mention in dhcp-eval man page:
>     leased-address
>       In any context where the client  whose  request  is  being
>       processed  has  been  assigned  an  IP  address, this data
>       expression returns that IP address.  In any context  where
>       the  client  whose request is being processed has not been
>       assigned an ip address, if this data expression  is  found
>       in executable statements executed on that client's behalf,
>       a log message indicating "there  is  no  lease  associated
>       with this client" is syslogged to the debug level (this is
>       considered dhcpd.conf debugging information).
> If you refer to the leased-address statement, eg when processing a
> DHCPDISCOVER, then there is no IP address assigned. The usual way
> around this is to wrap the statement using leased-address within
> something that ensures there will be a valid IP at that time.
> if option dhcp-message-type = 3 {
> 	blah blah leased-address blah
> }
> All the dhcp Options are described in the dhcp-options man page.
> As for why it's appearring, there was a change somewhere where the
> default syslog facility cvhanged, now perhaps it matches an existing
> debug statement in your syslog.conf? For what it's worth even 3.0.5 is
> considered pretty old now, and you should think about moving to 3.1.x
> or 4.1.x.
> regards,
> -glenn
>> Date: Wed, 5 Aug 2009 13:28:16 -0400 (Eastern Daylight Time)
>> From: Mike Diggins <mike.diggins at mcmaster.ca>
>> Sorry to be a pest, but does anyone know what is generating this message
>> in my DHCP logs? I found one reference that said it was a debug message,
>> but it doesn't make it clear to what client it's referring to. If it is a
>> normal DEBUG message, I'm not sure why it's appearing now, and not with my
>> previous version of DHCPD.
>> -Mike
>> On Fri, 31 Jul 2009, Mike Diggins wrote:
>>> I rebuilt one of my DHCP servers earlier this week. Once completed I copied
>>> the dhcpd.leases file over to it, so that it could carry on. The new server
>>> has a different IP address than the original. I'm using the ISC DHCP server
>>> that comes with RHEL, and it got a slight upgrade to V3.0.5-RedHat. I believe
>>> it was 3.0.1 before. I have noticed several of these messages in my log file.
>>> It doesn't appear to be causing any trouble - dhcp seems to work, but what
>>> does it mean?
>>> dhcpd: data: "leased-address" configuration directive: there is no lease
>>> associated with this client.
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

More information about the dhcp-users mailing list