Connection-Oriented Networks1 Chapter 6: The Multi-Protocol Label Switching Architecture TOPICS –IP: A primer –The MPLS architecture Label allocation schemes.

Slides:



Advertisements
Similar presentations
Multi-Protocol Label Switch (MPLS)
Advertisements

1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
IP Forwarding Relates to Lab 3.
Internetworking II: MPLS, Security, and Traffic Engineering
MULTIPROTOCOL LABEL SWITCHING Muhammad Abdullah Shafiq.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-1 MPLS TE Overview Understanding MPLS TE Components.
Delivery and Forwarding of
Restoration by Path Concatenation: Fast Recovery of MPLS Paths Anat Bremler-Barr Yehuda Afek Haim Kaplan Tel-Aviv University Edith Cohen Michael Merritt.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—2-1 Label Assignment and Distribution Introducing Typical Label Distribution in Frame-Mode MPLS.
Hierarchy of Routing Knowledge IP Routing: All routers within domains that carry transit traffic have to maintain both interior and exterior routing information.
Introducing MPLS Labels and Label Stacks
Introduction to MPLS and Traffic Engineering Zartash Afzal Uzmi.
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.
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.
ECE544: Communication Networks-II Spring 2009 H. Liu Lecture 9 (MPLS) Includes teaching materials from D. Saha.
MPLS Multiple Protocol Label Switching 2003/2/19.
MPLS and Traffic Engineering
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Introduction to MPLS and Traffic Engineering
MPLS A single forwarding paradigm (label swapping), multiple routing paradigms Multiple link-specific realizations of the label swapping forwarding paradigm.
MPLS Architecture Gautham Pamu CS590F - Design of MultiService Networks.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 4: Frame Mode MPLS Implementation.
Multi-Protocol Label Switching
Multi-Protocol Label Switch (MPLS) 1 Outline Introduction MPLS Terminology MPLS Operation – Label Encapsulation Label Distribution Protocol (LDP) Any.
IP Switching 國立中正大學 資訊工程研究所 黃仁竑 副教授. 中正資工 / 黃仁竑 2 IP Switching o Problem with classical IP over ATM ê IP over ATM preserves ATM protocol stack as well.
Multiprotocol Label Switching (MPLS) 中正大學資工系 黃仁竑.
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 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
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.
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.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Computer Networks with Internet Technology William Stallings Chapter 10 Protocols for QoS Support 10.1 RSVP 10.2 MPLS.
Multiprotocol Label Switching (MPLS)
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
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 © 2001, Cisco Systems. MPLS Architecture Overview Jay Kumarasamy Adopted from Stefano Previdi’s presentation.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
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.
Multi-protocol Label Switching Jiang Wu Computer Science Seminar 5400.
MPLS Architecture Overview V1.1. Course Objectives MPLS overview MPLS Concepts LSRs and labels Label assignment and distribution Label Switch Paths Loops.
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.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 6 Delivery and Forwarding of IP Packets
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
MPLS Label Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
MPLS Some notations: LSP: Label Switched Path
1. Tag Switching RFC Cisco systems Tag Switching architecture overview. Switching In IP Networks - B.Davie, P.Doolan, Y.Rekhter. Presnted By - Shmuel.
Module 2 MPLS Concepts.
Multiple Protocol Support: Multiprotocol Level Switching.
MULTI-PROTOCOL LABEL SWITCHING By: By: YASHWANT.V YASHWANT.V ROLL NO:20 ROLL NO:20.
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.
Multi Protocol Label Switching (MPLS)
Advanced Computer Networks
IP: Addressing, ARP, Routing
Multi Protocol Label Switching (MPLS)
MPLS Basics 2 2.
Delivery and Routing of IP Packets
Network Layer I have learned from life no matter how far you go
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.
Presentation transcript:

Connection-Oriented Networks1 Chapter 6: The Multi-Protocol Label Switching Architecture TOPICS –IP: A primer –The MPLS architecture Label allocation schemes Explicit routing Label stack Schemes for setting up an LSP –MPLS over ATM

