12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9Differenti<strong>at</strong>ed Services Module in <strong>ns</strong>Note: <strong>The</strong> Differenti<strong>at</strong>ed Services module described in this chapter has been integr<strong>at</strong>ed into <strong>ns</strong>-2.1b8.Differenti<strong>at</strong>ed Services, or DiffServ, is an IP QoS architecture based on packet marking th<strong>at</strong> allows packets to be prioritizedaccording to user requirements. During the time of congestion, more low priority packets are discarded than high prioritypackets. This chapter describes the DiffServ module th<strong>at</strong> was originally implemented by the Advanced IP Networks group inNortel Networks [28].9.1 Overview<strong>The</strong> DiffServ architecture provides QoS by dividing traffic into different c<strong>at</strong>egories, marking each packet with a code pointth<strong>at</strong> indic<strong>at</strong>es its c<strong>at</strong>egory, <strong>and</strong> scheduling packets according accordingly. <strong>The</strong> DiffServ module in <strong>ns</strong>can support four classesof traffic, each of which has three dropping precedences allowing differential tre<strong>at</strong>ment of traffic within a single class. Packetsin a single class of traffic are enqueued into one corresponding physical RED queue, which contai<strong>ns</strong> three virtual queues (onefor each drop precedence).Different RED parameters can be configured for virtual queues, causing packets from one virtual queue to be dropped morefrequently than packets from another. A packet with a lower dropping precedence is given better tre<strong>at</strong>ment in times ofcongestion because it is assigned a code point th<strong>at</strong> corresponds to a virtual queue with rel<strong>at</strong>ively lenient RED parameters.<strong>The</strong> DiffServ module in <strong>ns</strong>has three major components:Policy: Policy is specified by network administr<strong>at</strong>or about the level of service a class of traffic should receive in the network.Edge router: Edge router marks packets with a code point according to the policy specified.Core router: Core router examines packets’ code point marking <strong>and</strong> forwarding them accordingly.DiffServ <strong>at</strong>tempts to restrict complexity to only the edge routers.87

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

Saved successfully!

Ooh no, something went wrong!