Question about logging Option 82

Anton warm at stack.ru
Fri Mar 5 15:38:07 UTC 2010


If so dhcpd should be forced to handle any request just to log useful information. I just tried this example:

log (<my log definition>)

shared-network {

  subnet 192.168.70.16 netmask 255.255.255.240 {
    <my real subnet definition with all real classes and pools>
  }

  subnet 10.0.0.0 netmask 255.255.255.0 {
    range 10.0.0.1 10.0.0.254;
#   ^^^^^^^^^^^^^^^^^^^^^^^^^ -- this is "trap" definition for loggin purouse 
}

On Fri, 5 Mar 2010 19:03:12 +0600
Andre Schubert <andre at km3.de> wrote:

> It seems that the log-statemant is only executed if there are free leases available.
> If there are no free leases available, then i also only see a DHCPDISCOVER ... no free leases
> and the log-statement is not executed.
> 
> Best Regards,
> Andre


-- 
Anton [WARM-RIPE]
Stack ltd division head
tel. 8 (3822) 555-797



More information about the dhcp-users mailing list