P00555-3-1 Packets and Circuits: Chris Cooper Feb 2005 MPLS Topics: Introduction to MPLS Tutorial Questions and Recommended Reading.

Slides:



Advertisements
Similar presentations
MPLS VPN.
Advertisements

Identifying MPLS Applications
Multi-Protocol Label Switch (MPLS)
Leading Edge Routing MPLS Enhancements to Support Layer 2 Transport Services Jeremy Brayley
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—2-1 Label Assignment and Distribution Introducing Typical Label Distribution in Frame-Mode MPLS.
Introducing MPLS Labels and Label Stacks
MPLS Complied from NT, NANOG, and other sources…. Ram Dantu.
CS Summer 2003 Lecture 14. CS Summer 2003 MPLS VPN Architecture MPLS VPN is a collection of sites interconnected over MPLS core network. MPLS.
Introduction to MPLS and Traffic Engineering Zartash Afzal Uzmi.
CS Summer 2003 Lecture 6. CS Summer 2003 Hierarchical LSP LSP1 LSP2 LSP3 Ingress LSR for LSP1 Egress LSR for LSP1 Ingress LSR for LSP3 Hierarchical.
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
ECE544: Communication Networks-II Spring 2009 H. Liu Lecture 9 (MPLS) Includes teaching materials from D. Saha.
MPLS Multiple Protocol Label Switching 2003/2/19.
MPLS and Traffic Engineering
Performance Measurements of MPLS Traffic Engineering and QoS By Tamrat Bayle Reiji Aibara Kouji Nishimura.
Introduction to MPLS and Traffic Engineering
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 4: Frame Mode MPLS Implementation.
Multi-Protocol Label Switching
Multi-Protocol Label Switch (MPLS) 1 Outline Introduction MPLS Terminology MPLS Operation – Label Encapsulation Label Distribution Protocol (LDP) Any.
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.
A Study of MPLS Department of Computing Science & Engineering DE MONTFORT UNIVERSITY, LEICESTER, U.K. By PARMINDER SINGH KANG
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).
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—4-1 MPLS VPN Technology Forwarding MPLS VPN Packets.
Introduction to networking (Yarnfield) Introduction to routing.
MPLS Evan Roggenkamp. Introduction Multiprotocol Label Switching High-performance Found in telecommunications networks Directs data from one network node.
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.
Multiprotocol Label Switching (MPLS)
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.
Connection-Oriented Networks1 Chapter 6: The Multi-Protocol Label Switching Architecture TOPICS –IP: A primer –The MPLS architecture Label allocation schemes.
1 Multiprotocol Label Switching. 2 “ ” It was designed to provide a unified data-carrying service for both circuit-based clients and packet-switching.
MPLS MultiProtocol Label Switching.
End-to-end resource management in DiffServ Networks –DiffServ focuses on singal domain –Users want end-to-end services –No consensus at this time –Two.
IP/MPLS Multiprotocol Label Switching
1 © 2001, Cisco Systems. MPLS Architecture Overview Jay Kumarasamy Adopted from Stefano Previdi’s presentation.
MultiProtocol Label Switching (MPLS) July 29, 2000TECON 2000 Pramoda Nallur Alcatel Internetworking Division.
MPLS Architecture Overview Adopted from Stefano Previdi’s presentation 麟瑞科技 技術經理 張晃崚.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS Introduction Module 4: Frame Mode MPLS Implementation.
Multi-protocol Label Switching Jiang Wu Computer Science Seminar 5400.
Multi-Protocol Label Switching University of Southern Queensland.
MPLS Architecture Overview V1.1. Course Objectives MPLS overview MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths Loops.
MPLS Forwarder Preliminary 1 Outline MPLS Overview MPLS Overview MPLS MRD MPLS Data Path HLD 48K MPLS Fwder HLD IPE MPLS Fwder HLD Issues Summary.
Case Study: ATM (+ MPLS)
CS 453 Computer Networks Lecture 18 Introduction to Layer 3 Network Layer.
MPLS (MultiProtocol Labeling Switching) School of Electronics and Information Kyung Hee University. Choong Seon HONG.
MPLS Label Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
MPLS Some notations: LSP: Label Switched Path
1 Multiprotocol Label Switching (MPLS) and its Applications Network Architecture Spring 2009 Lecture 17.
An Application of VoIP and MPLS Advisor: Dr. Kevin Ryan
MULTI-PROTOCOL LABEL SWITCHING Brandon Wagner. Lecture Outline  Precursor to MPLS  MPLS Definitions  The Forwarding Process  MPLS VPN  MPLS Traffic.
Module 2 MPLS Concepts.
Multiple Protocol Support: Multiprotocol Level Switching.
MULTI-PROTOCOL LABEL SWITCHING By: By: YASHWANT.V YASHWANT.V ROLL NO:20 ROLL NO:20.
3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February
Multi-protocol Label Switching
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.
MPLS Introduction Computer Networks 2007 Week 9 Lecture 1 by Donald Neal.
MPLS Virtual Private Networks (VPNs)
Advanced Computer Networks
Chapter 3: Packet Switching (overview)
B-TECH PROJECT MID-SEM PRESENTATION 2011
3. Internetworking (part 1)
Multi Protocol Label Switching (MPLS)
MPLS Basics 2 2.
MPLS - How does it work ?.
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.
Presentation transcript:

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Topics: Introduction to MPLS Tutorial Questions and Recommended Reading

