DHCP server logging for IPv6
chris.p.buxton at gmail.com
Thu Apr 21 03:31:32 UTC 2011
On Apr 20, 2011, at 3:08 PM, Jay Ford wrote:
> For example, the IPv4 logging for a new client looks something like:
> DHCPDISCOVER from 00:11:22:33:44:55 via 10.1.2.1
> DHCPOFFER on 10.1.2.202 to 00:11:22:33:44:55 via 10.1.2.1
> DHCPREQUEST for 10.1.2.202 (10.1.3.196) from 00:11:22:33:44:55 via 10.1.2.1
> DHCPACK on 10.1.2.202 to 00:11:22:33:44:55 via 10.1.2.1
> By contrast, the IPv6 logging is just:
> Relay-forward message from 2001:db8:4:9::1 port 547, link address 2001:db8:4:2::1, peer address fe80::6972:f900:6038:8321
> Picking pool address 2001:db8:4:2:ddde:a4b5:c6d7:e8f9
> Sending Relay-reply to 2001:db8:4:9::1 port 547
There's no way to replicate the v4 format. The whole '(from|to) <MAC address>' is meaningless in DHCPv6, and the DORA exchange has been replaced by something very different.
DHCPv6 is an entirely different protocol than DHCP, that just happens to serve a similar purpose.
More information about the dhcp-users