Network layer Doug Young Suh Last update : Aug. 1, 2009 Network Layer.

Slides:



Advertisements
Similar presentations
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Advertisements

Spring 2003CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
IETF Differentiated Services Concerns with Intserv: r Scalability: signaling, maintaining per-flow router state difficult with large number of flows r.
IPv4/6 Nirmala Shenoy Information Technology Department Rochester Institute of Technology.
Spring 2000CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Copyright: RSVP The ReSerVation Protocol by Sujay koduri.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
QoS Protocols & Architectures by Harizakis Costas.
CS Summer 2003 Lecture 8. CS Summer 2003 Populating LFIB with LDP Assigned/Learned Labels Changes in the LFIB may be triggered routing or.
Quality of Service CS215 Winter, 2001 Ning. Wang
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
15-744: Computer Networking
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Design of QoS Router Terrance Lee. Broadband Internet Architecture Intelligent Access Electronic Switch (Intserv or Diffserv) Switching /Routing QoS Security.
CS 268: Lecture 11 (Differentiated Services) Ion Stoica March 6, 2001.
Spring 2002CS 4611 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
Internet Quality of Service. Quality of Service (QoS) The best-effort model, in which the network tries to deliver data from source to destination but.
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
QoS in MPLS SMU CSE 8344.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
1 Integrated and Differentiated Services Multimedia Systems(Module 5 Lesson 4) Summary: r Intserv Architecture RSVP signaling protocol r Diffserv Architecture.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
QoS Architectures for Connectionless Networks
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
Computer Networking Intserv, Diffserv, RSVP.
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services MPLS.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 10 – Quality of Service (QoS)
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
Multimedia Wireless Networks: Technologies, Standards, and QoS Chapter 3. QoS Mechanisms TTM8100 Slides edited by Steinar Andresen.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Differentiated Services MPLS Doug Young Suh Last updated : Aug 1, 2009 diffServ/RSVP.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 23 Congestion Control and Quality of Service.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 22 – Multimedia Extensions to Existing IP Protocols Klara Nahrstedt Spring 2011.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet.
Ch 6. Multimedia Networking Myungchul Kim
Differentiated Services Two Approaches for Providing QoS on the Internet u “Freeway model” -- integrated services Internet (intserv) – Build a dedicated.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
EE 122: Integrated Services Ion Stoica November 13, 2002.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Multicast and Quality of Service Internet Technologies and Applications.
Multi-protocol Label Switching (MPLS) RFC 3031 MPLS provides new capabilities: QoS support Traffic engineering VPN Multiprotocol support.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
Advanced Computer Networks
EE 122: Lecture 16/17 (Integrated Services)
Chapter 25 Multimedia TCP/IP Protocol Suite
Taxonomy of network applications
Advanced Computer Networks
Dynamic Management for End-to-end IP QoS
EE 122: Lecture 18 (Differentiated Services)
Chapter 16. Internetwork Operation
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Presentation transcript:

Network layer Doug Young Suh Last update : Aug. 1, 2009 Network Layer

Network layer and realtime multimedia Protocols for switching in the routers Routing = path + resource cf) direction + width of road IP header : IPv4 and IPv6 New features in IPv6 Best Effort  per-class  per-flow intServ. diffServ, MPLS MediaLab, Kyunghee University2

Networked Video QoS control for networked video Physical Layer Data Link Layer Network Layer Transport Layer Upper Layers (Video Layer) End- to- end Error resilience/concealment, scalability coding UDP/RTP&RTCP, FEC, retransmission IP TOS, RSVP, intServ FEC, retransmission, MAC Power control

Networked Video Network layer approaches RSVP intServ diffServ MPLS Transport Layer  Over-provision or QoS control?  Internet service will be charged.  IPv6 doesn't give a solution for the QoS issue. IPv6 has the potential. Video Layer

Categories of QoS protocols Circuit switching or broadcasting Fixed QoS Dedicated circuit for a call e.g. telephone Network QoS Packet switching Variable QoS (Best Effort) Resource sharing e.g. downloading data QoS switching Guarantee reserved QoS Resource allocation (dynamic) e.g. realtime service QoS switching 1.Per-class (coarse) : Packets are classified into several classes. 2.Per-flow (fine) : A flow could be a media stream of a certain service. Call admission control is required for resource reservation with all routers along the path.

Per-class and per flow QoS services I’m a class B packet. You, use the Gate B. I’m a video packet for the video-phone service between John and Susan. We provide you QoS of [5Mbps, packet loss, and 1ms delay]. After reading the temporary customer list for identification,,,,,,, Per-class QoS service Per-flow QoS service router

