02-QOS-ADVANCED-DIFFSRV



Similar documents
CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

18: Enhanced Quality of Service

QoS in IP networks. Computer Science Department University of Crete HY536 - Network Technology Lab II IETF Integrated Services (IntServ)

Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS

Internet Quality of Service

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

How To Provide Qos Based Routing In The Internet

A Review on Quality of Service Architectures for Internet Network Service Provider (INSP)

Quality of Service (QoS)) in IP networks

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

Quality of Service (QoS) on Netgear switches

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

iseries Quality of service

Overview of QoS in Packet-based IP and MPLS Networks. Paresh Shah Utpal Mukhopadhyaya Arun Sathiamurthi

QUALITY OF SERVICE INTRODUCTION TO QUALITY OF SERVICE CONCEPTS AND PROTOCOLS

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

ERserver. iseries. Quality of service

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

Figure 1: Network Topology

Distributed Systems 3. Network Quality of Service (QoS)

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Differentiated Services:

How To Improve Performance On A Ccdn (Dns)

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

IP Quality of Service: Theory and best practices. Vikrant S. Kaulgud

Improving Quality of Service

- QoS Classification and Marking -

Multimedia Requirements. Multimedia and Networks. Quality of Service

Description: To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

CS 268: Lecture 13. QoS: DiffServ and IntServ

enetworks TM IP Quality of Service B.1 Overview of IP Prioritization

Quality of Service for IP Videoconferencing Engineering White Paper

Differentiated Services

QoS Strategy in DiffServ aware MPLS environment

AlliedWare Plus TM OS How To. Configure QoS to Conform to Standard Marking Schemes. Introduction. Contents

Protocols with QoS Support

Quality of Service Mechanisms and Challenges for IP Networks

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

This topic lists the key mechanisms use to implement QoS in an IP network.

Configuring QoS and Per Port Per VLAN QoS

Implementing and Deploying Quality of Service (QoS) for EtherNet/IP

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

Analysis of IP Network for different Quality of Service

Quality of Service for VoIP

QOS NETWORKING TABLE OF CONTENTS. Mário Nunes, Jânio Monteiro IST

A Survey on QoS Behavior in MPLS Networks

IP Quality of Service Configuration Guide

Traffic Classification

Mixer/Translator VOIP/SIP. Translator. Mixer

Class of Service (CoS) in a global NGN

Welcome to Today s Seminar!

Configuring QoS. Finding Feature Information. Prerequisites for QoS

Network management and QoS provisioning - QoS in the Internet

Constructing End-to-End Traffic Flows for Managing Differentiated Services Networks

The Conversion Technology Experts. Quality of Service (QoS) in High-Priority Applications

Real-time apps and Quality of Service

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

DOCSIS 1.1 Cable Modem Termination Systems

Routing architecture in DiffServ MPLS networks

VoIP network planning guide

QoS : Computer Networking. Motivation. Overview. L-7 QoS. Internet currently provides one single class of best-effort service

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

Quality of Service (QoS): Managing Bandwidth More Effectively on the Series 2600/2600-PWR and Series 2800 Switches

QoS in multi-service IP networks

CCNP: Optimizing Converged Networks

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

#43 D A N T E I N P R I N T. A First Step in the World of IP QoS. Nicolas Simar

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

Requirements of Voice in an IP Internetwork

IP service. QoS services and application-level service interfaces. Questions INTSERV

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

Components of a VoIP Network

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Project Report on Traffic Engineering and QoS with MPLS and its applications

Configuring Quality of Service

Bandwidth Profiles for Ethernet Services Ralph Santitoro

Quick Note 15. Quality of Service (QoS) on a TransPort router

Abstract. Table of Contents. 1. INTRODUCTION : Definition and Measurement. Arindam Paul, apaul@cse.wustl.edu

IP - The Internet Protocol

Configuring QoS. Understanding QoS CHAPTER

Internet Voice, Video and Telepresence Harvard University, CSCI E-139. Lecture #6

Highlighting a Direction

Bandwidth Profiles for Ethernet Services Ralph Santitoro

How To Configure Voip Qos For A Network Connection

Network-based Quality of Service for Polycom IP Videoconferencing

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

