We help IT Professionals succeed at work.

Network IP Wrong

Joel Brown
Joel Brown asked
on
We're running a windows domain environment with three domain controllers.  If I try to rdp to a laptop on the domain by its host name I'm connected to a different host than I should be.  I'm thinking the host name is pointing to an ip which is assigned to another machine.   How can I correct this ?  We're also running cisco wireless which is handing out IP's to the laptops ...

Thanks ...
Comment
Watch Question

Business Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
1. Check the IP address in your HOSTS file (c:\windows\system32\drivers\etc\hosts to see if it is pointing to the wrong place.

2. Try connecting to the machine by IP address.

3. Run TCP/IP Reset and DNS Flush.

Open cmd.exe with Run as Administrator
Then  netsh int ip reset c:\resetlog.txt
Also, ipconfig /flushdns followed by net stop dnscache followed by net start dnscache
Then restart the computer
Mark ElySenior Coldfusion Developer

Commented:
Drop to a DOS prompt and type: ipconfig /all
Look for your: IPv4 Address, Subnet Mask, Default Gateway, DHCP Server and DNS Server
Verify the class C is the same (e.g. 192.168.0.xxx)
Top Expert 2014

Commented:
Have you checked the host entries on your DNS server?
Joel BrownIT Director

Author

Commented:
Am I performing all these tasks on the server I'm trying to rdp from or the client ?  I can't connect via IP to the laptop as I do not know the ip and a ping resolves to a different machine .....
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Is your wireless used to connect these machines on the same subnet as you expect ?
Joel BrownIT Director

Author

Commented:
yes,  they connect to 172.16.223.**
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
You would appear to have a DNS or HOSTS issue as that is where direction and re-direction takes place.
Joel BrownIT Director

Author

Commented:
thanks John,  I'll have our network folks take a look at it ...
Top Expert 2014

Commented:
On your DNS server look in the Forward Lookup Zone for your DNS domain.  Check that the hostname you're trying to RDP to is pointing at the IP you expect it to be pointing at.  If they are, it's likely to be a hosts file issue.  If not, it's probably DHCP not updating DNS correctly.

Commented:
By Cisco wireless do you mean Meraki Cisco?
if you have it handling the DHCP it will have nothing to do with your internal wired network thus causing you your "issue" and only by coincidence the default addresses look the same.
Set your DHCP/DNS for your wireless clients to your own DHCP server unless you are taking advantage of the walled garden then in which case you shouldn't be RDP'ing to anything in it.
If you are not talking about Meraki Cisco
Do the wireless clients have any issues resolving external addresses?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
@jtbrown1111  - Thanks and I was happy to help.
Top Expert 2014

Commented:
Did any of that actually work?