Page 1 of 1
DHCP not working with bridged EoIP interfaces
Posted: Thu Jun 22, 2006 5:21 am
by juibar
I have two LANs that I want to bridge through a PPTP tunnel over the Internet.
Each LAN is connected to a MT router with a private interface on which there is DHCP server/masquerade. And of course, a WAN interface.
So I first set up the two routers as per the "Router-to-Router Secure Tunnel Example" in the PPTP manual. Then I went on according to the EoIP manual to set up a bridge over the PPTP/EoIP tunnel.
The tunnel seems to work fine, but the only issue is that the DHCP server on the router stops working! If I disable the bridge, then the DHCP server works again.
What is wrong? Is it that a bridge CANNOT be set up on an interface that has a DHCP server running?
I will greatly appreciate your help.
Thanks,
juibar
Posted: Thu Jun 22, 2006 2:18 pm
by sergejs
juibar, try to set your dhcp-server to interface bridge, where you have EoIP tunnel and local router interface.
Posted: Thu Jun 22, 2006 2:59 pm
by juibar
Yes, sergejs, that did it. Thank you!
juibar
Posted: Thu Jun 22, 2006 4:59 pm
by juibar
Since both ends are now bridged, would a single DHCP server suffice for the two LANs?
Also, on a related note, step 4 of the EoIP manual says, "Addresses from the same network can be used both in the Office LAN and in the Remote LAN". What IP domain would those addresses be in? Would that be 10.0.0.x?
Thank you,
juibar
Posted: Fri Jun 23, 2006 11:22 am
by sergejs
1) Yes, one DHCP-server has to be enough for two networks bridged with EoIP.
2) It doesn't matter, you can use any IP subnet.
3rd party DHCP server
Posted: Thu Oct 19, 2006 2:11 pm
by lbreukelman
Hi. I also have an eoip setup between 2 RB's but the DHCP server is a 3rd party device on the A network. B network clients do not recieve DHCP addresses. All else seems to work fine.
When doing a traceroute from network B to the gateway on network A the 2 MT routers do not show as a hop. Assigning static IPs to the network B side everything tested works.
When adding the a DHCP client on interface eoip1 on the network B side it immediately gets a DHCP address. When using ether1 as a DHCP client it does not get a DHCP address. None of the pc's on network B gets a DHCP address either.
Please help.
Posted: Fri Oct 20, 2006 11:56 am
by ZoemDoef
Could this have something to do with ARP and arp-proxy?
Re: DHCP not working with bridged EoIP interfaces
Posted: Fri Mar 11, 2011 2:44 am
by mjoksimovic
I have next situation, our local network:
Location 1: X86 based MikroTik with two WAN ethernet ports, all local network routed with OSPF and natted with this router, work perfectly, dynamic load balancing.
Location 2 ( same local network ): x86 based MikroTik with one WAN ethernet port. I get IP address from provider dynamically, this ethernet port was set as dhcp-client and works good. I made EoIP tunnel between location 1 and location 2. Previously I did bridge on location 2 and added ports WAN and EoIP on it, set ID, remote address etc...
I set EoIP tunnel on location 1, ID, remote address etc... I can see that packets are going between those EoIPs but I must have dhcp-client on location 1 on interface EoIP and to get IP address from provider dynamically from location 2. Is this possible at all and I would appreciate every help?
Thank you,
Miroslav
Re: 3rd party DHCP server
Posted: Fri Mar 11, 2011 3:47 am
by jager
Hi. I also have an eoip setup between 2 RB's but the DHCP server is a 3rd party device on the A network. B network clients do not recieve DHCP addresses. All else seems to work fine.
Set DHCP Relay on your eoip interface. As you are using 3rd party device for actual issuing IP addresses, Relay should do the trick.
http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Relay
Hope this works for you!