Wednesday, July 29, 2009

In Vista Home Premium computer name is not in the hosts file

I am not sure if this is a default. But this is what I found.


If you try to ping your own computer by name which has Vista Home Premium then you will

get a General failure. However if you add the computer name to your hosts file then

you can ping using the computer name. Note that hosts file is not a text file.



The first ping to Hodentek3 returned General Failure
I modified the hosts file to include the computer name
The second ping is now accessing the computer by name
---------------------

C:\>ping Hodentek3 [Vista Home Premium]

Pinging HODENTEK3 [fe80::2c52:eb4:3f57:fe99%13] from fe80::2c52:eb4:3f57:fe99%13
with 32 bytes of data:

General failure.
General failure.
General failure.
General failure.
Ping statistics for fe80::2c52:eb4:3f57:fe99%13:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),



After modifying the hosts file



C:\>ping Hodentek3 [Vista Home Premium]

Pinging Hodentek3 [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

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

No comments:

DMCA.com Protection Status