Connection-Oriented Networks2 The Internet Protocol: A primer Features: –IP is part of the TCP/IP suite of protocols. –It provides a connectionless service. –It does not guarantee delivery of IP packets. –IP does not check the payload of an IP datagram for errors, but it only checks its IP header. IP will drop an IP datagram, if it finds that its header is in error. Lost or erroneous data is recovered by the destination’s TCP.

Connection-Oriented Networks3 The IPv4 header

Connection-Oriented Networks4 IP addresses Dotted decimal notation: Each byte of the address is written in decimal, ranging from 0 to 255. Example: the IP address is written as

Connection-Oriented Networks5 Range of addresses.. Class A: from to , Class B: from to , Class C: from to

Connection-Oriented Networks6 Classless Inter-domain routing (CIDR) Allocate blocks of class C network addresses to each ISP. Organizations using the ISP are sub- allocated a block of 2 n contiguous addresses. This permits all these addresses to be advertised outside the ISP’s network in an aggregate manner using part of the address known as the prefix.

Connection-Oriented Networks7 ARP, RARP, and ICMP The TCP/IP protocol suite includes other protocols such as the –address resolution protocol (ARP) –reverse address resolution protocol (RARP) –internet control message protocol (ICMP)

Connection-Oriented Networks8 The Multi-Protocol Label Switching (MPLS) Architecture MPLS is an IETF standard. It is based on tag switching, which was proposed by CISCO. (Tag switching was motivated by IP switching, a technique for switching IP packets over ATM) MPLS was developed exclusively for IP networks, despite the “multi-protocol” description in its title.

Connection-Oriented Networks9 The IP router In order to understand the basic concepts behind MPLS, we need to take a look at the structure of an IP router. An IP router has a –control component, and a –forwarding component.

Connection-Oriented Networks10 The control component It consists of routing protocols, such as OSPF, BGP, and PIM, which are used to construct routes and exchange routing information among routers. This information is used by the routers to construct a forwarding table (routing table), known as the forwarding information base (FIB).

Connection-Oriented Networks11 The forwarding component It consists of procedures for forwarding an IP packet. The IP router uses the destination IP address to find an entry in the FIB, using the longest match algorithm. From this, it obtains an interface number, which is the output port connecting the IP router to the next-hop router, to which the IP packet should be sent.

Connection-Oriented Networks12 Forwarding equivalent class (FEC) A FEC (pronounced fec) is the set of all forwarding addresses that have the same prefix. Thus, addresses in a router can be grouped into a number of disjoint FECs. IP packets belonging to the same FEC have the same output interface. In MPLS, an FEC is associated with a label.

Connection-Oriented Networks13 Labels A label is a short, fixed-length identifier that has local significance (i.e. it is valid on a single hop interconnecting two routers). A label in a packet represents the FEC to which the packet has been assigned. The label assigned to a packet is not an encoding of its destination address.

Connection-Oriented Networks14 Where is the label carried? No space in IPv4 packet for a label. If the IP network is running on top of an ATM network/ Frame Relay, the label is carried in the VPI/VCI field/DLCI field. For Ethernet, and point-to-point connections running a link layer protocol, such as PPP, the label is encapsulated and inserted between the LLC header and the IP header (shim header).

Connection-Oriented Networks15 Label encapsulation (Shim header) LLC header Label encapsulation IP header TCP header Label (20 bits) CoS (3 bits) S (1 bit) TTL (8 bit) CoS (class of service) S - stack of labels TTL (time to live) Label (20 bits)CoS (3 bits)S =0TTL (8bits) Label (20 bits)CoS (3 bits)S =0TTL (8bits) Label (20 bits)CoS (3 bits)S = 1TTL (8bits) Label stack

Connection-Oriented Networks16 Label Switching Routers (LSR) An LSR is an IP router that runs MPLS. It is aware of MPLS control protocols and it operates one or more layer 3 routing protocols –It binds labels to FECs, –forwards packets based on their labels, and –it carries out the customary IP forwarding decision based on prefixes.

Connection-Oriented Networks17 MPLS nodes An MPLS node is an LSR but it may not necessarily forward IP packets based on prefixes. For simplicity, we will refer to an LSR or an MPLS node as an LSR

