Routing table incorrect after reboot

Reboot

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.88.1    0.0.0.0         UG    20100  0        0 eno1
192.168.4.0     0.0.0.0         255.255.255.0   U     100    0        0 eno1
192.168.88.0    0.0.0.0         255.255.255.0   U     100    0        0 eno1
  • Things went bad when I added 88.0/24 to support a MikroTik after a factory reset

  • Not sure if it’s best handled on this box

  • Or, on the dhcp server.

  • Another Manjaro box on the network is working after a reboot.

sudo route add default gw 192.168.4.1 eno1
[drew@drew-desk ~]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.4.1     0.0.0.0         UG    0      0        0 eno1
0.0.0.0         192.168.88.1    0.0.0.0         UG    20100  0        0 eno1
192.168.4.0     0.0.0.0         255.255.255.0   U     100    0        0 eno1
192.168.88.0    0.0.0.0         255.255.255.0   U     100    0        0 eno1
* So, I think the problem is here.

Makes things work
But, it doesn’t look right to me
It’s been years, if not decades since I last did this sort of work.

And, it restores the broken version if I reboot.

You need to provide at least info on how you configured your network.

  • Do you use NetworkManager to setup your network or something else like systemd?
  • Do you use DHCP to get your IP’s?