Solved

Multiple DHCP servers on the network behavior

Posted on 2009-07-13
7
809 Views
Last Modified: 2012-05-07
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!
0
Comment
Question by:starusa
  • 3
  • 2
7 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 24840104
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)?
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 24866257
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
0
 

Author Comment

by:starusa
ID: 24904622
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.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 69

Expert Comment

by:Qlemo
ID: 24905181
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.
0
 

Author Comment

by:starusa
ID: 24905452
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.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 24924142
I'm guessing only. I assume the DHCP requests are forwarded using OpenVPN because of the bridge mode. But that should not be the case, as the routers themselves are acting as DHCP servers.

Well, as a workaround you could use DHCP ClassID, set up on client by
ipconfig /setclassid "Local Area Connection" MyNewClassId
, and name the Scope of each site's DHCP server accordingly. A client without a ClassID is getting an arbitrary DHCP address, though.
This requires you use DHCP servers capable of Scopes / ClassIDs, of course ...

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question