IP Marking, Metering, and Management

Performance Evaluation of Voice Traffic over MPLS Network with TE and QoS Implementation

Configuring QoS CHAPTER

Networkbased. Quality of Service. Communicate Simply. For IP Video Conferencing

MULTIMEDIA NETWORKING

Master degree report. Study and implementation of QoS techniques in IP/MPLS networks

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

Transcription:

IP QoS DiffServ Differentiated Services Architecture Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 2 Page 02-1

Principles Integrated Services Model does not scale well flow based traffic overhead (RSVP messages) routers must maintain state information for each flow ATM s principle of traffic classes seemed to be also useful for IP note: ATM virtual circuits implicitly identify flows (connection between two end systems) but queuing management handels service classes only (CBR, VBR, ABR, UBR) -> all virtual circuits of same class use the same queue Idea of Differentiated Services Model (DS, DiffServ): Packets are separated into traffic classes aggregation of traffic better scalability! Routers treat each traffic class according specific service level agreements QOS-ADVANCED-DIFFSRV 3 Principles Requires a traffic identification and labeling (marking) mechanism Routers examine this label to adjust queuing and drop parameters IP Type of Service (ToS) field used as DS label now called "Differentiated Service Code Point" (DSCP) So there are two main DS building blocks: DSCP Per-Hop Behavior (PHB) of the routers No reservations necessary static QoS mechanism PHB is determined by DSCP QOS-ADVANCED-DIFFSRV 4 Page 02-2

DS Terminology boundary node interior nodes boundary node DS domain ingress node Traffic Conditioner (Measuring and Policing) egress node QOS-ADVANCED-DIFFSRV 5 DS Architecture Distinction between boundary and interior functions/nodes DSCP bits must be set at network boundaries at ingress point to achieve PHP in own DS domain at egress points to conform to DSCP meaning in next DS domain administered by another authority Also conditioning of packets at network boundaries at ingress point for traffic policing at egress points for traffic shaping to conform traffic aggrement with next DS domain administered by another authority Interior nodes have to examine these bits and treat the packets accordingly interior nodes schedule packet forwarding in different ways based on DSCP QOS-ADVANCED-DIFFSRV 6 Page 02-3

DS Multiple Domains boundary nodes interior nodes Per-hop behavior DS domain 1 DS domain 2 egress node Traffic Conditioner (Measuring and Shaping) ingress node Traffic Conditioner (Measuring and Policing) QOS-ADVANCED-DIFFSRV 7 DS DS requires routers to support sophisticated queue management DSCP value specifies queue parameters and drop preferences traditional FIFO queuing cannot provide service differentiation DS assumes a Service Level Agreement between adjacent networks service provider and customer between service providers adapt different per-hop behaviors QOS-ADVANCED-DIFFSRV 8 Page 02-4

Service Level Agreement / Specification Service Level Agreement (SLA) in context to DS is a contract between customer and service provider that specifies the forwarding service non-technical aspects pricing contractual obligations Service Level Specification (SLS) a set of parameters and values defines the service offered to a traffic stream by a DS domain Traffic Conditioning Specification (TCS) specifies a set of classifier rules QOS-ADVANCED-DIFFSRV 9 Traffic Conditioning Agreement A Traffic Conditioning Agreement (TCA) consists classifier rules traffic profiles (optional) bandwidth, throughput, latency, drop precedence, metering, marking, discarding, shaping rules A TCA is the result of an SLA the specific service requirements and the providers service provisioning policy QOS-ADVANCED-DIFFSRV 10 Page 02-5

Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 11 Providing a Label for DS In earlier IP-days the IETF intended the Type of Service (ToS) field in the IP header to be used as some kind of flow descriptor rarely used, mostly even ignored by operating systems So, this field can be reused! no additional header necessary The IPv4 ToS field consists of three precedence bits for eight precedence levels (0...lowest, 7...highest) four type of service indication bits one unused bit QOS-ADVANCED-DIFFSRV 12 Page 02-6

