<eyJhb>
andi-: Trying to get it to match the config I can see from there. So far I have all the options - https://termbin.com/zaw5
<eyJhb>
But trying to get the pcap file, for a successfull handshake
<eyJhb>
Somehow I need to set the IA_NA IAID to 1
<eyJhb>
Found `IAID` but only for DHCPv4? Is this a error in the module? Seems like it should be able to work for DHCPv6
<andi->
eyJhb: setting IA_NA isn't your problem yet. Your networkd doesn't even send a dhcp request yet as far as I can see in the captures you showed me. Enable debugging there
<eyJhb>
andi-: Isn't the "SOLICIT XID" the DHCP request?
<eyJhb>
I have sent you the latest pcap file. There seems to be DHCPv6 requests + ICMPv6, etc.
<eyJhb>
andi-: I just got a pcap dump from my ISP
<eyJhb>
andi-: I recompiled systemd, with a patch that allowed to set IAID to 1. Now I get a lot more traffic stuff. Seems like I am getting closer
<eyJhb>
*some of them might be because of SSH traffic. Didn't expect to see that
<eyJhb>
So, IA_NA (Identify Association for non-temporary address) is being sent correctly. However the SOLICIT packet is completely missing IA_PD (.... Prefix Delegation)
<andi->
eyJhb: now that it is working I expect a writeup and a public example repo and a nixos test :P
<eyJhb>
andi-: First I have to open PRs for systemd patches... :D But hopefully I will have the time to do a writeup!
<eyJhb>
*and all the other things
<eyJhb>
andi-: How do you manage how you give out the PD to your hosts on the network? Ie. lets say I want a specific range to be used for my computers, and another for my servers?
<lukegb>
How large a prefix are you being allocated? Do all your devices support DHCPv6, or will you need to rely on SLAAC?
<andi->
eyJhb: subnet id
<andi->
eyJhb: I added that feature to network early last year
<andi->
See my config module where I set SubnetId= it will use the nth subnet of the PD for the interface then