QoS identification for every video packet per-class QoS : 8 bit TOS (TC) in the IP header BA (behavior aggregate) classifier PHB : EF and AF(4 classes with 3 levels) per-flow QoS Each flow has a temporary contract on QoS. IntServ : identified by 5 tuples 104 bits IPv4, 296 bits IPv6 MPLS : identified by label SADASPDPPrdata Admission control Packet scheduler classifier data SADASPDPPr TSpec1 SADASPDPPr TSpec2 SADASPDPPr TSpec3 SADASPDPPr TSpec4 SADASPDPPr TSpec5 intServ routing table label BA classifier PHB1 PHB2 PHB3

RSVP/intServ CAC by RSVP, call control by intServ

Networked Video RSVP parameters Tspec (PATH), Rspec (RESV) r : token rate b : token-bucket depth p : peak rate m : minimum policed size M : maximum packet size Leaky bucket model [r,b], [p,M]

Networked Video Resource reservation When realtime service needs excess bandwidth, non-realtime service packets are buffered.

Networked Video Diffserv Architecture Edge router: - per-flow service - marks packets of in- or out-profile Core router: - per class service - buffering and scheduling - preference to in-profile packets - Assured Forwarding CR scheduling... r b ER marking Bandwidth Broker

Networked Video ER : Traffic Conditioning Classifier of micro-flow w.r.t. agreed traffic profile Marker : low, medium, high drop precedence

Networked Video CR : traffic management BA (behavior aggregate) classifier PHB EF : guaranteed service, WFQ (weighted fair queuing) AF : 4 classes with 3 levels (high, medium, low drop procedure levels), RED (random early discard) BA classifier PHB1 PHB2 PHB3

History of video/network Packet switching : Best effort per class QoS Per flow QoS ~AVC SV C ?? Circuit switching Broadcasting H.261 MPEG-2 IPv42GIPv63-4G MPEG-4 & AVC 2008 No QoS control, because everything is fixed. No QoS control, because network does not care. Coarse QoS control, [premium, medium, low, etc.] Fine QoS control, each media traffic of each individual service

Revisit QoS of upper layers. Video layer Feedback rate control Realtime encoding : quality vs. bitrate (R-D) Non-realtime encoding : Scalable coding VBR(natural) and CBR(forced rate control) Multiple levels of significance Partition A, B, C in a frame Intra > predictive > bi-directional Scalable coding : base layer > enhancement layers Error propagation and error resilience Transport layer Feedback of QoS metrics : loss/delay/bitrate FEC : UEP/ULP (unequal error/loss protection) MediaLab, Kyunghee University15

Networked Video IPv6 (IPng) 128 bit address => 18  nodes, 4 nodes/cm 2 Ubiquitous networks Hierarchical addresses multicast, anycast => QoS aware broadcasting Simplified header (for realtime sevice) Improved security Auto-configuration plug-play network access (DHCP, ND) micro-mobility QoS awareness traffic class (8 bits) flow label (20 bits, cf. VC of ATM)

Networked Video Header formats of IPv4/IPv6 Version (4) Traffic Class (8) Flow Label (20) Payload Length (16) Next Header (8) Hop Limit (8) Source Address (128) Destination Address (128) Version (4) HLEN (4) Type of Service (8) Total Length (16) Identification (16) Flags (3) Fragment Offset (3) TTL (8)Protocol (8) Header Checksum (16) Source IP Address (32) Destination IP Address (32)

Networked Video IPv6 is reality. Worldwide IPv6 network : tunneling-based IPv6 routers : 3Com, Compaq, Ericsson Telebit, Hitachi Ltd., Nokia Telecom, Northern Telecom, IPv6 Linux kernel Windows NT, Windows 2000 Future : wireless services in China, ubiquitous network

Multicast in IPv6 T : permanent (0) or transient (1) Scope : geographic scope (within node~global) TScopeMulticast group address

Networked Video Anycast in IPv6 010Reg.TLANLASLAInterface ID  TLA, NLA, SLA : aggregators  Anycast : A group of hosts or routers can have the same address and provide the same service. Clients are connected to the nearest server. (cf: local broadcasting stations) anyTV.co.kr

Networked Video MIPv6 multimedia service

IntServ/RSVP Network Layer

QoS Support in the Internet Call admission control (CAC)  traffic policing by using signaling protocol Traffic characteristics and requirements Traffic shaping : User’s effort to keep promise Traffic policing : Router’s effort to police Network Layer CAC Traffic shaping Traffic policing