IPv4 Header Review 3 bits 4 bits 1 bit Precedence Type of Service 0 0 4 8 16 31 Version HLEN ToS Total Length Fragment Identifier Flags Fragment Offset TTL Protocol Header Checksum Source Address Destination Address IP Options Pad PAYLOAD... QOS-ADVANCED-DIFFSRV 13 IPv4 / IPv6 ToS Recycling IPv4 ToS field was redefined by the IETF to become the "Differentiated Service Code Point" (DSCP) Now the DSCP field is used to label the traffic class of a flow In IPv6 the Traffic Class octet is used to implement DiffServ QOS-ADVANCED-DIFFSRV 14 Page 02-7

Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 15 IPv4 ToS: Historical Review 1981: RFC 791 defines the Internet Protocol containing the original ToS-Field 3 bits 3 bits Type of Service Precedence D Type T of Service R 0 0 IPv4 ToS byte Precedence: 111 - Network Control 110 - Internetwork Control 101 - CRITIC/ECP 100 - Flash Override 011 - Flash 010 - Immediate 001 - Priority 000 - Routine reserved for future use Type of Service: D: delay (0 = normal / 1 = low) T: throughput (0 = normal / 1 = high) R: reliability (0 = normal / 1 = high) QOS-ADVANCED-DIFFSRV 16 Page 02-8

IPv4 ToS: Historical Review 1989: RFC 1122 defines ToS as a five bit field 3 bits Precedence 5 bits Type of Service IPv4 ToS byte 1992: RFC 1349 redefines the ToS-Field to be four bits 3 bits 4 bits Type of Service Precedence D Type T of Service R C 0 IPv4 ToS byte reserved for future use QOS-ADVANCED-DIFFSRV 17 Initial Meaning of the ToS Subfield Type of Service Bit Flags Value Examples Low Latency 1000 High Throughput 0100 High Reliability 0010 Low Cost 0001 8 4 2 1 Telnet keystrokes, urgent data, etc. FTP downloads, backups, bandwidthsensitive applications File-sharing, database updates, UDP transactions NNTP news feed, nonessential traffic Default 0000 0 Normal traffic QOS-ADVANCED-DIFFSRV 18 Page 02-9

IPv4 ToS DSCP 1998: RFC 2474 specifies DS Field 3 bits 4 bits 1 bit Precedence D Type T of Service R C 0 IPv4 ToS byte preserved 3 bits 6 bits 2 bits Class Selector codepoints Currently unused DS-Field Differentiated Services Code Point (DSCP) QOS-ADVANCED-DIFFSRV 19 Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 20 Page 02-10

IPv4 ToS newest development: ECN 2002: RFC 3260 declares Explicit Congestion Notification (ECN) as an integration of the former ToS-Field 3 bits 6 bits DS-Field, DSCP 2 bits ECN-Field 0 0 Not-ECT 0 1 ECT(1) ECT CE ECN-Capable Transport Congestion Experienced 1 1 0 1 ECT(0) CE QOS-ADVANCED-DIFFSRV 21 ECN in detail ECT(0) or ECT(1) are set by the data sender to indicate a ECN-capability routers treat both code points as equivalent Not-ECT indicates a packet that is not using ECN CE code point is set by a router to indicate congestion to the end nodes Routers that have a packet arriving at a full queue drop the packet, just as they do in the absence of ECN see specifications RFC 3168 "The Addition of ECN to IP" QOS-ADVANCED-DIFFSRV 22 Page 02-11

DSCP Usage DS-routers overwrite the IPv4 ToS field only precedence bits are preserved now known as "class selector code point" field DSCP consists of 6 bits 64 code points possible: 48 in global space, 16 for local use last 2 bits of the former IPv4 ToS field used for ECN specifications RFC 2474: "Definition of the Differentiated Service Field in the IPv4 and IPv6 Headers" RFC 2475: "An Architecture for Differentiated Services" RFC 3260: "New Terminology and Clarifications for DiffServ" QOS-ADVANCED-DIFFSRV 23 Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 24 Page 02-12

