SMUCSE 8344 Lecture 9 Mark E. Allen SMU 8344. SMUCSE 8344 Agenda Summarize MPLS –Discussion from Cisco Presentation Discuss QoS in MPLS –Chapter 6 in.

Slides:



Advertisements
Similar presentations
Virtual Links: VLANs and Tunneling
Advertisements

MPLS VPN.
Identifying MPLS Applications
IETF Differentiated Services Concerns with Intserv: r Scalability: signaling, maintaining per-flow router state difficult with large number of flows r.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—2-1 Label Assignment and Distribution Introducing Typical Label Distribution in Frame-Mode MPLS.
MPLS-VPN/BGP Approach Hari Rakotoranto Technical Marketing Engineer
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
Introducing MPLS Labels and Label Stacks
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
CS Summer 2003 Lecture 14. CS Summer 2003 MPLS VPN Architecture MPLS VPN is a collection of sites interconnected over MPLS core network. MPLS.
CS Summer 2003 Lecture 6. CS Summer 2003 Hierarchical LSP LSP1 LSP2 LSP3 Ingress LSR for LSP1 Egress LSR for LSP1 Ingress LSR for LSP3 Hierarchical.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
CS Summer 2003 Lecture 7. CS Summer 2003 MPLS Forwarding MPLS forwarding can be described in terms of: Label imposition Label disposition.
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
MPLS and Traffic Engineering
Performance Measurements of MPLS Traffic Engineering and QoS By Tamrat Bayle Reiji Aibara Kouji Nishimura.
CS Summer 2003 Lecture 8. CS Summer 2003 Populating LFIB with LDP Assigned/Learned Labels Changes in the LFIB may be triggered routing or.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 4: Frame Mode MPLS Implementation.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 4: Frame Mode MPLS Implementation.
Multi-Protocol Label Switching
1 Network Architecture and Design Internet QoS Differentiated Services (DiffServ) Multiprotocol Label Switching (MPLS) Reference Zheng Wang, Internet QoS,
MPLS L3 and L2 VPNs Virtual Private Network –Connect sites of a customer over a public infrastructure Requires: –Isolation of traffic Terminology –PE,
1 Network Architecture and Design Internet QoS Differentiated Services (DiffServ) Multiprotocol Label Switching (MPLS) Reference Zheng Wang, Internet QoS,
COS 420 Day 16. Agenda Assignment 3 Corrected Poor results 1 C and 2 Ds Spring Break?? Assignment 4 Posted Chap Due April 6 Individual Project Presentations.
A Study of MPLS Department of Computing Science & Engineering DE MONTFORT UNIVERSITY, LEICESTER, U.K. By PARMINDER SINGH KANG
1 MPLS Architecture. 2 MPLS Network Model MPLS LSR = Label Switched Router LER = Label Edge Router LER LSR LER LSR IP MPLS IP Internet LSR.
SMUCSE 8344 MPLS Virtual Private Networks (VPNs).
MPLS Evan Roggenkamp. Introduction Multiprotocol Label Switching High-performance Found in telecommunications networks Directs data from one network node.
1 Multi-Protocol Label Switching (MPLS) presented by: chitralekha tamrakar (B.S.E.) divya krit tamrakar (B.S.E.) Rashmi shrivastava(B.S.E.) prakriti.
QoS in MPLS SMU CSE 8344.
1 Multi Protocol Label Switching Presented by: Petros Ioannou Dept. of Electrical and Computer Engineering, UCY.
Integrated Services Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December 2010 December 2010.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
Introduction to MPLS and Traffic Engineering Zartash Afzal Uzmi.
1 Multiprotocol Label Switching. 2 “ ” It was designed to provide a unified data-carrying service for both circuit-based clients and packet-switching.
1 Integrated and Differentiated Services Multimedia Systems(Module 5 Lesson 4) Summary: r Intserv Architecture RSVP signaling protocol r Diffserv Architecture.
1 Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
IP/MPLS Multiprotocol Label Switching
1 © 2001, Cisco Systems. MPLS Architecture Overview Jay Kumarasamy Adopted from Stefano Previdi’s presentation.
MultiProtocol Label Switching (MPLS) July 29, 2000TECON 2000 Pramoda Nallur Alcatel Internetworking Division.
MPLS Architecture Overview Adopted from Stefano Previdi’s presentation 麟瑞科技 技術經理 張晃崚.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS Introduction Module 4: Frame Mode MPLS Implementation.
MPLS Architecture Overview V1.1. Course Objectives MPLS overview MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths Loops.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
MPLS Forwarder Preliminary 1 Outline MPLS Overview MPLS Overview MPLS MRD MPLS Data Path HLD 48K MPLS Fwder HLD IPE MPLS Fwder HLD Issues Summary.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
1MPLS QOS 10/00 © 2000, Cisco Systems, Inc. rfc2547bis VPN Alvaro Retana Alvaro Retana
MPLS Some notations: LSP: Label Switched Path
Module 2 MPLS Concepts.
Multiple Protocol Support: Multiprotocol Level Switching.
1 © 2001, Cisco Systems, Inc. MPLS Architecture & Operation Peter Tomsu Senior Consultant EMEA Peter Tomsu Senior Consultant EMEA
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Label Distribution Protocols LDP: hop-by-hop routing RSVP-TE: explicit routing CR-LDP: another explicit routing protocol, no longer under development.
Multi-protocol Label Switching
Multiprotocol Label Switching (MPLS) Routing algorithms provide support for performance goals – Distributed and dynamic React to congestion Load balance.
Multi-protocol Label Switching (MPLS) RFC 3031 MPLS provides new capabilities: QoS support Traffic engineering VPN Multiprotocol support.
MPLS Introduction Computer Networks 2007 Week 9 Lecture 1 by Donald Neal.
MPLS Virtual Private Networks (VPNs)
Multi Protocol Label Switching (MPLS)
Advanced Computer Networks
Advanced Computer Networks
Multi Protocol Label Switching (MPLS)
MPLS Basics 2 2.
1 Multi-Protocol Label Switching (MPLS). 2 MPLS Overview A forwarding scheme designed to speed up IP packet forwarding (RFC 3031) Idea: use a fixed length.
CIS679: Two Planes and Int-Serv Model
Presentation transcript:

