EOIP Tunnel in Mikrotik

As you know wireless station cannot be bridged, to overcome this limitation (not involving WDS) we will create EoIP tunnel over the wireless link and bridge it with interfaces connected to local networks.
We will not cover wireless configuration in this example, lets assume that wireless link is already established
At first we create EoIP tunnel on our gateway ...

[admin@head-office] interface eoip> add name="eoip-remote" tunnel-id=0 \
\... remote-address=10.0.0.2
[admin@head-office] interface eoip> enable eoip-remote
[admin@head-office] interface eoip> print
Flags: X - disabled, R - running
  0    name=eoip-remote mtu=1500 arp=enabled remote-address=10.0.0.2 tunnel-id=0
[admin@head-office] interface eoip>
... and on Remote router
[admin@Branch-Office] interface eoip> add name="eoip" tunnel-id=0 \
\... remote-address=10.0.0.1
[admin@Branch-Office] interface eoip> enable eoip-main
[admin@Branch-Office] interface eoip> print
Flags: X - disabled, R - running
  0   name=eoip mtu=1500 arp=enabled remote-address=10.0.0.1 tunnel-id=0

[admin@Branch] interface eoip>
Next step is to bridge local interfaces with EoIP tunnel On Our GW ...
[admin@head-office] interface bridge> add 
[admin@head-office] interface bridge> print
Flags: X - disabled, R - running
 0  R name="bridge1" mtu=1500 arp=enabled mac-address=00:00:00:00:00:00 
      protocol-mode=none priority=0x8000 auto-mac=yes 
      admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s 
      transmit-hold-count=6 ageing-time=5m 
[admin@head-office] interface bridge> port add bridge=bridge1 interface=eoip-remote
[admin@head-office] interface bridge> port add bridge=bridge1 interface=office-eth
[admin@head-office] interface bridge> port print
Flags: X - disabled, I - inactive, D - dynamic
 #    INTERFACE      BRIDGE  PRIORITY PATH-COST
 0    eoip-remote    bridge1 128      10
 1    office-eth     bridge1 128      10
[admin@head-office] interface bridge>
... and Remote router:
[admin@Branch-Office] interface bridge> add 
[admin@Branch-Office] interface bridge> print
Flags: X - disabled, R - running
 0  R name="bridge1" mtu=1500 arp=enabled mac-address=00:00:00:00:00:00 
      protocol-mode=none priority=0x8000 auto-mac=yes 
      admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s 
      transmit-hold-count=6 ageing-time=5m 
[admin@Branch-Office] interface bridge> port add bridge=bridge1 interface=ether
[admin@Branch-Office] interface bridge> port add bridge=bridge1 interface=eoip-main
[admin@Branch-Office] interface bridge> port print
Flags: X - disabled, I - inactive, D - dynamic
 #    INTERFACE      BRIDGE  PRIORITY PATH-COST
 0    ether          bridge1 128      10
 1    eoip-main      bridge1 128      10     
[admin@Branch] interface bridge>

Comments