I tried to gather all best nix and networking practices that I learned so far. I hope that this guide will serve as a reference for others who might want also to setup their own home routers using nix.
Iād need to see a diagram of this , to work out exactly what the problem was?
you mention mesh wifi, do you think thats related? i presume everything is bridge and lives on the same subnet, if itās doesnāt then your gateway is going to be have to told about these extra subnets on your network, else you wonāt be able to get traffic back from the gateway. default routes donāāt cut it when you have more than once choiceā.
Thank you - I will generate a diagram. It is between gateway (5g modem) wireless AP as a NixOS router [wireless client] and [wired dhcp sever] to the ethernet port on a mesh master (1 of 3). Being a wireless client I think the bridge is not possible?
3: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
inet 192.168.10.1/24 brd 192.168.10.255 scope global enp3s0
4: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 192.168.9.102/24 metric 1024 brd 192.168.9.255 scope global dynamic wlp2s0
default via 192.168.9.1 dev wlp2s0 proto dhcp src 192.168.9.102 metric 1024
192.168.9.0/24 dev wlp2s0 proto kernel scope link src 192.168.9.102 metric 1024
192.168.9.1 dev wlp2s0 proto dhcp scope link src 192.168.9.102 metric 1024