SMUCSE 8344 Lecture 9 Mark E. Allen SMU 8344

SMUCSE 8344 Agenda Summarize MPLS –Discussion from Cisco Presentation Discuss QoS in MPLS –Chapter 6 in MPLS Book Traffic Engineering in MPLS –Chapter 7 MPLS Book Virtual Private Networks –Chapter 8 MPLS Book Introduction to Optical Networking

SMUCSE 8344 MPLS Architecture Overview Adapted from Stefano Previdi’s and Jay Kumarasamy presentation

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Day in the Life of a Packet

SMUCSE 8344 MPLS Concepts MPLS: Multi Protocol Label Switching MPLS is a layer 2+ switching Developed to integrate IP and ATM MPLS forwarding is done in the same way as in ATM switches Packet forwarding is done based on Labels

SMUCSE 8344 MPLS Concepts Unlike IP, classification/label can be based on: Destination Unicast address Traffic Engineering VPN QoS FEC: Forwarding Equivalence Class A FEC can represent a: Destination address prefix, VPN, Traffic Engineering tunnel, Class of Service.

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Summary

SMUCSE 8344 LSRs and Labels LSR: Label Switch Router Edge-LSR: LSRs that do label imposition and disposition ATM-LSR: An ATM switch with Label Switch Controller

SMUCSE 8344 LSRs and Labels IGP domain with a label distribution protocol An IP routing protocol is used within the routing domain (e.g.:OSPF, i-ISIS) A label distribution protocol is used to distribute address/label mappings between adjacent neighbors The ingress LSR receives IP packets, performs packet classification, assign a label, and forward the labelled packet into the MPLS network Core LSRs switch packets/cells based on the label value The egress LSR removes the label before forwarding the IP packet outside the MPLS network

SMUCSE 8344 LSRs and Labels Uses new Ethertypes/PPP PIDs/SNAP values/etc More than one Label is allowed -> Label Stack MPLS LSRs always forward packets based on the value of the label at the top of the stack Label = 20 bits Exp = Experimental, 3 bits S = Bottom of stack, 1bit TTL = Time to live, 8 bits Label | Exp|S| TTL

