MPLS опорни мрежи MPLS core networks

Similar documents
MPLS, THE BASICS CSE 6067, UIU. Multiprotocol Label Switching

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

MULTIPROTOCOL LABEL SWITCHING: REIVEW KAISER ALI BHAT

MPLS VPN. 5 ian 2010

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

MPLS Intro. Cosmin Dumitru March 14, University of Amsterdam System and Network Engineering Research Group ...

MPLS Core Networks Николай Милованов/Nikolay Milovanov

COMP9332 Network Routing & Switching

Multiprotocol Label Switching (MPLS) on Cisco Routers

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

IPv6 Switching: Provider Edge Router over MPLS

Multiprotocol Label Switching Overview

MPLS Introduction. (C) Herbert Haas 2005/03/11

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS)

Configuring Basic MPLS Using OSPF

Concepts and Operation of MPLS VPNs. Francisco Bolanos

AToM (Any Transport over MPLS)

Multiprotocol Label Switching (MPLS) on Cisco Routers

Table of Contents. Cisco MPLS FAQ For Beginners

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline

Introduction to Multi-Protocol Label

Exam : Title : Implementing Cisco MPLS Exam (MPLS) Ver :

Configuring MPLS and EoMPLS

Telematics Chapter 7: MPLS

Multiprotocol Label Switching Virtual Private Network

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

WORKSHOP MPLS.

Introduction to MPLS APNIC

IPv6 Switching: Provider Edge Router over MPLS

MPLS Multi-protocol label switching Mario Baldi Politecnico di Torino (Technical University of Torino)

Multiprotocol Label Switching (MPLS)

Применение MPLS в сетях связи. (Часть 2)

Internet Routing - MPLS. By Richard Harris

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE

MPLS Multi-Protocol Label Switching

سوي يچينگ و مسيريابي در شبكه

MPLS/Tag Switching. Background. Chapter Goals CHAPTER

Advanced Telecommunications

Multiprotocol Label Switching (MPLS)

ENTERPRISE MPLS. Kireeti Kompella

Trafffic Engineering 2015/16 1

Multi Protocol Label Switching

MIT International Journal of Electrical and Instrumentation Engineering Vol. 3, No. 1, Jan. 2013, pp

Syed Mehar Ali Shah 1 and Bhaskar Reddy Muvva Vijay 2* 1-

What You Will Learn By the end of this appendix, you should know and be able to explain the following:

Introduction to MPLS. What is MPLS? 1/23/17. APNIC Technical Workshop January 23 to 25, NZNOG2017, Tauranga, New Zealand. [201609] Revision:

Multiprotocol Label Switching (MPLS)

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

CCIE R&S Techtorial MPLS

MPLS etc.. MPLS is not alone TEST. 26 April 2016 AN. Multi-Protocol Label Switching MPLS-TP FEC PBB-TE VPLS ISIS-TE MPƛS GMPLS SR RSVP-TE OSPF-TE PCEP

Ahmed Benallegue RMDCN workshop on the migration to IP/VPN 1/54

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

Table of Contents Chapter 1 MPLS Basics Configuration

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Implementing MPLS Layer 3 VPNs

Migration Strategies for IP Service Growth: Cell-switched MPLS or IP-routed MPLS

2D1490 p MPLS, RSVP, etc. Olof Hagsand KTHNOC/NADA

Implementing MPLS Forwarding

Introduction to Segment Routing

OSPF Sham-Link Support for MPLS VPN

Cisco. Maintaining Cisco Service Provider VPNs and MPLS Networks (MSPVM)

MPLS VPN--Inter-AS Option AB

Cisco Group Encrypted Transport VPN

IMPLEMENTING CISCO MPLS (MPLS)

Service Providers Networks & Switching (MPLS) 20/11/2009. Local Team

MPLS LDP. Agenda. LDP Overview LDP Protocol Details LDP Configuration and Monitoring 9/27/16. Nurul Islam Roman

CS High Speed Networks. Dr.G.A.Sathish Kumar Professor EC

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

MPLS VPN Inter-AS Option AB

Exam : Title : BGP + MPLS Exam (BGP + MPLS)

MultiProtocol Label Switching - MPLS ( RFC 3031 )

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

internet technologies and standards

HP 5920 & 5900 Switch Series

Practice exam questions for the Nokia NRS II Composite Exam

