G
Guest
I have found that the “ping –a†command is a good way of immediately
resolving an IP address to a host name. To my surprise I have not been able
to get “ping –a†to work on XP sp2. This command works flawlessly on any of
my windows 2000 workstations.
My environment is W2k native mode AD.
The DNS, WINS, Subnetmask, and Gateway settings on both machines in question
are exactly the same.
------The following info is from a 2000 pro workstation---------
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>ping -a 10.1.0.59
Pinging DSERVER [10.1.0.59] with 32 bytes of data:
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Ping statistics for 10.1.0.59:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
-----------------------------------------------------------------------------
As you can see the host name “DSERVER’ is resolved to the IP address.
--------This config is from an XP pro sp2 workstation--------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>ping -a 10.1.0.59
Pinging 10.1.0.59 with 32 bytes of data:
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Ping statistics for 10.1.0.59:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
------------------------------------------------------------------------------------------------
As you can see the XP workstation can not resolve the host name with a “ping
–aâ€, as I mentioned before both machines have the exact same DNS and WINS
setting, gateway, and subnet mask. One other item that I thought to check
was the DNS suffix for each machine; this setting is the same on both.
I have not had the chance to attempt this on a XP box that does not have sp2
installed but as soon as I find one I plan on giving that a try.
resolving an IP address to a host name. To my surprise I have not been able
to get “ping –a†to work on XP sp2. This command works flawlessly on any of
my windows 2000 workstations.
My environment is W2k native mode AD.
The DNS, WINS, Subnetmask, and Gateway settings on both machines in question
are exactly the same.
------The following info is from a 2000 pro workstation---------
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>ping -a 10.1.0.59
Pinging DSERVER [10.1.0.59] with 32 bytes of data:
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Reply from 10.1.0.59: bytes=32 time<10ms TTL=128
Ping statistics for 10.1.0.59:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
-----------------------------------------------------------------------------
As you can see the host name “DSERVER’ is resolved to the IP address.
--------This config is from an XP pro sp2 workstation--------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>ping -a 10.1.0.59
Pinging 10.1.0.59 with 32 bytes of data:
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Reply from 10.1.0.59: bytes=32 time<1ms TTL=128
Ping statistics for 10.1.0.59:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
------------------------------------------------------------------------------------------------
As you can see the XP workstation can not resolve the host name with a “ping
–aâ€, as I mentioned before both machines have the exact same DNS and WINS
setting, gateway, and subnet mask. One other item that I thought to check
was the DNS suffix for each machine; this setting is the same on both.
I have not had the chance to attempt this on a XP box that does not have sp2
installed but as soon as I find one I plan on giving that a try.