SMUCSE 8344 LSRs and Labels PPP Header Layer 3 Header Shim Header PPP Header(Packet over SONET/SDH) Ethernet Hdr Layer 3 Header Shim Header Ethernet FR Hdr Layer 3 Header Shim Header Frame Relay ATM Cell Header HEC DATA CLP PTI VCI GFC VPI Label HEC DATA CLP PTI VCI GFC VPI Label Subsequent cells

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Day in the Life of a Packet

SMUCSE 8344 Label Assignment and Distribution Labels have link-local significance Each LSR binds his own label mappings Each LSR assign labels to his FECs Labels are assigned and exchanged between adjacent neighboring LSR Applications may require non-adjacent neighbors

SMUCSE 8344 Label Assignment and Distribution Rtr-C is the downstream neighbor of Rtr-B for destination /24 Rtr-B is the downstream neighbor of Rtr-A for destination /24 LSRs know their downstream neighbors through the IP routing protocol – Next-hop address is the downstream neighbor /24 Rtr-BRtr-ARtr-C /24 Upstream and Downstream LSRs

SMUCSE 8344 Label Assignment and Distribution LSRs distribute labels to the upstream neighbors /24 Rtr-B Rtr-A Rtr-C /24 Next-Hop InLab -... AddressPrefix OutI/F 1... OutLab InI/F 0... Next-Hop InLab AddressPrefix OutI/F 1... OutLab InI/F 0... Next-Hop InLab AddressPrefix OutI/F 1... OutLab -... InI/F 0... Use label 40 for destination /24 Use label 30 for destination /24 IGP derived routes Unsolicited Downstream Distribution

SMUCSE 8344 Label Assignment and Distribution Upstream LSRs request labels to downstream neighbors Downstream LSRs distribute labels upon request /24 Rtr-B Rtr-A Rtr-C /24 Use label 30 for destination /24 Use label 40 for destination /24 Request label for destination /24 On-Demand Downstream Distribution

SMUCSE 8344 Label Assignment and Distribution Liberal retention mode LSR retains labels from all neighbors Improve convergence time, when next-hop is again available after IP convergence Require more memory and label space Conservative retention mode LSR retains labels only from next-hops neighbors LSR discards all labels for FECs without next-hop Free memory and label space Label Retention Modes

SMUCSE 8344 Label Assignment and Distribution Label Distribution Modes Independent LSP control LSR binds a Label to a FEC independently, whether or not the LSR has received a Label the next-hop for the FEC The LSR then advertises the Label to its neighbor Ordered LSP control LSR only binds and advertise a label for a particular FEC if: it is the egress LSR for that FEC or it has already received a label binding from its next-hop

SMUCSE 8344 Label Assignment and Distribution Several protocols for label exchange LDP Maps unicast IP destinations into labels RSVP, CR-LDP Used in traffic engineering BGP External labels (VPN) PIM For multicast states label mapping

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Day in the Life of a Packet

SMUCSE 8344 Label Switch Path (LSP) LSPs are derived from IGP routing information LSPs may diverge from IGP shortest path LSP tunnels (explicit routing) with TE LSPs are unidirectional Return traffic takes another LSP LSP follows IGP shortest pathLSP diverges from IGP shortest path IGP domain with a label distribution protocol

SMUCSE 8344 Label Switch Path (LSP) Penultimate Hop Popping The label at the top of the stack is removed (popped) by the upstream neighbor of the egress LSR The egress LSR requests the “popping” through the label distribution protocol Egress LSR advertises implicit-null label The egress LSR will not have to do a lookup and remove itself the label One lookup is saved in the egress LSR

SMUCSE 8344 Label Switch Path (LSP) Penultimate Hop Popping 0 1 Summary route for / /24 Next-Hop InLabAddressPrefixOutI/FOutLabInI/F /162pop Next-Hop InLabAddressPrefixOutI/FOutLabInI/F / Egress LSR summarises more specific routes and advertises a label for the new FEC Summary route is propagate through the IGP and label is assigned by each LSR Use label “implicit-null” for FEC /16 Summary route for /16 Use label 4 for FEC / /24 Address Prefix and mask /24 Next-Hop InterfaceSerial / Serial /16...Null Egress LSR needs to do an IP lookup for finding more specific route Egress LSR need NOT receive a labelled packet

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Summary

