SV: Missing option-82 log if "no free leases"

Lars Jacobsen lj at sydfynsel.dk
Wed May 30 07:13:28 UTC 2007


> Henrik Sterndorff Jessen wrote:
> 
>         log ( info,
>
concat("BEGIN|",SwitchMac,"|",SwitchSlot,"|",SwitchPort,"|",Vlan,"|",Cli
> entMac,"|",LeasedIP,"|END"));
> }
> ##
> 
> 
My guess is that if just one of the parameters in the concat statement
is null then everything adds up to null. And because LeasedIP is null
then nothing is loged.

Maybe something like :
http://marc.info/?l=dhcp-users&m=117162228816718&w=2
can solve your problem on logging.

And the possibility to bind a lease to something else than
hardware/client ID (like opt.82 CID/RID), seems like an issue ISC will
try to incorporate in a future release. 
Its not in 4.0x, though, maybe in 4.1 ;-)

Regards
/Lars


More information about the dhcp-users mailing list