Community discussions

MikroTik App
 
keryax
just joined
Topic Author
Posts: 7
Joined: Tue Jul 03, 2018 3:34 pm

Virtual L2 connection between 2 routers

Tue Jul 03, 2018 3:55 pm

Hello.
Is there a way how to bridge port on one mikrotik to another mikrotik using existing vpn?
I want to join Device 1 and Device 2 to one isolated L2 network. Is it possible?
11111111.PNG
You do not have the required permissions to view the files attached to this post.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Virtual L2 connection between 2 routers

Wed Jul 04, 2018 5:16 pm

Of course.Just bridge ether ports via unique vlan or directly.
 
raceboy
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Mar 23, 2018 7:23 pm

Re: Virtual L2 connection between 2 routers

Wed Jul 04, 2018 6:38 pm

i think he want to make l2 over vpn. try with eoip

Sent from my Moto G (5) Plus using Tapatalk

 
mistry7
Forum Guru
Forum Guru
Posts: 1480
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 12:10 am

L2TP L2 Briging is no Problem

With EOIP I will find MTU Issue...

https://wiki.mikrotik.com/wiki/Manual:B ... _bridging)
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 10:14 am

i think he want to make l2 over vpn. try with eoip

Sent from my Moto G (5) Plus using Tapatalk
He said over existing vpn.
 
keryax
just joined
Topic Author
Posts: 7
Joined: Tue Jul 03, 2018 3:34 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 1:21 pm

L2TP L2 Briging is no Problem
So I just need to bridge eth1 interface and l2tp interface?
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 1:36 pm

L2TP L2 Briging is no Problem
So I just need to bridge eth1 interface and l2tp interface?
L2TP is layer 3 vpn, so no. You should shift l2tp to eoip and bridge ethernet interfaces with it.
 
keryax
just joined
Topic Author
Posts: 7
Joined: Tue Jul 03, 2018 3:34 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 2:14 pm

You should shift l2tp to eoip
If i dont mistake, EOIP doesn't work over NAT and it is insecure.

So, i shall to encapsulate EOIP over L2TP?
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 2:36 pm

You should shift l2tp to eoip
If i dont mistake, EOIP doesn't work over NAT and it is insecure.

So, i shall to encapsulate EOIP over L2TP?
No, you need to ruine l2tp, create eoip over ipsec and set ip address space in eoip interfaces.
 
raceboy
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Mar 23, 2018 7:23 pm

Re: Virtual L2 connection between 2 routers

Thu Jul 05, 2018 7:02 pm

...sorry. that is what i said? l2tp vpn...and then eoip tunnel

Sent from my Moto G (5) Plus using Tapatalk

 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Virtual L2 connection between 2 routers

Fri Jul 06, 2018 11:45 am

...sorry. that is what i said? l2tp vpn...and then eoip tunnel

Sent from my Moto G (5) Plus using Tapatalk
No. I said that he must delete l2tp vpn and create new one with eoip. Lets just add as much headers as possible: ip over l2tp over eoip over pptp over ipsec(sarcasm).
 
raceboy
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Mar 23, 2018 7:23 pm

Re: Virtual L2 connection between 2 routers

Fri Jul 06, 2018 6:58 pm

..so you say that must be eoip from wan to wan and then secure with ipsec?

Sent from my Moto G (5) Plus using Tapatalk

 
mistry7
Forum Guru
Forum Guru
Posts: 1480
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: Virtual L2 connection between 2 routers

Sat Jul 07, 2018 8:25 am

Raceboy you are wrong!

From Wiki:
With L2TP, a user has a Layer 2 connection to an access concentrator - LAC (e.g., modem bank, ADSL DSLAM, etc.), and the concentrator then tunnels individual PPP frames to the Network Access Server - NAS. This allows the actual processing of PPP packets to be separated from the termination of the Layer 2 circuit


We use that every day in our WISP Network, it is a Layer2 VPN if it is used in the right way!
And with MRRU you don’t have to worry about the MTU

Setup 2 Profiles one on every side with bridge in it, don’t forget to setup Admin Mac, in the Bridge, and you’ve got an L2 VPN
 
raceboy
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Mar 23, 2018 7:23 pm

Re: Virtual L2 connection between 2 routers

Sat Jul 07, 2018 12:27 pm

ok. thanks. i dont say im wright:) but only with eoip i can make multicast iptv pass through

Sent from my Moto G (5) Plus using Tapatalk

Who is online

Users browsing this forum: unhuzpt and 78 guests