Additional routes to the same network host were not published to the Linux OS kernel.
Configure desired multiple routes using the "
ip route" command in Expert mode.
For example, to configure the second default route with different metric:
- To configure on-the-fly:
[Expert@HostName]# ip route add default via IP_ADDRESS metric N
- To configure during each boot:
Add the above command to
/etc/rc.d/rc.local start-up script.
[Expert@HostName]# echo 'ip route add default via IP_ADDRESS metric N' >> /etc/rc.d/rc.local
[Expert@HostName]# cat /etc/rc.d/rc.local