Telematics Chapter 7: MPLS

Similar documents
Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

سوي يچينگ و مسيريابي در شبكه

MPLS Intro. Cosmin Dumitru March 14, University of Amsterdam System and Network Engineering Research Group ...

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE

MPLS Multi-Protocol Label Switching

COMP9332 Network Routing & Switching

Multi Protocol Label Switching

MPLS Multi-protocol label switching Mario Baldi Politecnico di Torino (Technical University of Torino)

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

MPLS опорни мрежи MPLS core networks

MultiProtocol Label Switching - MPLS ( RFC 3031 )

Migration Strategies for IP Service Growth: Cell-switched MPLS or IP-routed MPLS

Multi-Protocol Label Switching

Multiprotocol Label Switching (MPLS)

This chapter covers the following topics: Label Distribution Protocol (LDP) AToM operations

MPLS (Multi-Protocol Label Switching)

Institute of Computer Technology - Vienna University of Technology. L85 - Multiprotocol Label Switching

MPLS AToM Overview. Documentation Specifics. Feature Overview

Outline. Circuit Switching. Circuit Switching : Introduction to Telecommunication Networks Lectures 13: Virtual Things

MPLS. Multi-Protocol Label Switching

Ahmed Benallegue RMDCN workshop on the migration to IP/VPN 1/54

Internet Routing - MPLS. By Richard Harris

Advanced Telecommunications

Trafffic Engineering 2015/16 1

Master Course Computer Networks IN2097

Label Switching. The idea. Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label. cs670.

Chapter 4. Advanced Internetworking. 4.3 MPLS 4.4 Mobile IP

Future Internet Technologies

IP Datagram Service MPLS. Virtual Call Call Request (CR) Agenda

Outline. Overview Label Encapsulations Label Distribution Protocols Constraint Based Routing with CR-LDP Summary

MPLS/Tag Switching. Background. Chapter Goals CHAPTER

MPLS, THE BASICS CSE 6067, UIU. Multiprotocol Label Switching

Syed Mehar Ali Shah 1 and Bhaskar Reddy Muvva Vijay 2* 1-

Concepts and Operation of MPLS VPNs. Francisco Bolanos

Table of Contents Chapter 1 MPLS Basics Configuration

NANOG. MPLS Tutorial and Operational Experiences. Bilel Jamoussi, October, 1999

2D1490 p MPLS, RSVP, etc. Olof Hagsand KTHNOC/NADA

MPLS Multi-protocol label switching Mario Baldi Politecnico di Torino (Technical University of Torino)

Operation Manual MPLS. Table of Contents

MPLS etc.. MPLS is not alone TEST. 26 April 2016 AN. Multi-Protocol Label Switching MPLS-TP FEC PBB-TE VPLS ISIS-TE MPƛS GMPLS SR RSVP-TE OSPF-TE PCEP

Introduction to Multi-Protocol Label

Master Course Computer Networks IN2097

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline

ENTERPRISE MPLS. Kireeti Kompella

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

MPLS. 9 March 2018 AN

A Comparison Of MPLS Traffic Engineering Initiatives. Robert Pulley & Peter Christensen

Module 10 Frame Relay and ATM

Multiprotocol Label Switching Overview

Service Providers Networks & Switching (MPLS) 20/11/2009. Local Team

Label Distribution Protocol and Basic MPLS Configuration. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by:

MPLS Core Networks Николай Милованов/Nikolay Milovanov

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS)

AToM (Any Transport over MPLS)

HP Routing Switch Series

Network Configuration Example

MULTIPROTOCOL LABEL SWITCHING: REIVEW KAISER ALI BHAT

Exam : Title : Implementing Cisco MPLS Exam (MPLS) Ver :

6 MPLS Model User Guide

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER

MPLS etc.. 9 May 2017 AN

MPLS Introduction. (C) Herbert Haas 2005/03/11

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Table of Contents. Cisco MPLS FAQ For Beginners

ATM Technology in Detail. Objectives. Presentation Outline

MPLS MPLS. Basically: 9 March 2018 AN. Multi-Protocol Label Switching. A bit of history. Multi-Protocol Label Switching.

show tag-switching tdp discovery

MPLS Label Distribution Protocol (LDP)

Internet Multicast Routing

Introduction to MPLS

MPLS Label Distribution Protocol (LDP)

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

