Community discussions

MikroTik App
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Anybody willing to help me with a script I need

Fri Aug 04, 2006 1:53 am

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
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Fri Aug 04, 2006 9:01 pm

Anyone?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Fri Aug 04, 2006 9:10 pm

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
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Sat Aug 05, 2006 4:25 am

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


Jorge

Who is online

Users browsing this forum: No registered users and 9 guests