l.cittadini, m.cola, g.di battista



Similar documents
MPLS Virtual Private Networks

Design of Virtual Private Networks with MPLS

Introducing Basic MPLS Concepts

MPLS-based Layer 3 VPNs

How Routers Forward Packets

Notice the router names, as these are often used in MPLS terminology. The Customer Edge router a router that directly connects to a customer network.

MPLS VPN Implementation

- Multiprotocol Label Switching -

For internal circulation of BSNLonly

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

MPLS-based Virtual Private Network (MPLS VPN) The VPN usually belongs to one company and has several sites interconnected across the common service

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

RFC 2547bis: BGP/MPLS VPN Fundamentals

MP PLS VPN MPLS VPN. Prepared by Eng. Hussein M. Harb

How To Make A Network Secure

Implementing Cisco MPLS

Implementing MPLS VPN in Provider's IP Backbone Luyuan Fang AT&T

Configuring a Basic MPLS VPN

Enterprise Network Simulation Using MPLS- BGP

MPLS Implementation MPLS VPN

Introduction Inter-AS L3VPN

Multiprotocol Label Switching Load Balancing

Introduction to MPLS-based VPNs

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

MPLS VPN. Agenda. MP-BGP VPN Overview MPLS VPN Architecture MPLS VPN Basic VPNs MPLS VPN Complex VPNs MPLS VPN Configuration (Cisco) L86 - MPLS VPN

Cisco Configuring Basic MPLS Using OSPF

IMPLEMENTING CISCO MPLS V2.3 (MPLS)

Analyzing Capabilities of Commercial and Open-Source Routers to Implement Atomic BGP

MPLS Concepts. Overview. Objectives

AMPLS - Advanced Implementing and Troubleshooting MPLS VPN Networks v4.0

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Kingston University London

IP/MPLS-Based VPNs Layer-3 vs. Layer-2

Lab 4.2 Challenge Lab: Implementing MPLS VPNs

Frame Mode MPLS Implementation

IMPLEMENTING CISCO MPLS V3.0 (MPLS)

MPLS. Cisco MPLS. Cisco Router Challenge 227. MPLS Introduction. The most up-to-date version of this test is at:

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Table of Contents. Cisco Configuring a Basic MPLS VPN

IPv6 over IPv4/MPLS Networks: The 6PE approach

Implementing MPLS VPNs over IP Tunnels

Exam Name: BGP + MPLS Exam Exam Type Cisco Case Studies: 3 Exam Code: Total Questions: 401

Implementing VPN over MPLS

Inter-Autonomous Systems for MPLS VPNs

Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

DD2491 p MPLS/BGP VPNs. Olof Hagsand KTH CSC

Configuring MPLS Hub-and-Spoke Layer 3 VPNs

Implementing Cisco Service Provider Next-Generation Edge Network Services **Part of the CCNP Service Provider track**

MPLS VPN Route Target Rewrite

MPLS/BGP Network Simulation Techniques for Business Enterprise Networks

Deploying and Configuring MPLS Virtual Private Networks In IP Tunnel Environments

A Simulation Analysis of Latency and Packet Loss on Virtual Private Network through Multi Virtual Routing and Forwarding

Building VPNs. Nam-Kee Tan. With IPSec and MPLS. McGraw-Hill CCIE #4307 S&

DD2491 p BGP-MPLS VPNs. Olof Hagsand KTH/CSC

IPv4/IPv6 Transition Mechanisms. Luka Koršič, Matjaž Straus Istenič

Layer 3 Multiprotocol Label Switching Virtual Private Network

Network Virtualization with the Cisco Catalyst 6500/6800 Supervisor Engine 2T

Tackling the Challenges of MPLS VPN Testing. Todd Law Product Manager Advanced Networks Division

APNIC elearning: Introduction to MPLS

AT&T Managed IP Network Service (MIPNS) MPLS Private Network Transport Technical Configuration Guide Version 1.0

Expert Reference Series of White Papers. An Overview of MPLS VPNs: Overlay; Layer 3; and PseudoWire

Why Is MPLS VPN Security Important?

S ITGuru Exercise (3: Building the MPLS BGP VPN) Spring 2006

IPv6 over MPLS VPN. Contents. Prerequisites. Document ID: Requirements

