Link to home
Start Free TrialLog in
Avatar of starusa
starusa

asked on

Multiple DHCP servers on the network behavior

Hello,

I have 4 Linksys WRT310N on my network. One is a OpenVPN server and the others OpenVPN clients. 2 of the clients have DHCP enabled. I also have software OpenVPN clients. The problem is some network clients are using remote gateways instead of the local one. For example in Miami the router DHCP server is 192.168.1.1. A client connected to that router is being assigned a IP by the Houston router, 192.168.1.2, when it should be assigned by the Miami router, to which it is connected directly. How to prevent such behavior?

Thank you!
Avatar of Qlemo
Qlemo
Flag of Germany image

Have a look whether you have DHCP relay activated on the Linksys clients. As DHCP broadcasts cannot cross a routing connection, the Linksys at each end seems to be do something to allow for it. Or are you running OpenVPN in bridged mode (vs. routing, with own transfer networks)?
Avatar of Steve Jennings
Steve Jennings

I think Qlemo may be onto your problem . . . there's no reason why your local linksys should ignore a DHCP request and pass it to a remote.

Good luck,
SteveJ
Avatar of starusa

ASKER

Hey guys,
I'm not very into networking. I'm using tap0, so I guess that's bridging. DHCP Relay is the same as DHPC Forwarding? What about changing the router mode from Gateway to Router on the clients?
Thank you.
If the OpenVPN clients get IPs of the server network, it is bridged. If OpenVPN uses a separate IP address range, it is routed.

About Linksys router mode - I do not know whether that could influence the DHCP behaviour, but it might.

And DHC relay = DHCP forwarding.
Avatar of starusa

ASKER

Well, in that case I'm using bridged mode. The router which is the vpn server is configured as 192.168.3.1 and the clients have the same 192.168.3.x. Also, DHCP forwarding is not enabled for any router.
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial