<andi->
eyJhb: feel free to link / ping me the PR.
<eyJhb>
andi-: I just saw you are the one that made the IPv6 SubnetId patch :D Quite nice
<andi->
I try to add the missing features that I discover to systemd.
<eyJhb>
I tried setting it like you did to a, but it ended up setting something like xxxx:xxxx:xxxx:a:xxxx:xxxx:xxxx:xxxx
<andi->
o.O
<andi->
yeah that is expected
<andi->
It picks the nth /64 from your delegated prefix and uses that for the interface
<andi->
and nth is hexadecimal IIRC
<eyJhb>
I am really in doubt, of the best way to get short IPv6 permanent IPs for my LAN devices, long tempoary addresses and get my server to have a static address (I could just configure that on my server however?)
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-on-your-router
<lukegb>
I usually just statically configure it on the server, yeah
<lukegb>
as long as you don't shove ff:fe in the EUI64 bit you should be safe :P
<andi->
eyJhb: just set IPv6Token=::f00
<lukegb>
oh right, in the face of prefix delegation
<lukegb>
I'm _slow_ today :p
<andi->
eyJhb: combine the token with a local ULA that you specify for stable internal addresses. The global one might rotate every now and then on some providers
sorki has joined #nixos-on-your-router
srk has quit [Ping timeout: 240 seconds]
sorki is now known as srk
<eyJhb>
lukegb: Sorry :D I don't mention that as often as I should :p
<eyJhb>
Is there any way to do this, from my router? Instead of on each device. Ie. saying I want to give out leases in xxxx:xxxx:xxxx:xxxx::0-ff ?
<cransom>
i set a pool in dnsmasq to do that
<cransom>
and it mirrors the last digits of the ipv4 address to the last of the v6 address, though i don't pay much attention most of the time because dns is doing its job.
<eyJhb>
cransom: And that also works with prefix delegation?
<eyJhb>
Guessing you have dnsmasq to handle that instead of networkd ?
<cransom>
i'm not yet a networkd convert, but i assume it would work. `dhcp-range=::1000,::10ff,constructor:eno1.20,ra-stateless,ra-names,48h` and it pulls the prefix off of my internal interface (eno1.20)
<eyJhb>
cransom: Looks quite easy actually. Will look a little further, and see what networkd can do for me, but could be a nice option
<eyJhb>
Also, any reason why you have not switched?
<cransom>
the last time i looked, it needed patches that weren't upstream yet, but mostly, what i have works. i'm not particularly interested in going back through it to debug it all again soon.
<eyJhb>
Understandable... Time is usually sparse, even for "new" cool things.. Also. Debugging networks sucks :p
<eyJhb>
Because if you do it wrong, you have no network.
<cransom>
home = lab = production.
<eyJhb>
,ping
<{^_^}>
pong
<aleph->
Really need to tune dnsmasq or find a better resolver. I get so much lag when resolving dns for some reason