White Paper. Cisco MPLS based VPNs: Equivalent to the security of Frame Relay and ATM. March 30, 2001

Cisco Exam CCIE Service Provider Written Exam Version: 7.0 [ Total Questions: 107 ]

Using OSPF in an MPLS VPN Environment

MPLS Layer 2 VPNs Functional and Performance Testing Sample Test Plans

SBSCET, Firozpur (Punjab), India

MPLS VPN Services. PW, VPLS and BGP MPLS/IP VPNs

Investigation of different VPN Solutions And Comparison of MPLS, IPSec and SSL based VPN Solutions (Study Thesis)

DD2490 p Routing and MPLS/IP. Olof Hagsand KTH CSC

MPLS Inter-AS VPNs. Configuration on Cisco Devices

SEC , Cisco Systems, Inc. All rights reserved.

HP Networking BGP and MPLS technology training

N2X Core Routing - BGP-4 MPLS VPN scenario with integrated traffic Application Note

MPLS. A Tutorial. Paresh Khatri. paresh.khatri@alcatel-lucent.com.au

WHITEPAPER. Bringing MPLS to Data Center Fabrics with Labeled BGP

MPLS VPNs with DiffServ A QoS Performance study

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

MPLS Concepts. MPLS Concepts

MPLS Basics. For details about MPLS architecture, refer to RFC 3031 Multiprotocol Label Switching Architecture.

APPLICATION NOTE 211 MPLS BASICS AND TESTING NEEDS. Label Switching vs. Traditional Routing

Implementation of Traffic Engineering and Addressing QoS in MPLS VPN Based IP Backbone

MPLS for ISPs PPPoE over VPLS. MPLS, VPLS, PPPoE

MPLS L2VPN (VLL) Technology White Paper

MPLS is the enabling technology for the New Broadband (IP) Public Network

Leveraging Advanced Load Sharing for Scaling Capacity to 100 Gbps and Beyond

Protection Methods in Traffic Engineering MPLS Networks

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

Multi Protocol Label Switching (MPLS) is a core networking technology that

Expert Reference Series of White Papers. Cisco Service Provider Next Generation Networks

Cisco Implementing Cisco Service Provider Next-Generation Egde Network Services. Version: 4.1

BGP Link Bandwidth. Finding Feature Information. Contents

This chapter covers the following topics: Introduction to ATM-Based MPLS VPNs Service providers and carriers that currently provide ATM and Frame

Design of MPLS networks VPN and TE with testing its resiliency and reliability

Transition to IPv6 in Service Providers

Transcription:

MPLS VPN l.cittadini, m.cola, g.di battista

motivations

customer s problem a customer (e.g., private company, public administration, etc.) has several geographically distributed sites and would like to connect them into a unique IP network ideally it would like to have wires connecting its sites

provider s target a provider owns a network infrastructure with many distributed PoPs (Points of Presence) and would like to exploit it to offer IP level connectivity services to its customers it would like to sell virtual wires (where IP packets can flow) to its customers

Customer provider and customers Torino PoP Milano PoP Customer 9.9.7.0/4.0.68.0/4 provider s network 9.9.7.0/4.0.67.0/4 Customer Roma PoP Customer

customer s constraints keep the addressing unchanged isolation from different customer's traffic quality of service

provider s constraints low configuration and maintenance costs no performance penalties performance in the backbone should only depend performance in the backbone should only depend on traffic, not on the number of supported VPNs or on the number of supported sites

vendor s targets sell many routers possibly expensive carrier-grade machines move the focus from old (and already over- sold) ATM & ATM-like technologies to new (and with a growing market) technologies

meeting point between customers, providers, and vendors VPN Virtual Private Network: behaves like a physical private network, but it's virtual implemented with MPLS Multi Protocol Label Switching (swapping): highly scalable, protocol-agnostic, data-carrying mechanism

MPLS

MPLS in a nutshell MPLS vs OSI picture from wikipedia

MPLS in a nutshell MPLS packet encapsulates transported packets with an MPLS header, containing one or more labels (label stack) each label stack entry contains 4 fields: label value (0 bits) traffic class field for QoS and ECN -Explicit Congestion Notification ( bits) bottom of stack flag ( bit) ttl (8 bits)

