Any one know anything about this?
> ISC DHCP version: 4.3.3
> I need some help in finding information about what sort of options are available
> in in on_ events in DHCPv6. I can't seem to find any man pages or so on that
> describe what can be logged with these events (on commit, on expiry, on
> release). I have things being logged for DHCPv4 like so:
> on commit {
> log( error,
> concat( "LEASED,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address),",",
> "time,",binary-to-ascii(10,32,"",encode-int (lease-time,32)),",",
> "hardware,",binary-to-ascii(16,8,":",substring(hardware,1,7))
> )
> );
> }
> on expiry {
> log( error,
> concat( "LEASEEXPIRY,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address)
> )
> );
> }
> on release {
> log( error,
> concat( "RELEASED,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address),",",
> "hardware,",binary-to-ascii(16,8,":",substring(hardware,1,7))
> )
> );
> }
> Would like to do something similar in DHCPv6. Have begun testing with on commit.
> Apparently the same sorts of data are not available as the same on commit { }
> directive from above produces these log messages:
> Oct 30 13:58:45 DHCPserver dhcpd: data: "leased-address" configuration
> directive: there is no lease associated with this client.
> Oct 30 13:58:45 DHCPserver dhcpd: data: leased_lease: not available
> Oct 30 13:58:45 DHCPserver dhcpd: data: hardware: no raw packet or lease is
> available
> I realize the hardware address is probably not available as these packets are
> being relayed from a router that does not support RFC 6939 (are there any that
> do?).
> Mainly, I'd like to see a man page or some sort of document that describes what
> IS available ... or some config I could drop in my dhcpd.conf that would log
> what is available or something... any ideas?
----- Original Message -----
> From: "Darren Ankney" <
[hidden email]>
> To: "Users of ISC DHCP" <
[hidden email]>
> Sent: Friday, October 30, 2015 10:15:52 AM
> Subject: DHCPv6 and on_commit etc events
> ISC DHCP version: 4.3.3
> I need some help in finding information about what sort of options are available
> in in on_ events in DHCPv6. I can't seem to find any man pages or so on that
> describe what can be logged with these events (on commit, on expiry, on
> release). I have things being logged for DHCPv4 like so:
> on commit {
> log( error,
> concat( "LEASED,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address),",",
> "time,",binary-to-ascii(10,32,"",encode-int (lease-time,32)),",",
> "hardware,",binary-to-ascii(16,8,":",substring(hardware,1,7))
> )
> );
> }
> on expiry {
> log( error,
> concat( "LEASEEXPIRY,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address)
> )
> );
> }
> on release {
> log( error,
> concat( "RELEASED,",
> "ip,", binary-to-ascii (10, 8, ".", leased-address),",",
> "hardware,",binary-to-ascii(16,8,":",substring(hardware,1,7))
> )
> );
> }
> Would like to do something similar in DHCPv6. Have begun testing with on commit.
> Apparently the same sorts of data are not available as the same on commit { }
> directive from above produces these log messages:
> Oct 30 13:58:45 DHCPserver dhcpd: data: "leased-address" configuration
> directive: there is no lease associated with this client.
> Oct 30 13:58:45 DHCPserver dhcpd: data: leased_lease: not available
> Oct 30 13:58:45 DHCPserver dhcpd: data: hardware: no raw packet or lease is
> available
> I realize the hardware address is probably not available as these packets are
> being relayed from a router that does not support RFC 6939 (are there any that
> do?).
> Mainly, I'd like to see a man page or some sort of document that describes what
> IS available ... or some config I could drop in my dhcpd.conf that would log
> what is available or something... any ideas?
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users