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.
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.
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.
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.
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…
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.
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
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…
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.