<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>I try to use the "on commit/lease/expiry" trigger in isc-dhcp-server(IPV6 - 4.2.4). </div>
<div><br>
</div>
<div>I made prefix delegation, and I have problem with updadting routing table, so i want to use the isc dhcp triggers to manually update routing tables when a commit or release happen.</div>
<div><br>
</div>
<div>First I make a simple test but it doesn't work, I have disabled ddns-update according to the documentation but nothing happens. I don't have any error when I start the server. </div>
<div><br>
</div>
<div>my /etc/dhcp/dhclient6.conf is like this : </div>
<div><br>
</div>
<div> option dhcp6.domain-search "foo.net";</div>
<div> option dhcp6.name-servers X:X:X::X, X:X:X::X;</div>
<div> option dhcp6.preference 255;</div>
<div> default-lease-time 7200;</div>
<div> max-lease-time 14400;</div>
<div> authoritative;</div>
<div> option dhcp-renewal-time 3600;</div>
<div> option dhcp-rebinding-time 7200;</div>
<div> ddns-update-style none;</div>
<div> log-facility local7;</div>
<div> </div>
<div> on commit {log("========COMMIT===========");}</div>
<div> on expiry { log("=======EXPIRY==========="); }</div>
<div> on release { log("=======RELEASE========="); }</div>
<div> </div>
<div> subnet6 2001:db8:0::/48 {</div>
<div> #I have also tried to put the on commit/expiry/release here (but it stil doesn’t work)</div>
<div> }</div>
<div> subnet6 2001:db8::/32 {</div>
<div> #I have also tried to put the on commit/expiry/release here (but it stil doesn’t work)</div>
<div> }</div>
<div> #One client example, I have 4000 others like this :</div>
<div> host client1 {</div>
<div> #I have also tried to put the on commit/expiry/release here (but it stil doesn’t work)</div>
<div> host-identifier option dhcp6.client-id X:X:X:X:X:X:X:X:X:X;</div>
<div> fixed-address6 2001:0db8:3000::1;</div>
<div> fixed-prefix6 2001:0db8:3000::/48;</div>
<div> }</div>
<div><br>
</div>
<div>I've tried to put the triggers in the "host client1" scope and in the subnets scopes but it is the same: nothing happens. </div>
<div>The DHCP server works properly because the client receive its prefix but the text is not added to the log. (And when I try to use execute function like `on commit { execute("/home/user/myscript");}` the script is not executed) </div>
<div><br>
</div>
<div>So Have I make something wrong ? Or if someone have an idea to make it works? </div>
<div><br>
</div>
<div>Thanks in advance for your responses :) </div>
</div>
</body>
</html>