Page 1 of 1

VPN Tunel with EOIP for several sites

Posted: Fri Oct 26, 2012 12:30 pm
by xicu
Hello, I read and understand how to do a VPN an with EOIP have the same lan in remote offices and central office.

Here is explained how to do EOIP between to routers http://www.mikrotik.com/testdocs/ros/2. ... php#5.19.3. Can anybody comfirm if we have four routers what we have to consider.

I'm trying to do this but I want to do with 4 office that have 2 internet connection.

What is the best option:
* Put 3 sites with PPTP client and 1 with PPTP server --> 3 PPTP LINKS
* make one PPTP Link beteween every site --> 6 PPTP LINKS

We have two intenet conection in every router, how we can do this to have redundancy in PPTP links?


Thanks a lot,

Re: VPN Tunel with EOIP for several sites

Posted: Sat Oct 27, 2012 6:39 am
by omega-00
Hi xicu,

Firstly you should look at the wiki as it contains the most recent manual, the 2.9 manual is a legacy site.
The new page http://wiki.mikrotik.com/wiki/Manual:Interface/EoIP contains an excellent example of using EoIP to bridge 2 office networks.

Once you've worked out how to do it with one EoIP tunnel between the 2 sites, then you'll want to create 2 EoIP tunnels; one for each internet connection, running independently.
Next you attach the 2 EoIP interfaces to a bonding interface and then the bonding interface will attach to a bridge interface that also with your LAN ethernet port.

Please note that to work efficiently both bonding slave interfaces must be the same bandwidth. As a workaround to this you can also use ratios of bonding slave interfaces but this quickly becomes very inefficient.

As an example if you had 10M/1M and 20M/2M connection at each site you'd want to have 3 EoIP tunnels, 2 for the 20M/2M connection and 1 for the 10M/1M connection.

This would allow your bonding interface to have 3 EoIP connections slaved to it and achieve a maximum of 3M/3M between the 2 offices (provided the other side has the same link capacity).

Hope this helps give you some ideas!