HP MSR Router Series. MPLS Configuration Guide(V5) Part number: Software version: CMW520-R2513 Document version: 6PW

MPLS. David Byers. IDA/ADIT/IISLAB David Byers

Asynchronous Transfer Mode (ATM) ATM concepts

Configuring MPLS and EoMPLS

Internetworking Part 1

Configuration Guide - MPLS

WORKSHOP MPLS.

CS High Speed Networks. Dr.G.A.Sathish Kumar Professor EC

Multiprotocol Label Switching (MPLS)

Configuring MPLS L2VPN

Introduction to MPLS APNIC

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

HP A-MSR Router Series MPLS. Configuration Guide. Abstract

HP 5920 & 5900 Switch Series

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

MPLS LDP. Agenda. LDP Overview LDP Protocol Details LDP Configuration and Monitoring 9/27/16. Nurul Islam Roman

Overview. Hop-by-hop or source routing to establish labels Uses label native to the media Multi level label substitution transport.

Computer Networks II

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

IPv6 Switching: Provider Edge Router over MPLS

MPLS VIRTUAL PRIVATE NETWORKS

Multiprotocol Label Switching (MPLS) on Cisco Routers

MIT International Journal of Electrical and Instrumentation Engineering Vol. 3, No. 1, Jan. 2013, pp

MPLS Networks: Design and Routing Functions

Cloud e Datacenter Networking

Transcription:

Telematics Chapter 7: MPLS User watching video clip Beispielbild Application Layer Presentation Layer Session Layer Transport Layer Server with video clips Application Layer Presentation Layer Session Layer Transport Layer Network Layer Network Layer Network Layer Data Link Layer Data Link Layer Data Link Layer Univ.-Prof. Dr.-Ing. Jochen H. Schiller Physical Layer Physical Layer Physical Layer Computer Systems and Telematics (CST) Institute of Computer Science Freie Universität Berlin http://cst.mi.fu-berlin.de

Contents Design issues Motivation Convergence of IP, ATM, Frame Relay, QoS,... Traditional routing Overview Architecture, Labels, Concepts, Components Examples Sending of data packets, Label-distribution Applications Fast Forwarding, Scalability, IP/ATM-Integration Quality of Service Virtual Private Networks Voice over MPLS Traffic Engineering 7.2

Design Issues 7.3

Design Issues Two different types of networks Packet switched networks Circuit switched networks Global network: Internet The Internet is inherently connection-less on the network layer (packet switched) Many applications require however QoS Realize services of connectionoriented communication over a packet switched network MPLS OSI Reference Model Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer MPLS is located between Layer 2 and Layer 3 7.4

Motivation Convergence of IP and ATM ATM supports traffic management ATM-Switches provide high performance and scalability IP is the protocol of the Internet Nearly all data traffic is carried by IP Plenty of Frame-Relay networks New requirements/challenges to IP High bandwidth, differentiated services, security, management Commercial usage as VPN Routing has to consider new metrics, like costs, delay, and jitter Not only shortest paths (SPF, shortest path first) How to use existing networks with QoS- and management functionality together with IP? 7.5

MPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations Mechanisms for the management of data flows with different granularity Independent of Layer 2 and Layer 3 protocols Mechanism for mapping of IP addresses to simple (flat) labels with fix length Interface to routing and signaling protocols like RSVP and OSPF Supports PPP/Ethernet, ATM, Frame Relay,... Forwarding of data packets is based on labels 7.6

Traditional IP Routing vs. MPLS Router Routing-Table Mapping of address-prefix/net mask to the next router/interface Routing-Algorithm Method to determine the shortest/best/cheapest/... route Routing-Protocol Exchange of routing information, e.g., OSPF, BGP, Forwarding For each incoming data packet decide based on the destination IP address to which output/neighbor to forward Optionally other header fields may be considered for the decision, e.g., prioritizing data packets Important: Each router has to make for each packet the forwarding decision 7.7

Label Unique identification of packets for simple forwarding Label (flat, fix length) Packet header with many fields Payload New name for... ATM: VPI/VCI, in each cell Frame Relay: DLCI in each frame STM: each time slot is implicitly a label X.25: LCN is a label Many proprietary protocols (Tag-Switching,...) Wave length in WDM may be interpreted as label... 7.8

