ping of netbios name does not resolve to correct IP address
Posted on 2007-11-19
Old Windows NT domain
Windows XP Pro workstation
I have a client that was trying to add an ODBC source on their XP Pro PC. Whenever the tried to connect it failed. I noticed that they were trying to connect to a standalone server that is on this network. The server name is ERP1. It has an internal IP Address of 192.168.1.6.
When I ping that server's netbios name (erp1), it resolves to an IP address that is not on our private network. The ping goes on the internet and finally resolves to a 65.x.x.x address, which is our service provider. I assume, for some reason the IP Address for ERP1 can NO T be found internally, so it is trying to resolve it elswhere.
I'm a little rusty on NT server configuration, so I tried some things on the XP Pro computer.
I added a line to an LMHOSTS file I created.
192.168.1.6 ERP1 #PRE
This seemd to solve the problem on one computer but the next day it did NOT work again. This did NOT solve the problem on the original user's PC.
I also tried adding, in TCP/IP settings/advanced, the WINS server address. Unfortunately, this did not help either.
Any suggestion would be appreciated.