Closed n1000 closed 6 years ago
Note I'm not actually using the mac address identification feature (identification = duid).
I'm using tag 0.5 from Git, on OpenBSD 6.2.
Thanks, Nate
Something like this would probably fix the issue, but now I'm unable to get my ndp output to contain the '(incomplete)' line :(
diff --git a/dhcpy6d b/dhcpy6d
index 5f36865..e3d7d10 100755
--- a/dhcpy6d
+++ b/dhcpy6d
@@ -904,6 +904,8 @@ def collect_macs():
if f[NC[OS]['dev']] in cfg.INTERFACE and len(f) >= NC[OS]['len'] :
# get rid of %interface
f[NC[OS]['llip']] = decompress_ip6(f[NC[OS]['llip']].split('%')[0])
+ if f[NC[OS]['mac']] == '(incomplete)':
+ continue
# correct maybe shortened MAC
f[NC[OS]['mac']] = correct_mac(f[NC[OS]['mac']])
# put non yet existing LLIPs into dictionary - if they have MACs
Thanks for the hint and nice to see it running on OpenBSD 6.2 :-) I applied your fix and it will come with the latest push.
So far I've tried WIDE dhcpdv6, ISC DHCPv6, and now dhcpy6d. dhcpy6d seems to be the only one that can get me the configuration that I want (static ULA + dynamically prefixed global addresses assigned by the DHCP server).
Thanks!
I recently ran into an issue where dhcpy6d was unable to assign an IPv6 address due to the ndp output having unexpected values.
Console dump:
Offending output line in ndp output:
If I delete the entry, things work fine afterwards:
I think this incomplete entry was formed by pinging before the station had been assigned the address.