Internet Routing (COS 598A) Today: Multi-Protocol Label Switching Jennifer Rexford Tuesdays/Thursdays.

Slides:



Advertisements
Similar presentations
Virtual Links: VLANs and Tunneling
Advertisements

MPLS VPN.
Identifying MPLS Applications
Switching Technology presented by Hussain Ahmad BA-Abdullah. Fawaz abdullah AL-Amri. prof : Adel Ali.
Internetworking II: MPLS, Security, and Traffic Engineering
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-1 MPLS TE Overview Understanding MPLS TE Components.
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Restoration by Path Concatenation: Fast Recovery of MPLS Paths Anat Bremler-Barr Yehuda Afek Haim Kaplan Tel-Aviv University Edith Cohen Michael Merritt.
Introduction to MPLS and Traffic Engineering Zartash Afzal Uzmi.
1 Circuit Switching Reading: 3.1.2, 3.3, 4.5, and 6.5 COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in COS 105) Jennifer Rexford Teaching Assistants:
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
MPLS and Traffic Engineering
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
Introduction to MPLS and Traffic Engineering
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Multipath Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
MPLS L3 and L2 VPNs Virtual Private Network –Connect sites of a customer over a public infrastructure Requires: –Isolation of traffic Terminology –PE,
COS 420 Day 16. Agenda Assignment 3 Corrected Poor results 1 C and 2 Ds Spring Break?? Assignment 4 Posted Chap Due April 6 Individual Project Presentations.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
1 MPLS Architecture. 2 MPLS Network Model MPLS LSR = Label Switched Router LER = Label Edge Router LER LSR LER LSR IP MPLS IP Internet LSR.
SMUCSE 8344 MPLS Virtual Private Networks (VPNs).
PPP, ATM, MPLS EECS 489 Computer Networks Z. Morley Mao Monday March 12, 2007 Acknowledgement: Some slides.
1 Multi-Protocol Label Switching (MPLS) presented by: chitralekha tamrakar (B.S.E.) divya krit tamrakar (B.S.E.) Rashmi shrivastava(B.S.E.) prakriti.
1 Multi Protocol Label Switching Presented by: Petros Ioannou Dept. of Electrical and Computer Engineering, UCY.
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
Introduction to MPLS and Traffic Engineering Zartash Afzal Uzmi.
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Review of Networking Concepts Part 1: Switching Networks
© 2006 Cisco Systems, Inc. All rights reserved. MPLS Introduction Module 4: Frame Mode MPLS Implementation.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
CS162 Operating Systems and Systems Programming Lecture 13 Packet Switching March 7, 2011 Ion Stoica
MPLS and Traffic Engineering Ji-Hoon Yun Computer Communications and Switching Systems Lab.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
ECE 466 Switching Networks. ECE 466 A communication network provides a scalable solution to connect a large number of end systems Communication Networks.
1 Flow Identification Assume you want to guarantee some type of quality of service (minimum bandwidth, maximum end-to-end delay) to a user Before you do.
Computer Networks with Internet Technology William Stallings
CS 453 Computer Networks Lecture 18 Introduction to Layer 3 Network Layer.
BZUPAGES.COM Presentation On SWITCHING TECHNIQUE Presented To; Sir Taimoor Presented By; Beenish Jahangir 07_04 Uzma Noreen 07_08 Tayyaba Jahangir 07_33.
Forwarding.
Circuit switching Zeinab Movahedi Some slides are from Computer networks course thought by Jennifer Rexford at Princeton University.
Multiple Protocol Support: Multiprotocol Level Switching.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Connection-orientated Service. Connection in data networks Another type of network, such as the telephone network, was developed based on the connection.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Multi-protocol Label Switching
Computer Networks 0110-IP Gergely Windisch
Multiprotocol Label Switching (MPLS) Routing algorithms provide support for performance goals – Distributed and dynamic React to congestion Load balance.
Multi-protocol Label Switching (MPLS) RFC 3031 MPLS provides new capabilities: QoS support Traffic engineering VPN Multiprotocol support.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Multi Protocol Label Switching (MPLS)
Advanced Computer Networks
Chapter 4 Network Layer All material copyright
Packet Switching Datagram Approach Virtual Circuit Approach
CS4470 Computer Networking Protocols
Anthony D. Joseph and Ion Stoica
Network Core and QoS.
Network Layer I have learned from life no matter how far you go
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
Network Core and QoS.
Presentation transcript:

