42
Telematics Telematics Chapter 6½: MPLS Application Layer Application Layer User watching video clip Server with video clips Beispielbild Presentation Layer Session Layer Transport Layer Presentation Layer Session Layer Transport Layer Data Link Layer Physical Layer Network Layer Data Link Layer Physical Layer Network Layer Data Link Layer Physical Layer Network Layer Prof. Dr. Mesut Güneş Computer Systems and Telematics (CST) Distributed, embedded Systems Distributed, embedded Systems Institute of Computer Science Freie Universität Berlin http://cst.mi.fu-berlin.de

Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

TelematicsTelematicsChapter 6½: MPLS

Application Layer Application Layer

User watching video clip

Server with video clips

BeispielbildPresentation Layer

Session Layer

Transport Layer

Presentation Layer

Session Layer

Transport Layer

Data Link Layer

Physical Layer

Network Layer

Data Link Layer

Physical Layer

Network Layer

Data Link Layer

Physical Layer

Network Layer

Prof. Dr. Mesut Güneş

Computer Systems and Telematics (CST)

Distributed, embedded SystemsDistributed, embedded Systems

Institute of Computer Science

Freie Universität Berlin

http://cst.mi.fu-berlin.de

Page 2: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Contents

● Design issues● Motivation● Motivation● Convergence of IP, ATM, Frame Relay, QoS, ...● Traditional routing

● Overview● Architecture, Labels, Concepts, Components

● Examples● Examples● Sending of data packets, Label-distribution

● Applicationspp● Fast Forwarding, Scalability, IP/ATM-Integration●Quality of Service

Vi t l P i t N t k● Virtual Private Networks● Voice over MPLS● Traffic Engineering

61/2.2

g g

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 3: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Design IssuesDesign Issues

61/2.3Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 4: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Design Issuesg

● Two different types of networks● Packet switched networks OSI Reference Model● Packet switched networks● Circuit switched networks

Presentation Layer

Application Layer

● Global network: Internet● The Internet is inherently

connection-less on the network

Presentation Layer

Session Layer

layer (packet switched)●Many applications require however

QoS Network Layer

Transport Layer

QoS ● Realize services of connection-

oriented communication over a packet switched network

Data Link Layer

Ph sical La e

MPLS

packet switched network

● MPLS is located between Layer 2

Physical Layer

61/2.4

and Layer 3

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 5: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Motivation

● Convergence of IP and ATM● ATM supports traffic managementpp g● ATM-Switches provide high performance and scalability● IP is the protocol of the Internet●Nearly all data traffic is carried by IP●Nearly all data traffic is carried by IP● Plenty of Frame-Relay networks

N i t / h ll t IP● 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?

61/2.5Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 6: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

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●Mechanisms for the management of data flows with different granularity● Independent from Layer 2 and Layer 3 protocols●Mechanism for mapping of IP addresses to simple (flat) labels with fix

lengthlength● Interface to routing and signaling protocols like RSVP and OSPF● Supports PPP/Ethernet, ATM, Frame Relay, ...

● Forwarding of data packets is based on labels

61/2.6Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 7: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Traditional IP Routing vs. MPLSg

● Router● Routing-Table● Routing Table● Mapping of address-prefix/net mask to the next router/interface

● Routing-AlgorithmM th d t d t i th h t t/b t/ h t/ t● 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 forwardp / g● 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

61/2.7Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 8: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label

● Unique identification of packets for simple forwarding

k h d hb l PayloadPacket header withmany fields

Label(flat, fix length)

● New name for ...● ATM: VPI/VCI, in each cell

F R l DLCI i h f● 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● ...

61/2.8Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 9: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label

● A label is only locally valid● Local means two networks which communicate on the same level● 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)

512

Other domainwhich does not 5

45

7which does not use that label

5

61/2.9Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 10: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Hierarchies of Labels

Domain with-Labels

D i ith L b lDomain with -Labels

Domain with-Labels

61/2.10Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 11: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS ConceptsMPLS Concepts

61/2.11Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 12: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS: Conceptsp

● Packet forwarding is done based on labels● A packet is assigned a label as soon as it enters an MPLS domainp g

● Packet classification●When a packet enters an MPLS domain it is classified according to●When a packet enters an MPLS domain, it is classified according to● Destination address, destination network● Quality of Service (Security, Bandwidth, Delay, …)● Application● Application● Virtual Private Network (VPN)● Multicast-Group

●Mapping to a Forward Equivalence Class (FEC)●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

61/2.12Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 13: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS: Conceptsp

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

MPLS DomainLabel Switching

