!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

915 Members
Declaratively manage your switching, routing, wireless, tunneling and more.268 Servers

Load older messages


SenderMessageTime
14 Jan 2026
@k900:0upti.meK900 Jank 16:40:11
@k900:0upti.meK900 But possible 16:40:14
@elisaado:matrix.orgelisaadough I've been procrastinating writing a router in NixOS for way too long23:14:58
15 Jan 2026
@nazarewk:matrix.orgkdndid it last year and I barely remember what is what now xD14:39:32
@elisaado:matrix.orgelisaadoI'm aiming to replace VyOS in my stack, because well, VyOS14:41:08
@elisaado:matrix.orgelisaado is using the networking.* fine if you set networking.useNetworkd = true;, or does it still use legacy/bespoke bash scripts? 14:45:41
@elisaado:matrix.orgelisaadooh I should have read the description14:46:01
@k900:0upti.meK900Depends on which options you use14:46:06
@elisaado:matrix.orgelisaadofor future reference, "Whether we should use networkd as the network configuration backend or the legacy script based system. Note that this option is experimental, enable at your own risk."14:46:09
@k900:0upti.meK900But also honestly just don't14:46:10
@k900:0upti.meK900The mapping to networkd is not entirely obvious14:46:16
@k900:0upti.meK900And you probably don't want to have two sets of semantics in your head14:46:27
@k900:0upti.meK900It's a migration aid14:46:33
@elisaado:matrix.orgelisaadofair14:46:35
@adam:robins.wtfadamcstephensi agree. just use networkd native options.15:09:29
@adam:robins.wtfadamcstephensespecially for something like a router15:09:42
@hexa:lossy.networkhexalast time I checked the mapping was also incomplete and you don't get any feedback for things that won't get applied15:13:14
16 Jan 2026
@me:m4rc3l.deMarcel joined the room.00:52:37
@adam:robins.wtfadamcstephenshuh, openvswitch can be configured to drop privileges to a non-root user. yet our very barebones module does not do so02:48:50
17 Jan 2026
@marcel:envs.net@marcel:envs.net changed their display name from Marcel to Marcel (@).23:44:12
@marcel:envs.net@marcel:envs.net changed their display name from Marcel (@) to Marcel => @me:m4rc3l.de.23:44:56
18 Jan 2026
@magic_rb:numtide.commagic_rb joined the room.13:00:53
@magic_rb:numtide.commagic_rbhi, im here from a different account cause my HS is down13:01:22
@magic_rb:numtide.commagic_rb im seeing a very weird issue with wireguard, my network topology is server -- managed l3 switch -- banana pi r4 -- pppoe -- internet. for some reason if the pppoe link drops then wireguard cant reach my VPS on the internet. The packets from the VPS arrive to my server, but then my server's responses get lost to the void 13:02:57
@magic_rb:numtide.commagic_rb ive ran tcpdump and nft monitor trace confirming that my server does send out the packets, yet my banana pi r4 doesn't see them... 13:03:31
@magic_rb:numtide.commagic_rb

on my server i see

12:58:44.828966 00:25:90:85:56:3e > 2e:2c:64:a9:08:37, ethertype IPv4 (0x0800), length 134: (tos 0x88, ttl 64, id 5539, offset 0, flags [none], proto UDP (17), length 120)
    192.168.11.21.6666 > 167.235.230.162.6666: [bad udp cksum 0x5ac1 -> 0x97d9!] UDP, length 92

but no such packet can be seen on my banana pi. I do see other packets from the same server, same port, same wireguard, toward different devices (both LAN and WAN), but this specific 192.168.11.21.6666 > 167.235.230.162.6666 packet is lost to the void somewhere between by server and banana pi

13:04:46
@magic_rb:numtide.commagic_rbi can also ping my VPS no problem, so it seems like the specific UDP state table entry is fucked somehow?13:06:17
@magic_rb:numtide.commagic_rbif i restart wireguard or unplug the ethernet from my server, experience tells me itll fix itself13:06:36
@magic_rb:numtide.commagic_rb
13:08:34.419753 00:25:90:85:56:3e > 2e:2c:64:a9:08:37, ethertype IPv4 (0x0800), length 92: (tos 0x0, ttl 64, id 50063, offset 0, flags [DF], proto UDP (17), length 78)
    192.168.11.21.52425 > 167.235.230.162.6666: [bad udp cksum 0x5a97 -> 0x9609!] UDP, length 50

that packet done using netcat appears on banana pi r4

13:08:59
@magic_rb:numtide.commagic_rbive had this issue before, its always when the pppoe link drops on my banana pi. I do not understand how that can cause the state tables on my server to get mangled13:09:54

Show newer messages


Back to Room ListRoom Version: 6