Top Banner
November 17, 2015 MPLS Under the Microscope: Revealing Actual Transit Path Diversity Yves VANAUBEL Pascal MÉRINDOL Jean-Jacques PANSIOT Benoit DONNET
39

MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Mar 19, 2018

Download

Documents

dangque
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

November 17, 2015

MPLS Under the Microscope: Revealing Actual Transit Path Diversity

Yves VANAUBEL Pascal MÉRINDOL

Jean-Jacques PANSIOT

Benoit DONNET

Page 2: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Agenda

❖ MPLS background

❖ Revealing MPLS tunnels

❖ MPLS Tunnels Diversity

❖ Conclusions

Page 3: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Agenda

❖ MPLS Background

• Label Stack Entries

• MPLS Network

• Label Distribution

❖ Revealing MPLS tunnels

❖ MPLS Tunnels Diversity

❖ Conclusions

Page 4: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

MPLS Label Stack Entries❖ Label Stack Entries (LSE) :

• 32 bits

• Inserted between the MAC and the IP layer

Label TTLTC S

0 7 15 23 31

‣ Label : Label value, 20 bits

‣ TC: Traffic Class field, 3

‣ S: Bottom of stack, 1 bit

‣ TTL: Time To Live, 8

Page 5: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

MPLS NetworkISP X

ISP A 1.1.1.0/24

ISP B2.2.2.0/24

Source1.1.1.1

Destination2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

IP/to:2.2.2.2

Ingress LSR (LER) Egress LSR (LER)

FH LSR LSR LH LSR

LSP

LSR : Label Switching RouterLER : Label Edge Router

LSP : Label Switched Path

PHP : Penultimate Hop Popping

4 5 3

Page 6: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Label Distribution❖ Label Distribution Protocol (LDP) [RFC5036]

• Allows distribution FEC-to-label bindings among LSRs

• In this case, FECs are prefixes in IGP routing tables

• Downstream operation

• Messages follow IP route

❖ Resource ReSerVation Protocol - Traffic Engineering (RSVP-TE) [RFC3209]

• Allows resource reservation on the path

• Explicit Route Object (ERO) extension : Allows the source to pre-calculate the LSP (not necessary the IP route)

Page 7: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Agenda

❖ MPLS Background

❖ Revealing MPLS tunnels

• Measurement Technique

• Explicit MPLS Tunnels

❖ MPLS Tunnels Diversity

❖ Conclusions

Page 8: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Measurement Technique❖ MPLS tunnels discovery is based on standard active measurement

tools (traceroute)

❖ Two options are required:

• ICMP extension ([RFC4950]):

✓ If an MPLS router must forge an ICMP time exceeded message, it should quote the MPLS LSE into it.

• TTL propagation ([RFC3443]):

✓ The ingress router of an MPLS tunnel should initialize the LSE-TTL with the value inside the IP-TTL field (iTTL).

✓ The opposite operation is done by the egress LER (oTTL).

Page 9: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Explicit Tunnels❖ The two options are activated

❖ This kind of tunnel is perfectly visible with traceroute

LSP

R1 R2 R3 R4 R5

Source Destination

Traceroute output:1. R12. R2 - MPLS tag3. R3 - MPLS tag

6. Destination

4. R4 - MPLS tag5. R5

PHPIngressLER

EgressLER

Page 10: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Agenda❖ MPLS Background

❖ Revealing MPLS tunnels

❖ MPLS Tunnels Diversity

• Motivations

• Label Pattern Recognition Algorithm

• Data Collection

• Results

❖ Conclusions

Page 11: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Motivations

B

A

E

D

C

F

Ingress LER

Egress LER

LSP 1 :LSP 2 :LSP 3 :

❖ Several LSPs may exist for a given <Ingress, Egress> LER pair

Page 12: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR

❖ Label Pattern Recognition algorithm

❖ Allows to distinguish multi-FEC from IP load balancing in transit MPLS tunnels

❖ Passive classification method (offline)

• Requires no additional probing than traceroute

❖ Recognizes behaviors of LDP vs. RSVP-TE based on MPLS labels distribution

Page 13: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR❖ IOTP (In-Out Transit Pair): <Ingress, Egress> LER pair, i.e. set

of explicit MPLS tunnels having the same IP entry and exit points

❖ LPR classifies each IOTP based on IP addresses and LSP labels

❖ Four output classes

• Mono-LSP

• Multi-FEC

• Mono-FEC (ECMP)

• Unclassified

Page 14: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Global View

Filtering and formating

tracerouteDataset

IntraASper LSP

TargetASper LSP

TransitDiversityper <I,E>

Persistenceper AS

