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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
250
Cloud Computing
almog009
1
120
Welcome to CCNA
almog009
1
80
InfoNinja
almog009
2
77
Ethical Hacking 2013
almog009
2
1.1k
Other Decks in Technology
See All in Technology
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
810
MCPを待つな、パスキーを拡げよう(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
260
internal/testlog で遊ぼう
rokuosan
0
220
dbt と Snowflake と tag
kevinrobot34
1
250
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
180
アクセスキー流出時の対応で再認識した攻撃側と防御側の非対称性について
kazzpapa3
0
270
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
270
Digitization部 紹介資料
sansan33
PRO
2
7.7k
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
500
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.3k
AI開発に用いられるHPC技術について
gpuunite_official
0
280
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Scaling GitHub
holman
464
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
57k
Are puppies a ranking factor?
jonoalderson
2
3.8k
Speed Design
sergeychernyshev
33
2k
Designing for Performance
lara
611
70k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
810
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.