I am struggling to get static ipv6 leases to work in the following
Rasperry pi, running debian stretch dnsmasq. Talking to lede/openwrt
router running dnsmasq.
Starting from the router, dnsmasq gets an ipv6 suffix from dhcpv6-pd as
*Prefix Delegated: *2001:8b0:1418:4c2f::/64
*DNS 1: *2001:8b0::2020
*DNS 2: *2001:8b0::2021
The static lease is configured as follows in the luci config
option mac 'b8:27:eb:d4:eb:54'
option leasetime 'infinite'
option ip '192.168.10.9'
option name 'brynpbx'
option duid '00:01:00:01:21:44:28:4a:b8:27:eb:71:99:03'
option hostid '1'
The duid is taken from a file called dhcpcd.duid on the pi (brynpbx).
This may be a red herring because whatever duid is use it seems to get
ignored. and all the ipv6 addresses the pi gets seem to be either link
local or globals not taken from the delegated prefix. the pi is running
dnsmaq with the following parameters..
/usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r
I dont think dhcpcd is actually being run. Though I am not sure at this
moment. I need to move the pi to an isolated network to find this out.
What am I mssing here? I am struggling to find a reference to the
dhcpcd.duid anywhere on the pi. The duid field in the dhcpcd.conf file
appears to be commented out.
Do I need some different config on the router?
Do I need some additional config on the pi?
Any help gratefully accepted.
Dnsmasq-discuss mailing list