IP-RoutingIP-RoutingIP-Routing

IP-Routing

IP R ti

MPLS DomainLabel Switching IP-Routing

IP-Routing

IP-Routing

IP-Routing

Label Switching

IP-Routing

g

61/2.13Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 14: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS: Componentsp

● Components of MPLS● FEC: Forward Equivalence Class● LSR: Label Switching Router● LER: Label Edge Router ● LSP: Label Switched Path● LDP: Label Distribution Protocol

LSRLSRLER LERLDPLDPLDP

IP1 IP1LSPFECIP1 IP1S

IP1 L1

IP2 L1

IP1 L2

IP2 L2

IP1 L3

IP2 L3

FEC

Packets with different IP addresses are assigned to the same FEC group and thus handled in the same way

IP2 IP2

61/2.14

same FEC group and thus handled in the same way.

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 15: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label Switched Path (simple Variant)

#14 #311

( p )

#216

#963

#99 #311

#311

#14

#963

#612

#5#311

#99#462

#5

● 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

61/2.15

● An LDP generates that tree with the aid of existing IP routing tables

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 16: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS uses IP

D e s t O u t4 7 .1 14 7 2 2

D e s t O u t4 7 .1 14 7 .2 24 7 .3 3

47.1

4 7 .2 24 7 .3 3

1

1

2

3

23

D e s t O u t4 7 .1 14 7 .2 24 7 .3 3

2

1

47.247.3

1

23

61/2.16

Forwarding is based on tables which are created with OSPF, RIP, …

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 17: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

IP-Forwarding is done “hop-by-hop”g p y p

D e s t O u t

D e s t O u t4 7 .1 14 7 2 2

47.1

4 7 .1 14 7 .2 24 7 .3 3

4 7 .2 24 7 .3 3

1IP 47 1 1 1

1

23 2

IP 47 1 1 1

IP 47.1.1.1IP 47.1.1.1

D e s t O u t4 7 .1 14 7 .2 2

47.247.313

IP 47.1.1.14 7 .3 3

IP 47.1.1.1 2

61/2.17Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 18: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS-Label-Distribution (simple Variant)( p )

Intf Label Dest IntfIntf Label Dest Intf LabelIn In Out3 0.40 47.1 1

IntfIn

LabelIn

Dest IntfOut

LabelOut

3 0.50 47.1 1 0.40

47.1

1

23

1

2

3IntfIn

Dest IntfOut

LabelOut

3 47 1 1 0 50 M i 0 40

Request: 47.1

47.247.3

23

13

3 47.1 1 0.50 Mapping: 0.40

2

61/2.18Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 19: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label Switched Path (LSP)( )

Intf Label Dest IntfI tf L b l D t I tf L b l IntfIn

LabelIn

Dest IntfOut

3 0.40 47.1 1

IntfIn

LabelIn

Dest IntfOut

LabelOut

3 0.50 47.1 1 0.40

47.1

1

3

1

23Intf

InDest Intf

OutLabelOut

3 47.1 1 0.50

IP 47.1.1.1

47.247.3

21

3

2IP 47.1.1.1

61/2.19Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 20: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Explicitly Routed LSP (ER-LSP)

Route = {A,B,C}

p y ( )

#216 #14 #972

#14A B

#972

C

#462

61/2.20

A ER-LSP is selected by the source. A label request is send from the source (source routing).

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 21: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Explicitly Routed LSP (ER-LSP)p y ( )

Intf Label Dest IntfI tf L b l D t I tf L b l IntfIn

LabelIn

Dest IntfOut

3 0.40 47.1 1

IntfIn

LabelIn

Dest IntfOut

LabelOut

3 0.50 47.1 1 0.40In tf D e s t In tf L abe l

47.1

3

1

2

3In O u t O u t3 47 .1 .1 2 1 .333 47 .1 1 0 .50

IP 47.1.1.1

47.247.3

1

2

1

3

2IP 47.1.1.1

61/2.21Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 22: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Advantages of ER-LSPg

● The network provider controls the route selection● Based on individual decisions● Based on individual decisions● QoS, Costs, Load, Policy, ...

● Thus, not only shortest path routes are takenS f T ffi E i i● Support of Traffic Engineering

● Several protocols may be used● CR-LDP (Constraint Routing): LDP + ER-Extensions● CR LDP (Constraint Routing): LDP + ER Extensions● RSVP ext: RSVP + Extensions for scalability + ER-Extensions●…

61/2.22Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 23: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS LabelsMPLS Labels

61/2.23Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 24: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS Label