Customer Torino PoP 80...6/0 Milano PoP 80...8/0 Customer 9.9.7.0/4.0.68.0/4 VPN 9.9.7.0/4 an interconnection scenario AS 00 80.0.0.0/8 80...4/0 VPN.0.67.0/4 Customer Roma PoP Customer

CE - customer edge routers Customer Customer Torino PoP Milano PoP 9.9.7.0/4.0.68.0/4 VPN VPN 9.9.7.0/4 Customer Roma PoP.0.67.0/4 Customer

PE provider edge routers Customer Customer Torino PoP Milano PoP 9.9.7.0/4.0.68.0/4 VPN VPN 9.9.7.0/4 Customer Roma PoP.0.67.0/4 Customer

P provider routers Customer Customer Torino PoP Milano PoP 9.9.7.0/4.0.68.0/4 VPN VPN 9.9.7.0/4 Customer Roma PoP.0.67.0/4 Customer

how to checkmate VPNs in three moves: () make PEs reachable each other using IP, () use BGP for announcing customer prefixes, and () use MPLS for tunnels inside the backbone

st move IP reachability of the PE s the first thing to do is to assign an IP loopback address to each PE and to ensure IP reachability among PEs in the backbone ignore all the other issues inside backbone use addresses that are not announced outside (e.g. private addresses) loopback addresses are propagated by an IGP OSPF, IS-IS,.

loopbacks of PEs Customer 80.80.80.5/ Torino PoP 80.80.80.4/ Milano PoP Customer 80...6/0 80...8/0 AS 00 80.0.0.0/8 80...4/0 Customer Roma PoP 80.80.80./ Customer

a tempting solution implement VPNs using IP-in-IP tunnels (or similar technologies) between PEs loopbacks drawbacks difficult to configure quadratic number of configurations hence, this solution is discarded

nd move use BGP to announce customer prefixes MP-BGP, a variation of BGP, is used each PE establishes an ibgp peering with all other PEs usage of route reflectors for scaling customer s networks are announced within the peerings

Customer Torino PoP 80...6/0 BGP peerings Milano PoP 80...8/0 Customer 9.9.7.0/4.0.68.0/4 VPN 9.9.7.0/4 hey guys, to reach.0.67.0/4 of Customer and 9.9.7.0/4 of 80...4/0 Customer send traffic to me AS 00 80.0.0.0/8 VPN.0.67.0/4 Customer Roma PoP Customer

rd move use MPLS for tunnels an IP packet of a customer, coming from a CE, is encapsulated from the PE near to the source into an MPLS packet the PE near to the source sends the packet to the PE (loopback) near to the destination the IP packet traverses the backbone into an MPLS envelope

MPLS labels and VPN s two labels are used the internal one denotes the VPN: it is used in a way similar to the VLAN tags of IEEE 80.Q remains unchanged for the entire travel of the packet from origin PE to destination PE the external one is used for label swapping is, in general, changed at each hop of the travel from PE to PE a first pop from the stack is done at the penultimate router

how to find a route to loopbacks? who constructs the label-swapping data plane of MPLS? in other words: in which way a P or a PE knows which is the correct path to the target PE (loopback)? LDP Label Distribution Protocol is in charge of this

LDP LDP constructs the label switched paths (LSPs) to reach each PE loopback by simply importing this information from the IP data plane remeber st move: the IP data plane knows how remeber st move: the IP data plane knows how to reach loopbacks it has been setup by an IGP

terminology and details

data-and control-planes to understand how MPLS operates, let s review the mate-in- st move: IP data-plane build IP routing tables(ospf, IS-IS, static ) ensure reachability of PEs loopback interfaces nd move: BGP control-plane ensure that VPN prefixes are distributed among PEs rd move: MPLS data-plane build label switching tables(lfibs) with LDP ensure availability of LSPs(Label Switched Paths) that connecteachpairofpes

Customer Torino PoP 80...6/0 Milano PoP 80...8/0 Customer 9.9.7.0/4.0.68.0/4 VPN 9.9.7.0/4 move #: IP data-plane 80.80.80.5/ 80.80.80.4/ AS 00 80.0.0.0/8 80...4/0 VPN.0.67.0/4 Customer Roma PoP 80.80.80./ Customer