SMUCSE 8344 ATM LSRs ATM switches forward cells, not packets Label Dist is Downstream on-demand, Ordered IGP label is carried in the VPI/VCI field Merging LSR: Ability to use the same label for different FECs if outgoing interface is the same Save label space on ATM-LSRs Cell interleave problem Non Merging LSR: ATM-LSR requests one label per FEC and per incoming interface (upstream neighbors) Downstream LSR may request itself new label to its downstream neighbors

SMUCSE 8344 ATM LSRs Non-Merging Downstream on Demand InLab AddressPrefix OutI/F OutLab InI/F IP Packet ATM cell ATM-LSR requested additional label for same FEC in order to distinguish between incoming interfaces (Downstream on Demand)

SMUCSE 8344 ATM LSRs VC-Merging Downstream on Demand InLab AddressPrefix OutI/F OutLab InI/F IP Packet ATM cell ATM-LSR transmitted cells in sequence in order for the downstream LSR to re-assembling correctly the cells into packets

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Summary

SMUCSE 8344 Loops and TTL In IP networks TTL is used to prevent packets to travel indefinitely in the network MPLS may use same mechanism as IP, but not on all encapsulations TTL is present in the label header for PPP and LAN headers (shim headers) ATM cell header does not have TTL

SMUCSE 8344 Loops and TTL LSRs using ATM do not have TTL capability Some suggested options: - hop-count object in LDP - Path Vector object in LDP

SMUCSE 8344 Loops and TTL TTL is decremented prior to enter the non-TTL capable LSP If TTL is 0 the packet is discarded at the ingress point TTL is examined at the LSP exit IGP domain with a label distribution protocol LSR-1 LSR-2 LSR-4 LSR-5 LSR- 3 LSR-6 Egress IP packet TTL = 6 Label = 25 IP packet TTL = 6 IP packet TTL = 10 LSR-6 --> 25 Hops=4 IP packet TTL = 6 Label = 39 IP packet TTL = 6 Label = 21

SMUCSE 8344 Agenda MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Day in the Life of a Packet

SMUCSE 8344 LDP Concepts Label Distribution Protocol Labels map to FECs for Unicast Destination Prefix LDP works between adjacent/non-adjacent peers LDP sessions are established between peers

SMUCSE 8344 LDP Messages Discovery messages Used to discover and maintain the presence of new peers Hello packets (UDP) sent to all-routers multicast address Once neighbor is discovered, the LDP session is established over TCP

SMUCSE 8344 LDP Messages Session messages Establish, maintain and terminate LDP sessions Advertisement messages Create, modify, delete label mappings Notification messages Error signalling

SMUCSE 8344 MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths ATM LSRs Loops and TTL LDP overview Day in the Life of a Packet Agenda

SMUCSE 8344 Day in the life of a Packet 0 Summary route for / /24 Next-Hop InLabAddressPrefixOutI/FOutLabInI/F /162pop Next-Hop InLabAddressPrefixOutI/FOutLabInI/F / Egress LSR summarises more specific routes and advertises a label for the new FEC Summary route is propagate through the IGP and label is assigned by each LSR Use label “implicit-null” for FEC /16 Summary route for /16 Use label 4 for FEC /16 Egress LSR needs to do an IP lookup for finding more specific route /24 Address Prefix and mask /24 Next-Hop InterfaceSerial / Serial /16...Null Use label 7 for FEC /16 Next-Hop InLabAddressPrefixOutI/FOutLabInI/F / CE PE PP

SMUCSE 8344 Day in the life of a Packet Basic Layout

SMUCSE 8344 Day in the life of a Packet Database Layout

SMUCSE 8344 DISCUSSION OF QoS and Constraint Based Routing

SMUCSE 8344 Key Questions How does MPLS Support QoS? What is the difference between Integrated Services (INT-SERV) Differentiated Services (DIFF- SERV)? –Integrated services T-Spec and R-Spec Much of this is similar to ATM

