!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

905 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
2 Jun 2025
@hexa:lossy.networkhexawell it means it terminates locally00:25:22
@hexa:lossy.networkhexait doesn't send traffic toward it over wAN00:25:28
@hexa:lossy.networkhexa* it doesn't send traffic toward it over WAN00:25:30
@charles:computer.surgeryCharlesah00:25:36
@hexa:lossy.networkhexaand now you configure more specific routes and they'll get preferred00:25:51
@hexa:lossy.networkhexabut the unreachable route is the fallback for all unrouted addresses in that /6000:26:08
@hexa:lossy.networkhexaand now you have a /64 on br-lan00:26:39
@hexa:lossy.networkhexa and with IPv6SendRA, that should be everything needed to get started 00:27:02
@charles:computer.surgeryCharles

yeah, i have this on my desktop now:

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether c8:7f:54:08:e0:65 brd ff:ff:ff:ff:ff:ff
    altname enp10s0
    altname enxc87f5408e065
    inet 192.168.0.125/24 brd 192.168.0.255 scope global dynamic noprefixroute eno1
       valid_lft 2837sec preferred_lft 2837sec
    inet6 2601:1c1:8400:a440:9429:7b29:796:713c/64 scope global temporary dynamic
       valid_lft 3182sec preferred_lft 1382sec
    inet6 2601:1c1:8400:a440:5147:4347:6751:f7ca/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 3182sec preferred_lft 1382sec
    inet6 fe80::b8a:6432:e26c:787c/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
00:27:17
@hexa:lossy.networkhexaping 2600::00:27:31
@charles:computer.surgeryCharles
┌─[~]
└─[charles@compy]$ dig AAAA google.com +short
2607:f8b0:400a:80a::200e
┌─[~]
└─[charles@compy]$ ip route get 2607:f8b0:400a:806::200e
2607:f8b0:400a:806::200e from :: via fe80::10b8:f6ff:fef0:f963 dev eno1 proto ra src 2601:1c1:8400:a440:9429:7b29:796:713c metric 100 pref medium

and curl -6 google.com hangs and then times out lol

00:27:44
@hexa:lossy.networkhexaheh 😄 00:28:00
@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

Show newer messages


Back to Room ListRoom Version: 6