Hi All,
I’d like to setup a layer2 tunnel between two Microtik devices. And it doesn’t work like I expected. I’ve been around networking for some time now with a lot of brands but never with Mikrotik.
I have one RB3011 Ui AS-RM
and a Hex.
The RB3011 I call the gateway and the HEX the client.
First I change the Lan side IP configuration, because the
ip address add network 192.168.80.0 address 192.168.80.1 netmask 255.255.255.0 interface bridge-local
ip dhcp-server remove 0
ip dhcp-server network remove numbers=0
ip pool remove 0
ip pool add name default-dhcp ranges 192.168.80.200-192.168.80.253
ip dhcp-server network add address=192.168.80.0/24 gateway=192.168.80.1
ip dhcp-server add address-pool default-dhcp interface=bridge-local
ip dhcp-server enable dhcp1
Then I reconnect to the RB3011 again on the 192.168.80.1 and remove the 192.168.88.1 ip.
ip address remove 0
Then I enter the EoIP configuration:
interface eoip add name="eoip1" tunnel-id=0 remote-address=192.168.80.253
interface eoip enable eoip1
I’m adding a bridge and add the eoip1 to that bridge.
interface bridge add
interface bridge port add bridge=bridge2 interface=eoip1
Now I need to remove the Ethernet 6 (with the slaves) port from the local bridge.
interface bridge port remove 1
interface bridge port add bridge=bridge2 interface=ether6-master-local
This should be all for the gateway side.
Now the client side, to be sure I change the Lan side, this shouldn’t matter that much.
ip address add network 192.168.70.0 address 192.168.70.1 netmask 255.255.255.0 interface bridge-local
ip dhcp-server remove 0
ip dhcp-server network remove numbers=0
ip pool remove 0
ip pool add name default-dhcp ranges 192.168.70.200-192.168.70.253
ip dhcp-server network add address=192.168.70.0/24 gateway=192.168.70.1
ip dhcp-server add address-pool default-dhcp interface=ether2-master
ip dhcp-server enable dhcp1
Now I add the same config on the client side:
interface eoip add name="eoip1" tunnel-id=0 remote-address=192.168.80.1
interface eoip enable eoip1
interface bridge add
interface bridge port add bridge=bridge1 interface=eoip1
interface bridge port add bridge=bridge1 interface=ether2-master
Put a host on port 2 of the client with IP address 10.0.0.2/24
Put a host on port 5 of the gateway with IP address 10.0.0.1/24
I expected that the two hosts could ping each other, this is not possible.
Dit I oversee something? Didn’t I understand it right?