dhcpd v6 4.3.1 and events

Nikolay P nikolay.p at cos.flag.org
Wed Jan 14 14:49:55 UTC 2015


Aleksey,

First make sure your "/etc/dhcp/release" script runs properly. Did you try to execute it manually? Does it run properly and produce expected results?

Next, for debug purposes I would try to put a one line script in place of "/etc/dhcp/release", let's say "echo 'dhcp-release' > /tmp/dhcp_release_test", then wait until it is triggered by DHCPD and inspect content of /tmp/dhcp_release_test. If everything is OK, then you should see the 'dhcp-release' line.

Best regards, Nikolay.

----- Original Message -----
From: "Алексей Прокопчук" <alexpro at homelan.lg.ua>
To: dhcp-users at lists.isc.org
Sent: Wednesday, January 14, 2015 8:26:15 AM GMT -05:00 US/Canada Eastern
Subject: dhcpd v6 4.3.1 and events

Greetings!

My English is not very good, excuse me if I said something wrong.

Now I'm experimenting with event handlers in dhcp IPv6 4.3.1,
and found that event "on release" is not triggered when release
event occurs. In log of dhcpd appears corresponding message,
but that's all. Event does not triggered after release.
To be precise, I mean release of delegated prefix, I not test
release address, my Mikrotik router is not able to request IPv6
address, only prefix.

I have very simple handlers for events:

on commit {
    execute("/etc/dhcp/commit");
}

on release {
    execute("/etc/dhcp/release");
}

On commit event triggered, and script running properly,
on release is not.

Someone tried to use events? Maybe I missing something?

with best regards, Alexey Prokopchuk (AP8686-RIPE)
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list