!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

885 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` for interface and routing setup, use systemd-networkd, ifstate or NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org252 Servers

Load older messages


SenderMessageTime
24 Jun 2025
@emilazy:matrix.orgemilyI like Tundra's thing where it does stateless NAT64 by relying on the kernel NAT66 to service multiple hosts12:57:52
@emilazy:matrix.orgemilyI think you could ideally do BPF + kernel NAT66 for that12:58:12
@emilazy:matrix.orgemily https://github.com/systemd/systemd/issues/23674#issuecomment-2625544068 is my source for in-kernel CLAT being worked on 12:59:27
@emilazy:matrix.orgemilyas of half a year ago12:59:29
@emilazy:matrix.orgemilybut it looks like it's been taking a while :)12:59:46
@emilazy:matrix.orgemilyhttps://gist.github.com/danderson/664bf95f372acf106982bcc29ff56b53 outlines a very simple in-kernel design that would plug into NAT66 to do the whole thing13:00:22
@emilazy:matrix.orgemilyI think something like that would be ideal if the kernel is willing to take it, since it would simplify things greatly13:00:39
@emilazy:matrix.orgemilyI'm hoping to play around with the options here soon since I would like to make my home network v6-only13:01:27
@hexa:lossy.networkhexa (clat on linux when)my wifi has been ipv6-mostly (https://www.ietf.org/archive/id/draft-link-v6ops-6mops-00.html) and internet connectivity regularly breaks for my android13:02:36
@hexa:lossy.networkhexa (clat on linux when)I once debugged this down to it dropping out of the neighbor discovery group during sleep13:02:56
@emilazy:matrix.orgemily(on the NAT64 translator end mostly, since I do not yet have Linux clients connecting directly to the network and macOS and Android both do it OOTB, but if I play around with the BPF stuff or Tundra it should generalize)13:03:36
@hexa:lossy.networkhexa (clat on linux when)and we reported this back when I was on a Pixel 3a … during early covid maybe?13:03:44
@hexa:lossy.networkhexa (clat on linux when)* and we reported this to the Android team back when I was on a Pixel 3a … during early covid maybe?13:03:54
@emilazy:matrix.orgemilyI was on a Pixel 3 last year… 🤪13:04:13
@emilazy:matrix.orgemilythat's annoying though13:04:29
@emilazy:matrix.orgemilyI thought Android was pretty good at v6 at this point13:04:40
@emilazy:matrix.orgemilyis it specifically that it forgets it's v6-only?13:04:49
@hexa:lossy.networkhexa (clat on linux when)it drops multicast/broadcast frames while asleep13:05:14
@hexa:lossy.networkhexa (clat on linux when)so dhcp renewals work, but ndp breaks13:05:38
@emilazy:matrix.orgemilymy hope is that I can tier things like v6 only and CLAT expected → v6 only and DNS64 server advertised → dual stack13:05:49
@hexa:lossy.networkhexa (clat on linux when)https://mailarchive.ietf.org/arch/msg/ipv6/QgHnYoT8-ur4epJHUNflrsh7sA4/13:05:54
@emilazy:matrix.orgemilyand hopefully delay introducing the latter two as long as possible13:05:55
@hexa:lossy.networkhexa (clat on linux when)

NOTE: some good access points do b/mcast to unicast conversion, and
send everything as unicast. This is much more common in enterprise
wifi gear. This solves the mcast loss problem entirely.

13:06:02
@hexa:lossy.networkhexa (clat on linux when)🤔13:06:07
@emilazy:matrix.orgemily(well, "CLAT or local DNS64 expected")13:06:23
@emilazy:matrix.orgemily(in some ways the latter is nicer if you can get away with it since you can get rid of kernel v4 stack)13:06:35
@hexa:lossy.networkhexa (clat on linux when) lol multicast_to_unicast in hostapd 13:06:57
@emilazy:matrix.orgemily(but I do not love non-local DNS64 because I still hold on to childish delusions about the end-to-end principle and DNSSEC)13:07:00
@hexa:lossy.networkhexa (clat on linux when)dns64 is dead13:07:09
@hexa:lossy.networkhexa (clat on linux when)464xlat or else13:07:14

Show newer messages


Back to Room ListRoom Version: 6