How to use "on commit" with isc-dhcp-server (IPV6)
Espen Tallaksen
espen.tallaksen at gmail.com
Tue Mar 24 11:08:20 UTC 2015
Hi Fabien
I think you have to specify priority,
log (info, ("Something"));
BR
Espen Tallaksen
2015-03-24 11:58 GMT+01:00 Fabien Michalon (fmichalo) <fmichalo at cisco.com>:
> Hi !
>
>
> Thanks for your response.
>
> I’ve upgraded my dhcp server to the 4.3.2 version and with the same
> config file, only the “on commit” is executed, nothing happens when the
> prefix is released or expired.
>
> Is there something wrong in my config ? If not, how can I execute an
> action when the prefix is released ?
>
> Thanks for your help
>
> Ps : this is my /ec/dhcp/dhcpd.conf :
>
> option dhcp6.domain-search "foo.net";
> option dhcp6.name-servers X:X:X::X, X:X:X::X;
> option dhcp6.preference 255;
> default-lease-time 7200;
> max-lease-time 14400;
> authoritative;
> option dhcp-renewal-time 3600;
> option dhcp-rebinding-time 7200;
> ddns-update-style none;
> log-facility local7;
>
> on commit {log("========COMMIT===========");}
> on expiry { log("=======EXPIRY==========="); }
> on release { log("=======RELEASE========="); }
>
> subnet6 2001:db8:0::/48 {
> #I have also tried to put the on commit/expiry/release here (but it
> stil doesn’t work)
> }
> subnet6 2001:db8::/32 {
> #I have also tried to put the on commit/expiry/release here (but it
> stil doesn’t work)
> }
> #One client example, I have 4000 others like this :
> host client1 {
> #I have also tried to put the on commit/expiry/release here (but it
> stil doesn’t work)
> host-identifier option dhcp6.client-id X:X:X:X:X:X:X:X:X:X;
> fixed-address6 2001:0db8:3000::1;
> fixed-prefix6 2001:0db8:3000::/48;
> }
>
>
> From: Shawn Routhier <sar at isc.org>
> Reply-To: Users of ISC DHCP <dhcp-users at lists.isc.org>
> Date: Friday 20 March 2015 16:27
> To: Users of ISC DHCP <dhcp-users at lists.isc.org>
> Subject: Re: How to use "on commit" with isc-dhcp-server (IPV6)
>
>
> On Mar 20, 2015, at 5:30 AM, Fabien Michalon (fmichalo) <
> fmichalo at cisco.com> wrote:
>
> I try to use the "on commit/lease/expiry" trigger in
> isc-dhcp-server(IPV6 - 4.2.4).
>
>
> The on [ commit expiry release ] was upgraded to included support for v6
> in 4.3.0.
> If you are using 4.2.4 you will need to update.
>
> regards,
> Shawn
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150324/1971aaa5/attachment.html>
More information about the dhcp-users
mailing list