!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

914 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
2 Jun 2025
@hexa:lossy.networkhexathe question is where does it hang00:28:10
@charles:computer.surgeryCharlesunsurprisingly, 100% packet loss00:28:15
@charles:computer.surgeryCharlesmaybe i need to adjust my nftables rules00:28:37
@hexa:lossy.networkhexapossibly00:28:43
@hexa:lossy.networkhexaor enabled forward in sysctl00:28:49
@hexa:lossy.networkhexahttps://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#IPv6Forwarding=00:29:06
@charles:computer.surgeryCharlesi assumed that that isn't necessary for ipv6 for some reason00:29:11
@hexa:lossy.networkhexa

Defaults to true if IPMasquerade= is enabled for IPv6 or IPv6SendRA= is enabled

00:29:25
@hexa:lossy.networkhexaso should be enabled on br-lan00:29:35
@hexa:lossy.networkhexabut maybe not on wan00:29:44
@hexa:lossy.networkhexai tend to yolo this part00:30:24
@hexa:lossy.networkhexa
  boot.kernel.sysctl = {
    "net.ipv6.conf.all.forwarding" = lib.mkForce 1;
    "net.ipv4.forward" = lib.mkForce 1;
  };
00:30:28
@saiko:knifepoint.net@saiko:knifepoint.netsystemd.network.config.networkConfig.IPv6Forwarding = true;00:31:26
@charles:computer.surgeryCharles hmm i have boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; lol 00:31:52
@hexa:lossy.networkhexayeah, that would be the systemd-networkd equivalent00:31:59
@hexa:lossy.networkhexayeah, so feel free to grab the ipv6 one as well00:32:10
@hexa:lossy.networkhexaor use the networkd knob00:32:14
@charles:computer.surgeryCharlesi feel like in the past when i try doing it the systemd-networkd way it doesn't work and you need both or something00:32:34
@charles:computer.surgeryCharlesdo i need to reboot for that00:33:17
@hexa:lossy.networkhexaI don't think so00:34:20
@hexa:lossy.networkhexasysctl's can be set at runtime00:34:29
@charles:computer.surgeryCharles
PING 2600:: (2600::) 56 data bytes
From 2601:1c1:8400:a440:10b8:f6ff:fef0:f963 icmp_seq=1 Destination unreachable: No route
00:34:47
@hexa:lossy.networkhexatry something else, just to be safe 😄 00:35:23
@hexa:lossy.networkhexa

Destination unreachable: No route

00:35:44
@saiko:knifepoint.net@saiko:knifepoint.net
In reply to @charles:computer.surgery
i feel like in the past when i try doing it the systemd-networkd way it doesn't work and you need both or something
there are two, you need the global option, not the one on the netdev, at least for IPv6
00:35:49
@hexa:lossy.networkhexagiven that you have a default route on your router00:35:57
@elvishjerricco:matrix.orgElvishJerriccoIIRC ipv6 forwarding is weirder than ipv4 forwarding and you have to have both the per-interface and global settings enabled or something00:36:01
@saiko:knifepoint.net@saiko:knifepoint.net(same as you need to turn on conf.all.forwarding and not the interface one, or at least both)00:36:13
@saiko:knifepoint.net@saiko:knifepoint.netyeah00:36:17
@hexa:lossy.networkhexathe reason why I just don't bother with networkd for forwarding options00:36:21

Show newer messages


Back to Room ListRoom Version: 6