Using the Windows Ping Commands -v

Posted on 2006-05-31
Medium Priority
Last Modified: 2012-06-21
Hi All

I am trying to use Windows Ping Command to TAG ICMP with the Binary value of 101 in the Precedance 3 bit feild . This is using the -v TOS command suffix on ping.

The command I understand is ping xxx.xxx.xxx.xxx -v 160

This result in the following packet

Interface Rx: v=LAN1 LAN
            Ethernet Header info - dst=00e007009f53 src=00123f12dd32 len=60
             IP Header info - Dst= Src= vl=0x45 tos=0x00 len=42 id=0xb77d
                                ttl=128 flg=0x00 off=0x0000 pcol=17(UDP) sum=0xf21b
              UDP Header info -  DstPort=50794(IPO Monitor) SrcPort=4099 Len=22 Sum=0x9824

TOS feild is still marked as tos=0x00 or 000

How does the -v command work exaclty TECH NET is no help and only provides the follwoing

-v TOS : Specifies the value of the Type of Service (TOS) field in the IP header for Echo Request messages sent. The default is 0. TOS is specified as a decimal value from 0 to 255. ?????

I have also tried the following

ping xxx.xxx.xxx.xxx -v 101
ping xxx.xxx.xxx.xxx -v 5

HELP !!!!!!
Question by:IPLCommunication
  • 4
  • 3

Expert Comment

by:Bob Stone
ID: 16809336
I do know that -V = Verbose Output. Supposedly it lists individual ICMP packets, as well as Echo Responses, but I never have seen alot of difference in the output.
LVL 40

Expert Comment

ID: 16812365
Whoa..  what a question!  never delved this deeply into PING before..  may I ask what your intentions are here?  Very curious...

Author Comment

ID: 16812397
To perform VoIp testing on a router under Load. Basically to tag traffic so the Queuing Mech on the router Routes the ICMP tagged with Prec 5 with higher rate. Basically a good test to see how the queue on the router is performing from a Delay point of view only

Anyways I have found the fix see below

After years of trying to figure this one out finally got it.

Enable QoS Packet Scheduler
Enter DWORD DisableUserTOSSetting in reg
Test with Ping XXX.XXX.XXX.XXX -v 46

See output from Sniffer Below

   80298mS Interface Rx: v=LAN1 LAN
            Ethernet Header info - dst=00e007009f53 src=00123f12dd32 len=74
             IP Header info - Dst= Src= vl=0x45 tos=0x2e len=60 id=0x0097
                                ttl=128 flg=0x00 off=0x0000 pcol=1(ICMP) sum=0xa8d2
              ICMP Echo Request. [csum=0x415c id=0x0200 seqnum=0x0a00]

TOS is marked with tos=0x2e (HEX) = 46 Dec = 010110 Binary  !!!!!!!!!!!!!!!!!!!!!!

See Microsoft which is not indexed in Google :(

[copyrighted text removed by Netminder; see link posted below]

For more information about traffic prioritization, click the following article numbers to view the articles in the Microsoft Knowledge Base:
222102 (http://support.microsoft.com/kb/222102/) Traffic prioritization using IP precedence
222020 (http://support.microsoft.com/kb/222020/) Description of 802.1P signaling
233039 (http://support.microsoft.com/kb/233039/) QoS queuing techniques
For more information about the DisableUserTOSSetting registry entry in Windows Server 2003, visit the following Microsoft Web site:
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 40

Expert Comment

ID: 16812656
Yes, please post that link!  shame to waste that post!

Accepted Solution

IPLCommunication earned 0 total points
ID: 16812673
LVL 40

Expert Comment

ID: 16825706
Good call.. and no objections..

LVL 40

Expert Comment

ID: 16825710
BTW:  thanks for providing that answer IPL..  Good find, and interesting..

Author Comment

ID: 16825826
Point Noted, sorry I am new to the workings of Experts Exchange.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question