I am not going to go into the issue of when it is appropriate to build a bridge in this article. This is not intended to be a complete guide to EoIP tunnels, their use and will not include all configuration options. Please refer to Mikrotik's documentation sites at
MikroTik Routers and Wireless ,
Main Page - MikroTik Wiki and
MikroTik RouterOS • Index page for further information or assistance. Additionally, you can contact me by email to
butche@butchevans.com for assistance, though this is not a free option.
On to the tutorial. Below is the network design we will end up with:
The router on the left will be called "left" and the router on the right will be called (naturally) "right". The object here is to build the network such that the workstations connected to ether1 on the left router are able to communicate with the workstations connected to the router on the right. Both sets of workstations will use 192.168.0.0/24 as their network config. We will first build the tunnel.
Left router:
/interface eoip
add name=eoip1 tunnel-id=1 remote-address=10.10.10.2
Right router:
/interface eoip
add name=eoip1 tunnel-id=1 remote-address=10.10.10.1
That will build the tunnel. You will have a new interface show up on each router called "eoip1". Next, we need to add a bridge and add the ether1 and eoip1 interfaces to it. The config (commands) are the same on both ends:
/interface bridge add name=bridge1
/interface bridge port
add interface=ether1 bridge=bridge1
add interface=eoip1 bridge=bridge1
VERY IMPORTANT NOTE: With SOME versions of Mikrotik RouterOS, you will be temporarily disconnected from the router if you are connected to it via the ether1 interface. This usually only takes about 20 seconds to reconnect.
You can add the IP addresses to the bridge1 interface (this is the most appropriate place for the IPs):
Left router:
/ip address
add address=192.168.0.1/24 interface=bridge1 comment="left router IP"
If you already have 192.168.0.1/24 assigned to ether1, the command would be something like:
/ip address
set [find address=192.168.0.1/24] interface=bridge1
To configure the right router, you'd do the same basic steps (using, of course, the appropriate IP address).
That's about all there is to it! There are a multitude of things you can do with EoIP and I didn't cover all of the "ins and outs", but that's the basics.
Hope this has been helpful.