Label A label is only locally valid Local means two networks which communicate on the same level Intermediate networks substitute labels (label substitution) and forward packets based on the label (label switching) 12 5 Other domain which does not use that label 5 45 7 7.9

Hierarchies of Labels Domain with -Labels Domain with -Labels Domain with -Labels 7.10

MPLS Concepts 7.11

MPLS: Concepts Packet forwarding is done based on labels A packet is assigned a label as soon as it enters an MPLS domain Packet classification When a packet enters an MPLS domain, it is classified according to Destination address, destination network Quality of Service (Security, Bandwidth, Delay, ) Application Virtual Private Network (VPN) Multicast-Group Mapping to a Forward Equivalence Class (FEC) Group of packets, which has to be handled in the same manner and over the same path Classification is coded into the label and is done only at the entry into the MPLS domain 7.12

MPLS: Concepts IP-Routing outside of the MPLS domain and Label-Switching inside An MPLS network looks to the outside like a large IP router IP-Routing IP-Routing IP-Routing MPLS Domain Label Switching IP-Routing IP-Routing IP-Routing MPLS Domain Label Switching IP-Routing IP-Routing IP-Routing 7.13

MPLS: Components Components of MPLS FEC: Forward Equivalence Class LSR: Label Switching Router LER: Label Edge Router LSP: Label Switched Path LDP: Label Distribution Protocol LER LDP LSR LDP LSR LDP LER IP1 FEC IP1 L1 IP1 LSP L2 IP1 L3 IP1 IP2 IP2 L1 IP2 L2 IP2 L3 IP2 Packets with different IP addresses are assigned to the same FEC group and thus handled in the same way. 7.14

Label Switched Path (simple Variant) #216 #14 #963 #14 #99 #963 #311 #311 #311 #612 #5 #99 #311 #462 An LSP is a part of a tree from the source to the destination An LDP generates that tree with the aid of existing IP routing tables 7.15

MPLS uses IP Forwarding is based on tables which are created with OSPF, RIP, D e s t O u t 4 7.1 1 4 7.2 2 D e s t O u t 4 7.1 1 4 7.2 2 4 7.3 3 D e s t 4 7.1 1 4 7.2 2 O u t 3 4 7.3 3 1 2 3 2 1 47.1 4 7.3 3 1 47.3 3 2 47.2 7.16

IP-Forwarding is done hop-by-hop D e s t O u t D e s t O u t 4 7.1 1 4 7.2 2 4 7.1 1 4 7.2 2 4 7.3 3 D e s t O u t 4 7.1 1 4 7.2 2 4 7.3 3 4 7.3 3 3 IP 47.1.1.1 1 2 IP 47.1.1.1 2 1 47.1 IP 47.1.1.1 47.3 3 1 47.2 IP 47.1.1.1 2 7.17

MPLS-Label-Distribution (simple Variant) In tf Label D e s t In tf Label In In O u t O u t 3 0.5 0 4 7.1 1 0.4 0 In tf Label D e s t In tf In In O u t 3 0.4 0 4 7.1 1 In tf D e s t In tf Label In O u t O u t Request: 47.1 3 1 3 4 7.1 1 0.5 0 3 2 Mapping: 0.40 1 47.3 3 2 1 47.1 47.2 2 7.18

Label Switched Path (LSP) In tf Label D e s t In tf Label In In O u t O u t 3 0.5 0 4 7.1 1 0.4 0 In tf Label D e s t In tf In In O u t 3 0.4 0 4 7.1 1 In tf D e s t In tf Label In O u t O u t 3 4 7.1 1 0.5 0 1 3 2 1 3 IP 47.1.1.1 1 47.1 2 47.3 3 47.2 IP 47.1.1.1 2 7.19

Explicitly Routed LSP (ER-LSP) Route = {A,B,C} #216 #14 #972 A #14 B #972 C #462 A ER-LSP is selected by the source. A label request is send from the source (source routing). 7.20

Explicitly Routed LSP (ER-LSP) In tf Label D e s t In tf Label In In O u t O u t 3 0.5 0 4 7.1 1 0.4 0 In tf Label D e s t In tf In In O u t 3 0.4 0 4 7.1 1 In tf In D e s t In tf O u t Label O u t 3 4 7.1.1 2 1.3 3 3 4 7.1 1 0.5 0 1 3 1 3 IP 47.1.1.1 1 47.1 2 47.3 3 2 47.2 IP 47.1.1.1 2 7.21

