VRRP for PPPOE

hi all,

Has anybody tried PPPOE with VRRP enabled Routers. I have a PPPOE WAN connection and a LAN connection and i have set up two mikrotik on VRRP. VRRP is working Perfectly on Static IPs. But how should i Configure my PPPOE client on to the WAN interface.

PLease help

Thanks in Advance

Binayak

on pppoe server side you can add static interfaces ( specify username and service name )

/interface pppoe-server add user=test service=myService

when user test is connecting his interface will become active.
those static interfaces can be added to vrrp

thanks mrz for the reply,

BUt i dont have the access to PPPoE Server.

Actually i have a broadband internet connection with ADSL Router. I have a static IP which i terminate to Mikrotik by bridging interfaces on the ADSL Router, thus Makeing Mikrotik the direct PPPOE - client and dail in from mikrotik using that. Server is on the ISP side so…

thnks…

binayak

Sorry but you can’t set up ppp and vlan interfaces to work with VRRP. You can write a custom script which will check if line is down and switch to another.

I’m following up to this four-year-old thread because it’s the only reference to this question that I could find.

We connect to one of our WAN providers using PPPoE. We are in the process of configuring two x86 boxes as redundant edge routers, and want the Backup router to (re)establish the PPPoE link when the Master router goes offline. (I’d like to put the DSL modem and the VRRP routers on a switch, so that one can “redial” when the other goes offline.) As of ROS 5.2, is this still something that VRRP cannot do?

Also, another WAN provider assigns us an address with DHCP. What I would like to do is create a VRRP interface on each server, and a DHCP client on those interfaces, so that whichever server is active gets DHCP from the provider. But both the VRRP interfaces and their DHCP clients indicate “invalid” in this configuration. Am I missing something, or is this also a limitation of VRRP?

VRRP interface is inactive because it was not configured properly, please provide your VRRP configuration and IP address configuration.

Here you go:

/interface vrrp
add arp=enabled authentication=none disabled=no interface=LAN-0 interval=1s mtu=1500 name=vrrp-0 on-backup="" on-master="" password=\  
    "" preemption-mode=yes priority=3 v3-protocol=ipv4 version=3 vrid=1                                                                
add arp=enabled authentication=none disabled=no interface=LAN-1 interval=1s mtu=1500 name=vrrp-1 on-backup="" on-master="" password=\
    "" preemption-mode=yes priority=3 v3-protocol=ipv4 version=3 vrid=2                                                                
add arp=enabled authentication=none disabled=no interface=LAN-2 interval=1s mtu=1500 name=vrrp-2 on-backup="" on-master="" password=\
    "" preemption-mode=yes priority=3 v3-protocol=ipv4 version=3 vrid=3                                                                
add arp=enabled authentication=none disabled=no interface=DMZ interval=1s mtu=1500 name=vrrp-dmz on-backup="" on-master="" password=\
    "" preemption-mode=yes priority=3 v3-protocol=ipv4 version=3 vrid=4                                                                
add arp=enabled authentication=none disabled=no interface=WAN-C interval=1s mtu=1500 name=vrrp-C on-backup="" on-master="" password=\
    "" preemption-mode=yes priority=3 v3-protocol=ipv4 version=3 vrid=6

[I could not even create a vrrp definition for WAN-G, because its PPPoE interface (pppoe-G) is not included in the list of interfaces.]

/ip address
add address=10.0.0.3/24 disabled=no interface=LAN-0 network=10.0.0.0                                                                   
add address=10.0.1.3/24 disabled=no interface=LAN-1 network=10.0.1.0
add address=10.0.2.3/24 disabled=no interface=LAN-2 network=10.0.2.0
add address=10.10.0.3/16 disabled=no interface=LAN-2 network=10.10.0.0
add address=172.16.0.3/24 disabled=no interface=DMZ network=172.16.0.0
add address=10.0.0.1/24 disabled=no interface=vrrp-0 network=10.0.0.0
add address=10.0.1.1/24 disabled=no interface=vrrp-1 network=10.0.1.0
add address=10.0.2.1/24 disabled=no interface=vrrp-2 network=10.0.2.0
add address=172.16.0.1/24 disabled=no interface=vrrp-dmz network=172.16.0.0
add address=aa.bb.cc.dd/32 disabled=no interface=pppoe-G network=aa.bb.cc.dd
add address=10.10.1.1/16 disabled=no interface=vrrp-prod network=10.10.0.0

Note that there is no address defined for WAN-C, because it is obtained via DHCP:

/ip dhcp-client
add disabled=no interface=WAN-C

So the two questions are:

    1. How to implement VRRP for a PPPoE interface (if possible); and
  1. How to implement VRRP for an interface that gets its address via DHCP