Scheduling (queuing) algorithms FIFO (First In First Out) Weighted fair queuing (WFQ) Deficit round robin (DRR) Stochastic fair queuing (SFQ) Round robin (RR) Strict priority Network Layer

ReSource reserVation Protocol (RSVP) Previously, RFC1819 Internet Stream Protocol v2 (ST2+) referred as “IPv5” RFC 2205 RSVP (1997) RSVP and intServ : RFC 2210 Signaling to reserve resource along the path of particular data streams or flows Unicast and multicast Multipoint to multipoint Multipoint to single point Network Layer HostRouter Host PATH RESV

“PATH” and “RESV” Messages “PATH” : from source to target Marks the routed path and collects information about the QoS viability of each router along the path “RESV” : from target to source It the target wants, reserves resources along the path Routers can “merge” downstream reservations to the same stream. State is maintained as long as “PATH” and “RESV” messages flow. Receiver driven (compared to broadcasting) Large group, dynamic group membership, heterogeneous receiver requirements “dynamic”=soft state : created/modified/removed Network Layer

RSVP What I am originating application and sub-flow such as print flow vs. time-critical transaction Who I am authenticated user ID What I want the type of QoS service needed How much I want certain applications quantify their resource requirements precisely. How I can be recognized the 5-tuple classification criteria by which the data traffic can be recognized Which network devices resources will be impacted by the associated data traffic Network Layer

RSVP modules in hosts and routers Application  RSVP process Admission control : sufficient available resources for the request? Policy control : whether the use has permission for the reservation? Network Layer Appli- cation RSVP process Policy control Admission control Packet scheduler classifier data Routing process RSVP process Policy control Admission control Packet scheduler classifier data HostRouter intServ control RSVP

Reservation Request Spec.s Filter spec. (logical) Selection of subsets of the packets of a given session Sender IP address and source port To set parameters in the packet classifier Flow spec. (quantitative) Specification a desired QoS Service class Tspec (traffic descriptor) Rspec (desired QoS parameters) To set parameters in the node’s packet scheduler Network Layer

RSVP parameters Tspec (PATH), Rspec (RESV) r : token rate b : token-bucket depth p : peak rate m : minimum policed size M : maximum packet size Double leaky bucket model [r,b], [p,M] Network Layer r <b <M p VBR : average rate < r < p CBR : average rate = r = p

Tspec/Rspec in RFC2210 Network Layer Guaranteed service Controlled load

RSVP Styles Fixed-filter All sender are active at all time. S1S2 N R f f 2f S1S2 N R f f f  One sender at a time  Wildcard-filter  e.g. audio conferencing  Shared explicit  The receiver select a sender. sender filter receiver router

Scalability Problem 3 step processes for every intServ packet 1. Identification of an intServ packet by 5 tuple classifiers { (SA, DA), (source port #, receiver port #), protocol } 2. Searching for the service spec. for the packet 3. Traffic policing and scheduling Impossible inside core network Maybe possible in edge routers of mobile network Network Layer SADASPDPPrdata Admission control Packet scheduler classifier data SADASPDPPr TSpec1 SADASPDPPr TSpec2 SADASPDPPr TSpec3 SADASPDPPr TSpec4 SADASPDPPr TSpec5 intServ routing table

5-tuples in IPv4 and IPv6 Network Layer  Flow ID : 104 bits in IPv4 and 296 bits in IPv6  IPv4 104 = 32*2 (SA, DA) + 32(SP, DP) + 8 (protocol)  Scalability problem in public network ~N N  Class ID : 6 bits in DS field  diffServ

Networked Video MPLS (Multi-Protocol Label Switching) Scalability problem of intServ A set of 5 tuples  a temporary label Virtual switch for the efficiency of routers (cf. ATM) Connection oriented : VC (Virtual Circuit) VC lookup table (resource, path) Routing flexibility Traffic engineering and provisioning Constraint-based routing (QoS routing) FEC (Forward Equivalence Class) With RSVP  IPv6 “Flow Label”

Conclusions intServ for per-flow service  IEEE801.16, UMTS~ RSVP for resource reservation Controlled load, guaranteed service CAC  traffic shaping / policing Scalability problem MPLS, IPv6 flow label for simplified identification Advanced approach RFC4495 “RSVP Extension for Reduction of Bandwidth” (2006) Draft-intserv-multiple-tspec (2010) “…. to dynamically adapt to available bandwidth…” Multiple reservations between two endpoints Refreshes only include the Tspecs that were accepted MediaLab, Kyunghee University36