Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's the scenario: 3 Windows Server 2008 machines, each connected to 2 networks: a public network open to the internet and also a private LAN

comp name  local IP
-------- ----------------

'ping server1' from server2 or 3 will resolve to server1's local IP


'ping server2' from server1 or 3 will resolve to server2's local IP

The problem I have is that from server1 and 2 when I 'ping server3' I get the public IP address. I to resolve server3 to the local IP in order to connect services via the safe Local Network, rather than poking holes in the public firewall!

Please bear with me since I'm more of a DBA than a Server Admin.

cheers, Ben

share|improve this question
up vote 2 down vote accepted

One work around you may do is open the file c:\windows\system32\drivers\etc\hosts in Server 1 and Server 2 and add the entry server3

This will force both the servers to use the local IP.

share|improve this answer
Thanks, this worked. I would give you a vote if I had the reputation, however this is the first question from a longtime lurker! – user33302 Jan 31 '10 at 13:42

Interesting. My best guess at the moment is it's a DNS issue.

Is DNS running on any of the servers?

If you were to drop to a command-prompt on each server and type "nslookup," what DNS server are the servers set to poll first?

Is Server 3 connected to a switch within the LAN? Or is it possibly connection to a DMZ port on a firewall?

What IP do you get when you ping "server3" on server3?

share|improve this answer
Thanks. ping server3 on server3 returned an IP V6 IP address. The LAN is configured for IPV4 only, so there's one problem. There are switches and a possibly badly configured attempt at a local DNS which could be the cause. However, proy's simple answer did the trick. – user33302 Jan 31 '10 at 13:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.