Community discussions

MikroTik App
 
greenieofdubbo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Mon Jul 10, 2006 1:36 pm

Mikrotik Half Bridge PPPoE

Fri Jan 09, 2015 7:22 am

Hi Everyone

Does Mikrotik support a pppoe half bridge configuration? For example a PPPoE session would be established from Mikrotik however the IP address obtained by that session would be used by a router behind Mikrotik?
 
greenieofdubbo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Mon Jul 10, 2006 1:36 pm

Re: Mikrotik Half Bridge PPPoE

Wed Jan 14, 2015 1:11 pm

Anyone?
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: Mikrotik Half Bridge PPPoE

Wed Jan 14, 2015 2:47 pm

Try by bridging the two ethernet ports of first router and look if the second router can discover the pppoe server and create the pppoe-client on the second router. If that is not enough, set the arp=proxy-arp on the bridge interface, that should do it.
 
User avatar
ufm
Member Candidate
Member Candidate
Posts: 103
Joined: Fri Nov 15, 2013 12:02 pm
Location: Ukraine

Re: Mikrotik Half Bridge PPPoE

Wed Jan 14, 2015 7:10 pm

 
MrYan
Member Candidate
Member Candidate
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Re: Mikrotik Half Bridge PPPoE

Thu Jan 15, 2015 2:13 pm

Poster wants PPP bridged over Ethernet not Ethernet bridged over PPP.
 
volkirik
Member Candidate
Member Candidate
Posts: 208
Joined: Sat Jul 23, 2016 2:03 pm

Re: Mikrotik Half Bridge PPPoE

Sun Mar 01, 2020 5:04 pm

Mikrotik RouterOS does not have PPPoE Relay (half bridge) feature, yet. So you cant run your mikrotik router in half bridge mode.

But IF you have a modem/gateway that supports PPPoE Relay (aka Half Bridge or Passthrough), then you can use PPPoE client on routerOS to connect PPPoE server via modem/gateway's relay.

Normally you need two static IPs for Half bridge. Modem/gateway does NAT with first IP, and another client gets second static IP via PPPoE relay. But you can set dummy user/password and disable NAT on modem/gateway and use single static IP address via relay on your Mikrotik router. Of course you would need modem/gateway with PPPoE relay feature.

To use single IP address on two different routers, you need to enable DMZ (or write one-to-one NAT rule) on the router that you terminate PPP
 
mrincrediblelol
just joined
Posts: 1
Joined: Fri May 14, 2021 6:38 pm

Re: Mikrotik Half Bridge PPPoE

Fri May 14, 2021 6:54 pm

What actually works - and is functionally the same - is the following:
A == Remote router with remote IP
B == Local router without IP but with PPPOE server
C == Client dialling PPPOE that needs to communicate out to the internet via remote IP

A: bridge-ppp with eoip-ppp on it, eoip-ppp connects to Router B. bridge-ppp has the gateway IP on it. Say 203.0.113.1/30
B: bridge-ppp with eoip-ppp on it, eoip-ppp connects to Router A. PPP profile for PPPOE - blank - nothing in Bridge or anything. PPPOE server on bridge-lan. PPPOE secret as you like.
C: Client dials PPPOE with secret.

If you have control over router A, simply run the PPPOE server there instead, and instead of bridge-ppp on B, user bridge-lan. If you don't have control of router A, the above is half of the solution - - to make it work like a half bridge you have to do the following:

On PPP Secret, add a randomized Local Address eg. 10.113.0.1 - and the relevant remote address eg. 203.0.113.2
On the Router B bridge-ppp, under ARP, enable Proxy ARP.
On the router B bridge-ppp, add an adjacent IP address - use the broadcast address if you must, in this case: 203.0.113.3 -- this is the key. Yes its a hack, hopefully this address is not needed from here!
On router B - add SNAT and DNAT to and from the random IP (10.113.0.1) to the remote IP (103.0.113.2).

Whala! So, ... DONT DO THIS! KEEP YOUR NETWORK SIMPLE!

But just posted here to show that you can simulate a half bridge setup even without PPPOE-relay.

Who is online

Users browsing this forum: Ahrefs [Bot], holvoetn, rogerioqueiroz and 112 guests