Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MPLS Introduction
Search
Almog Ohayon
May 19, 2013
Technology
360
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MPLS Introduction
Almog Ohayon
May 19, 2013
More Decks by Almog Ohayon
See All by Almog Ohayon
Software-Defined Security
almog009
0
250
Cloud Computing
almog009
1
120
Welcome to CCNA
almog009
1
82
InfoNinja
almog009
2
82
Ethical Hacking 2013
almog009
2
1.1k
Other Decks in Technology
See All in Technology
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1k
今さら理解するウェブフォントver.2026
takanorip
3
770
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
Rust で関数型ドメインモデリング
takonda
0
140
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
190
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
620
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
The SEO Collaboration Effect
kristinabergwall1
1
590
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How to make the Groovebox
asonas
2
2.5k
Prompt Engineering for Job Search
mfonobong
0
520
Abbi's Birthday
coloredviolet
4
10k
Un-Boring Meetings
codingconduct
0
460
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Speed Design
sergeychernyshev
33
2.2k
Transcript
MPLS Introduction ©2013, Cisco Systems. Inc. All rights reserved.
MPLS concept ©2013, Cisco Systems. Inc. All rights reserved.
Why MPLS ? ©2013, Cisco Systems. Inc. All rights reserved.
©2013, Cisco Systems. Inc. All rights reserved.
Label Format LABEL EXP S TTL 0 19 22 23
31 20 24 Label Header MAC Header Layer 3 Header ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Labels • Bottom-of-stack • Time-to-live • Experimental bits ©2013,
Cisco Systems. Inc. All rights reserved.
MPLS Label Stack Frame header Label 1 IP header Payload
Label 2 Label 3 PID=MPLS-IP ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Label Stack • MPLS/VPNs • Traffic Engineering • MPLS/VPNs
combined with Traffic Engineering ©2013, Cisco Systems. Inc. All rights reserved.
Network Architecture ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Architecture • Control plane • Data plane ©2013, Cisco
Systems. Inc. All rights reserved.
MPLS Architecture Data plane Control plane OSPF: 10.0.0.0/8 LDP: 10.0.0.0/8
Label 17 OSPF LDP LFIB LDP: 10.0.0.0/8 Label 4 OSPF: 10.0.0.0/8 417 Labeled packet Label 4 Labeled packet Label 17 ©2013, Cisco Systems. Inc. All rights reserved.
Frame Mode MPLS Frame header IP header Payload Layer 2
Layer 3 Frame header Label IP header Payload Layer 2 Layer 2½ Layer 3 Routing lookup and label assignment ©2013, Cisco Systems. Inc. All rights reserved.
LSR and eLSR • Label Switch Router (LSR) • Edge
LSR ©2013, Cisco Systems. Inc. All rights reserved.
Architecture of LSRs LSR Control plane Data plane Routing protocol
Label distribution protocol Label forwarding table IP routing table Exchange of routing information Exchange of labels Incoming labeled packets Outgoing labeled packets ©2013, Cisco Systems. Inc. All rights reserved.
Architecture of Edge LSRs Edge LSR Control plane Data plane
Routing protocol Label distribution protocol Label forwarding table IP routing table Exchange of routing information Exchange of labels Incoming labeled packets Outgoing labeled packets IP forwarding table Incoming IP packets Outgoing IP packets ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Forwarding • Push • Swap • Pop ©2013, Cisco
Systems. Inc. All rights reserved.
MPLS Example 10.1.1.1 10.1.1.1 Routing lookup and label assignment 10.0.0.0/8
L=5 Label swapping L=5 L=3 Label removal and routing lookup L=3 ©2013, Cisco Systems. Inc. All rights reserved.
TDP vs. LDP • MPLS Tag Switching 711. 646. ©2013,
Cisco Systems. Inc. All rights reserved.
MPLS Standardization • MPLS Tag Switching TDP LDP ©2013, Cisco
Systems. Inc. All rights reserved.
MPLS Implementation ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Implementation ©2013, Cisco Systems. Inc. All rights reserved.
LDP Session Establishment • Hello messages ©2013, Cisco Systems. Inc.
All rights reserved.
LDP Session Negotiation 1.0.0.1 MPLS_A 1.0.0.2 MPLS_B Initialization message Establish
TCP session Initialization message Keepalive Keepalive ©2013, Cisco Systems. Inc. All rights reserved.
VPN ©2013, Cisco Systems. Inc. All rights reserved.
©2013, Cisco Systems. Inc. All rights reserved.
©2013, Cisco Systems. Inc. All rights reserved.
©2013, Cisco Systems. Inc. All rights reserved.
Layer 3 VPN ©2013, Cisco Systems. Inc. All rights reserved.
Before MPLS VPN PE CE VPN-A VPN-B CE VPN-C CE
Paris London Munich interface Serial0/1 description ** interface to VPN-A customer ip address 192.168.61.6 255.255.255.252 ip access-group VPN-A in ip access-group VPN-A out ! interface Serial0/2 description ** interface to VPN-B customer ip address 192.168.61.9 255.255.255.252 ip access-group VPN-B in ip access-group VPN-B out ! interface Serial0/3 description ** interface to VPN-C customer ip address 192.168.62.6 255.255.255.252 ip access-group VPN-C in ip access-group VPN-C out PE Routing Table VPN-A routes VPN-B routes VPN-C routes ©2013, Cisco Systems. Inc. All rights reserved.
Benefits of MPLS VPNs PE CE VPN-A VPN-A CE VPN-B
Global Routing Table VRF for VPN-A VRF for VPN-B VPN Routing Table CE Multiple routing & forwarding instances (VRFs) provide the separation Paris London Munich IGP &/or BGP ©2013, Cisco Systems. Inc. All rights reserved.
But how to do it ? ©2013, Cisco Systems. Inc.
All rights reserved.
• PE routers maintain separate routing tables Global routing table
contains all PE and P routes (perhaps BGP) populated by the VPN backbone IGP VRF (VPN routing & forwarding) routing & forwarding table associated with one or more directly connected sites (CE routers) VRF is associated with any type of interface, whether logical or physical (e.g. sub/virtual/tunnel) interfaces may share the same VRF if the connected sites share the same routing information VPN Routing & Forwarding Instance (VRF) ©2013, Cisco Systems. Inc. All rights reserved.
VRF Route Population locally PE CE C E Site-2 Site-1
EBGP,OSPF, RIPv2,Static ©2013, Cisco Systems. Inc. All rights reserved.
VRF Route Distribution local imports PE PE CE Router CE
Router P Router VPN Site VPN Site MP-BGP MPLS/VPN Backbone ©2013, Cisco Systems. Inc. All rights reserved.
Concept of RD ©2013, Cisco Systems. Inc. All rights reserved.
Concept of RD PE1 CE VPN-A VPN-B VPN-B CE MP-BGP
PE2 BGP Table Routes from VPN-A Routes from VPN-B Munich MPLS/VPN Backbone CE router sends 32 bit IPv4 prefix PE router converts it into a 96 bit VPNv4 prefix ©2013, Cisco Systems. Inc. All rights reserved.
Processing of RD ©2013, Cisco Systems. Inc. All rights reserved.
Concept of RT ©2013, Cisco Systems. Inc. All rights reserved.
Concept of RT ©2013, Cisco Systems. Inc. All rights reserved.
MP-BGP Update ©2013, Cisco Systems. Inc. All rights reserved.
MP-BGP Update ©2013, Cisco Systems. Inc. All rights reserved.
MP-BGP Update ©2013, Cisco Systems. Inc. All rights reserved.
Routing Between PE-CE ©2013, Cisco Systems. Inc. All rights reserved.
MPLS/VPN Packet Forwarding • Label Stack is used for packet
forwarding Top label indicates BGP Next-Hop (interior label) Second level label indicates outgoing interface or VRF (exterior VPN label) • MPLS nodes forward packets based on top label any subsequent labels are ignored • Penultimate Hop Popping procedures used one hop prior to egress PE router ©2013, Cisco Systems. Inc. All rights reserved.
Transit Autonomous System Traditional BGP Transit Autonomous System Design Requirements
• All core routers Core1 Border1 Border2 Core2 ISP1 ISP2 EBGP EBGP IBGP IBGP IBGP RR RR ©2013, Cisco Systems. Inc. All rights reserved.
Transit Autonomous System Simplified BGP network design in MPLS-based networks
• Only border routers Core1 Border1 Border2 Core2 ISP1 ISP2 EBGP EBGP IBGP ©2013, Cisco Systems. Inc. All rights reserved.
Benefits of MPLS-based Transit AS ©2013, Cisco Systems. Inc. All
rights reserved.
Virtual Private Networks OSPF, EBGP, RIPv2 or static BGP. ©2013,
Cisco Systems. Inc. All rights reserved.
MPLS Configuration ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration VRF configuration Ip vrf GREEN rd 109:145 route-target
export 109:145 route-target import 109:145 interface serial 1/0/1 ip forwarding vrf GREEN ip address 10.1.1.5 255.255.255.252 ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration router bgp 110 neighbor 131.108.1.1 remote-as 110 neighbor
131.108.1.1 update-source loopback 0 ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration address-family vpnv4 neighbor 131.108.1.1 activate neighbor 131.108.1.1 next-hop-self
©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration router bgp 110 ! address-family ipv4 vrf Green
neighbor 10.1.1.1 remote-as 115 neighbor 10.1.1.1 activate ©2013, Cisco Systems. Inc. All rights reserved.
MPLS Configuration ip route vrfYELLOW 10.1.0.0 255.255.0.0 10.1.1.5 serial 2/0
©2013, Cisco Systems. Inc. All rights reserved.
Layer 2 VPN ©2013, Cisco Systems. Inc. All rights reserved.
Layer 2 Services Layer 2 MPLS VPN • Virtual Private
Wire Service (VPWS) – Point-To-Point – Martini – Kompella • Virtual Private LAN Service (VPLS) - Multipoint – Kompella – Lasserre & Vkompella ©2013, Cisco Systems. Inc. All rights reserved.
Martini draft was named after a former Cisco employee Luca
Martini. Martini draft uses LDP as signaling to setup L2VPN over MPLS backbone. Kompella draft on the other hand uses BGP for both signaling and auto-discovery to establish fully-meshed pseudo wires (multipoint). Kompella-draft is named after author Keerti Kompella (Juniper Employee). Martini Vs. Kompella ©2013, Cisco Systems. Inc. All rights reserved.
Martini draft was named after a former Cisco employee Luca
Martini. Martini draft uses LDP as signaling to setup L2VPN over MPLS backbone. Martini Vs. Kompella ©2013, Cisco Systems. Inc. All rights reserved.
Kompella draft on the other hand uses BGP for both
signaling and auto-discovery to establish fully-meshed pseudo wires (multipoint). Kompella-draft is named after author Keerti Kompella (Juniper Employee). Martini Vs. Kompella ©2013, Cisco Systems. Inc. All rights reserved.
VPLS ©2013, Cisco Systems. Inc. All rights reserved.