I have an ADSL connection and a Satellite link as backup on standbye.
(Satellite date paid per MB!)
How to arrange that normall all traffic flows to ADSL and only shift to Satellite link in case ADSL is down. (And back if it comes back.)
Can this be arranged with Mangle? But how to find the argument to tell the router a gateway is down so traffic should start flowing to other gateway.
The gateways can be pinged to see if they are up but how to make this a decisive argument in the mangle rules?
Off course I have a router with 3 eth. interfaces.
Can anybody help me in this?
Hello,
the best think you can do in this situation , is to implement BGP with your (both) upstream providers. To this end you need Autonomous System registered in RIPE (if your network is located in Europe) and at least one /24 (PA or PI) logical IP addresses. Ask your provider , if they are LIR (Local Internet Register) they can assist you with RIPE (in case that you don't have your own AS number ofcourse). That's the best way to do what you need and this will be very useful for future interconnections with other or more upstream providers.
When you have your own AS u can create BGP connections with your providers, and to implement policy for paths learned from them. So you may increase the Local-Preference Attribute( to chose best-path for your _outgoing_ ) for routes learned via prefered ISP , and other routes to be used only when the primary link is down (they are kept in BGP table and when the best-path is loose , BGP import this paths into routing table).
Kind Regards,
Danail Petrov