Configuring MPLS L3VPN

Introduction to MPLS

"Charting the Course...

MPLS in the DCN. Introduction CHAPTER

MPLS etc.. 9 May 2017 AN

Configuring Virtual Private LAN Services

MPLS design. Massimiliano Sbaraglia

WAN Edge MPLSoL2 Service

MPLS L3VPN. The MPLS L3VPN model consists of three kinds of devices: PE CE Site 2. Figure 1 Network diagram for MPLS L3VPN model

HP A-MSR Router Series MPLS. Configuration Guide. Abstract

Traffic Engineering with MPLS and QOS

Configuring MPLS L3VPN

Connection Oriented Networking MPLS and ATM

Lab 1: Static MPLS LSP-RTX4-RTX1 LSP-RTX1-RTX4 LSP-RTX3-RTX2 LSP-RTX2-RTX3

MPLS VPN Carrier Supporting Carrier

BW Protection. 2002, Cisco Systems, Inc. All rights reserved.

Institute of Computer Technology - Vienna University of Technology. L85 - Multiprotocol Label Switching

IBGP internals. BGP Advanced Topics. Agenda. BGP Continuity 1. L49 - BGP Advanced Topics. L49 - BGP Advanced Topics

Configuring MPLS L2VPN

Multiprotocol Label Switching (MPLS)

Transcription:

MPLS опорни мрежи MPLS core networks Николай Милованов/Nikolay Milovanov http://niau.org

Objectives Identify the drawbacks of traditional IP routing Describe basic MPLS concepts and LSR types. MPLS Labels and Label Stack MPLS applications MPLS success story

Section -1 Identify the drawbacks of traditional IP routing

Traditional IP Forwarding Traditional IP forwarding is based on the following: Routing protocols are used to distribute Layer 3 routing information. Forwarding is based on the destination address only. Routing lookups are performed on every hop.

Traditional IP Forwarding (cont.) 10.1.1.1 10.1.1.1 Routing lookup 10.1.1.1 Update: 10.0.0.0/8 10.1.1.1 Update: 10.0.0.0/8 Routing lookup Routing lookup Destination-based routing lookup is needed on every hop. Every router may need full Internet routing information (more than 100,000 routes).

IP over ATM 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 10.1.1.1 Layer 2 topology may be different from Layer 3 topology, resulting in suboptimal paths and link utilization. Layer 2 devices have no knowledge of Layer 3 routing information virtual circuits must be manually established. Even if the two topologies overlap, the hub and spoke topology is usually used because of easier management.

Traffic Engineering with traditional IP Forwarding Large Site A Primary OC-192 link Large Site B Backup OC-48 link Small Site C Most traffic goes between large sites A and B and uses only the primary link. Destination-based routing does not provide any mechanism for load balancing across unequal paths. Policy-based routing can be used to forward packets based on other parameters, but this is not a scalable solution.

Review Questions List major drawbacks of traditional IP routing. Based on what information do routers forward IP packets? What mechanism can be used to forward packets based on other parameters? Why is this mechanism not suitable for large networks?

Section 2 Basic MPLS Concepts 2001, Cisco Systems, Inc. MPLS v1.0 2-9

Objectives Describe MPLS architecture. Describe the MPLS approach to IP routing. Describe the difference between data plane and control plane in MPLS. Describe the difference between packet-mode and cell-mode MPLS. List Label Switch Router (LSR) types. Describe LSR architecture.

Basic MPLS Concepts MPLS is a new forwarding mechanism in which packets are forwarded based on labels. Labels may correspond to IP destination networks (equal to traditional IP forwarding). Labels can also correspond to other parameters, such as quality of service (QoS) or source address. MPLS was designed to support forwarding of other protocols as well.

MPLS Example 10.1.1.1 10.1.1.1 L=3 L=5 Label removal and routing lookup L=3 Label swapping L=5 L=3 Routing lookup and label assignment 10.0.0.0/8 L=5 Only edge routers must perform a routing lookup. Core routers switch packets based on simple label lookups and swap labels.

MPLS Versus IP over ATM 10.1.1.1 L=17 L=3 L=5 10.1.1.1 Layer 2 devices run a Layer 3 routing protocol and establish virtual circuits dynamically based on Layer 3 information Layer 2 devices are IP-aware and run a routing protocol. There is no need to manually establish virtual circuits. MPLS provides a virtual full mesh topology.

