EoIP and DHCP

I have two distant networks that I connected via Internet through EoIP. It works fine, networks are bridged and all in the same subnet, what I need. But, computers are manually set for IP’s.

I want to use DHCP on such network, but what boither me is what would happen if VPN connection fails, for isntance, one of the networks loose Internet connection for ISP malfunction or such? I need those computers to stay within the same IP range as there are some servers with fixed IP’s.

Any suggestions how to deal with it?

make dhcp servers on both sides of EoIP, get them different pools from one subnet, block dhcp traffic over EoIP

I had that idea but thought it is not possible. Now I foundout that I have to allow firewall for the bridge to be able to block DHCP…

Thanks, you pointed me to the right direction.

you are welcome =)

Pertaining to DHCP, what should you block, specifically? I’m having a problem when the bridge (on either end) is set to proxy-arp. What happens is that when a new user log in, the DHCP server keeps saying the IP address has already been used, kind of like a vicious circle. It then goes to the next IP in the pool, then does the same thing as before. Setting the bridges from “proxy-arp” to “enable” resolves it. I’m not really sure what I should be blocking, protocol wise. Might make sense, but it seems a little goofy at the moment.

-tp

Anyone, anyone… :slight_smile: :slight_smile:

dhcp, I believe, uses 255.255.255.255 on udp/67 and udp/68. if that doesnt work review the dhcp RFC and learn all about it.