MPLS VPN.

Slides:



Advertisements
Similar presentations
Virtual Links: VLANs and Tunneling
Advertisements

APNOMS03 1 A Resilient Path Management for BGP/MPLS VPN Jong T. Park School of Electrical Eng. And Computer Science Kyungpook National University
Use of BGP and MPLS VPNs: A Case Study
Traffic Engineering over MPLS
Identifying MPLS Applications
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 9: Static Routes & Routing Table Groups.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing the MPLS VPN Routing Model.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Technology Introducing MPLS VPN Architecture.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
Deployment of MPLS VPN in Large ISP Networks
Routing Basics.
Juniper Networks, Inc. Copyright © L2 MPLS VPNs Hector Avalos Technical Director-Southern Europe
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 Module Summary The VRF table is a virtual routing and forwarding instance separating sites.
© 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
Introducing MPLS Labels and Label Stacks
CS Summer 2003 Lecture 14. CS Summer 2003 MPLS VPN Architecture MPLS VPN is a collection of sites interconnected over MPLS core network. MPLS.
MPLS H/W update Brief description of the lab What it is? Why do we need it? Mechanisms and Protocols.
MPLS and Traffic Engineering
© 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.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
MPLS L3 and L2 VPNs Virtual Private Network –Connect sites of a customer over a public infrastructure Requires: –Isolation of traffic Terminology –PE,
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
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5#-1 MPLS VPN Implementation Configuring OSPF as the Routing Protocol Between PE and CE Routers.
Border Gateway Protocol (BGP4) Rizwan Rehman, CCS, DU.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
SMUCSE 8344 MPLS Virtual Private Networks (VPNs).
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—4-1 MPLS VPN Technology Forwarding MPLS VPN Packets.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
V1.1 VPLS Principle. Objectives Understand the basics of mpls layer 2 VPN Understand VPLS principle.
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.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—1-1 MPLS Concepts Introducing Basic MPLS Concepts.
1 Multi Protocol Label Switching Presented by: Petros Ioannou Dept. of Electrical and Computer Engineering, UCY.
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.
MPLS MultiProtocol Label Switching.
Lucy Yong Susan Hares September 20, 2012 Boston
Lab MPLS Basic Configuration Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Brief Introduction to Juniper and its TE features Huang Jie [CSD-Team19]
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
Inter AS option D (draft-mapathak-interas-option-d-00) Manu Pathak Keyur Patel Arjun Sreekantiah November 2012.
1MPLS QOS 10/00 © 2000, Cisco Systems, Inc. rfc2547bis VPN Alvaro Retana Alvaro Retana
MPLS VPNs by Richard Bannister. The Topology The next two slides display both the physical and logical topology of our simple example network –Please.
MPLS Concepts Introducing Basic MPLS Concepts. Outline Overview What Are the Foundations of Traditional IP Routing? Basic MPLS Features Benefits of MPLS.
MPLS VPN Presented by : Md. Shafiqur Rahman Divisional Engineer (A & C) Moghbazar, Dhaka-1217.
MULTI-PROTOCOL LABEL SWITCHING Brandon Wagner. Lecture Outline  Precursor to MPLS  MPLS Definitions  The Forwarding Process  MPLS VPN  MPLS Traffic.
Module 2 MPLS Concepts.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
Multiple Protocol Support: Multiprotocol Level Switching.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Course Introduction.
MULTI-PROTOCOL LABEL SWITCHING By: By: YASHWANT.V YASHWANT.V ROLL NO:20 ROLL NO:20.
Segment Routing: An Architecture build with SDN in mind and addressing the evolving network requirements Brian Meaney Cisco SP Consulting Team.
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.
MBGP and Customer Routes
MPLS Introduction Computer Networks 2007 Week 9 Lecture 1 by Donald Neal.
MPLS Virtual Private Networks (VPNs)
Working at a Small-to-Medium Business or ISP – Chapter 6
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
MPLS VPN Implementation
Presenter: Jeffrey Zhang
BGP Overview BGP concepts and operation.
CHAPTER 8 Network Management
MPLS VPNs by Richard Bannister.
Kireeti Kompella Juniper Networks
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.
Working at a Small-to-Medium Business or ISP – Chapter 6
Presentation transcript:

