is "ping -a" gone in XP sp2 ?

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.
 
B

Bob S.

Works fine (WinXP Pro w/SP-2). Do you see the -a command when you enter
..... ping/? ... to see the options ?

Bob S.
 
G

Guest

Thanks for your reply.

When I issue "ping /?" I do see the option for the -a switch.

Just for grins I built a fresh load of xp sp2 from scratch today on a test
machine. With this test box the feature still did not work! The only thing
that I installed other than the windows updates was the adminpack.msi from my
w3k server sys32 dir.

Tommrow I am going to try to get this to work on another XP pc in my domain,
if I can see it work on another xp box then I can compare the two and try to
determine what the hell I am doing wrong- or not dooing.

One thought that I had....
I remember installing the XP version of IPv6, I can remember if this is
pre-sp3 or not but it's the only updated that i installed that was not listed
as "critical".

Thanks again for your help...





Bob S. said:
Works fine (WinXP Pro w/SP-2). Do you see the -a command when you enter
..... ping/? ... to see the options ?

Bob S.



Brad Camp said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top