background image
534 Chapter 14: SNA Topologies
existing queuing mechanisms (WRED, WFQ) and don't have to change existing applications
or any part of the network infrastructure.
IP Precedence uses the Type of Service field in the IP header. This is an 8-bit field at the front
of the IP packet (see Figure 14-18). Seven of these bits enable classification of traffic across an
IP network. The eighth bit is not used and is set to 0. The first three bits are used to set
precedence. The next four bits specify the type of service (ToS). Up to six classes of service can
be partitioned using the ToS bits. As soon as this traffic is classified as important, queuing
technologies in the network use these bits to apply the appropriate expedited handling across
the network.
Figure 14-18
IP Precedence
Network architects use extended access lists to classify the traffic. The use of these access lists
offers considerable flexibility for precedence assignment, down to the user or application level.
Another option is to classify packets by source and destination, source subnet, and so on.
Normally, this is done closest to the source, whether at the edge or near the core.
TIP
Set IP Precedence bits closest to the source.
Field Values
IP Precedence is specified in RFC 791. IP Precedence can use parameters such as high, normal,
and low priorities to classify traffic into service-level criteria. When packets are classified from
the endpoint, they keep their service-level definitions as they move from network hop to
network hop.
Type of Service field - 8 bits
Version
Header
length
3 precedence
bits
ToS - 4 bits
Unused
Total length
of packet
Identification
Flags
Fragment
offset
IP precedence
bits used by
DLSw
Bits 7, 6, and 5
Type of service
bits
used by VolP
Bits 4, 3, 2, and 1
1 bit
unused
Bit 0
Least significant bits
Most significant bit
87200333.book Page 534 Wednesday, August 22, 2001 1:41 PM