move #: IP data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 80...8/0 AS 00 80.0.0.0/8 LER>show ip route Codes: C connected, O OSPF [..] C 80.80.80./ Lo0 O 80.80.80.4/ via 80..., GE/0 O 80.80.80.5/ via 80..., GE/0 [..] 80...4/0 Roma PoP 80.80.80./ Goal: ensure connectivityofpes loopback interfaces

move #: IP data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 80...8/0 AS 00 80.0.0.0/8 LSR>show ip route Codes: C connected, O OSPF [..] O 80.80.80./ via 80...5, GE/0 O 80.80.80.4/ via 80...4, GE/0 O 80.80.80.5/ via 80...8, GE/0 [..] 80...4/0 Roma PoP 80.80.80./ Goal: ensure connectivityofpes loopback interfaces

move #: IP data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 80...8/0 AS 00 80.0.0.0/8 80...4/0 OSPF weight: 500 Roma PoP 80.80.80./

IP data-plane: observations IP data-planemustensurereachabilityofpes loopback interfaces otherprefixes(e.g., point-to-pointlinks) are useless for MPLS buttheycan beusedforotherpurposes, e.g., network management (telnet, ssh, SNMP, ) anyigp (OSPF, IS-IS) can do the job staticroutescan do the job too, buttheydo not handle network dynamics e.g., link failures

Customer Torino PoP 80...6/0 Milano PoP 80...8/0 Customer 9.9.7.0/4.0.68.0/4 VPN 9.9.7.0/4 move #: BGP control-plane 80.80.80.5/ 80.80.80.4/ AS 00 80.0.0.0/8 80...4/0 VPN.0.67.0/4 Customer Roma PoP 80.80.80./ Customer

Customer move #: BGP control-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 9.9.7.0/4.0.68.0/4 VPN AS 00 80.0.0.0/8 LER>show ipbgpvpnv4 all Network NextHop LocPrf Route Distinguisher: 00:(VPN) *>i.0.68.0 80.80.80.4 00 Route Distinguisher: 00:(VPN) *>i9.9.7.0 80.80.80.5 00 VPN 9.9.7.0/4 Customer Roma PoP 80.80.80./.0.67.0/4 Customer

multiple routing tables on PEs PEs need to distinguish each VPN there might be overlapping address space! solution: multiple (virtual) routing tables each customer port on PE is associated with a particular routing table at provisioning time ports on PE could be logical e.g. VLANs

Virtual Routing and Forwarding (VRF) VRF - Virtual Routing and Forwarding allows a router to have multiple forwarding tables eachtableiscalleda VRF instance each PE maintains multiple VRF instances one per set of directly attached sites with common VPN membership each VRF instance contains: routes received from directly connected CE s of the sites associated with the VRF instance routes received from other PEs (via BGP)

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 avoids conflicts if customers have overlapping address spaces

Customer Torino PoP 80...6/0 Milano PoP 80...8/0 Customer 9.9.7.0/4.0.68.0/4 VPN 9.9.7.0/4 move #: MPLS data-plane 80.80.80.5/ 80.80.80.4/ AS 00 80.0.0.0/8 80...4/0 VPN.0.67.0/4 Customer Roma PoP 80.80.80./ Customer

move #: MPLS data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 80...8/0 AS 00 80.0.0.0/8 LER>show mpls forwarding-table In Out Prefix Iface [..] 0 80.80.80.4/ GE/0 [..] 80...4/0 Roma PoP 80.80.80./

move #: MPLS data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 AS 00 80.0.0.0/8 80...4/0 Roma PoP 80.80.80./ 80...8/0 LSR>show mpls forwarding-table In Out Prefix Iface [..] 0 0 80.80.80.4/ GE/0 [..]

move #: MPLS data-plane 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP 80...6/0 80...8/0 AS 00 80.0.0.0/8 LSR>show mpls forwarding-table In Out Prefix Iface [..] 0 Pop 80.80.80.4/ GE/0 [..] 80...4/0 Roma PoP 80.80.80./

label spaces a LSR can receivethe sameincominglabelfrom multiple incoming interfaces whatcan happenin thatcase? forwardingisbasedonlyon the label labels are unique router-wide (out_iface, out_label) = f(in_label) per-platform label space forwardingisbasedon the labeland the interface which received the packet labels may be not unique router-wide (out_iface, out_label) = f(in_iface, in_label) per-interface label space

