Jump to content

Duplicate IP address on 2 machines DNS Issue?


Recommended Posts

Posted

Hi

 

Seem to be having a problem where occasionally 2 computers may get the same IP address. Problems we begin to see are things like when using VNC we intend to connect to a particular machine but instead get connected to another machine on the network.

 

We can resolve it by running an ipconfig /release and an ipconfig /renew on both machines and it sorts it but then we can have the problem reappear on other machines on the network.

 

I have checked how many IP addresses are leased out and we are barely using 50% of our allocation so I know that we aren't running out of IP addresses.

 

Does anyone have any suggestions on what else we could try?

 

Thanks

Posted
With only one DHCP server you shouldn't get this problem. Any chance DHCP is enabled on another device, such as a router? One thing to check next time it crops up is IPCONFIG /ALL on both computers that are conflicting. Check for a MAC address conflict (long shot, but that's why I was asking if it's the same computers every time), and check the DHCP server address reported by both hosts.
Posted

Do you have 2 DNS servers?

 

And when using VNC are you entering the Ip address or computer name?

 

If computer name then it sounds as if the DHCP server is not updating the DNS server/s - in the settings you can force DHCP to update DNS even when the client doesn't request it - i would check this as it sounds as if the DHCP server is giving out the addresses but the DNS server is not being updated with the new address of the machine.

 

Also how long a lease do you give the machines?

 

Toby

Posted
I just re-read your original post and spotted that it's a roaming problem, so not going to be down to MAC addresses. Check the DHCP server addresses reported by IPCONFIG/ALL, as mentioned above. Failing that, I would suspect DHCP database corruption.
Posted

We had this problem once before, specifically with VNC - it turned out we needed to enable scavenging on the DNS to ensure that old IP addresses were removed.

 

Do you leave your PCs on permanently or are they shut down regularly?

 

Peter

Posted
We had this problem once before, specifically with VNC - it turned out we needed to enable scavenging on the DNS to ensure that old IP addresses were removed.

 

Do you leave your PCs on permanently or are they shut down regularly?

 

Peter

 

This would be what i mean - but if you have the DHCP Automatically updating the DNS entry then you will only have old Dns entries for machines that are removed/rebuilt.

 

If you are not careful enable Savaging of the records will delete manual entries in there for staticly assigned servers that do not try to update there dns entries.

 

Have you also tried it from mulitple Machines? as if its just your machine and it hasn't been restarted or something like that the the DNS cache on the local machine might be affecting it.

Toby

Posted
Ah yes, just realised from other posts what you mean by duplicate IP addresses - actually duplicate host records in DNS, not computers with identical leases. Scavenging is the solution.
Posted
Ahh yes I was under the impression that scavenging was set but I think that was when we had a 2003 network. I dont think I enabled it when we moved over to 2008 so have set that now. I'll see how we get on and report back. Thanks for the replies.
  • 2 weeks later...
Posted
Ah yes, just realised from other posts what you mean by duplicate IP addresses - actually duplicate host records in DNS, not computers with identical leases. Scavenging is the solution.

 

This sounds bang onto me. If you were connecting with a hostname rather than an IP, then if the records in DNS weren't being scavenged, then I would expect to see this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 158 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...