Closed user-0209 closed 3 years ago
Would you mind posting an entry of /var/dhcpd/var/db/dhcpd6.leases that shows a wrong DUID? I don't have any such entries in mine.
Cheers, Franco
Would you mind posting an entry of /var/dhcpd/var/db/dhcpd6.leases that shows a wrong DUID? I don't have any such entries in mine.
Cheers, Franco
Here it is. I have removed the prefix from the address. I can confirm that this behaviour is stable on this particular machine, even if I reinstalled the OS. Maybe the second " is the culprit? Hope this helps. Don't hesitate to come back, if not. Rgds, Ronald
ia-na "\353\017\"\266\000\004\243\347\200\011\232R#\244\377\177\220\242ir\303\221" {
cltt 4 2021/01/14 11:43:16;
iaaddr xxxx:xxxx:xxxx:xxxx::1180 {
binding state active;
preferred-life 375;
max-life 600;
ends 4 2021/01/14 11:53:16;
}
}
going to #4423 in this case
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
For certain hosts (maybe 1 of 20) the DUID displayed on the Leases page is wrong like here: displayed: b6:00:04:36:65:b3:3b:62:ec:3b:d6:d9:fe:d0:4f:dc:b6:b5:8d should be: 00:04:36:65:b3:3b:62:ec:3b:d6:d9:fe:d0:4f:dc:b6:b5:8d After correcting the DUID in the reservation, the client will pick up the defined address.
Wireshark: DHCPv6 185 Request XID: 0x7119d5 IAA: ####:####:####:38ca::2000 CID: 00043665b33b62ec3bd6d9fed04fdcb6b58d
It also happened for another host with type 2 DUID: displayed: 03:00:02:00:00:ab:11:a2:e0:f6:17:97:76:49:16 should be: 00:02:00:00:ab:11:a2:e0:f6:17:97:76:49:16
To Reproduce
Expected behavior
Screenshots
Relevant log files none
Additional context
I want to stress, that implementing DHCPv6 becomes a daunting exercise, because it happens only with some hosts. However, once it happens, behaviour is very stable. I tried for 2 days all kinds of configurations on Ubuntu side without any change to the described behaviour.
I also feel, it is related to https://github.com/opnsense/core/issues/4423, although I found only the first byte wrong. What took me in the right direction was this one: https://redmine.pfsense.org/issues/2511
Environment
OPNsense 20.7.7_1-amd64 Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz (4 cores)