Internet Routing (COS 598A) Today: Multi-Protocol Label Switching Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm

Outline Circuit switching –Packet switching vs. circuit switching –Virtual circuits MPLS –Labels and label-switching –Forwarding Equivalence Classes –Label distribution –MPLS applications Feedback forms –Fill out during last 20 minutes

Packet Switching vs. Circuit Switching Packet switching –Data traffic divided into packets Each packet contains its own header (with address) Packets sent separately through the network –Destination reconstructs the message –Example: sending a letter through postal system Circuit switching –Source first establishes a connection to the destination Each router on the path may reserve bandwidth –Source ends data over the connection No destination address, since routers know the path –Source tears down the connection when done –Example: voice conversation on telephone network

Advantages of Circuit Switching Guaranteed bandwidth –Predictable communication performance –Not “best-effort” delivery with no real guarantees Simple abstraction –Reliable communication channel between hosts –No worries about lost or out-of-order packets Simple forwarding –Forwarding based on time slot or frequency –No “longest prefix match” on each packet Low per-packet overhead –Forwarding based on time slot or frequency –No IP (and TCP/UDP) header on each packet

Disadvantages of Circuit Switching Wasted bandwidth –Bursty traffic leads to idle connection during silent period –Unable to achieve gains from statistical multiplexing Blocked connections –Connection refused when resources are not sufficient –Unable to offer “okay” service to everybody Connection set-up delay –No communication until the connection is set up –Unable to avoid extra latency for small data transfers Network state –Routers must store per-connection information –Unable to avoid per-connection storage and state failover

Virtual Circuits Hybrid of packet and circuit switching –Logical circuit between a source and destination –Packets from different VCs multiplex on a link Virtual Circuit Identifier (VC ID) –Source set-up: establish path for the VC –Switch: mapping VC ID to an outgoing link –Packet: fixed length label in the header 1 2 1: 7 2: 7 link 7 1: 14 2: 8 link 14 link 8

Swapping the Label at Each Hop Problem: using VC ID along the whole path –Each virtual circuit consumes a unique ID –Starts to use up all of the ID space in the network Label swapping –Map the VC ID to a new value at each hop Table has old ID, next link, and new ID –Allows reuse of the IDs at different links 1 2 1: 7: 20 2: 7: 53 link 7 20: 14: 78 53: 8: 42 link 14 link 8

Virtual Circuits Similar to IP Datagrams Data divided in to packets –Sender divides the data into packets –Packet has an address (e.g., IP address or VC ID) Store-and-forward transmission –Multiple packets may arrive at once –Need buffer space for temporary storage Multiplexing on a link –No reservations: statistical multiplexing Packets are interleaved without a fixed pattern –Reservations: resources for group of packets Guarantees to get a certain number of “slots”

Virtual Circuits Differ from IP Datagrams Forwarding look-up –Virtual circuits: fixed-length connection id –IP datagrams: destination IP address Initiating data transmission –Virtual circuits: must signal along the path –IP datagrams: just start sending packets Router state –Virtual circuits: routers know about connections –IP datagrams: no state, easier failure recovery Quality of service –Virtual circuits: resources and scheduling per VC –IP datagrams: difficult to provide QoS

Wide Range of Quality-of-Service Models Policies for allocating resources –Admission control: whether or not to accept the VC –Link scheduling: what order to send packets –Buffer management: which packets to drop One extreme: best-effort service –Accept all connections (unless table is full) –Put all packets in a first-in-first-out queue –Drop any packet arriving when queue is full Another extreme: strict bandwidth guarantees –Virtual circuit reserves bandwidth along the path Network edge must shape/police to enforce this rate –Each link has a queue for packets from each VC Link schedules the packets using weighted fair queuing

