I would like to know how routing works in Solaris 9. The problem I have is the server loses connection with the network when our core router experiences a VRRP failover.
The server has its gateway, 10.9.40.1 in the /etc/defaultrouter file but during VRRP failover scenarios the gateway needs to change to 10.9.40.7. Right now I change this manually.
My thinking is, if I add a route to the server for 10.9.0.0
route add 10.9.0.0/16 10.9.40.1 -gateway
and change the /etc/defaultrouter file to the failover address 10.9.40.7 that the server will always try to use the .1 address for routing and when we failover it will then use the default route.
If this is correct, how do I create a persistent route and not allow routing protocols from being forwarded or advertised.
The server has its gateway, 10.9.40.1 in the /etc/defaultrouter file but during VRRP failover scenarios the gateway needs to change to 10.9.40.7. Right now I change this manually.
My thinking is, if I add a route to the server for 10.9.0.0
route add 10.9.0.0/16 10.9.40.1 -gateway
and change the /etc/defaultrouter file to the failover address 10.9.40.7 that the server will always try to use the .1 address for routing and when we failover it will then use the default route.
If this is correct, how do I create a persistent route and not allow routing protocols from being forwarded or advertised.