P Packets and Circuits: Chris Cooper Feb 2005 Routing Without MPLS Large organizational networks are heavily subnetted for structuring purposes ◦ Packets crossing such a network could transit many routers Connectionless nature of IP poses two challenges ◦ Per-packet processing ◦ Distributed routing (Per hop behaviour PHB) Core routers needs to forward tens of millions of packets per second ◦ Must process each packet in a few nanoseconds  Potential for congestion in router forwarder (packet switch) Packets follow the best path according to the routing table in each router ◦ No opportunity for setting end-to-end path ◦ Could override with static routes  But this approach doesn’t scale

P Packets and Circuits: Chris Cooper Feb 2005 Normal IP Transit Network Connecting widely separated parts of an enterprise network ◦ ‘Enterprise’: a large (national, international) company, organization ◦ a number of sites (campuses, branches, offices) Enterprise Network Service Provider’s Transit Network BGP Routers to Service Provider Normal Subnet Routers

P Packets and Circuits: Chris Cooper Feb 2005 IP vs. MPLS Transit Networks Enterprise network (routed normally) Enterprise network (routed normally) MPLS transit network Enterprise Network Service Provider’s Transit Network Routed Path Label Switched Path MPLS-enabled routers Normal IP routers IP MPLS

P Packets and Circuits: Chris Cooper Feb 2005 Benefits of MPLS Lower transit delay ◦ Core routers switch not route Traffic engineering ◦ Packets can take non-standard path(OSPF path) Scalability ◦ Labels can be nested to facilitate network hierarchy Flexibility ◦ Can be used over  LANs  PPP tunnels  [ATM & Frame Relay backbones]

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Goal: Dynamic Switched Flows Original goal: bypass routing table lookup for as many packets as possible ◦ Dynamically detect packet flows  Identified by unique pairs of IP addresses and port numbers ◦ Switch, rather than route, packets on known flows  Cisco called this “route once, switch many” Original approach based on two TCP-related assumptions ◦ Majority of IP packets belong to TCP sessions  Rather than UDP datagram streams ◦ TCP sessions have (relatively) long duration  File transfers, conferencing Increasing popularity of Web browsing undermined this goal ◦ Uses short-duration sessions  Per-flow path setup doesn’t scale

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Goal: Dynamic Switched Flows (continued) Enterprise network (routed normally) Enterprise network (routed normally) MPLS transit network Packet flow following switched path MPLS-enabled routers Flow-detecting MPLS routers

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Goal: Traffic Engineering Determine end-to-end path for given packet flows ◦ Override routing protocol decision where administratively appropriate Allows routing policy to be set ◦ Reflect service offerings  Low-delay path for voice traffic  More secure path for certain customers Now seen as most important reason for using MPLS MPLS transit network MPLS routers Predetermined path