label spaces: which one? whichlabelspaceisused? it depends on the implementation sometimes it also depends on the interface notconfigurable example: Cisco IOS LC-ATM interfaces use per-interface label space other interfaces use per-platform label space example: JunOS AAL5 ATM interfaces use per-interface label space other interfaces use per-platform label space

putting it all together a hostofcustomer in Romesendsa packet, destined to.0.68. (located in Milan) LER receivesthe packetfromce addsa MPLS labeltomarkitasbelongingtovpn LER looksin itsbgp tableforvpn finds next-hop 80.80.80.4 (LER s loopback) LER looksin itslfib for80.80.80.4 finds label 0, interface GE/0 LER addsanothermpls label(0) and forwards the packet on GE/0

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 AS 00 80.0.0.0/8 80...4/0 80...8/0.0.68.0/4 VPN.0.67.0/4 Roma PoP 80.80.80./ IP Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 look up VPN::dstaddrin AS 00 BGP table 80.0.0.0/8 next-hop = LER 80...4/0 Roma PoP VPN IP 80...8/0.0.68.0/4 VPN.0.67.0/4 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 AS 00 80.0.0.0/8 look up 80.80.80.4 in LFIB label= 0 interface = GE/0 80...4/0 Roma PoP VPN IP 80...8/0.0.68.0/4 VPN.0.67.0/4 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 AS 00 80.0.0.0/8 80...4/0 Roma PoP VPN IP 80...8/0.0.68.0/4 VPN.0.67.0/4 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 AS 00 80.0.0.0/8 80...4/0 80...8/0 VPN IP.0.68.0/4 VPN.0.67.0/4 Roma PoP 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 VPN IP AS 00 80.0.0.0/8 80...4/0 80...8/0.0.68.0/4 VPN.0.67.0/4 Roma PoP 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP Customer 80...6/0 AS 00 80.0.0.0/8 80...4/0 VPN IP 80...8/0.0.68.0/4 VPN.0.67.0/4 Roma PoP 80.80.80./ Customer

Example 80.80.80.5/ 80.80.80.4/ Torino PoP Milano PoP IPCustomer 80...6/0 AS 00 80.0.0.0/8 80...4/0 80...8/0.0.68.0/4 VPN.0.67.0/4 Roma PoP 80.80.80./ Customer

MPLS data-plane: observations MPLS data-plane must establish LSPs between PEs loopback interfaces each Label Switching Router (LSR) uses its table to swap the top MPLS labeland forwardthe packet tothe nexthop the penultimaterouter (LSR in the example) popsthe tag thisway the nexthop (PE) willonlyseethe underlying VPN label the PE usesthe VPN labeltodistinguishamong different VPNs

does a Route Distinguisher suffice? Route Distinguisher (RD) helps with overlapping address spaces it makes every customer prefix unique it usually indicates the VPN sometimes sites need to be connected with a VPN topology which is not a mesh if RDs were just used to indicate the VPN, this would not be possible

complex VPN topologies Considerthisnetwork ellipse=site, rectangle=vpn Torino Milano Roma VPN Bari

Route Target MPLS offersa flexibletool: RouteTarget (RT) RT isanextendedcommunity in MP-BGP itcan beusedtoindicate whichroutesshouldbe imported/exported into which VRF instance supports complex VPN topologies common strategy assigna RD foreachsite assigna RT foreachvpn configure PE routers to import routes with specific route targets

Route Target -example Route Distinguishers: Torino RD 00: Milano RD 00: Roma RD 00: Bari RD 00:4 Route Targets: VPN => 00:000 VPN => 00:000 VPN => 00:000 Torino Roma VPN Bari Milano

Route Target -example PE at Torino ip vrf sitetorino rd 00: route-target import 00:000 route target export 00:000 PE at Roma ip vrf siteroma rd 00: route-target import 00:000 route target export 00:000 route-target import 00:000 route target export 00:000 route-target import 00:000 route target export 00:000 Torino Roma VPN Bari Milano

configuration configuring a LSR is straightforward: hostname LSR mpls label protocol ldp interface Loopback0 ip address 80.80.80. 55.55.55.55 interface GigabitEthernet/0 ip address 80... 55.55.55.5 mpls ip interface GigabitEthernet/0 ip address 80...5 55.55.55.5 mpls ip..... router ospf 0 network 80.0.0.0 0.55.55.55 area 0