Traffic Engineering with MPLS Large Site A Primary OC-192 link Large Site B Secondary OC-48 link Small Site C Traffic can be forwarded based on other parameters (QoS, source,...). Load sharing across unequal paths can be achieved.

MPLS Architecture MPLS has two major components: Control plane exchanges Layer 3 routing information and labels Data plane forwards packets based on labels Control plane contains complex mechanisms to exchange routing information, such as Open Shortest Path First (OSPF), Enhanced Interior Gateway Routing Protocol (EIGRP), Intermediate Systemto-Intermediate System (IS-IS), and BGP, and to exchange labels, such as Tag Distribution Protocol (TDP), label distribution protocol (LDP), BGP, and Resource Reservation Protocol (RSVP). Data plane has a simple forwarding engine. Control plane maintains contents of the label-switching table (label forwarding information base, or LFIB).

MPLS Architecture OSPF: 10.0.0.0/8 Control Plane OSPF OSPF: 10.0.0.0/8 LDP: 10.0.0.0/8 Label 17 LDP LDP: 10.0.0.0/8 Label 4 Labeled packet Label 17 Data Plane LFIB 4 17 Labeled packet Label 4 Router functionality is divided into two major parts: control plane and data plane

MPLS Modes of Operation MPLS technology is intended to be used anywhere regardless of Layer 1 media and Layer 2 protocol. MPLS uses a 32-bit label field that is inserted between Layer 2 and Layer 3 headers (framemode). MPLS over ATM uses the ATM header as the label (cell-mode).

Label Format LABEL EXP S TTL 0 19 20 22 23 24 31 MPLS uses a 32-bit label field that contains the following information: 20-bit label 3-bit experimental field 1-bit bottom-of-stack indicator 8-bit time-to-live (TTL) field

Frame-Mode MPLS Frame Header IP Header Layer 2 Layer 3 Routing lookup and label assignment Payload Frame Header Label IP Header Payload Layer 2 Layer 2½ Layer 3

Cell_Mode MPLS Frame Header IP Header Layer 2 Layer 3 Payload Frame Header Label IP Header Payload Layer 2 Layer 2½ Layer 3 VPI/VCI fields are used for label switching Cell 1 Cell 2 ATM Header ATM Header ATM Adaptation Layer 5 (AAL5) Header Label IP Header Layer 2 Layer 2½ Layer 3 Payload Payload

Label Switch Router MPLS Domain 10.1.1.1 L=3 L=5 10.1.1.1 20.1.1.1 L=31 L=43 20.1.1.1 Edge LSR LSR Label switch router (LSR) primarily forwards labeled packets (label swapping) Edge LSR primarily labels IP packets and forwards them into MPLS domain, or removes labels and forwards IP packets out of the MPLS domain

ATM Label Switch Router MPLS Domain 10.1.1.1 L=1/3 L=1/3 L=1/3 L=1/5 L=1/5 L=1/5 10.1.1.1 20.1.1.1 L=1/6 L=1/6 L=1/6 L=1/9 L=1/9 L=1/9 20.1.1.1 ATM Edge LSR ATM LSR ATM LSR can only forward cells ATM edge LSR segments packets into cells and forwards them into an MPLS ATM domain, or reassembles cells into packets and forwards them out of an MPLS ATM domain

Architecture of LSRs LSRs, regardless of the type, perform the following three functions: Exchange routing information Exchange labels Forward packets (LSRs and edge LSRs) or cells (ATM LSRs and ATM edge LSRs) The first two functions are part of the control plane. The last function is part of the data plane.

Architecture of LSRs LSR Exchange of routing information Control Plane Routing Protocol IP Routing Table Exchange of labels Label Distribution Protocol Incoming labeled packets Data Plane Label Forwarding Table Outgoing labeled packets LSRs primarily forward labeled packets or cells (ATM LSRs).

Architecture of Edge LSRs Edge LSR Exchange of routing information Control Plane Routing Protocol IP Routing Table Exchange of labels Label Distribution Protocol Incoming IP packets Incoming labeled packets Data Plane IP Forwarding Table Label Forwarding Table Outgoing IP packets Outgoing labeled packets Note: ATM edge LSRs can only forward cells.

