Setup Questions

Hello there,

i’m trying to set up a failover pppoe-server solution.
For testing i have 2 RB450 which finaly will get replaced with two Powerouter 732.
I set up VRRP for the external Interface.
So now i want the pppoe-servers runnning depending on the status of the vrrp.
The Master should be the maschine with running pppoe-server.

I even build two scripts.
“on Backup”
/interface pppoe-server server set [/interface pppoe-server server find] disabled=yes
:log error “Router has become Backup VRRP”
“on Master”
/interface pppoe-server server set [/interface pppoe-server server find] disabled=no
:log error “Router has become Master VRRP”

This is working, but if the master is going up again i dont, want to switch.
I want that the master stays the master until the it fails,
but it seems this is not implementet in VRRP.
Is it possible to solve this via script, and i’m just missing an idea?

Thanx Dominik

In VRRP, if the Priorities are the same, then the last one to be master stays master. If the priorities differ, then one will always want to be master (the higher) when it’s online.

sorry for the long delay.

both routers have the same priority of 200, but they are still switching
if one interface goes down an goes up again.

Is it possible to search with find for the running flag,
so that i can supervise the status of the vrrp and if one is master and does not have the running flag,
i would change the priority and disable the pppoe-server.
The problem is, if the wan Interface of the Master goes down, the backup will become the running master, but the router with the offline
wan interface stays master but not in running state. The router does not change to backup mode, so the on_master, on_slave script which disable the pppoe-server will not run.

If the Wan Interface goes online again, the Running master becomes backup and the master becomes running master.
So all pppoe-subscribers have to switch again.

btw all on Routeros 3.13