MPLS VPN

MPLS/BGP VPNs Goals MPLS/BGP VPN Features Implementation Conclusions

What is a site to site VPN ? VPN is a set of sites which are allowed to communicate with each other VPN is defined by a set of administrative policies policies determine both connectivity and QoS among sites policies established by VPN customers policies could be implemented completely by VPN Service Providers using BGP/MPLS VPN mechanisms

BGP/MPLS VPN - example VPN A/Site 1 VPN A/Site 2 VPN A/Site 3 VPN B/Site 2 VPN B/Site 1 VPN B/Site 3 CEA1 CEB3 CEA3 CEB2 CEA2 CE1B1 CE2B1 PE1 PE2 PE3 P1 P2 P3 10.1/16 10.2/16 10.3/16 10.4/16

BGP/MPLS VPN key components: (1) Constrained distribution of routing information + multiple forwarding tables (2) Address extension (3) MPLS

Constrained Distribution of Routing Information Provides control over connectivity among sites flow of data traffic (connectivity) is determined by flow (distribution) of routing information

Routing Information Distribution Step 1: from site (CE) to service provider (PE) e.g., via RIP, or static routing, or BGP, or OSPF Step 2: export to provider’s BGP at ingress PE Step 3: within/across service provider(s) (among PEs): Step 4: import from provider’s BGP at egress PE Step 5: from service provider (PE) to site (CE) e.g., via RIP, or static routing, or BGP, or OSPF

Constrained Distribution of Routing Information Occurs during Steps 2, 3, 4 Performed by Service Provider using route filtering based on BGP Extended Community attribute BGP Community is attached by ingress PE at Step 2 route filtering based on BGP Community is performed by egress PE at Step 4

Routing Information Distribution - example VPN C/Site 2 12.1/16 VPN B/Site 1 11.2/16 CEA2 CE1B1 Static RIP 11.1/16 RIP CEB2 VPN B/Site 2 RIP PE2 CE2B1 BGP PE1 Step 3 Step 1 Step 4 Step 2 Step 5 CEA1 Static PE3 RIP 16.2/16 CEB3 CEA3 BGP 16.1/16 VPN A/Site 3 12.2/16 VPN A/Site 1 VPN C/Site 1

MPLS and Traditional BGP MPLS significantly simplifies packet forwarding to BGP destinations Traditionally BGP had to be run on every router in the core of an ISP network to enable proper packet forwarding MPLS allows to forward packets to BGP destinations by simply label-switching traffic to a BGP next-hop address BGP next-hop addresses must be reachable via IGP, which allows them to be associated with MPLS labels This allows ISP core routers to run only an IGP (IS-IS). ISP PE routers are the only ones that need to run BGP

MPLS and Traditional BGP (cont’d) Pre-MPLS Peering ISP or Customer Peering ISP or Customer CORE IBGP IGP EBGP MPLS Peering ISP or Customer LDP LDP LDP Peering ISP or Customer P MPLS CORE P PE PE

Multiple Forwarding Tables How to constrain distribution of routing information at PE that has sites from multiple (disjoint) VPNs attached to it ? single Forwarding Table on PE doesn’t allow per VPN segregation of routing information

Multiple Forwarding Tables (cont.) PE maintains multiple Forwarding Tables one per set of directly attached sites with common VPN membership e.g., one for all the directly attached sites that are in just one particular VPN Enables (in conjunction with route filtering) per VPN segregation of routing information on PE

Multiple Forwarding Tables (cont.) Each Forwarding Table is populated from: (a) routes received from directly connected CE(s) of the site(s) associated with the Forwarding Table (b) routes receives from other PEs (via BGP) restricted to only the routes of the VPN(s) the site(s) is in via route filtering based on BGP Extended Community Attribute

