eyJhb changed the topic of #nixos-on-your-router to: NixOS on your Router || https://logs.nix.samueldr.com/nixos-on-your-router
<andi-> the v6 you are getting is the IA_NA lease
<andi-> I haven't seen your resolved doing any kind of DHCPv6
<andi-> eyJhb: try setting ForceDHCPv6PDOtherInformation=yes
srk has quit [Ping timeout: 240 seconds]
srk has joined #nixos-on-your-router
Kritnich has joined #nixos-on-your-router
early has quit [Quit: Leaving]
early has joined #nixos-on-your-router
lukegb has quit [Read error: Connection reset by peer]
lukegb has joined #nixos-on-your-router
<eyJhb> andi-: Holy hell you were up late :p
<eyJhb> dhcpV6Config = {
<eyJhb> PrefixDelegationHint = "::/48";
<eyJhb> ForceDHCPv6PDOtherInformation = "yes";
<eyJhb> };
<eyJhb> Like so, right?
srhb has quit [Read error: Connection reset by peer]
srhb has joined #nixos-on-your-router
<eyJhb> andi-: Setting it to true, since that seems to be the correct value. Didn't notice a change :(
<eyJhb> andi-: I think it is this config here - https://www.22decembre.eu/en/2018/05/28/dhcpv6-kviknet/ that should be mimicked. He has the same ISP, etc.
<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> `13:22:22.887323 IP6 2a01:4f9:4a:f178:5054:ff:fea7:d679.ssh > srrouter.58354: Flags [P.], seq 1308:1392, ack 1, win 501, options [nop,nop,TS val 626712690 ecr 3893163347], length 84` joys.
Guest46293 has quit [Changing host]
Guest46293 has joined #nixos-on-your-router
Guest46293 is now known as Reventlov
<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)
mmlb has quit [Quit: The Lounge - https://thelounge.github.io]
mmlb has joined #nixos-on-your-router
<eyJhb> Seems like I am getting my IPv6 prefix now!! :D
WilliButz has quit [Ping timeout: 248 seconds]
WilliButz has joined #nixos-on-your-router
<andi-> nice!
sphalerite has quit [Quit: reboot time!]
sphalerite has joined #nixos-on-your-router
edcragg has quit [Quit: The Lounge - https://thelounge.github.io]
edcragg has joined #nixos-on-your-router
<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
mmlb has quit [Quit: The Lounge - https://thelounge.github.io]
mmlb has joined #nixos-on-your-router
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #nixos-on-your-router