SMUCSE 8344 Integrated Services An attempt to bring the ATM capabilities to IP –T-Spec: Max burst size, token rate, committed rate, etc. –R-Spec: Effective bandwidth or amount of resource required within the network. This is very different than “best-effort” and requires sophisticated queuing mechanisms Many in the industry saw this as a “reinvention” of ATM

SMUCSE 8344 Integrated Services architecture for providing QOS guarantees in IP networks for individual application sessions resource reservation: routers maintain state info of allocated resources admit/deny new call setup requests: Question: can newly arriving flow be admitted with performance guarantees while not violated QoS guarantees made to already admitted flows?

SMUCSE 8344 Intserv: QoS guarantee scenario Resource reservation –call setup, signaling (RSVP) –traffic, QoS declaration –per-element admission control –QoS-sensitive scheduling (e.g., WFQ) request/ reply

SMUCSE 8344 Call Admission Arriving session must : declare its QOS requirement –R-spec: defines the QOS being requested characterize traffic it will send into network –T-spec: defines traffic characteristics signaling protocol: needed to carry R-spec and T- spec to routers (where reservation is required) –RSVP

SMUCSE 8344 Intserv QoS: Service models [rfc2211, rfc2212] Guaranteed service: worst case traffic arrival: leaky-bucket- policed source Controlled load service: "a quality of service closely approximating the QoS that same flow would receive from an unloaded network element." WFQ token rate, r bucket size, b per-flow rate, R D = b/R max arriving traffic

SMUCSE 8344 IETF Differentiated Services Concerns with Intserv: Scalability: signaling, maintaining per-flow router state difficult with large number of flows Flexible Service Models: Intserv has only two classes. Also want “qualitative” service classes –“behaves like a wire” –relative service distinction: Platinum, Gold, Silver Diffserv approach: simple functions in network core, relatively complex functions at edge routers (or hosts) Don’t define service classes, provide functional components to build service classes

SMUCSE 8344 Diffserv Architecture Edge router: - per-flow traffic management - marks packets as in-profile and out-profile Core router: - per class traffic management - buffering and scheduling based on marking at edge - preference given to in-profile packets - Assured Forwarding scheduling... r b marking

SMUCSE 8344 Edge-router Packet Marking class-based marking: packets of different classes marked differently intra-class marking: conforming portion of flow marked differently than non-conforming one profile: pre-negotiated rate A, bucket size B packet marking at edge based on per-flow profile Possible usage of marking: User packets Rate A B

SMUCSE 8344 Classification and Conditioning Packet is marked in the Type of Service (TOS) in IPv4, and Traffic Class in IPv6 6 bits used for Differentiated Service Code Point (DSCP) and determine PHB that the packet will receive 2 bits are currently unused

SMUCSE 8344 Classification and Conditioning may be desirable to limit traffic injection rate of some class: user declares traffic profile (egs., rate, burst size) traffic metered, shaped if non-conforming

SMUCSE 8344 Forwarding (PHB) Per Hop Behavior (PHB) PHB result in a different observable (measurable) forwarding performance behavior PHB does not specify what mechanisms to use to ensure required PHB performance behavior Examples: –Class A gets x% of outgoing link bandwidth over time intervals of a specified length –Class A packets leave first before packets from class B

SMUCSE 8344 Forwarding (PHB) PHBs being developed: Expedited Forwarding: pkt departure rate of a class equals or exceeds specified rate –logical link with a minimum guaranteed rate Assured Forwarding: 4 classes of traffic –each guaranteed minimum amount of bandwidth –each with three drop preference partitions

SMUCSE 8344 Summary REFER TO MPLS 8 LECTURE FOR More Detail on these QoS and CBR (Constraint Based Routing)

SMUCSE 8344 Virtual Private Networks (VPNs)

SMUCSE 8344 When VPN? Internet as your own private network –Communicate securely between various corporate sites (Intranet) –Communicate securely between partner sites (Extranet) –Connect remote dial-up users securely to corporate networks

SMUCSE 8344 Advantages Flexible and cost effective Better business-to-business connectivity –business partners, service providers, contractors, and customers Advances in security