Per-Hop Behavior A Per-Hop Behavior (PHB) is "The externally observable forwarding behavior applied at a DS-compliant node to a DS behavior aggregate." concerns local behavior of a network-node should enable predictable services The PHB describes various node-behaviors for incoming packets forwarding classification scheduling drop Note: Traffic conditioning and service provisioning is not part of a PHB definition QOS-ADVANCED-DIFFSRV 25 Per-Hop Behaviors 4 Types: Default PHB (DE) Best Effort DSCP = 000000 Class Selector PHB Defined to be backward-compatible with IP precedence Precedence 1 001 000 Precedence 2 010 000 Precedence 3 011 000 Precedence 4 100 000 Precedence 5 101 000 Precedence 6 110 000 Precedence 7 111 000 QOS-ADVANCED-DIFFSRV 26 Page 02-13

Per-Hop Behaviors Expedited Forwarding (EF) Premium Service (Highest DS QoS) using a single DSCP only (101110) minimal delay and jitter; low loss and assured bandwidth targets applications like VoIP and video conferencing virtual leased line service looks like a point-to-point connection for DiffServ network s end nodes implementation by appropriate packet scheduling techniques it must be ensured, that a busy EF queue does not starve the remaining traffic queues e.g. CBWFQ (Class-Based Weighted Fair Queuing) e.g. Priority Queuing QOS-ADVANCED-DIFFSRV 27 Per-Hop Behaviors Assured Forwarding (AF) emulates a lightly loaded network even in congestion cases 4 classes and 3 drop-precedence's within each class = 12 code points bandwidth assurance but no guarantee each traffic class is serviced in its own queue Drop Precedence Class 1 Class 2 Class 3 Class 4 Low 001 010 010 010 011 010 100 010 Medium 001 100 010 100 011 100 100 100 High 001 110 010 110 011 110 100 110 Random Early Detection (RED)-queue management is often used for an implementation QOS-ADVANCED-DIFFSRV 28 Page 02-14

Solution: Traffic Differentiation Constant video stream: 10 Mbit/s Variable traffic from several less important customers: 5-50 Mbit/s Router must manage 25-90 Mbit/s! 45 Mbit/s link Variable traffic from important customers: 10-30 Mbit/s Queue and drop parameters should comply to the customers service contracts QOS-ADVANCED-DIFFSRV 29 Internet: Competitive Traffic Constant video stream: 10 Mbit/s Variable traffic from several less important customers: 5-50 Mbit/s Classified for expedited forwarding 45 Mbit/s link Classified for best-effort service Variable traffic from important customers: 10-30 Mbit/s Classified for assured forwarding QOS-ADVANCED-DIFFSRV 30 Page 02-15

DS in Action Customer A Classifying, marking according traffic policy, metering Customer A Advanced queuing and routing mechanisms Provider (DS-Domain) E.g. utilizing PHB groups 1,2,3 Traffic shaping Customer B E.g. utilizing PHB groups 1,3,5 Committed Access Rate (CAR) Customer B QOS-ADVANCED-DIFFSRV 31 Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 32 Page 02-16

DS Domains A DS domain is a contiguous subnet with a consistent DS management A "DS region" consists of one or more contiguous DS domains Related PHB s are collected in a PHB-group because there may be many more potential PHB s than the 64 map-able PHB s that can be addressed by the DSCP e.g. several PHB s with similar properties can be summarized as one specific PHB group sharing similar properties such as buffer sizes, bandwidth, delay, jitter, loss, etc. QOS-ADVANCED-DIFFSRV 33 Boundary nodes Traffic Conditioning Packet Classification Marking the DSCP- Field of the packet Shaping, Queuing, Scheduling Policy Marking high Data flow med normal low Boundary router QOS-ADVANCED-DIFFSRV 34 Page 02-17

Traffic Profiles Classifiers check if incoming traffic profile complies to the SLA s traffic profile A traffic profile can be given by token-bucket parameters eg. "DSCP=x, use token-bucket r, b" specifies that all packets with DSCP=x should be measured against a token bucket meter with rate r and burst size b. out-of-profile traffic: when packets arrive while there is currently no token available Solution against out-of-profile traffic: DSCP remarking traffic shaping: queuing to adapt token rate packet dropping QOS-ADVANCED-DIFFSRV 35 Traffic Conditioner Meter Packets Classifier Marker Shaper/ Dropper Traffic conditioners are usually located within DS ingress and egress boundary nodes QOS-ADVANCED-DIFFSRV 36 Page 02-18