P Packets and Circuits: Chris Cooper Feb 2005 Multiprotocol Label Switching Overview Label Switching Operation

P Packets and Circuits: Chris Cooper Feb 2005 Label Switching Labels packets for faster switching through network ◦ Connection-oriented protocols use virtual circuit ID  Frame relay DLCI  ATM VPI/VCI ◦ Connectionless protocols need to add label  VLAN identifier (802.1Q trunking)  MPLS label (added to Ethernet and PPP) Switches set up paths as required ◦ Associate labels with paths ◦ Use label as route-table lookup Labels often have only link-by-link significance ◦ Allows switch to differentiate incoming flows ◦ Each switch maps label values predictably for outgoing flows DLCI = data-link connection identifier VCI = virtual channel identifier VPI = virtual path identifier

P Packets and Circuits: Chris Cooper Feb 2005 Label Switching Routers MPLS-enabled devices are called Label Switching Routers (LSRs) ◦ Multilayer switches enhanced with MPLS protocols MPLS identifies two roles for LSRs ◦ Edge LSRs and Core LSRs  Edge LSRs often called Label Edge Routers (LERs) Edge LSRs ◦ Determine packet path and perform flow classification ◦ Assign unique labels to each flow Core LSRs ◦ Use label values to switch packets over cut-through paths ◦ Layer 2 forwarding bypasses normal routing function Edge LSR Core LSRs

P Packets and Circuits: Chris Cooper Feb 2005 Multiprotocol Label Switching Overview Label Switching Operation

P Packets and Circuits: Chris Cooper Feb 2005 Operational Overview I Identify groups of packets of packets travelling over a common path ◦ For example, towards the same destination network or host ◦ Called a forwarding equivalence class Assume they have common forwarding requirements and assign a label to each group ◦ Encapsulate with label header carrying same label value ◦ Communicate label settings to downstream router ◦ Downstream router assigns label to outgoing FEC and communicates downstream  And so on

P Packets and Circuits: Chris Cooper Feb 2005 Operational Overview II Once LSP has been set up routers process FEC accordingly Ingress LSR ( ingress LER ) adds label to packet Core LSRs match incoming labels to route table, which gives output port ◦ Outgoing label map applies downstream label value  As previously communicated to downstream router ◦ Bypassing conventional packet-by-packet, hop-by-hop L3 processing Egress LSR ( egress LER ) removes it Set of label mappings for a group constitutes the label switched path (LSP) for that FEC

P Packets and Circuits: Chris Cooper Feb 2005 Label Switching Port 5 label map Incoming label Outgoing port a8 b5 c5 d7 Incoming port Incoming label Outgoing label 4ap 1bq 1cr 3zs Port 1 route table Port 5 label map c x yz a bbc x yz a rqsp mm ss bb

P Packets and Circuits: Chris Cooper Feb 2005 Label Switched Path (LSP) MPLS identifies two types of label switched path ◦ Destination- based(follow the OSPF path) ◦ Explicitly routed( follow the way u determined)  (Cisco terminology; descriptive) Destination-based LSP follows conventional forwarding path ◦ As determined by IP routing table ◦ Originally set up from destination LER  source LER  (Why is that?) Explicitly routed LSP use source-specified path (source routing) ◦ Path set up from source LER  destination LER ◦ Useful for overriding normal route selection based on least cost path  E.g. for enforcing route selection (‘routing policy’)

P Packets and Circuits: Chris Cooper Feb 2005 LSP Set-Up LSR is essentially an MPLS-enabled multi-layer switch Routing database constructed in normal way ◦ Using, for example, OSPF ◦ Then made available to MPLS switching engine Switching engine assigns labels to forwarding paths ◦ Sends route/label mappings to next-hop neighbour using a/the Label Distribution Protocol (LDP)( the path are renewed periodically) Once LSP set up, packets are label-switched(packets can flow) Conventional, in most cases, for router prior to egress LSR to remove label ◦ Avoids processing load on LSR ◦ Called penultimate hop-popping