Connection-Oriented Networks18 MPLS domain A LSR 1 LSR 2 MPLS domain B Non-MPLS IP domain An MPLS domain An MPLS domain is a contiguous set of MPLS nodes which are in the same routing or administrative domain. Within an MPLS domain, IP packets are switched using their labels. An MPLS domain maybe connected to other MPLS or non-MPLS domains.

Connection-Oriented Networks19 An example of label switching A C D E B if1 if0 if1 if0 if2 if0 <x.0.0.0, y.0.0.0> Non-MPLS IP domain 1 Non-MPLS IP domain 2

Connection-Oriented Networks20 –When an LSR identifies this new FEC with the prefix, it selects a label from a pool of free labels and it makes an entry into a table known as the label forward information base (LFIB). It also saves the label in its FIB in the entry associated with the FEC. –The other LSRs also do the same. –The entry in the LFIB of each LSR are: LSR Incoming label Outgoing label Next hop Outgoing interface A LSR Bif 0 B62 LSR Dif 0 C LSR Dif 2 D15 LSR Eif 2 E60 LSR Eif 0

Connection-Oriented Networks21 –LSRs distribute their local binding information to adjacent LSRs. –LSR B sends its information to A, D, and C. –A recognizes that it is upstream from B, and it uses the information to update the entry in its LFIB. –Likewise for all the other LSRs. –As a result, each entry in the LFIB of each LSR will be modified as follows: LFIB Incoming label Outgoing label Next hop Outgoing interface LSR A 62LSR Bif 0 LSR B 62 15LSR Dif 0 LSR C 15LSR Dif 2 LSR D 15 60LSR Eif 2 LSR E 60 LSR Eif 0

Connection-Oriented Networks22 The labels allocated by the LSRs are as follows: A C D E B if1 if0 if1 if0 if2 if0 <x.0.0.0, y.0.0.0> Non-MPLS IP domain 1 Non-MPLS IP domain

Connection-Oriented Networks23 Now, once the labels have been distributed and the entries have been updated, the forwarding of a packet belonging to this particular FEC is done using solely the labels in the LFIBs. Let us assume that an LSR receives a packet with a label 100. It uses this label in its LFIB to locate the new outgoing label and interface. The old label is swapped with the new one and the packet is forwarded to the appropriate interface.

Connection-Oriented Networks24 Label switched path (LSP) The sequence of routers for a particular packet P, i.e., A,B, D, E, or C, D, E is known as an LSP. A C D E B if1 if0 if1 if0 if2 if0 <x.0.0.0, y.0.0.0> Non-MPLS IP domain 1 Non-MPLS IP domain

Connection-Oriented Networks25 LSP ingress LSR. This is LSR A for the path A, B, D, E. It pushes the label 62 into the packet’s label stack. LSP egress LSR: This is LSR E for the same path. It forward the packet either using a lower-level label or the ordinary IP forwarding procedure. A C D E B if1 if0 if1 if0 if2 if0 <x.0.0.0, y.0.0.0> Non-MPLS IP domain 1 Non-MPLS IP domain

Connection-Oriented Networks26 Label allocation Two label allocation schemes are used in MPLS: –Unsolicited downstream –Downstream on demand label distribution

Connection-Oriented Networks27 Unsolicited downstream An LSR distributes its binding of a label to a FEC to all its immediate neighbours. An upstream LSR (upstream of the link as the traffic flows) uses this label into its LFIB. A non-upstream LSR may either ignore it or store it for future use (for instance, a change in the topology may make it an upstream LSR).

Connection-Oriented Networks28 Downstream-on-demand An upstream LSR requests from its downstream LSR for a label binding to a FEC. In this scheme the LSR that does the binding is the one on the downstream end (as far as data flows) of the link. However, it does not distribute the label until it is explicitly requested by an upstream LSR.

Connection-Oriented Networks29 The next hop label forwarding entry (NHLFE) This is the entry in the LFIB that binds an incoming label to an outgoing label. It provides the following information: –The packet’s next hop –What operation to perform on the packet’s label stack

Connection-Oriented Networks30 NHLFE Operations: The following three operations can be performed on the packet’s label stack: Replace the label at the top of the label stack with a specified new label. Pop the label stack. Replace the label at the top of the label stack with a specified new label, and then push one or more specified new labels onto the label stack.