per <I,E>per LSP

Cleaned

Expl

icit

MPL

Stun

nels

Data

Classification

Single LSP

Mono-LSPYes

≠ Labelson common IPNo

Mono-FEC

Multi-FEC

Routers Disjoint

Unclassif.No common IP

Parallel Links

❖ Two main steps

❖ Data filtering and formatting

❖ Classification

❖ Per AS study

Page 15: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Classification

A DB

Ingress LER

Egress LER

C

L1 L2

L1 L2

Same IPs and same Labels

Trace LSP1:

1. A2. B - Label L1

3. C - Label L24. D

Trace LSP2:

1. A2. B - Label L1

3. C - Label L24. D

PHP

means an interface❖ Class 1: Mono-LSP

Page 16: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Classification

A D

B

Ingress LER

Egress LER

C

Trace LSP1:1. A

3. B - Label4. D1 - Label5. E - Label L1

Trace LSP2:

E F

PHP

G

L1

L2

7. F1 - Label8. G

2. …

6. …

1. A

3. C - Label4. D2 - Label5. E - Label L2

7. F2 - Label8. G

2. …

6. …

Common IP

Different labels for at least

1 common IP

means an interface

1

2

1

2

❖ Class 2: Multi-FEC

Page 17: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Classification

A D

B

Ingress LER

Egress LER

C

Trace LSP1:1. A

3. B - Label4. D1 - Label L15. E - Label L2

Trace LSP2:

E F

PHP

G

L2

L2

7. F1 - Label8. G

2. …

6. …

1. A

3. C - Label4. D2 - Label L15. E - Label L2

7. F2 - Label8. G

2. …

6. …

Common IP

Same label ∀ common IPs

❖ Class 3: ECMP Mono-FEC (Disjoint Routers)

1

2

1

2

Page 18: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Classification

A CB

Ingress LER

Egress LER

Trace LSP1:1. A

3. B - Label L14. C1 - Label L25. D1 - Label L3

Trace LSP2:

D E

PHP

F

L3

L3

7. E1 - Label L48. F

L2

L2

2. …

6. …

1. A

3. B - Label L14. C2 - Label L25. D2 - Label L3

7. E2 - Label L48. F

2. …

6. …

Same labels along all the LSPs

❖ Class 3: ECMP Mono-FEC (Parallel Links)

L1

L1

L4

L4

Different IPs are aliases!

1

2

1

2

1

2

Page 19: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Classification

❖ Class 4: Unclassified

• If PHP is used, the Egress LER does not exhibit any label

• It may happen that LSPs do not intersect on a common IP address

• In this case, the IOTP is arbitrarily tagged as unclassified

Page 20: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Data Collection❖ Archipelago platform

• More than 100 monitors scattered all around the world, divided into 3 teams

• paris-traceroute to all routed /24 prefixes

❖ Work on data collected between January 2010 and December 2014

• Cycle: First monthly run of each team

• 60 cycles

❖ For each cycle:

• IP2AS mapping using Routeviews data

• MPLS explicit tunnels extraction

Page 21: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ IOTP basic metrics

• Length : Number of LSRs in the longest LSP

• Width : Number of branches in the IOTP (logical or physical)

• Symmetry : Difference between IOTP length and number of LSRs in the shortest LSP

Ingress LER

Egress LER

Length : 3

Width : 2

IOTP

Symmetry : 1

Page 22: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ IOTPs length for December 2014

0 2 4 6 8 10 12 14

Length0.00

0.05

0.10

0.15

0.20

0.25

0.30PD

F

Page 23: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ IOTPs width for December 2014

With Mono-LSP class Without Mono-LSP class

0 2 4 6 8 ≥ 10

Width0.0

0.2

0.4

0.6

0.8

1.0

PDF

0 2 4 6 8 ≥ 10

Width0.0

0.1

0.2

0.3

0.4

0.5

PDF

Multi-FEC Mono-FEC

Page 24: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ IOTPs symmetry for December 2014

0 1 2 3 4 5 6 7 8

Symmetry0.0

0.2

0.4

0.6

0.8

1.0PD

FMulti-FEC Mono-FEC

Page 25: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ Classification for AS1273 (Vodafone)

1 5 10 15 20 25 30 35 40 45 50 55 600.0

0.2

0.4

0.6

0.8

1.0PD

FMono-LSP Multi-FEC Mono-FEC Unclass.

1 5 10 15 20 25 30 35 40 45 50 55 60

Cycle0

200

400

600

800

1000

Nb.

ofIO

TPs

Page 26: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ Classification for AS2914 (NTT)

1 5 10 15 20 25 30 35 40 45 50 55 600.0