Summary After completing this section, you should be able to perform the following tasks: Describe MPLS architecture. Describe MPLS approach to IP routing. Describe the difference between data plane and control plane in MPLS. Describe the difference between packet-mode and cellmode MPLS. List Label Switch Router (LSR) types. Describe LSR architecture.

Review Questions What are the major drawbacks of traditional IP forwarding and how does MPLS solve them? What functions does an LSR perform? List the types of LSRs. Name the two modes of MPLS. Explain the difference between an LSR and an Edge LSR. Explain the difference between an LSR and an ATM LSR.

Section 3 MPLS Labels and Label Stack NBU NGN backbone networks

Objectives Upon completion of this section, you will be able to perform the following tasks: Describe the format of MPLS label. Explain the concept of the MPLS Label Stack. Describe the way MPLS labels are used in Packetmode and ATM environment.

MPLS Label Format LABEL EXP S TTL 0 19 20 22 23 24 MPLS uses a 32-bit label field that contains the following information: 20-bit label (a number) 3-bit experimental field (usually used to carry IP precedence value) 1-bit bottom-of-stack indicator (indicates whether this is the last label before the IP header) 8-bit TTL (equal to the TTL in IP header) 31

MPLS Labels Labels are inserted between the Layer 2 (frame) header and the Layer 3 (packet) header. There can be more than one label (label stack). The bottom-of-stack bit indicates if the label is the last label in the label stack. The TTL field is used to prevent indefinite looping of packets. Experimental bits are usually used to carry the IP precedence value.

MPLS Label Stack Frame Header Label 1 Label 2 Label 3 IP Header Payload PID=MPLS-IP S=0 S=0 S=1 Protocol identifier in a Layer 2 header specifies that the payload starts with a label (labels) and is followed by an IP header Bottom-of-stack bit indicates whether the next header is another label or a Layer 3 header Receiving router uses the top label only

MPLS Label Stack Usually only one label assigned to a packet. The following scenarios may produce more than one label: MPLS VPNs (two labels the top label points to the egress routers and the second label identifies the VPN) MPLS TE (two or more labels the top label points to the endpoint of the traffic engineering tunnel and the second label points to the destination) MPLS VPNs combined with MPLS TE (three or more labels)

MPLS Forwarding An LSR can perform the following functions: Insert (impose) a label or a stack of labels on ingress. Swap a label with a next-hop label or a stack of labels in the core. Remove (pop) a label on egress. ATM LSRs can only swap a label with one label (VPI/VCI fields change).

MPLS Forwarding(Frame-Mode) MPLS Domain 10.1.1.1 3 10.1.1.1 5 10.1.1.1 10.1.1.1 IP Lookup 10.0.0.0/8 label 3 LFIB label 8 label 3 IP Lookup 10.0.0.0/8 label 5 LFIB label 3 label 5 IP Lookup 10.0.0.0/8 next hop LFIB label 5 pop On ingress a label is assigned and imposed by the IP routing process. LSRs in the core swap labels based on the contents of the label forwarding table. On egress the label is removed and a routing lookup is used to forward the packet.

MPLS Forwarding(Cell-Mode) MPLS Domain 10.1.1.1 1/3 1/3 1/3 1/3 1/5 1/5 1/5 1/5 10.1.1.1 IP Lookup 10.0.0.0/8 label 1/3 LFIB label 8 label 1/3 IP Lookup 10.0.0.0/8 label 1/5 LFIB label 1/3 label 1/5 IP Lookup 10.0.0.0/8 Next hop LFIB label 1/5 pop Labels (VPI/VCI) are imposed during the IP lookup process on ingress ATM edge LSRs. Packets are segmented into cells. ATM LSRs in the core swap labels based on the contents of the ATM switching table. ATM LSRs cannot forward IP packets. On egress ATM edge LSRs the labels are removed (cells are reassembled into packets) and a routing lookup is used to forward packets.

Summary After completing this section, you should be able to perform the following tasks: Describe the format of MPLS label. Explain the concept of the MPLS Label Stack. Describe the way MPLS labels are used in Packetmode and ATM environment.

Review Questions What fields does a label have? How does a receiving router know if the packet is labeled or not? How does a receiving router know if there is another label? Why is more than one label needed? What are the major differences between framemode and cell-mode MPLS?

Section 4 MPLS Applications NBU NGN backbone networks

