Download presentation
Presentation is loading. Please wait.
Published byHolly Gibbs Modified over 8 years ago
1
MPLS Introduction Computer Networks 2007 Week 9 Lecture 1 by Donald Neal
2
RFC4364 VPN's (Previously RFC2547bis VPN's)
3
RFC4364 - BGP/MPLS IP Virtual Private Networks (VPNs) Talks only about “Frame-Mode” MPLS No discussion of integration with ATM Layer three service Layer two VPLS (“Kompella”) if there's time Layer two virtual circuits (“Martini”) not discussed
4
RFC4364 VPN's Bits to be Put Together MPLS – Multi Protocol Label Switching LDP – Label Distribution Protocol RSVP – Resource Reservation Protocol MBGP – Multiprotocol BGP Assumed IGP – OSPF or IS-IS IP
5
Forwarding an IP Packet IP PacketLayer 2 HeaderIP PacketLayer 2 Header Forwarding Information Base (FIB), usually called Forwarding Table Maps reachable network prefix to interface identifier and next hop.
6
IP PacketLayer 2 HeaderMPLS Label S bit
7
Labelled IP Packet IP PacketLayer 2 HeaderMPLS Label S bit EXP (3 bits) Label (20 bits) TTL (8 bits) 20-bit label identifier 3-bit “Experimental” field available for QoS “S” Bottom of Stack bit – set if this is the last label in the stack TTL – analogous to IP TTL
8
Label Stacking IP PacketLayer 2 HeaderMPLS Label S bit EXP (3 bits) Label (20 bits) TTL (8 bits) 20-bit label identifier 3-bit “Experimental” field available for QoS “S” Bottom of Stack bit – set if this is the last label in the stack TTL – analogous to IP TTL MPLS Label
9
Forwarding a Labelled Packet Label Information Base (LIB), aka Label Forwarding Table Maps incoming (top) label identifier to Action: Push, Pop, Swap IP Packet Layer 2 HeaderMPLS Label
10
The Way of the Labelled Packet(1) IP Packet Arrives at Edge of MPLS Network LER does IP lookup. IP Packet
11
The Way of the Labelled Packet(2) IP Packet 100 003 Edge LSR pushes (prepends) label to packet Labelled packet forwarded
12
The Way of the Labelled Packet(3) IP Packet 100 026 Core router looks up label forwarding table (not IP routing table) and swaps labels Labelled packet forwarded
13
The Way of the Labelled Packet(4) IP Packet Edge LSR looks up label forwarding table (not IP routing table) and pops label Edge LSR looks up IP forwarding table and fowards IP packet.
14
The Way of the Labelled Packet(4) Label Switched Path Ingress Router Egress Router Upstrea m Downstrea m
15
The Customer and the Provider PE CECE CECE P
16
The Customer and the Provider PE CECE CECE P Customer Routes Customer Routes as seen by the Provider
17
Why are we Doing This? VPN's on a really big scale Private address space Traffic Engineering
18
The Way of the MPLS VPN Packet(1) HAM- PE1 CECE TAU-PE1 CECE AKL- P1 ROT-P1 HAM- P1 TAU-P1 IP Packet forwarded from customer router to PE router HAM- PE1 HAM-PE1 pushes (prepends) two labels to packet Labelled packet forwarded IP Packet 10153 9 To TAU-PE1 To Customer on TAU-PE1 10030 1
19
The Way of the MPLS VPN Packet(2) HAM- PE1 CECE TAU-PE1 CECE AKL- P1 ROT-P1 HAM- P1 TAU-P1 IP Packet 10153 9 10640 1
20
The Way of the MPLS VPN Packet(3) HAM- PE1 CECE TAU-PE1 CECE AKL- P1 ROT-P1 HAM- P1 TAU-P1 IP Packet 10153 9 10640 1 TAU-PE1 pops the top label. TAU-PE1 reads the other label, removes it and forwards an IP packet. OR Penultimate Hop Popping TAU-P1 pops top label
21
Why are we Doing This? VPN's on a really big scale Private address space Only on CE-PE links – specific to customers - do we use IP addresses Each PE holds routing tables only for customers connected to that PE (including knowing labels used for that customer by other PE's) P nodes may not hold customer routes Traffic Engineering
22
Not Fiddling With Things PE CECE CECE P Customer Routes Customer Routes as seen by the Provider
23
To Make This Happen We Need IP routing for internal use PE's holding large numbers of distinct routing tables A way of passing label information around A way of passing customer routes tied to labels
24
IP Routing for Internal Use HAM- PE1 CECE TAU-PE1 CECE AKL- P1 ROT-P1 HAM- P1 TAU-P1 lo 0 IGP – OSPF or IS-IS
25
To Make This Happen We Need IP routing for internal use PE's holding large numbers of distinct routing tables – VPN Routing and Forwarding Instances A way of passing label information around A way of passing customer routes tied to labels
26
VRF's One VRF per address space (e.g. per customer) Interfaces to customer routers assigned to a VRF Each PE needs peer with each other PE only once for all VRF's Scales in just the way that Logical Routers don't
27
To Make This Happen We Need IP routing for internal use PE's holding large numbers of distinct routing tables – VPN Routing and Forwarding Instances A way of passing label information around LDP – Label Distribution Protocol RSVP – Resource Reservation Protocol Or both A way of passing customer routes tied to labels MBGP – Multiprotocol BGP
28
Further Reading RFC4364 - BGP/MPLS IP Virtual Private Networks (VPNs) RFC3031 – Multiprotocol Label Switching Architecture
29
Reading for Next Lecture RFC3036 - LDP Specification to end of 2.7 (p.23) RFC3630 - Traffic Engineering (TE) Extensions to OSPF Version 2
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.