0.2

0.4

0.6

0.8

1.0PD

FMono-LSP Multi-FEC Mono-FEC Unclass.

1 5 10 15 20 25 30 35 40 45 50 55 60

Cycle0

1000200030004000500060007000

Nb.

ofIO

TPs

Page 27: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ Classification for AS6453 (Tata Communications)

1 5 10 15 20 25 30 35 40 45 50 55 600.0

0.2

0.4

0.6

0.8

1.0PD

FMono-LSP Multi-FEC Mono-FEC Unclass.

1 5 10 15 20 25 30 35 40 45 50 55 60

Cycle0

1000200030004000500060007000

Nb.

ofIO

TPs

Page 28: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results❖ Classification for AS7018 (AT&T)

1 5 10 15 20 25 30 35 40 45 50 55 600.0

0.2

0.4

0.6

0.8

1.0PD

FMono-LSP Multi-FEC Mono-FEC Unclass.

1 5 10 15 20 25 30 35 40 45 50 55 60

Cycle0

2000400060008000100001200014000

Nb.

ofIO

TPs

Page 29: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Agenda

❖ MPLS background

❖ Revealing MPLS tunnels

❖ MPLS Tunnels Diversity

❖ Conclusions

Page 30: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Conclusion❖ New algorithm (LPR)

• Reveals MPLS usage in ASes :

✓ Basic usage for performance issue (Mono-LSP)

✓ Traffic Engineering (Multi-FEC)

✓ ECMP load balancing, with parallel links or disjoint routers (ECMP Mono-FEC)

• Studies the evolution of MPLS usage

Page 31: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

Conclusion❖ Usage of MPLS increases over time

❖ Most operators seem to deploy MPLS

• Usage depends on operator

✓ Basic most of the time (Mono-LSP or ECMP)

✓ Traffic engineering less common but well represented in some ASes

❖ In case of ECMP, the parallel links architecture seems predominant

❖ When TE is deployed, in many cases, different LSPs between the same endpoints take the same IP path

• Bandwidth sufficiently abundant for allowing all LSPs on the same route

Page 32: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Static Filters

❖ Three static filters applied sequentially:

1. Intra AS

2. Target AS

3. Transit Diversity

Page 33: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Static Filters❖ Intra AS filter

• IP addresses involved in an LSP must belong to the same AS

AS1

AS2

Ingress LER

Egress LER

Traceroute 1 :Traceroute 2 :

The LSP discovered with traceroute 2 is not used for transit traffic and is deleted

by the Intra AS filter

Page 34: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Static Filters❖ Target AS filter

• Destination of traceroute must be in a different AS than the LSP

AS1

Ingress LER

Egress LER

Traceroute 1 :Traceroute 2 :

AS2

Dest. 2

Dest. 1

The LSP discovered with traceroute 2 is not used for transit traffic and is deleted

by the Target AS filter

Page 35: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Static Filters❖ Transit Diversity filter

• The destinations of the traceroutes passing through a given IOTP must belong to at least two different ASes

Dest. 1

Dest. 2

Dest. 3Ingress LER

Egress LER

AS1

AS2

AS3Traceroute 1 :Traceroute 2 :Traceroute 3 :

Page 36: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Temporal Filter

❖ A temporal filter:

• Persistence : Keep an LSP in measurement cycle X if it was also seen in cycle X + 1 or X + 2

• Deletes noise due to routing changes

Page 37: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

LPR - Results

❖ About 14M of LSPs on average per cycle

❖ Filtering impact:

1. Intra AS: Removes ~1% of LSPs

2. Target AS: Removes ~13% of remaining LSPs

3. Transit Diversity: Removes ~7% of remaining LSPs

4. Temporal: Removes ~10% of remaining LSPs

Page 38: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

RSVP

❖ Resource ReSerVation Protocol (RSVP) [RFC2205]

❖ Used to allocate resources on the path

❖ Messages follow IP route

A CB

RSVP-PATH RSVP-PATH

RSVP-RESV RSVP-RESV

Page 39: MPLS Under the Yves V Microscope: Revealing Technique MPLS tunnels discovery is based on standard active measurement tools (traceroute) Two options are required: • ICMP extension

RSVP - TE❖ Resource ReSerVation Protocol - Traffic Engineering (TE)

[RFC3209]

❖ RSVP-RESV can piggyback MPLS labels

❖ Explicit Route Object (ERO) extension :

• Allows the source to pre-calculate the LSP (not necessary the IP route)

A CB

RSVP-PATH RSVP-PATH

RSVP-RESVLabel = 9

RSVP-RESVLabel = 74