Traffic Conditioner Classifier selects a packet in a traffic stream based on the content of some part of the packet header common way: classification based on the DSCP field Meter measures traffic stream against traffic profile based on traffic descriptor such as a token bucket the state of the Meter influences the decision of the Marker and the Shaper/Dropper QOS-ADVANCED-DIFFSRV 37 Traffic Conditioner Marker might be configured to mark all packets which are steered to it (by the classifier) to a single DSCP might select a PHB in a PHB group according to the meter s state might re-mark (change an existing DSCP) Shaper delays some or all packets in a traffic stream to smooth bursts and cares for compliance with the specified traffic profile Dropper discards all packets that doesn t comply with the traffic profile ("policing the stream") QOS-ADVANCED-DIFFSRV 38 Page 02-19

Packet Classification Two types of classifiers: Behavior Aggregate (BA) classifier classifies packets based on the DSCP only Multi-field (MF) classifier selects packets based on the value of a combination of one or more header fields e.g. source and destination address, DSCP, protocol ID, ports, also incoming interface note: IP fragmentation can lead to wrong MF classification of fragments if TCP fields are examined QOS-ADVANCED-DIFFSRV 39 Re-marking the DSCP Ingress routers must ensure that packets entering a DS domain receive the same QoS as in the domain before extending the PHB group by re-marking the DSCP field and traffic conditioning Ingress router examines the TCP port numbers and assigns a new service class So, the DS is transparent to applications note: IntServ requires application s help! However, an end-to-end QoS cannot be guaranteed because no reservation of resources "Soft" QoS QOS-ADVANCED-DIFFSRV 40 Page 02-20

DSCP Re-marking DS-Domain 1 using 4 queues only Ingress router with traffic conditioner DS-Domain 2 using 7 queues queue 7 queue 6 queue 3 queue 2 queue 1 queue 0 Classifying: priority = 3 Re-marking: priority = 7 queue 5 queue 4 queue 3 queue 2 queue 1 queue 0 QOS-ADVANCED-DIFFSRV 41 Source Domain The source domain is the place where the traffic originates Usually the customer s domain Nodes within a source domain may perform traffic classification E.g. directly by the source node "initial marking" or "pre-marking" conditioning Advantages of pre-marking and early conditioning: traffic source knows preferences of applications e.g. a CEO s traffic has more importance simplifies classification and traffic shaping tasks on border nodes However, source domain is responsible that aggregated traffic conforms to the TCA signaling of PHB s using RSVP might be necessary QOS-ADVANCED-DIFFSRV 42 Page 02-21

Agenda DiffServ Principles DS-Field, DSCP Historical Review Newest Implementations Per-Hop Behaviors (PHB) DiffServ in Detail DiffServ in other Environments QOS-ADVANCED-DIFFSRV 43 Multicast Traffic IP multicast traffic may cause a higher load inside a DS domain multicast packets may take multiple paths simultaneously because of multicast packet replication unpredictably consumes more network resources than unicast packets So it may be necessary to reserve different sets of DSCP for unicast and multicast traffic to provide resource isolation from multicast traffic QOS-ADVANCED-DIFFSRV 44 Page 02-22

QoS Mapping between IEEE 802 and IP 802.1p and 802.1Q define 8 levels of prioritization (0-7) DSCP class selector code point also provides 8 precedence levels three-bit field within DSCP So 802.1p priority values can be mapped one-toone into the DS class selector code point QOS-ADVANCED-DIFFSRV 45 DS and IPsec IPsec does not use the DS field of the IP header for its cryptographic calculations That is: IPsec can be used in DS networks without modifications DS together with IPsec tunneling hides port information increases security as routers only need to examine the DSCP to perform traffic differentiation QOS-ADVANCED-DIFFSRV 46 Page 02-23

DS and IPsec IPsec tunnel mode: encapsulates the whole IP packet with an outer IP header outer IP header contains a proxy-ds field which is set according to the SLA only this outer proxy-ds field will be modified on the way through the IPsec tunnel at the end of the IPsec tunnel the outer IP header is stripped off again QOS-ADVANCED-DIFFSRV 47 Page 02-24