● MPLS labels can be contained in different headers

● Labels can be stacked●Only the top label is considered

● In the Layer 2 protocol, e.g., ATM and Frame Relay

● In a shim header i e between

●Only the top label is considered● Bottom label is marked in particular

way

G l f t 4 b t● In a shim header, i.e., between Layer 2 and Layer 3

● In the Layer 2 protocol as well as in th hi h d

● General format: 4 bytes● 20 bit label● 3 bit experimental

the shim header

● Labels may have various formats●Negotiated by the peers

p● Used for Quality of Service (QoS)

● 1 bit bottom label8 bit TTLNegotiated by the peers

●Depends on the Layer 2 protocol● Specified for Frame Relay, ATM,

PPP

● 8 bit TTL

PPP,…

0 1 2 30 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

L b l E S TTL

61/2.24Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Label Exp S TTL

Page 25: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS Label

● Label stacking

Label Exp 0 TTL

Label Exp 0 TTL

…Label 1 TTL

61/2.25Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 26: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

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● 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●Due to multiple labeling the packet grows max. IP datagram size for labeling

DataIP-HeaderIP-Packet

Labeling DataIP-HeaderLabel

PPP-FrameMAC F L 2 H d L b l D tdor MAC-Frame Layer 2 Header Label DataIP-Header

Shim-header

Same with

61/2.26

Label1 Label2 Label3 IP PacketLayer 2 HeaderSame with label-stacking

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 27: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS Label with Frame Relayy

● Current Label● Is transported in the DLCI-Field of Frame Relay● 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

DataIP HeaderIP Packet

Labeling Label Label Label DataIP HeaderLabeling

Frame Relay

Label1 Label2 Label3 DataIP Header

Q.922 Header Label2 Label3 DataIP Header

DLCI C/R EA DLCI FECN BECN DE EA

61/2.27

/

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 28: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS Label with ATM

● Two ATM header formats:● Communication between switches and endpoints: User-Network Interface (UNI)● Communication between switches and endpoints: User Network Interface (UNI)● Communication between two switches: Network-Network Interface (NNI)

● Header Fields 8 7 6 5 4 3 2 1Bit●Generic Flow Control (GFC)● Only with UNI, for local control of the

transmission of data into the network.

GFC/VPI VPI

VPI

Typically unused. ● With NNI these bits are used to increase the

VPI field.

VCI

PTI CLP

HEC● Payload Type Identifier (PTI)● Describes content of the data part, e.g. user data or different control data

● Cell Loss Priority (CLP)

HEC

● Cell Loss Priority (CLP)● If the bit is 1, the cell can be discarded within overload situations.

●Header Error Control (HEC)CRC f th fi t 4 b t i l bit b t d

61/2.28

● CRC for the first 4 bytes; single bit errors can be corrected.

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 29: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

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 header8 7 6 5 4 3 2 1Bit

● Only one label in the ATM header

● Option 2: SVP Encoding (Switched Virtual Paths, SVP)

GFC/VPI VPI

VPI

● Top label in VPI field, second label in VCI field● Supporting of “VP switching”

VCI

PTI CLP

HECSupporting of VP switching

● Option 3: SVP Multipoint Encoding● Top label in VPI field, second label as

t f th VCI fi ld R i d f th

HEC

part of the VCI field. Remainder of the VCI field represents the LSP ingress LSR (aids for label merging)

61/2.29Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 30: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

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●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

DataIP HeaderIP Packet

Labelling DataIP HeaderLabel1 Label2 Label3

AAL-HeaderAAL5 Label2 Label3 DataIP Header AAL-Trailer

shim-header

ATM . . .

61/2.30Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 31: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

MPLS Label DistributionMPLS Label Distribution

61/2.31Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 32: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label Distribution

● MPLS do not specify a particular way of label distribution● Piggyback on existing IP routing protocol● 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)● 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)● Label Distribution Protocol (LDP)●New protocol of the IETF developed with MPLS for the distribution and

maintenance of labels

61/2.32Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 33: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Label Distribution Protocol (LDP)( )The distribution of labels guarantees that neighbored LSRs have the same set of FECs

R i T blRouting Table:

Addr-prefix Next Hop47.0.0.0/8 LSR2

Routing Table:

Addr-prefix Next Hop47.0.0.0/8 LSR3

LSR1 LSR2 LSR3

IP Packet 47.80.55.3

For 47.0.0.0/8use label ‘17’

Label Information Base:

Label-In FEC Label-Out17 47.0.0.0/8 XX

Label Information Base:

