fail over with 2 dinamic adsl

Hi All,

Can anybody help me or send a link where I can find a script for my problem. (I read forums and wiki, but not find this.)

I have 2 dynamic adsl line (pppoe). Both IP addresses and the gateways are dynamic.

I need fail over without load banacing. First line is a 6M, second line is a 3M line, but I don’t need load balacing. I like to use only the first line, if it is works, and if it isn’t works, I like to use second line. If the first is works again, I like to use the first again.

Thanks,

gyoztes

use /tool netwatch to check your first gateway, if it’s down switch to other gateway.

not good, because if the next hop (gateway) is working, but the next-next hop (gateway’s gateway) is not working…

i dont switch (???) between 2 gateways, because both of them are dynamic. so i can remove one of these, but i wont put it when i need for this, because it is dynamic…

if ‘routing filters’ included an ‘interface’ property then you could mark the default gateway for one route as a distance=2 (dynamic-in chain). I keep hoping they will add this. Currently you can change the distance, but it does it on all ‘dynamic-in’ routes. Otherwise you have to turn off both default gateway options and write a script to read it and make them manually.

Faced the same problem.
Fixed somehow with setting distance in routing table. But facing same … Sometimes, it just gets broken on a node other than gateway.
Should there be anybody to check if dsl line is connected, and if it is, it should work according to your wishes.
BTW: My setup let’s adsl modem in bridge mode, and MT is dialing, with username and password.
My is stable.
But you should try see if you can get the pppoe interface connected, than it should be fine.
Also tried nat-ed conections, with adsl in route mode, but it’s … more complicated in a way. The only advantage is static addresses and routes on mt box.

So, try checking if dsl is connected, with modems in bridge mode.