I am trying to add 2 default gateways on my Centos8 server with different interface names and metrics. I have a route file for each interface with the route "default via metric ". This is not working as I don't see the routes when I specify "ip route show all". Looks like NetworkManager is not considering the route files with default gateway. So I add the default route using "ip route add" command. This becomes a problem since this doesn't persist on reboot. Any idea how to achieve this and make it persistent?
0 Answers