VRRP on-backup-script not running
Posted: Mon Oct 22, 2012 5:53 am
I had a case where a customer lost network. It turned out that both the routers had the WAN-address enabled, and of course this made trouble. Rebooting the customers routers solved the problem.
This customer have two RB450g running ROS 4.14.
They have one VRRP on the lan side, and rely on the on-backup / on-master scripts to enable/disable the ip address on the wan side.
Next week I'll setup some quite advanced routing for another customer, so I've configured their RB1100AHx2's and currently I'm testing them out in a test environment. These routers are currently running ROS 5.19.
Now it turns out that these router frequently are not running the on-backup script when VRRP state changes from "RM" to "B". I've tested out various kinds of scripts, and at some point the script fail to run. It's not like the commands in the script fail - the script is just not being initiated when the state changes. Out of my about 30 failover tests the script has failed to run about 8 times.
So, as one cannot rely on the scripts to enable/disable the WAN IP address, what would be the best practice to setup VRRP to switch both LAN and WAN ip's?
This customer have two RB450g running ROS 4.14.
They have one VRRP on the lan side, and rely on the on-backup / on-master scripts to enable/disable the ip address on the wan side.
Next week I'll setup some quite advanced routing for another customer, so I've configured their RB1100AHx2's and currently I'm testing them out in a test environment. These routers are currently running ROS 5.19.
Now it turns out that these router frequently are not running the on-backup script when VRRP state changes from "RM" to "B". I've tested out various kinds of scripts, and at some point the script fail to run. It's not like the commands in the script fail - the script is just not being initiated when the state changes. Out of my about 30 failover tests the script has failed to run about 8 times.
So, as one cannot rely on the scripts to enable/disable the WAN IP address, what would be the best practice to setup VRRP to switch both LAN and WAN ip's?