NixOS Networking | 903 Members | |
| Declaratively manage your switching, routing, wireless, tunneling and more. | 263 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Nov 2025 | ||
| I'm trying to configure a rpi to monitor the wlan and wired connections. both are on the same network (192.168.1.0/24). when both are enabled, I'm having a hard time using the wireless connection. For example, when I
| 16:33:08 | |
| however, when I
it seems somehow the SYNACK does arrive at the network interface, but doesn't make it to curl? what could explain that? | 16:33:58 | |
| asymmetric pathing | 16:35:09 | |
| disable rp_filter | 16:35:19 | |
hmm just set sysctl net.ipv4.conf.default.rp_filter to 0 (and also for the specific interfaces) but don't see a change in behavior yet | 16:41:06 | |
| hrm | 16:42:17 | |
| so you receive synack but curl doesn't notice | 16:42:50 | |
| oops, you said that | 16:43:15 | |
| I would still expect this to be related to asymmetry | 16:43:57 | |
| maybe check net.ipv4.conf.{all,wlan0}.rp_filter | 16:44:18 | |
| * check net.ipv4.conf.{all,wlan0}.rp_filter as well | 16:44:29 | |
* check net.ipv4.conf.{all,wlan0}.rp\_filter as well | 16:44:35 | |
* check net.ipv4.conf.{all,wlan0}.rp_filter as well | 16:44:38 | |
| because the packets arrive from a link that the system would not use for outgoing traffic towards that src address | 16:45:13 | |
yeah sysctl net.ipv4.conf | grep filter is all zero's | 16:45:33 | |
| the term here is martian | 16:45:55 | |
| I would probably put both links into a distinct vrf | 16:46:12 | |
because when you ping 192.168.1.212 hat happens is that a lookup for the return path might short-circuit and go over the ethernet link | 16:46:50 | |
* because when you ping 192.168.1.212 what happens is that a lookup for the return path might short-circuit and go over the ethernet link | 16:47:00 | |
| does the kernel still log martian packets to dmesg? 🤔 | 16:47:15 | |
| not sure, dmesg is pretty quiet on this machine at least | 16:47:55 | |
ha, disabling networking.firewall.checkReversePath seems to have done the trick :). thanks for pointing in that general direction | 16:56:40 | |
| yeah, same shit, different stack | 16:59:12 | |
Download out.png | 17:06:17 | |
| yay | 17:06:20 | |
| | 17:37:02 | |
| (anyway, I think they're a nice product to take inspiration from) | 17:37:33 | |
| Neat, never seen it before. Yeah I thought "I'll just throw something together real fast". A blackbox-exporter patch, autossh conflicting with nixos-rebuilder-ng and this rp thing later it didn't quite turn out like that, but still enjoying the learning 😊 | 18:40:48 | |
| the topic mentions "do not rely on networking.*", why is that? networking. options are so comfy :( | 23:02:45 | |
| From my understanding: networking.* (without the networking.useNetworkd Option which is problematic in itself) is a bunch of scripts and systemd services which try to configure networking. It's just not the way to do it and networkd and networkmanager will be more robust. | 23:27:26 | |