P Packets and Circuits: Chris Cooper Feb 2005 How MPLS Works (continued) Normal IP packet Normal IP packet Labelled packet Edge LSR Label Switching Path (LSP) Core LSRs May pop label

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Header Header is 32 bits (4 octets) ◦ Label field is 20 bits ◦ Three-bit EXPerimental field can be used to carry (some) DiffServ markings through MPLS network ◦ S = 1 indicates bottom of stack ◦ Time To Live (TTL) is decremented by LSRs to maintain usual packet hop count Number of bits Label EXP S TTL

P Packets and Circuits: Chris Cooper Feb 2005 Label Encapsulation Schemes Format: 32 bits added to beginning of packet (prepended) ◦ 20-bit label ◦ Remaining bits used for variety of purposes Two ways of inserting label ◦ Add as protocol shim to existing header  PPP and switched LANs  usual method ◦ Map onto existing virtual circuit identifier  ATM or Frame Relay  rare: included for completeness Once the label is in place, established schemes can be used ◦ E.g. label multiplexing and switching Label inserted as additional header IP payload CRCCRC LAN/PPP header Label in FR DLCI field IP payload CRCCRC Label in ATM VPI/VCI fields IP part- payload

P Packets and Circuits: Chris Cooper Feb 2005 Label Stacking I Can add further label in front of (‘on top of’) the existing one(s) ◦ Nested labels treated as stack  Hence use of term ‘pop’ ◦ Network switches on top-most label Allows several LSPs to be grouped for forwarding purposes ◦ Provided they can be treated as a single FEC  E.g. all heading to same edge-point Can continue the process, grouping groups together into a further group, with a new label Each LSP marked by pair of label edge routers and a label in the stack ◦ Ingress LER pushes new label onto stack ◦ Egress LER pops label off the stack

P Packets and Circuits: Chris Cooper Feb 2005 Label Stacking II LERs LSP

P Packets and Circuits: Chris Cooper Feb 2005 MPLS Summary I Multiprotocol Label Switching (MPLS) ◦ Applies label switching to IP networks ◦ Facilitates  Unequal cost load balancing  Setting routing policies (traffic engineering)  Virtual Private Networks (VPNs) ◦ Bypasses potential bottlenecks causes by large route table look-ups ◦ Allows provider network nesting though label stacking Allows label mapping to be communicated in variety of ways How do u communicate label route information across the network ◦ LDP(label distribution protocol) ◦ OSPF and BGP enhancements ◦ RSVP Details of how to recover from link failure still being finalized Generalised MPLS: paths over SONET/SDH & wavelengths (‘ s’) in WDM networks

P Packets and Circuits: Chris Cooper Feb 2005 Tutorial topics: MPLS 1. What are the similarities between MPLS label switching and FR/ATM switching? 2. What (if any) are the differences? 3. Look up “penultimate hop popping”. What is it and what does it achieve? 4. Why is a ‘destination-based’ MPLS path set up from destination LSR back towards source LSR? 1.Hint Remember path is unidirectional: think about label mapping

P Packets and Circuits: Chris Cooper Feb 2005 STUDY QUESTION Q1(i) What does the term label switching mean? Explain, using appropriate diagrams, how MPLS applies this principle to IP packets and the main advantages it gives. [5] (ii) Figure 1 shows part of an OSPF network. The network administrator notices that traffic from the remote site LANs frequently congests the route to Head Office. Explain why this is, and describe, with examples, how MPLS could be used to overcome this problem. [5]

P Packets and Circuits: Chris Cooper Feb 2005 FIGURE 1

P Packets and Circuits: Chris Cooper Feb 2005 Q 2. Explain what is meant by a Forwarding Equivalence Class and a Label Switched Path in MPLS. What is meant by 'DiffServ-enabled MPLS'? Explain briefly what MPLS labelling arrangements you would expect to see for a set of enterprise VPNs, where each VPN supports its own two DiffServ per-hop behaviours (PHBs). Would this change, and if so, how, if within each VPN, an enterprise also used MPLS to traffic engineer the routing of traffic with a different per-hop behaviour? Explain your answer. [6]