EoIP tunnel issue

Hello,

Can somebody check the below case and maybe help me?
I am confused because I really don’t know what I am doing wrong.
I prepared a small network diagram for the better view.

https://imgur.com/a/5CaOBbZ

Shortly:
There is Site Left and Site Right.
I’d like a L2 connection between these sites. On both sites we are using the same subnet (192.168.0.0/16).
The DHCP server which is a WIN server is on Site Left.
When I test the DHCP (On Site Right IP=> DHCP Client) and got the right address from the windows server which is located on Site Left.
But clients get 169.254 blablabla.

If I create a DHCP locally on Site Right it not assigned IP address to the clients. BUT if I disabled the EoIP tunnel the address gets IP from this local DHCP server.

Where is the issue?

Thanks :slight_smile:

You should bridge ether interfaces and eoip tunnels on both Tiks for all the way to dhcp client. If this is correct, you should print here your config.

Hello :slight_smile:

Thanks for the reply.

Here is it:

Side Left (Mikrotik M)

[admin@MikroTik_M] /interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload

INTERFACE BRIDGE HW PVID PRIORITY PATH-COST INTERNAL-PATH-COST HORIZON

ether2-master WIFI yes 1 0x80 10 10 none
2 ether3 EoIP Bridge no 1 0x80 10 10 none
3 EoIP-to-D EoIP Bridge 1 0x80 10 10 none


eth1 - WAN
eth2 - WIFI
eth3 - Connected to Watchguard (WatchGuard has separate WAN int.)

Side Right (Mikrotik D)

[admin@MikroTik_D] /interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload

INTERFACE BRIDGE HW PVID PRIORITY PATH-COST INTERNAL-PATH-COST HORIZON

7 EoIP-to-M EoIP-Bridge 1 0x80 10 10 none
9 ether2-master EoIP-Bridge no 1 0x80 10 10 none


eth1 - WAN
eth2 - LAN

Have you bridged the LAN interfaces with EoIP tunnel on both sides?

Yes as you can see above.

I’ve create a bridge called “EoIP-bridge” and put the LAN interface and the EoIP interface to it.

Do you have the only one dhcp server enabled? When you trying to recieve the address from 192.168.10.1.

There is no DHCP server enabled on the MikroTiks.
The only DHCP server is the WIN SRV which is located on the Left Side.
Pings are working fine between this server and the remote mikortik lan interface.
Also as I’ve mentioned I can get IP from this server to the Mikrotik DHCP client interface.

Can interface bridge(new one maybe) on left Tik get IP from Win DHCP Server?
Can anyone get IP from it?

Yes both Mikrotik can get ip from WIN dhcp.

LEFT: 0 EoIP Bridge yes yes bound 192.168.11.66/16
RIGHT: 1 EoIP-Bridge yes yes bound 192.168.11.73/16

Ping also works between them.

[admin@MikroTik_Miskolc] > ping 192.168.11.73 src-address=192.168.11.66
SEQ HOST SIZE TTL TIME STATUS
0 192.168.11.73 56 64 58ms
1 192.168.11.73 56 64 20ms
2 192.168.11.73 56 64 93ms
sent=3 received=3 packet-loss=0% min-rtt=20ms avg-rtt=57ms max-rtt=93ms

What OS is on “DHCP from server”? Can you test it on another OS?

If I create DHCP server on the Mikrotik (no matter it’s on Site left or right) the situation is the same.
For example if I create LOCALLY! a dhcp server on the mikrotik PC don’t get IP BUT! if I disable the EoIP tunnel bamm the PC get IP from this locally dhcp server…

On which interface do you create dhcp server on Tik? Maybe you create the server on EoIP interface which bridged with your lan?

Yes, I have a bridge called “EoIP bridge” and an EoIP interface called “EoIP-to-D” (left side) and “EoIP-to-M” (right side).
I’ve created a local DHCP server to “EoIP bridge”.

And as I mentioned it works properly, but when I enabled the “EoIP” it crashed.
Firstly I thought there is some ARP issue so I started to playing to switch the arp modes on the bridge (proxy-arp,local arp etc)
But it now helped.

So how you’ve fixed the problem?

Sorry I mean “it won’t help” :smiley: :smiley:

You should disable DHCP servers on both Tiks and try to recieve IP from WIN server. If Tiks recieving addresses from him, then the problem in switch or in OS of the client. Try to recieve address from WIn server without switch. Connect directly to a Tik with your PC.

At the moment both local DHCP server has been disabled on the Mikrotiks.
I have checked the ARP table on both Mikrotik and I can see some communication from 192.168.10.1.
Once I’ve seen there was an IP offer from the DHCP server but the client refuse it :open_mouth:


BTW yep that a good idea to put directly a PC to the Mikrotik, but the problem is that router is 120km far from here… :smiley:

Then you should call to your colleague :slight_smile:

When DHCP servers on the 'Tiks are disabled or removed, and as you say that the 'Tiks at both ends of the tunnel receive IP address from the DHCP server running on Windows at the master site, to which interface are the DHCP clients on the 'Tiks attached? To the EoIP-bridge at both sites or to the interfaces looking towards the Windows machine, i.e. the etherX on the central site and the EoIP interface on the remote site?

I am using only the Bridge interface which is called “EoIP-Bridge”. This bridge have two member on both site: EoIP-Tunnel interface and eth2 as the LAN interface.
From that point I am use only this bridge.
So if I create a DHCP-Client on the microtik and get IP from the WIN SRV that IP assigned to the EoIP-Bridge.