Solved

Dual DHCP on one network

Posted on 2011-09-14
13
679 Views
Last Modified: 2012-05-12
Have an issue here where some machines are not getting the proper DNS servers.

I have a windows 2003 server setup on our network that handles the DHCP duties ... so everyone that logs on gets the iP and DNS servers (192.168.123.xxx).

We have a contractor here that sets up a subnet (10.135.6.xxx) for his PLC programming.

Everything works OK if he isn't connected to my network.  When he runs a line from his router to a switch on my network, we have some (just a few) users that will pick up the IP from my DHCP server, but the DNS servers from his router ...

Is there an expklanation for why this happens? How can we make sure that the DNS servers are picked up from my DHCP server?

Thanx ...


Ming ...
0
Comment
Question by:gmpon
13 Comments
 
LVL 22

Expert Comment

by:Matt V
ID: 36538302
First, why are you letting anyone plug a router into your production network?

Aside from that, the reason this happens is because DHCP is a braodcast request that takes the first answer it gets.  So if a client expires while the contractor router is on your LAN, and the DHCP response from his router reaches the client before the response from the 2003 server, the client will take the contractor's IP.

I can think of no good reason why he needs to be plugging a router running DHCP into your production LAN.
0
 
LVL 3

Expert Comment

by:jrgcomputing
ID: 36538316
Do they just get the DNS servers or a different IP address as well?
0
 

Author Comment

by:gmpon
ID: 36538514
They plug so that they can get internet and my data server access.

They are officially part of our company, albeit in a separate group. The problem is they need to duplicate the field operations within their office. Coding is then identical to what they'll send out to the field.

This is the strange thing ... The IP addresses come from my server, the DNS comes from their router.

So iI end up with an IP in the 192.168.1234.xxx range (my IP's, my dns' are 192.168.123.241 and .242) ...and the DNS is 10.135.6.254 (which is what they use, but goes nowhere anyways) ...

Ming ...
0
 
LVL 3

Expert Comment

by:jrgcomputing
ID: 36538540
If you run ipconfig /all what is the ip address of the dhcp server?
0
 

Author Comment

by:gmpon
ID: 36538576
DHCP server shows up as my server ...

Ming ...
0
 
LVL 3

Expert Comment

by:jrgcomputing
ID: 36538597
Have you setup your DNS servers as part of the DHCP Scope Options or Server Options? I suspect they are part of the Server Options so I would add them as part of the Scope Options and see what happens.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 6

Accepted Solution

by:
nativevlan earned 250 total points
ID: 36538613
Divide the switch into vlans and go from there, there is no good reason to have two L3 networks on the same L2 network.
0
 

Author Comment

by:gmpon
ID: 36538654
Both of my DNS servers are already listed as part of the DHCP scope options  ...

006 DNS Servers  192.168.123.241, 192.168.123.240

Ming ...
0
 
LVL 3

Expert Comment

by:jrgcomputing
ID: 36538677
Have you checked the effected computers to make sure they don't have a static dns server
0
 

Author Comment

by:gmpon
ID: 36538712
I'll have to check whether or not I can separate the 2 at the switch level ...

Affected machines don't have static DNS ... when we pull off the other router .. all works OK ... when we put it in, the DNS servers are wrong.


Ming ...

0
 
LVL 3

Expert Comment

by:jrgcomputing
ID: 36538763
Vlans would be a good resolve for this, however you will need to make sure your switch can handle vlans and second can it do vlan routing. You will also have to update any routing tables you might have at remote sites.

An alternate to this may be to create a VPN Tunnel between the two networks.
0
 
LVL 36

Assisted Solution

by:ArneLovius
ArneLovius earned 250 total points
ID: 36539412
as nativevlan, divide the L2 network

If you don;t have managed switches, make it a physical disconection, you'll need "something" for the second network to access the Internet, but I'm going to guess that it doesn't need extreme performance, and do a "domestic" cable (not ADSL) router (with an Ethernet WAN port) might suffice.
0
 

Author Closing Comment

by:gmpon
ID: 36550320
Looks like the VLAN's were the way to go, but we fixed the problem by just physically disconnecting them from our switch. Then plugging our switch into a router on their end ... access for them to our network is then via a machine that has 2 network cards .. one connected to each side ... and that appears tobe working OK ...

Thanx ...

Ming ...
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

943 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

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now