Multiple Forwarding Tables (cont.) Each customer port on PE is associated with a particular Forwarding Table via configuration management (at provisioning time) Provides PE with per site (per VPN) forwarding information for packets received from CEs Ports on PE could be “logical” e.g., VLAN, FR, ATM, L2F, etc...

Address Extension How to support VPNs without imposing constraints on address allocation/management within VPNs (e.g., allowing private address space [RFC1918]) ? constrained distribution of routing information uses BGP BGP is designed with the assumption that addresses are unique

VPN-IP Addresses New address family: VPN-IP addresses VPN-IP address = Route Distinguisher (RD) + IP address RD = Type + Provider’s Autonomous System Number + Assigned Number No two VPNs have the same RD convert non-unique IP addresses into unique VPN-IP addresses Reachability information for VPN-IP addresses is carried via multiprotocol extensions to BGP-4

Converting between IP and VPN-IP addresses Performed by PE in control plane only ingress PE - exporting route into provider’s BGP: PE is configured with RD(s) for each directly attached VPN (directly attached sites) convert from IP to VPN-IP (by prepending RD) before exporting into provider’s BGP egress PE - importing route from provider’s BGP: convert from VPN-IP to IP (by stripping RD) before inserting into site’s forwarding table

Route Distinguisher vs BGP Communities used to disambiguate IP addresses via VPN-IP addresses not used to constrain distribution of routing information (route filtering) BGP Communities: not used to disambiguate IP addresses used to constrain distribution of routing information via route filtering based on BGP Communities

MPLS Given that BGP operates in term of VPN- IP addresses, how to forward IP packets within Service Provider(s) along the routes computed by BGP ? IP header has no place to carry Route Distinguisher

MPLS (cont.) Use MPLS for forwarding MPLS decouples information used for forwarding (label) from the information carried in the IP header Label Switched Paths (labels) are bound to VPN-IP routes Label Switched Paths are confined to VPN Service Provider(s)

Packet Forwarding - example Logically separate forwarding table (FIB) for each (directly attached) VPN expressed in terms of IP address prefixes conversion from VPN-IP to IP addresses happen when FIB is populated from the routing table (RIB) Incoming interface determines the FIB PE LSR IP PKT Label IP PKT FIB Table 1. Identify VPN 3. Attach label info and send out Next Hop Label Info 2. Select FIB for this VPN

Two-level label stack VPN routing information is carried only among PE routers (using BGP) BGP Next Hop provides coupling between external routes (VPN routes) and service provider internal route (IGP routes) route to Next Hop is an internal route Top (first) level label is used for forwarding from ingress PE to egress PE inside the ISP cloud Bottom (second) level is used for forwarding at egress PE distributed via BGP (together with the VPN route) P routers maintain only internal routes (routes to PE routers and other P routers), but no VPN routes

Two-level label stack - example BGP (Dest = RD:10.1.1, Next-Hop = PE2, Label = X) CE1 CE2 Dest = 10.1.1/24 Service providers IGP Cloud (usually IS-IS) PE1 PE2 IGP Label for PE2 via LDP/RSVP IP packet IP packet IGP Label for PE2 via LDP/RSVP IGP Label for PE2 via LDP/RSVP IP packet VPN label = X IGP Label(PE2) P1 P2 VPN label = X IP packet IP packet VPN label = X IGP Label(PE2)

Scalability - “divide and conquer” (1) Two levels of labels to keep P routers free of all the VPN routing information (2) PE router has to maintain routes only for VPNs whose sites are directly connected to the PE router (3) Partition BGP Route Reflectors within the VPN Service Provider among VPNs served by the Provider No single component within the system is required to maintain all routes for all the VPNs Capacity of the system isn’t bounded by the capacity of an individual component

BGP/MPLS VPN - Summary Supports large scale VPN services Increases value add by the VPN Service Provider Decreases Service Provider’s cost of providing VPN services Simplifies operations for VPN customers Mechanisms are general enough to enable VPN Service Provider to support a wide range of VPN customers