configuration configuring a PE router is a bit more tricky main building blocks move#: loopback interface + speak IGP on non- customer ports move #: speak MPLS and LDP on non-customer ports, move #: full mesh of ibgp peerings move #4: map customer ports to VRF instances

configuration, step example: LER configuration hostname LER speak IGP (in this example, OSPF) router ospf 0 network 80.0.0.0 0.55.55.55 area 0 configure loopback interface interface Loopback0 ip address 80.80.80. 55.55.55.55

configuration, step use LDP to distribute MPLS labels mpls label protocol ldp speak MPLS on non-customer ports interface GigabitEthernet/0 ip address 80... 55.55.55.5 mpls ip

configuration, step setup ibgp peerings with other PEs router bgp 00 neighbor 80.80.80.4 remote-as 00 neighbor 80.80.80.4 update-source Loopback0 neighbor 80.80.80.5 remote-as 00 neighbor 80.80.80.5 update-source Loopback0! address-family vpnv4 neighbor 80.80.80.4 activate neighbor 80.80.80.4 send-community both neighbor 80.80.80.5 activate neighbor 80.80.80.5 send-community both exit-address-family activateisneededforthe vpnv4 address-family, otherwiserouteswon t beexchangedbydefault send-community both is needed to enable standard and extended communities

configuration, step 4 map customer ports to VRF instances interface GigabitEthernet/0 ip vrf forwarding VPN ip address.0.67. 55.55.55.0 interface GigabitEthernet/0 ip vrf forwarding VPN ip address 9.9.7. 55.55.55.0 definerdsand RTsforeachVRF instance ip vrf VPN rd 00: route-target export 00:000 route-target import 00:000 ip vrf VPN rd 00: route-target export 00:000 route-target import 00:000

configuration, step 4 (continued) announcevpn prefixesin BGP router bgp 00 address-family ipv4 vrf VPN redistribute connected exit-address-family! address-family ipv4 vrf VPN redistribute connected exit-address-family

MP-BGP in the wild Route Target LabelStack: advertisesthe VPN label VPN-IP addr

summary

low configuration and maintenance costs CE - customer edge routers don't need any special configuration; connected to a PE router via IP (e.g. with a point-to-point connection) PE - provider edge routers simple configuration that depends only on the sites of the VPN s that are adjaceny to the PE P provider routers simple configuration that does not depend on the deployed VPN s

forwarding efficiency PEs and Ps forward packet only depending on the labels, that, in turn, depend only on the loopbacks of the PEs the forwarding tables in the backbone contain only one entry for each loopback much less than one entry for each customer prefix

qos exploit traffic class field for enforcing QoS tos field of packets is encapsulated inside the MPLS envelope and hence is not accessible while the packet is traversing the backbone tos field is copied in the qos bits of MPLS label (named EXP bits) at the PE

internet many customers will also require Internet access aswellasvpn access more thanoneway tomakethiswork (rfc464) CE announces0/0tope worksevenifthe customerhasanotherisp forinternet Internet packets are forwarded natively(i.e., no MPLS) PEsleakInternet routesin eachvrf a possible alternative 0/0isassociatedwitha specificrt, VPNsneeding Internet access import it

caveats

MTU careful with the MTU inside the backbone eachmpls labeltakes4 bytes risk of fragmentation high impact on performance IEEE 80. standard mandates support for one of 500 bytes MTU 504 bytes MTU (Q-tag) 98 bytes MTU ( envelope frame) in practice, itisa matterof implementation hw support nowadaysmostosesdo PMTU discovery, so havinganethernet MTU of49 bytes(allowing MPLS labels) isnota big issue PPPoEalsohasa MTU of49 bytes didyoueverhaveproblems?

TTL IP TTL fieldisencapsulatedin anmpls envelope, hence not accessible from LSRs howdo wepreventinfinite loopsin MPLS? recallmpls labelhasitsownttl field whenthe PE encapsulatesthe IP packet, itcopiesthe TTL valuein the newlyaddedmpls label LSRsdecrementthe TTL in the label whenthe labelispopped, the TTL iscopiedontothe next label whenthe bottom-of-stacklabelispopped, the TTL is copiedontothe IP field