!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

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

Load older messages


SenderMessageTime
13 Jun 2021
@rager:synapse.lickmy.appragermeanwhile, other people are trying to replace both with a new bpf setup08:19:22
@joerg:bethselamin.deMic92 (Old)Yeah. I saw that. How are these efforts going?09:26:42
@joerg:bethselamin.deMic92 (Old)I just saw that there discussions to remove bpfilter again.09:28:45
@keithy:matrix.orgkeithyon reboot network-setup is failing with Error: Nexthop has invalid gateway. any ideas?13:54:00
@hexa:lossy.networkhexaRedacted or Malformed Event13:56:09
@hexa:lossy.networkhexamany ideas13:57:01
@hexa:lossy.networkhexanexthop (gateway) address could be on a) network or b) broadcast address13:57:17
@hexa:lossy.networkhexait could be outside of the L3 domain13:57:47
@hexa:lossy.networkhexaand you always need L2 access to use a gateway13:57:57
@hexa:lossy.networkhexanot sure who throws that error13:58:03
@kritnich:kritni.chKritnich joined the room.13:59:34
@keithy:matrix.orgkeithyhow do I find out what it thinks is configured as the gateway?14:05:56
@keithy:matrix.orgkeithy$ ip route default via 10.11.12.1 dev enp0s10 src 10.11.12.2 metric 202 10.11.12.0/24 dev enp0s10 scope link src 10.11.12.2 metric 20214:06:35
@joerg:bethselamin.deMic92 (Old) keithy: 10.11.12.1 is your default gateway 14:10:50
@keithy:matrix.orgkeithyas expected14:11:21
@joerg:bethselamin.deMic92 (Old)your ip address is 10.11.12.2 and the subnet directly attached to your network interface is 10.11.12.0/2414:11:58
@keithy:matrix.orgkeithyanything wrong with that so far?14:12:33
@keithy:matrix.orgkeithynetwork-setup works when I start it manually post reboot14:13:30
@joerg:bethselamin.deMic92 (Old)no, what is in your network-setup?14:17:33
@joerg:bethselamin.deMic92 (Old)systemctl cat network-setup.service14:17:34
@joerg:bethselamin.deMic92 (Old)and cat the ExecStart script in it.14:17:42
@joerg:bethselamin.deMic92 (Old) cc keithy 14:17:56
@keithy:matrix.orgkeithynameserver 10.11.12.2 nameserver 10.11.12.3 nameserver 127.0.0.114:19:43
@keithy:matrix.orgkeithyip route replace default via "10.11.12.1" proto static14:19:49
@joerg:bethselamin.deMic92 (Old) keithy: it contains literally your nameserver lines? 14:23:09
@joerg:bethselamin.deMic92 (Old)Do you get the network per dhcp?14:23:15
@keithy:matrix.orgkeithyyes14:23:29
@joerg:bethselamin.deMic92 (Old)Ok. here is what happens...14:23:37
@joerg:bethselamin.deMic92 (Old)network-setup.service runs and fails to set the default gateway because 10.11.12.0/24 has been not yet assigned yet to enp0s10. Than your dhcp daemon gets a lease sets up your network + ip address and maybe also the default gateway. Than if you run network-setup.service manually the second time, it succeeds.14:25:03
@keithy:matrix.orgkeithyk14:25:23

Show newer messages


Back to Room ListRoom Version: 6