Situation:2 internet links - A and B - both connected to linux router.2 routing tables, one with default via A, second default via B.iptables and ip rule select best table for specific traffic.Everything works ok, but - it's static configuration.What do - if one of internet links fail? In this scenario everything should go via second, proper link. And - when failed link is up - everything should back to situation where traffic go via both links.Are there any standard tools to do such things? this is not problem to write something(script) what do such things - but - maybe there are more standard tools? (definition of failed link - one of important ip is inaccessible from specific link, but it's accessible from second link).
Change internet link when fault
linux;internet;traffic;high avability