Objectives Upon completion of this section, you will be able to perform the following tasks: Identify various MPLS applications. Describe the overall structure of each MPLS application. Explain the interactions between several MPLS applications running on the same platform.

MPLS Applications MPLS is already used in many different applications: Unicast IP routing Multicast IP routing Traffic Engineering (MPLS TE) QoS Virtual private networks (MPLS VPN) Regardless of the application, the functionality is always split into the control plane and the data plane: The applications differ only in the control plane. They all use a common label-switching data plane. Edge LSR Layer 3 data planes may differ. In general, a label is assigned to a forwarding equivalence class (FEC).

Unicast IP Routing Two mechanisms are needed on the control plane: IP routing protocol (OSPF, IS-IS, EIGRP,...) Label distribution protocol (LDP or TDP) A routing protocol carries the information about the reachability of networks. The label distribution protocol binds labels to networks learned via a routing protocol. The forwarding equivalence class (FEC) is equal to a destination network, stored in the IP routing table.

Multicast IP Routing A dedicated protocol is not needed to support multicast traffic across an MPLS domain. peripheral interface manager (PIM) version 2 with extensions for MPLS is used to propagate routing information as well as labels. FEC is equal to a destination multicast address, stored in the multicast routing table.

MPLS TE MPLS traffic engineering requires OSPF or IS-IS with extensions for MPLS TE as the IGP. OSPF and IS-IS with extensions hold the entire topology in their databases. OSPF and IS-IS should also have some additional information about network resources and constraints. RSVP or CR-LDP is used to establish traffic engineering tunnels (TE tunnels) and propagate labels.

Quality of Service Differentiated QoS is an extension to unicast IP routing that provides differentiated services. Extensions to TDP or LDP are used to propagate different labels for different classes. FEC is a combination of a destination network and a class of service.

Virtual Private Networks Networks are learned via an IGP (OSPF, EBGP, RIP version 2 [RIPv2] or static) from a customer or via BGP from other internal routers. Labels are propagated via MP-BGP. Two labels are used: Top label points to the egress router (assigned through LDP or TDP). Second label identifies the outgoing interface on the egress router or a routing table where a routing lookup is performed. FEC is equal to a VPN site descriptor or VPN routing table.

Interaction Between MPLS Applications Control Plane Unicast IP Routing Multicast IP Routing MPLS Traffic Engineering Quality of Service MPLS/VPN Any IGP OSPF or IS-IS Any IGP Any IGP Unicast IP routing table Multicast IP routing table Unicast IP routing table Unicast IP routing table Unicast IP routing tables LDP or TDP PIM version 2 LDP RSVP LDP or TDP LDP BGP Data Plane Label forwarding table

Summary After completing this section, you should be able to perform the following tasks: Identify various MPLS applications. Describe the overall structure of each MPLS application. Explain the interactions between several MPLS applications running on the same platform.

Review Questions Where is MPLS used today? Where can MPLS potentially be used in the future? What do the different applications of MPLS have in common? What are the differences between the various applications of MPLS?

Section 5 MPLS Success Story NBU NGN backbone networks

Benefits of MPLS The use of one unified network infrastructure Better IP over ATM integration Border Gateway Protocol (BGP)-free core The peer-to-peer model for MPLS VPN Optimal traffic flow Traffic engineering Consider first a bogus reason to run MPLS. This is a reason that might look reasonable initially, but it is not a good reason to deploy MPLS.

MPLS Success Story!!! The success of MPLS is undoubtedly a result of the fact that it enables the network to carry all kinds of traffic, ranging from IP traffic to Voice over IP (VoIP) traffic to Layer 2 traffic. MPLS is the means for an IP network to consolidate many networks into one. MPLS can consolidate the ATM, Frame Relay, Voice, and IP networks into one unified network infrastructure, thereby generating a huge cost advantage.

Summary After completing this chapter, you should be able to perform the following tasks: Identify the drawbacks of traditional IP routing. Describe basic MPLS concepts and LSR types. Describe how different MPLS applications can coexist on the same platform using the same underlying technology. List the standard bodies that are working on MPLS technology and the relationship between Tag Switching and MPLS.

MPLS опорни мрежи MPLS core networks инж. Николай Милованов/Nikolay Milovanov http://niau.org email: nmil@niau.org