performance with 20000 classes; release a lease manually

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu May 28 14:37:01 UTC 2009


>Date: Thu, 28 May 2009 15:00:24 +0200
>From: stefan novak <lms.brubaker at gmail.com>
>
>ok, thx that seams to work ;)
>
>now i only need to know the remote.id on failed (no free leases)
>DHCPDISCOVER to have everything i need...
>
>regards,
>Stefan

Hmmm, how about something like this in the global scope? Probably need
a little more logic in there to only log when there are no leases?

if option dhcp-message-type = 1 {  # DHCPDISCOVER
    if exists option agent.remote-id {
        log(info,
            concat("Remote ID ", option agent.remote-id, " for ", hardware);
    }
}

regards,
-glenn




More information about the dhcp-users mailing list