Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MPLS Introduction
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Almog Ohayon
May 19, 2013
Technology
350
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
240
Cloud Computing
almog009
1
120
Welcome to CCNA
almog009
1
76
InfoNinja
almog009
2
75
Ethical Hacking 2013
almog009
2
1.1k
Other Decks in Technology
See All in Technology
現地で盛り上がった WWDC26 Keynote
zozotech
PRO
1
270
IaC コードを資産へ:AWS CDK 社内ライブラリと横断展開 / aws-summit-japan-2026
gotok365
10
1.5k
アジャイルな経理と Claude Code と経営の未来
kawaguti
PRO
3
180
徹底討論!ECS vs EKS!
daitak
3
1.3k
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
10
2.3k
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
3
730
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
450
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
2k
事業会社における 機械学習・推薦システム技術の活用事例と必要な能力 / ml-recsys-in-layerx-wantedly-2026
yuya4
0
110
自宅LLMの話
jacopen
1
700
千葉での単身赴任からAWSをやり続け、千葉に戻ってきた話
yama3133
1
100
「軸足」は 固定しなくていい - 熱量と強みで描く、しなやかなキャリアの形
kakehashi
PRO
1
200
Featured
See All Featured
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
The Spectacular Lies of Maps
axbom
PRO
1
820
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
170
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
170
A Tale of Four Properties
chriscoyier
163
24k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
GitHub's CSS Performance
jonrohan
1033
470k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
480
Context Engineering - Making Every Token Count
addyosmani
9
980
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
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.