Page 1 of 1

Scripting when MLPPP / pppoe dsl Failure

Posted: Tue Jun 26, 2012 2:46 pm
by brasso42
Hi

First I think its best to explain my problem. I work for an ISP and I’m trialling a Routerboad 450 as a replacement for our existing MLPPP hardware.

I have setup 3 ADSL lines which plug into Zyxel P660 routers. These are configured in bridge mode and then plugged into eth3-5 on the routerboard.

I’ve then configured a pppoe interface and added the 3 interfaces eth3-5 to it.

I get 3 active lines and internet access. All good so far.

I then started to test what if’s:
What if some one turns a router off? This worked fine all traffic routed out the other line with minimal packet loss.

What if DSL goes down on a router? This takes down the solution all together and is where my issue lies. I get 100% packet loss if I remove the phone line from one of the Zyxel routers. If I switch the router off it come back up within seconds. If I disable and re-enable the pppoe interface it comes back up. Also if I disable the eth port it comes back up.

Just to add a little more complexity to this we need to be able to see that this line is down via snmp. We monitor all of our customers bonded solutions so we can ensure a high level of service. If I enable and disable the pppoe client it brings the connections back up, but it still reports that all is ok, if I turn a Zyxel off it reports a router is down and if I disable an eth interface it reports a interface as down.

So what I really want to do is write a script so when I cant route to our DNS servers the eth port which the pppoe client cant dial out of is disabled.

Is this possible? If not is it possible to disable and then re-enable the pppoe client interface if the DNS server is unavailable for 10 seconds?

Thanks