Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Networking Networking
Search Search
Search for:
Tech Support Guy > > >

Can Ping IP but not the Host name


(!)

suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
21-Dec-2009, 11:01 AM #1
Cool Can Ping IP but not the Host name
Hey
I upgraded my sysem to Windows 7 OS. I couldn't load Matlab due to host name resolution problem.
The problem is that I can Ping my IP address but I cannot ping the hostname.
Can any one please help me on this

Sunil tyagi
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
21-Dec-2009, 11:02 AM #2
Hold the Windows key and press R, then type CMD then press Enter to open a command prompt:

In the command prompt window that opens, type type the following commands, one at a time, followed by the Enter key:

Note that there is a space before the -n or the /ALL, but there is NOT a space after the - or / in the following commands.

NBTSTAT -n

IPCONFIG /ALL


Right click in the command window and choose Select All, then hit Enter to copy the contents to the clipboard.
Paste the results in a message here.

If you are on a machine with no network connection, use a floppy, USB disk, or a CD-RW disk to transfer a text file with the information to allow pasting it here.
__________________
Remember: Data you don't have at least two copies of is data you don't care about.
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
21-Dec-2009, 11:09 AM #3
Can Ping IP but not the Host name
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Thanks for such a prompt reply.
Idid as u suggested and here are the result

C:\Users\SUNIL>NBTSTAT -n
Local Area Connection:
Node IpAddress: [192.168.1.5] Scope Id: []
NetBIOS Local Name Table
Name Type Status
---------------------------------------------
SUNIL-PC <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
SUNIL-PC <20> UNIQUE Registered
C:\Users\SUNIL>IPCONFIG /ALL
Windows IP Configuration
Host Name . . . . . . . . . . . . : SUNIL-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168B/8111B Family PCI-E Gigab
it Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-26-18-2C-0D-0D
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4a:a3ad:7556:b507%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890776
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-BA-3B-56-00-26-18-2C-0D-0D
DNS Servers . . . . . . . . . . . : 59.179.243.70
203.99.243.70
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{57A64FC8-79ED-48E8-B4EF-BA081FFD4506}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
21-Dec-2009, 07:26 PM #4
Why do you have DHCP disabled?

Let's enable that and see if that changes things.


Configure DHCP for Windows Vista & Windows 7
  1. Click on the Start menu, and select Control Panel.
  2. Click on Network and Internet. (Skip this step if you do not see this Control Panel item.)
  3. Click on Network and Sharing Center.
  4. Click on Manage network connections.
  5. Right click on Connection you wish to change and choose Properties. If Windows say it needs your permission to continue, click Continue.
  6. Select Internet Protocol Version 4(TCP/IPv4) and click Properties.
  7. Select Obtain an IP address automatically.
  8. Select Obtain DNS server address automatically.
  9. Click OK to close the TCP/IP Properties window.
  10. Click OK to close the Local Area Connection Properties window.
  11. Click Close to close the Network Connections window.
  12. Click Close to close the Control Panel window.
  13. Restart your computer.
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
22-Dec-2009, 02:00 AM #5
Still can't Host name
I enabled the DHCP sever, but I stil can't ping the host name. Here is he result

C:\Users\SUNIL>ping SUNIL-PC
Ping request could not find host SUNIL-PC. Please check the name and try again.


C:\Users\SUNIL>IPconfig /ALL
Windows IP Configuration
Host Name . . . . . . . . . . . . : SUNIL-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168B/8111B Family PCI-E Gigab
it Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-26-18-2C-0D-0D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4a:a3ad:7556:b507%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 22 December 2009 11:16:46
Lease Expires . . . . . . . . . . : 25 December 2009 11:16:46
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 234890776
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-BA-3B-56-00-26-18-2C-0D-0D

DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{57A64FC8-79ED-48E8-B4EF-BA081FFD4506}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:cf2e:3096:1841:563:3f57:fefc(Prefe
rred)
Link-local IPv6 Address . . . . . : fe80::1841:563:3f57:fefc%13(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\SUNIL>
TerryNet's Avatar
Computer Specs
Moderator with 65,395 posts.
 
Join Date: Mar 2005
Location: Ottawa, IL
22-Dec-2009, 10:03 AM #6
Most likely culprit is a non-Windows firewall or security suite. Especially if you did an "upgrade" install w/o properly accounting for it.
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
24-Dec-2009, 06:58 AM #7
Unhappy Can't Ping Host name
I am using Norton anti virus. I turned off the auto protect and tried to ping.
I still cant ping hostname that is SUNIL-PC.
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
24-Dec-2009, 10:32 AM #8
Let's totally uninstall Norton and then run the Norton Removal Tool.
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
28-Dec-2009, 11:46 AM #9
Can Ping IP but not the Host name
My PC is in standalone mode.
I completely uninstalled Norton antivirus as suggested by you and tried to ping again the hostname it still doesn't work.
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
28-Dec-2009, 02:42 PM #10
You're pinging your own name or the name of another workstation on the network?
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
29-Dec-2009, 10:24 AM #11
Can Ping IP but not the Host name
I am pinging my own name. Following is outcome at the command prompt :

C:\Users\SUNIL>hostname
SUNIL-PC
C:\Users\SUNIL>ping SUNIL-PC
Ping request could not find host SUNIL-PC. Please check the name and try again.
C:\Users\SUNIL>
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
29-Dec-2009, 11:00 AM #12
Please post a HijackThis 2.00.2 Log here.
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
29-Dec-2009, 12:08 PM #13
I tried to run Hijack this. I says system denied writing to host file.
I run the software after the message but it did not produce any log file.
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
29-Dec-2009, 04:48 PM #14
Are you running an account with administrative rights?
suniltyagi's Avatar
suniltyagi suniltyagi is offline
Junior Member with 14 posts.
THREAD STARTER
 
Join Date: Dec 2009
30-Dec-2009, 12:52 AM #15
Yes I have administrative rights. My OS is Windows7 and in Windows7 one has to open the note pad as administrator to make changes to host file.
I guess I have to give administrator rights to the log file created by Hijack this.
By the way I can ping localhost but not my host name. Here is the result:
C:\Users\SUNIL>ping localhost
Pinging SUNIL-PC [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\SUNIL>hostname
SUNIL-PC

C:\Users\SUNIL>ping SUNIL-PC
Ping request could not find host SUNIL-PC. Please check the name and try again.

C:\Users\SUNIL>
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


Tags
ip address problem, name resolution

(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