Advantages of ER-LSP The network provider controls the route selection Based on individual decisions QoS, Costs, Load, Policy,... Thus, not only shortest path routes are taken Support of Traffic Engineering Several protocols may be used CR-LDP (Constraint Routing): LDP + ER-Extensions RSVP ext: RSVP + Extensions for scalability + ER-Extensions 7.22

MPLS Labels 7.23

MPLS Label MPLS labels can be contained in different headers In the Layer 2 protocol, e.g., ATM and Frame Relay In a shim header, i.e., between Layer 2 and Layer 3 In the Layer 2 protocol as well as in the shim header Labels may have various formats Negotiated by the peers Depends on the Layer 2 protocol Specified for Frame Relay, ATM, PPP, Labels can be stacked Only the top label is considered Bottom label is marked in particular way General format: 4 bytes 20 bit label 3 bit experimental Used for Quality of Service (QoS) 1 bit bottom label 8 bit TTL 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Label Exp S TTL 7.24

MPLS Label Label stacking Label Exp 0 TTL Label Exp 0 TTL Label 1 TTL 7.25

MPLS Label with PPP/LAN-MAC Layer 3 protocol has to be defined at the bottom label Similar to the type field in Ethernet, which may refer to IP Label TTL At the first labeling the Label-TTL is set to IP-TTL When the last label is removed the IP-TTL is set to Label-TTL Packet length Due to multiple labeling the packet grows max. IP datagram size for labeling IP-Packet IP-Header Data Labeling Label IP-Header Data PPP-Frame or MAC-Frame Layer 2 Header Label IP-Header Data Shim-header Same with label-stacking Layer 2 Header Label 1 Label 2 Label 3 IP Packet 7.26

MPLS Label with Frame Relay Current Label Is transported in the DLCI-Field of Frame Relay May use 2 or 4 byte addresses according to Q.922 Other labels may be contained in the PPP/LAN format Example IP Packet IP Header Data Labeling Label 1 Label 2 Label 3 IP Header Data Frame Relay Q.922 Header Label 2 Label 3 IP Header Data DLCI C/R EA DLCI FECN BECN DE EA 7.27

MPLS Label with ATM Two ATM header formats: Communication between switches and endpoints: User-Network Interface (UNI) Communication between two switches: Network-Network Interface (NNI) Header Fields Generic Flow Control (GFC) Only with UNI, for local control of the transmission of data into the network. Typically unused. With NNI these bits are used to increase the VPI field. Payload Type Identifier (PTI) Describes content of the data part, e.g. user data or different control data Cell Loss Priority (CLP) If the bit is 1, the cell can be discarded within overload situations. Header Error Control (HEC) Bit CRC for the first 4 bytes; single bit errors can be corrected. 8 7 6 5 4 3 2 1 GFC/VPI VPI VCI HEC PTI VPI CLP 7.28

MPLS Label with ATM Option 1: SVC Encoding (Switched Virtual Circuits, SVC) (Top) Label is stored in VPI/VCI field Works with all networks Only one label in the ATM header Option 2: SVP Encoding (Switched Virtual Paths, SVP) Top label in VPI field, second label in VCI field Supporting of VP switching Option 3: SVP Multipoint Encoding Top label in VPI field, second label as part of the VCI field. Remainder of the VCI field represents the LSP ingress LSR (aids for label merging) Bit 8 7 6 5 4 3 2 1 GFC/VPI VPI VPI VCI PTI HEC CLP 7.29

MPLS Label with ATM Label Stacking (multiple hierarchical labels) with ATM? Other labels and fields which do not fit in VPI/VCI have to be stored in the shim header in the PPP/LAN format Example IP Packet IP Header Data Labelling Label 1 Label 2 Label 3 IP Header Data AAL5 AAL-Header Label 2 Label 3 IP Header Data AAL-Trailer shim-header ATM... 7.30

MPLS Label Distribution 7.31

Label Distribution MPLS do not specify a particular way of label distribution Piggyback on existing IP routing protocol Separate protocol to distribute labels Piggyback on existing IP routing protocol Extension of protocols for particular deployment of resources Constraint Route Label Distribution Protocol (CR-LDP) Resource Reservation Protocol (RSVP-TE) Protocol Independent Multicast (PIM) BGP: Forwarding of external labels, e.g., for VPNs Label Distribution Protocol (LDP) New protocol of the IETF developed with MPLS for the distribution and maintenance of labels 7.32