SMUCSE 8344 Layer2 vs. Layer3 VPNs Layer 3 VPNs Layer 2 VPNs Provider devices forward customer packets based on Layer 3 information (e.g., IP) MPLS/BGP VPNs (RFC 2547), GRE, virtual router approaches SP involvement in routing Provider devices forward customer packets based on Layer 2 information “pseudo-wire” concept Tunnels, circuits, LSPs, MAC address

SMUCSE 8344 Layer2 Example IP or MPLS Core IP Core R2R1 L2TPv3 Tunnel Ethernet IPL2TPEthernet Server B Workstation A Step #2 R1 takes Ethernet frame and encapsulates it in L2TP and routes it to tunnel destination Step #3 R2 receives IP/L2TP/Ethernet Packet and removes the IP/L2TPv3 headers. The remaining Ethernet frame is forwarded to Server B. Step #1 Workstation A sends packet destined for Server B

SMUCSE 8344 Overlay Model Each site has a router connected via P-T-P links to routers on other sites –Leased lines –Frame relay –ATM circuit Connectivity –Fully connected –Hub-and-spoke

SMUCSE 8344 Limitations of Overlay Customers need to manage the back- bones Mapping between Layer2 Qos and IP QoS Scaling problems –Cannot support large number of customers –(n-1) peering requirement

SMUCSE 8344 The Peer Model Aims to support large-scale VPN service Key technologies –Constrained distribution of routing info. –Multiple forwarding tables –VPN-IP addresses –MPLS switching

SMUCSE 8344 Terminology CE router Customer Edge router PE router –Provider Edge router. Part of the P- Network and interfaces to CE routers P router –Provider (core) router, without knowledge of VPN

SMUCSE 8344 Terminology (cont’d) Route Distinguisher Attributes of each route used to uniquely identify prefixes among VPNs (64 bits) VPN-IPv4 addresses Address including the 64 bits Route Distinguisher and the 32 bits IP address VRF –VPN Routing and Forwarding Instance –Routing table and FIB table

SMUCSE 8344 Connection Model The VPN backbone is composed by MPLS LSRs PE routers (edge LSRs) P routers (core LSRs) PE routers are faced to CE routers and distribute VPN information through BGP to other PE routers P routers do not run BGP and do not have any VPN knowledge

SMUCSE 8344 Model (cont’d) P and PE routers share a common IGP PE and CE routers exchange routing information through: EBGP, OSPF, RIP, Static routing CE router run standard routing software

SMUCSE 8344 Routing The routes the PE receives from CE routers are installed in the appropriate VRF The routes the PE receives through the backbone IGP are installed in the global routing table By using separate VRFs, addresses need NOT to be unique among VPNs

SMUCSE 8344 Forwarding PE and P routers have BGP next-hop reachability through the backbone IGP Labels are distributed through LDP (hop- by-hop) corresponding to BGP Next-Hops Label Stack is used for packet forwarding Top label indicates Next-Hop (interior label) Second level label indicates outgoing interface or VRF (exterior label)

SMUCSE 8344 Forwarding (cont’d) The upstream LDP peer of the BGP next- hop (PE router) will pop the first level label The egress PE router will forward the packet based on the second level label which gives the outgoing interface (and VPN)

SMUCSE 8344 Forwarding Example PE2 PE1 CE1 CE2 P1 P2 IGP Label(PE2) VPN Label IP packet PE1 receives IP packet Lookup is done on site VRF BGP route with Next-Hop and Label is found BGP next-hop (PE2) is reachable through IGP route with associated label IGP Label(PE2) VPN Label IP packet P routers switch the packets based on the IGP label (label on top of the stack) VPN Label IP packet Penultimate Hop Popping P2 is the penultimate hop for the BGP next- hop P2 remove the top label This has been requested through LDP by PE2 IP packet PE2 receives the packets with the label corresponding to the outgoing interface (VRF) One single lookup Label is popped and packet sent to IP neighbour IP packet CE3

SMUCSE 8344 Scalability Existing BGP techniques can be used to scale the route distribution Each edge router needs only the information for the VPNs it supports Directly connected VPNs Easy to add new sites –configure the site on the PE connected to it, the network automatically does the rest

SMUCSE 8344 QoS Support Pipe model –Similar to int-serv Hose Model –Similar to diff-serv