In ODB, the value of Type of Service (ToS) was shown as the value 64, that didn't correspond to the ToS that I chose. I expected it to have a value of 2, since I'd chosen Standard (2).

Categories:
Solution Number:
S20775
Last Modified:
2013-08-20
Issue

In ODB, the value of Type of Service (ToS) was shown as the value 64, that didn't correspond to the ToS that I chose. I expected it to have a value of 2, since I'd chosen Standard (2).

Solution

First of all, what you see in ODB is correct. This is because Standard(2) is a symbol map equivalent to an integer value of 64.Here's how:First of all, note the following structure of the IPv4 TOS field (8 bits):+-----+-----+-----+-----+-----+-----+-----+-----+| Precedence | Type of Service | 0 |+-----+-----+-----+-----+-----+-----+-----+-----+IETF/Diffserv renamed the TOS octet of an IPv4 header to DifferentiatedServices (DS) Field. The last two bits are currently unused. The newstructure of the DS field is depicted below:+-----+-----+-----+-----+-----+-----+-----+-----+| Precedence | D | T | R | Unused |+-----+-----+-----+-----+-----+-----+-----+-----+The leftmost 6 bits together form what is now called the DSCP or theDifferentiated Service Code Point. Within the six DSCP bits:* The first three bits maps to the original precedence field in the TOS octet to provide eight precedence values [e.g., Best Effort (0), Background (1), Standard (2), etc.]* The next three bits are one each for delay (D), throughput (T), and reliability (R)Now if we were to map the traditional TOS settings to the new attributestructure, the eight bits will be:Best Effort (0): 000 000 00 == 0Background (1): 001 000 00 == 32Standard (2): 010 000 00 == 64Excellent Effort (3):011 000 00 == 96...and so on....If you actually look at the selected code point field value of theConfigure TOS/DSCP dialog box when configuring TOS for applications, youcan see these numbers.For more information about the symbol maps in a particular attribute, click on the ? button of the Details button for that attribute. For more information about symbol maps in general, see the Modeler documentation set, vol. Modeling Concepts, ch. Modeling Framework, sec. Modeling System Structure, subsec. Attributes.

Environment

DES Kernel->Other,Protocols->IP

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case