Label Distribution Protocol (LDP) The distribution of labels guarantees that neighbored LSRs have the same set of FECs Routing Table: Addr-prefix Next Hop 47.0.0.0/8 LSR2 Routing Table: Addr-prefix Next Hop 47.0.0.0/8 LSR3 LSR1 LSR2 LSR3 IP Packet 47.80.55.3 Label Information Base: Label-In FEC Label-Out XX 47.0.0.0/8 17 For 47.0.0.0/8 use label 17 Label Information Base: Label-In FEC Label-Out 17 47.0.0.0/8 XX Step 3: LSR1 inserts the label into its forwarding table Step 2: LSR2 sends the mapping to neighbored LSRs Step 1: LSR2 creates a mapping from FEC to a Label The label distribution is done either via piggybacking on existing routing protocols or with a particular Label Distribution Protocol (LDP) 7.33

Alternatives for Label Distribution Downstream unsolicited Label Distribution Downstream-on-Demand Label Distribution LSR1 Data Flow LSR2 LSR1 Data Flow LSR2 Label-FEC Binding Request for Binding Label-FEC Binding LSR2 is the downstream LSR for LSR1 LSR2 detects a next hop for a FEC LSR2 creates a label for the FEC and sends the mapping to LSR1 LSR1 inserts the mapping into its table Is LSR2 the next hop for a FEC, then LSR1 can use the label LSR1 detects LSR2 as one next hop for a FEC Request to LSR2 for a mapping from FEC to a label When LSR 2 recognizes the FEC and has a next hop, then it creates a mapping and sends it to LSR1 Both LSRs have the same mapping for the FEC 7.34

Downstream-Mode generates a Shortest- Path-First Tree #216 D #14 #99 #963 #311 #311 #311 #963 D #612 D #5 D #14 D D #99 D #311 D #462 7.35

In Analogous with Downstream-on-Demand D? #216 D #14 #99 #963 #311 #311 #311 D? #612 D #5 D D? D? D? #14 D D #99 #963 D D? D? D #311 D? D #462 7.36

Control of Label Distribution Independent LSP-Control Each LSR creates independent mappings of FEC-to-Label Forwarding as soon as next hop determined LSP is created by connecting in/out label Advantages Label-Generation and exchange faster Independent of availability of Egress-LSRs Disadvantages Inconsistent availability of labels Loop prevention required Ordered LSP-Control One router is responsible for distributing labels Typically the egress LSR Advantages Consistent and loop free Deployment for explicit route selection and multicast Disadvantages Higher delay for LSP creation Depends on egress LSR (bottleneck) 7.37

Retention of Labels An LSR can receive mappings from several LSRs Label Bindings for LSR5 LSR4s Label LSR3s Label LSR2s Label LSR1 Binding for LSR5 Binding current for LSR5 Next Hop LSR2 LSR3 Binding for LSR5 LSR4 LSR5 Functions An LSR keeps only the mapping which it receives from the valid next hop When the next hop changes, then a new mapping from the new next hop has to be requested Restricted adaption to changes An LSR has to maintain less mappings 7.38

Liberal Retention of Labels Label Bindings for LSR5 LSR4 s Label LSR3 s Label LSR2 s Label LSR1 current Next Hop LSR2 LSR3 LSR4 Function An LSR maintains also mappings which are received from others than the next hop neighbor When the next hop changes, the stored mappings can be used directly Fast adaptation to changes Requires the maintenance of many labels The selection of the retention mode is a trade-off between adaptability and memory. 7.39

Conservative Retention of Labels #216 D D #422 These labels are discarded. #612 D #5 D #14 D D #99 #963 D #622 D D #311 D #462 Keep only the labels which are used for forwarding and discard others. 7.40

Liberal Retention of Labels #216 D D #422 These labels are kept for possible later use. #622 D #612 D #5 D #963 D #14 D D #99 D #311 D #462 7.41

Summary Key advantages Leverage growth of MPLS deployment in core and edge networks Removes primary bottleneck of TCP termination Realization in standard off-the-shelf switch hardware Implements sophisticated request routing functions Requirements Assign some request-routing functionality to proxies MPLS-aware proxies at the network edges Implementation of control protocol for label distribution 7.42