Connection-Oriented Networks31 Incoming label map (ILM) This is used to map an incoming label to a set of NHLFEs. One of these entries is used. The ILM permits to introduce multi-paths for load balancing, protection, etc

Connection-Oriented Networks32 Route selection In general, there are two methods for selecting an LSP for a particular FEC –hop-by-hop routing –explicit routing.

Connection-Oriented Networks33 Hop-by-hop routing Each node chooses independently the next- hop for a FEC, as in the existing IP networks. The information for the next hop is typically provided by a routing protocol such as OSPF, BGP, etc

Connection-Oriented Networks34 Explicit routing An explicit route is a pre-defined path through the network, and it is known as CR-LSP. The route may be different to those advertised by the routing protocols. An LSR determines its next hop for the FEC based on the explicit route.

Connection-Oriented Networks35 An explicit route may be: –Strictly explicitly routed That is, the entire LSP is specified –Loosely explicitly routed Only part of the LSP is specified Explicit routing is used for a number of purposes such as policy-based routing or traffic engineering.

Connection-Oriented Networks36 The label stack MPLS allows a packet to carry a set of labels organized as a stack. When the packet is forwarded within a domain, it contains two labels. The label at the top of the stack is used for label switching within the interior LSRs. The label in the next level is used by the egress LSP LSR to forward the packet to the next ingress LSP LSR.

Connection-Oriented Networks37 An example of label stack Level 1 Level 2 Level 1 Label stack carried in the shim header of an IP packet Operation in the NHLFE LSR2: Replace label, Push new label LSR 4: Pop label stack LSR 3 - LSR 4 Replace label LSR 5: Replace label MPLS domain AMPLS domain BMPLS domain C LSR 1 LSR 6 LSR 2 LSR 3 LSR 5 LSR 4

Connection-Oriented Networks38 Uses of the label stack: LSP tunnels The labels in MPLS B domain form a tunnel. At the end of the tunnel, the LSR may not know where to forward the packet. This can be easily resolved using a label stack. MPLS domain AMPLS domain BMPLS domain C

Connection-Oriented Networks39 Schemes for setting-up an LSP We have assumed that FECs correspond to address prefixes, which are distributed via a dynamic routing algorithm. The setup of an LSP for these FECs can be done in one of the two following ways; –Independent LSP control –Ordered LSP control

Connection-Oriented Networks40 Independent LSP control Each LSR when it recognizes a new FEC binds a label to it, and advertises it to its neighbours (as in the example given earlier on). This is similar to the way that conventional IP datagram routing works.

Connection-Oriented Networks41 Ordered LSP control The allocation of labels proceeds backwards starting from the egress LSP LSR. That is: –An LSR only binds a label to a FEC if it is the egress LSR for that FEC, or –If it has already received a label binding for that FEC from its next hop LSR for that FEC. Ordered LSP control may be initiated by the ingress LSR as well.

Connection-Oriented Networks42 Aggregation For each FEC an LSP is set up. Within an MPLS domain, it is possible that IP packets belonging to two or more FECs follow the same route. This can happen if these FECs have the same egress node. Within the same MPLS domain, the union of these FECs is also a FEC.

Connection-Oriented Networks43 Given a set of FECs that can be aggregated, it is possible to –Aggregate them to a single FEC –Aggregate them to several FECs –Not aggregate them. In ordered control an LSR can choose any of the above solutions. In independent control, the situation is more complex

Connection-Oriented Networks44 MPLS over ATM An ATM switch that supports MPLS is referred to as the ATM-LSR. The user plane of the ATM switch remains intact, however the control plane is replaced by protocols such as OSPF, BGP, PIM and RSVP. The downstream label allocation on demand scheme is used.

Connection-Oriented Networks45 SVC encoding: –The label information is carried in the VPI/VCI field. –Each LSP is nothing else but an ATM SVC, and the label distribution protocol replaces the ATM signalling protocol. –No label stacks SVP encoding –The VPI field is used to encode the label, and the VCI field is used to encode the second label on the stack.

Connection-Oriented Networks46 VC merging in ATM ATM-LSR D will not be able to identify distinct AAL 5 frames, since cells from the upstream nodes will be interleaved!