Wed Jul 25, 2012 2:41 pm
are you trying to configure vrrp or just 2 gateways?
if you have 2 gateways 192.168.0.1 and 192.168.0.2 then you can say
ip route add dest=0.0.0.0/0 gate=192.168.0.1 dist=1 check=ping
ip route add dest=0.0.0.0/0 gate=192.168.0.2 dist=2 check=ping
if gate 1 is unavailable then it will use gate 2 since the distance is more it will only use it when no shorter route is avail. I hope this what u asking?