Hi i have gateway 2811 and 2 internet provider. As i can make, when 1 provider disconect internet automatic switching on port 2 provider. And when connect with 1 provider resume internet switching on port 1 provider.
if you want to use PBR = policy based routing you need to apply it on the inside interface.
In fact, with your configuration you are checking if the source address is in the server address block or if it is in the user block.
Move the command ip policy route-map univer command under the inside interface
hope to help
Begin with two static routes (one can have an better metric if you do not want load-balancing)
) and two nat statements. Once you are in the situation where you can shutdown either interface, clear nat translations, and things continue to work, you go for the second part (ip sla).
The initial example is:
the advanced one is:
Hope this helps, please rate post if it does!