top of page

Extended ping ToS Value

 

I’m trying to do an extended ping across an IP network. I want to be able to set the Type of Service of the packets to the same as that of our VoiP packets, which are tagged with DSCP EF.

 

What Type of Service value should I use to achieve this.

 

Also, the ToS values for DSCP AF31 and AF32 would be helpful too if possible

 

Here’s the mapping you will need. “=” means something like “maps to” or “is equivelent to”.

 

ef = dscp 46 = 101110 = tos 0xb8 (184) = ip prec 5

af31 = dscp 26 = 011010 = tos 0x68 (104) = ip prec 3

af32 = dscp 28 = 011100 = tos 0x70 (112) = ip prec 3

cs3 = dscp 24 = 011000 = tos 0x60 (96) = ip prec 3

 

You’ll want to use the decimal tos values (in parenthesis) for your e-pings.

 

voice_gw#ping

ip Target IP address: 144.122.216.58

Repeat count [5]: 100

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 144.44.88.21

Type of service [0]: 184 --->dscp is ef Set

DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

bottom of page