Multi-Protocol Label Switching

Multi-Protocol –Encapsulate a data packet Could be IP, or some other protocol (e.g., IPX) –Put an MPLS header in front of the packet Actually, can even build a stack of labels… Label Switching –MPLS header includes a label –Label switching between MPLS-capable routers IP packet MPLS header

Pushing, Swapping, and Popping IP Pushing IP Popping IP Swapping Pushing: add the initial “in” label Swapping: map “in” label to “out” label Popping: remove the “out” label R2 R1 R3 R4 MPLS core A B C D IP edge

Forwarding Equivalence Class (FEC) Rule for grouping packets –Packets that should be treated the same way –Identified just once, at the edge of the network Example FECs –Destination prefix Longest-prefix match in forwarding table at entry point Useful for conventional destination-based forwarding –Src/dest address, src/dest port, and protocol Five-tuple match at entry point Useful for fine-grain control over the traffic –Sent by a particular customer site Incoming interface at entry point Useful for virtual private networks A label is just a locally-significant identifier for a FEC

Label Distribution Protocol Distributing labels –Learning the mapping from FEC to label –Told by the downstream router Example: destination-based forwarding R2 R1 R3 R /24 Pick in-label 10 for /24 I’m using label 10 for /24 I’m using label 43 for /24 In: Link: Out 43: to R4: 10 Map destinations in /24 to out-label 43 and link to R2

Supporting Explicitly-Routed Paths Explicitly routing from ingress to egress –Set an explicit path (e.g., based on load) –Perhaps reserve resources along the path Extend a protocol for resource reservation –Start with ReSource Reservation Protocol (RSVP) Used for reserving resources along an IP path –Extensions for label distribution & explicit routing Extend a protocol for distributing labels –Start with Label Distribution Protocol (LDP) –Extensions for explicit routing & reservation Two competing proposed standards

Applications of MPLS

TE With Constraint-Based Routing Path calculation –Constrained shortest-path first –Compute shortest path based on weights But, exclude paths that do not satisfy constraints E.g., do not consider links with insufficient bandwidth Information dissemination –Extend OSPF/IS-IS to carry the extra information E.g., link-state attributes for available bandwidth Path signaling –Establish label-switched path on explicit route Forwarding: MPLS labels

Surviving Failures: Path Protection Path protection –Reserve bandwidth on an alternate route Protect a label-switched path by having a stand-by –Much better than conventional IP routing Precise control over where the traffic will go Stand-by path can be chosen to be disjoint

Surviving Failures: Fast Reroute Ensure fast recovery from a link failure –Protect a link by having a protection sub-path Much faster recovery than switching paths –Affected router can detect the link failure –… and start redirecting to the protection sub-path

BGP-Free Core A B R2 R1 R3 R4 C D /24 eBGP iBGP FEC based on the destination prefix Routers R2 and R3 don’t need to speak BGP

VPNs With Private Addresses A B R2 R1 R3 R4 C D /24 MPLS tags can differentiate green VPN from orange VPN. Two FECs Direct traffic to orange

Status of MPLS Deployed in practice –BGP-free core –Virtual Private Networks –Traffic engineering Challenges –Protocol complexity –Configuration complexity –Difficulty of collecting measurement data Continuing evolution –Standards –Operational practices and tools

Conclusion MPLS is an overlay –Tunneling on top of the network Built on top of an underlying routing algorithm –Flexibility in mapping traffic to paths Associating packets with FECs, and then labels –New protocols for creating label-switching tables Binding FECs to labels across a path Establishing explicit routes Many open questions –Makes operations easier vs. harder? –Trade-offs in exploiting the flexibility? –Interdomain routing with MPLS?

Rest of the Semester Rest of class –Feedback forms –Thanks (in advance) for your feedback Written reports for course projects –Due Dean’s Date (May 10) by end of day –Submitting via would be fine Oral presentations for course projects –Monday May 16 at 1:30pm in room 302 –15 minutes for single-person, 20 for groups