Anybody willing to help me with a script I need

Hi

I am configuring two routers with VRRP, VRRP appears to be working ok, but since each server will have a PPPoE server running with the same service name, I am guessing that will make trouble.

What I want to do is a script under VRRP/scripts to disable PPPoE service on router being VRRP BACKUP, and enabled it on the MASTER.

Any help developing those two scripts will be very appreciated…

Or if there is another way to achieve this please point me in the right direction.

Thks

Jorge Boardman

Anyone?

To disable all pppoe-servers on a machine:

/interface pppoe-server server set [/interface pppoe-server server find] disabled=yes

You can run that above line under the vrrp script when it becomes backup. Then, run the same command but with disables=no for when it becomes master. I’ve not run pppoe before but there is the commands : )

Sam

Thks a lot men, that´s what I needed…


Jorge