23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Quality of Service 19-7<br />

Version Hd Len Type of service Total length<br />

Identification<br />

Flags Fragment offset<br />

Time to live Protocol<br />

Source IP address<br />

Destination IP address<br />

Header checksum<br />

Options<br />

Padding<br />

20<br />

bytes<br />

Variable<br />

length<br />

Data portion<br />

32 bits<br />

FIGURE 19.1<br />

ToS field in the IP header of any IP packet.<br />

network devices before sending data. DiffServ reassigns bits in the type of service (ToS) (8 bits in ToS,<br />

Figure 19.1) field of the IP header of any IP packet [20] and uses differentiated services code points<br />

(DSCP) as the QoS descriptor value, which supports 64 possible classifications.<br />

For a differentiated service, the network is trying to deliver a concrete kind of service based on the<br />

QoS descriptor specified in each IP packet header on a per-hop basis rather than per-traffic flow as<br />

IntServ does.<br />

Usually, this service model is especially appropriate for aggregate flows; complex traffic classification<br />

are performed at network edges resulting in a per-packet QoS handling.<br />

The device, typically at the edge of the network, identifies packets based on the IP precedence (the<br />

three first bits in the ToS field of the IP header) or on the DSCP fields in the ToS byte of the IP header<br />

(Figure 19.2) that are going to be used in a per-hop behavior (PHB), packet by packet.<br />

The six most significant bits of the ToS byte form the DiffServ field and the last two bits are used as<br />

early congestion notification (ECN) bits. IP precedence uses three bits, while DSCP, really an extension<br />

of IP precedence, uses six bits to select the PHB for the packet at each network node.<br />

There are two typical ways for specifying this PHB: the assured forwarding (AF) PHB [21] and the<br />

expedited forwarding (EF) PHB [22].<br />

The AF group allows offering different levels of forwarding assurances for IP packets received from<br />

a DiffServ domain. There are four AF classes, named AF1x through AF4x. Within each class, there are<br />

three drop probabilities. Depending on the policy of the network, packets can be selected for a PHB<br />

based on required throughput, delay, jitter or loss, or simply according to priority of access to network<br />

services.<br />

ToS byte in IP header<br />

P2 P1 P0 T3 T2 T1 T0 CU<br />

IP<br />

precedence<br />

DS5<br />

DS4<br />

DS3<br />

DS2<br />

DS1<br />

DS0<br />

ECN<br />

ECN<br />

DiffServ field<br />

FIGURE 19.2<br />

DiffServ field into the ToS byte of an IP packet.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!