Community discussions

MikroTik App
 
juibar
newbie
Topic Author
Posts: 35
Joined: Fri Jul 15, 2005 8:39 am

DHCP not working with bridged EoIP interfaces

Thu Jun 22, 2006 5:21 am

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
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Thu Jun 22, 2006 2:18 pm

juibar, try to set your dhcp-server to interface bridge, where you have EoIP tunnel and local router interface.
 
juibar
newbie
Topic Author
Posts: 35
Joined: Fri Jul 15, 2005 8:39 am

Thu Jun 22, 2006 2:59 pm

Yes, sergejs, that did it. Thank you!

juibar
 
juibar
newbie
Topic Author
Posts: 35
Joined: Fri Jul 15, 2005 8:39 am

Thu Jun 22, 2006 4:59 pm

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
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Fri Jun 23, 2006 11:22 am

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.
 
lbreukelman
just joined
Posts: 8
Joined: Wed Sep 14, 2005 6:02 pm

3rd party DHCP server

Thu Oct 19, 2006 2:11 pm

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.
 
User avatar
ZoemDoef
just joined
Posts: 23
Joined: Fri Oct 20, 2006 11:02 am
Location: South Africa

Fri Oct 20, 2006 11:56 am

Could this have something to do with ARP and arp-proxy?
 
User avatar
mjoksimovic
newbie
Posts: 47
Joined: Thu Jun 19, 2008 1:19 pm
Location: Serbia
Contact:

Re: DHCP not working with bridged EoIP interfaces

Fri Mar 11, 2011 2:44 am

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
 
User avatar
jager
Trainer
Trainer
Posts: 295
Joined: Mon Oct 31, 2005 2:44 am
Location: Germany
Contact:

Re: 3rd party DHCP server

Fri Mar 11, 2011 3:47 am

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!

Who is online

Users browsing this forum: outtahere and 23 guests