Dual DHCP on one network

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 ...
gmponAsked:
Who is Participating?
 
nativevlanConnect With a Mentor Commented:
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
 
Matt VCommented:
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
 
jrgcomputingCommented:
Do they just get the DNS servers or a different IP address as well?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
gmponAuthor Commented:
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
 
jrgcomputingCommented:
If you run ipconfig /all what is the ip address of the dhcp server?
0
 
gmponAuthor Commented:
DHCP server shows up as my server ...

Ming ...
0
 
jrgcomputingCommented:
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
 
gmponAuthor Commented:
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
 
jrgcomputingCommented:
Have you checked the effected computers to make sure they don't have a static dns server
0
 
gmponAuthor Commented:
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
 
jrgcomputingCommented:
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
 
ArneLoviusConnect With a Mentor Commented:
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
 
gmponAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.