Label-In FEC Label-OutXX 47.0.0.0/8 17

/

Step 1: LSR2 creates a mapping from FEC to a Label

Step 2: LSR2 sends the mapping to neighbored LSRs

Step 3: LSR1 inserts the label into its forwarding table

The label distribution is done either via “piggybacking” on existing routing protocols or with a particular Label Distribution Protocol (LDP)

61/2.33

protocols or with a particular Label Distribution Protocol (LDP)

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 34: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Alternatives for Label Distribution

● Downstream “unsolicited” Label Distribution

● Downstream-on-Demand Label Distribution

LSR1 LSR2Data Flow

LSR1 LSR2Data Flow

Label-FEC BindingLabel-FEC Binding

Request for Binding

● LSR2 is the “downstream” LSR for LSR1● LSR2 detects a “next hop” for a FEC

● LSR1 detects LSR2 as one “next hop” for a FEC

g

p● LSR2 creates a label for the FEC and

sends the mapping to LSR1● LSR1 inserts the mapping into its table

● Request to LSR2 for a mapping from FEC to a label

● When LSR 2 recognizes the FEC and has LSR1 inserts the mapping into its table● Is LSR2 the “next hop” for a FEC, then

LSR1 can use the label

a “next hop”, then it creates a mapping and sends it to LSR1

● Both LSRs have the same mapping for th FEC

61/2.34

the FEC

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 35: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Downstream-Mode generates a Shortest-Path-First Tree

#14 #311

#963

#14#99

#311#311#311

#216D

#963DD

#462D

#311D

#14 D

D#612 D

#311#99#5 D

61/2.35Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 36: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

In Analogous with Downstream-on-Demand

#14 #311

g

#963

#14#99

#311#311#311

#216DD?

D?#963D

DD?

D?

D?

#462D

#311D

#14 D

D#612 D D?D?

D?#311

#99D#5 D

D?

61/2.36Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 37: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Control of Label Distribution

● Independent LSP-Control● Each LSR creates independent

● Ordered LSP-Control●One router is responsible for● Each LSR creates independent

mappings of FEC-to-Label● Forwarding as soon as “next hop”

determined

●One router is responsible for distributing labels● Typically the egress LSR

determined● LSP is created by connecting in/out

label

● Advantages● Label-Generation and exchange

faster

● Advantages● Consistent and loop free●Deployment for explicit route

● Independent of availability of Egress-LSRs

● Disadvantages

●Deployment for explicit route selection and multicast

● Disadvantages● Inconsistent availability of labels● Loop prevention required

● Disadvantages●Higher delay for LSP creation●Depends on egress LSR

61/2.37

●Depends on egress LSR (bottleneck)

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 38: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Retention of Labels

LSR2Binding

An LSR can receive mappings from several LSRs

LSR1LSR3

LSR5

for LSR5Label Bindingsfor LSR5LSR4s Label

Binding

Binding for LSR5LSR3s LabelLSR2s Label

LSR4for LSR5current

Next Hop

● Functions● An LSR keeps only the mapping which it receives from the valid “next hop”

Wh th “ t h ” h th i f th “ t h ” h●When the “next hop” changes, then a new mapping from the new “next hop” has to be requested

● Restricted adaption to changesA LSR h t i t i l i

61/2.38

● An LSR has to maintain less mappings

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 39: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Liberal Retention of Labels

LSR1LSR2Label Bindings

for LSR5 SLSR3

LSR4

for LSR5

current

LSR4’s LabelLSR3’s LabelLSR2’s Label current

Next Hop

● Function● An LSR maintains also mappings which are received from others than the “next

hop” neighborp g●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.

61/2.39Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 40: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Conservative Retention of Labels

These labels arediscarded

#216D D

discarded.

#963D

#422

#622D

#462D

D

#14 D

D#612 D

#622D

#311#99D

#5 D

61/2.40

Keep only the labels which are used for forwarding and discard others.

Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 41: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Liberal Retention of Labels

#216

These labels are keptfor possible later use.

D#422

D

#963D#14 D

#622D

#462D

#311D

#14 D

#99D

#612 D

#5 D #99#5 D

61/2.41Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS

Page 42: Telematics Chapter 6½: MPLS - mi.fu-berlin.de fileMPLS Framework of the IETF for efficient routing, fast forwarding, and management of data flows Operations

Summaryy

● Key advantages● Leverage growth of MPLS deployment in core and edge networks● 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● Assign some request routing functionality to proxies●MPLS-aware proxies at the network edges● Implementation of control protocol for label distribution

61/2.42Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 6½ : MPLS