Presentation is loading. Please wait.

Presentation is loading. Please wait.

國立清華大學資訊系黃能富教授 1  All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form.

Similar presentations


Presentation on theme: "國立清華大學資訊系黃能富教授 1  All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form."— Presentation transcript:

1 國立清華大學資訊系黃能富教授 1  All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without prior written permission of Professor Nen-Fu Huang (E-mail: nfhuang@cs.nthu.edu.tw). IP Switching Tag Switching MPLS

2 國立清華大學資訊系黃能富教授 2 Networking Trends - More Bandwidth, - New Technology, - The Internet! ….. Users need more BandwidthBridges - Routers - Switches The Internet & Intranetworking

3 國立清華大學資訊系黃能富教授 3 Network Waves - Leading to IP Switching time Networking Trends BridgesRoutersInternetATM & Fast Ethernet PC Networks Proliferate

4 國立清華大學資訊系黃能富教授 4 Routers Network Waves - Leading to IP Switching time Networking Trends BridgesRoutersInternetATM & Fast Ethernet PC Networks Proliferate

5 國立清華大學資訊系黃能富教授 5 ATM & Internet Routers Network Waves - Leading to IP Switching time Networking Trends BridgesRoutersInternet PC Networks Proliferate

6 國立清華大學資訊系黃能富教授 6 Switches & Intranet ATM & Internet Routers Network Waves - Leading to IP Switching time Networking Trends BridgesRoutersATM & Internet Switches & Intranet PC Networks Proliferate

7 國立清華大學資訊系黃能富教授 7 Network Waves - Leading to IP Switching time Networking Trends BridgesRoutersATM & Internet Switches & Fast Ethernet Switches & Fast Ethernet ATM & Internet Routers PC Networks Proliferate IP Switching

8 國立清華大學資訊系黃能富教授 8 Trends - from the Net Mgr. Perspective Bridges Performance Routers Functionality More performance at lower cost Ethernet Switching More functionality IP Switching

9 國立清華大學資訊系黃能富教授 9 Introduction to IP Switching

10 國立清華大學資訊系黃能富教授 10 A Typical Routed Network Today ATM/Ethernet/Optical Switches End Stations Routers (typically) Switches or Routers

11 國立清華大學資訊系黃能富教授 11 Collapsed Backbone Router Network Today Router Network Ethernet Link End Stations Routers or Bridges Leased Line Bottleneck R R RR

12 國立清華大學資訊系黃能富教授 12 IP Switches - An Alternative IP Switches use same routing technology as routers ATM is a link level, point-to-point technology “IP Switches” End Stations ATM “link” Routers (or sometimes Bridges)RS RS RS RS

13 國立清華大學資訊系黃能富教授 13 IP Switches IP Switching Overlay on an ATM Network End Stations Routers or Bridges Edge Routers or Bridges SRS R R SRS R R R R R R R IP Switches use same routing technology as routers Switch controllers communicate with edge routers as peers Sustained IP flows bypass the controller through low latency ATM switch hardware ATM links interconnect IP Switches

14 國立清華大學資訊系黃能富教授 14 IP Switch is a... IP Routing Switching + Device that integrates... = … into a single platform that provides... R S R S simplest way to get the price/performance and quality of service of hardware switching very high-performance IP forwarding while keeping the flexibility of routing

15 國立清華大學資訊系黃能富教授 15 IP Switching Technology Legacy LANs or WANs IP Switch Gateway IP Router with IP Switching enhancements IP Switch Host Driver R S IP Switch Controller ATM Switch with IP Switching Code ATM Links IP Switch

16 國立清華大學資訊系黃能富教授 16 The IP Switching Solution Platform Independent Best-of-Breed Hardware + Data IP Software Internet Protocol VideoVoice Combine IP Software IP Switch IP Switch Controller ATM Switch IP Switch IP Switch Controller Frame Relay Switch IP Switch IP Switch Controller Ethernet, TR, FDDI Switch IP Switch IP Switch Controller Optical Switch

17 國立清華大學資訊系黃能富教授 17 IP Switch Connections Attach directly or use the IP Switch Gateway IP Switch Direct Connections Driver IP IP Switching IFMP Added Router Driver IP IP Switching IFMP Added IP Switch Gateway IP Switch s/w Servers Internetworking 10/100/1000, Ethernet or ATM Driver IP Router Driver IP 10/100/1000, Ethernet or ATM

18 國立清華大學資訊系黃能富教授 18 R S General Switch Management Protocol (GSMP) Simple protocol that provides call setup, tear-down, and call status Supported on ATM Switch Supported on IP Switch Controller IP Flow Management Protocol (IFMP) Protocol between multiple IP Switches or hosts Protocol used to send flow redirection messages IP Switching Protocols Upstream Node Downstream Node IFMP GSMP

19 國立清華大學資訊系黃能富教授 19 IP Switch Operation Initial Path  IP packets are forwarded hop-by-hop using a default virtual channel (VC).  ATM cells are reassembled into IP packets at each hop.  The IP Switch Controller makes a flow classification decision according to the IP packets. IP Switch IP Switch Controller ATM Fabric  Upstream Node Downstream Node ATM Cells Direct Host ATM Node Gateway

20 國立清華大學資訊系黃能富教授 20 IP Switch IP Switch Controller ATM Fabric  Downstream Node Upstream Node  ATM Cells IP Switch Operation Controller Labels a Selected Flow IP Switch Controller IP Switch Controller sends an IFMP message to the upstream node to use a new VC for the selected flow.  Traffic for the selected flow begins to flow on the new VC — the upstream flow is labeled. 

21 國立清華大學資訊系黃能富教授 21 IP Switch Operation Downstream Node Also Labels Flow  Downstream node also sends an IFMP request for a new VC. IP Switch sends traffic for that flow to the downstream node on the new VC —the downstream flow is labeled.  IP Switch Upstream Node Downstream Node IP Switch Controller ATM Fabric ATM Cells  

22 國立清華大學資訊系黃能富教授 22 IP Switch Operation IP Flows at ATM Link Speeds! Incoming labeled flow switched through to outgoing labeled flow.“Cut-through” operation completed for flow-oriented traffic. ‘ Upstream Node IP Switch Controller IP Switch ATM Fabric ‘‘ ATM Cells Downstream Node ATM Cells

23 國立清華大學資訊系黃能富教授 23 RR R S R S How Do Packets Traverse IP Switches ? Initial IP Packet After redirection, subsequent packets flow directly through ATM switch! IP Flow SS Redirect Control Protocol (IFMP)

24 國立清華大學資訊系黃能富教授 24 IP Switching - A review MAC Layer Transport IP Software IP Router ATM HW ATM Forum Software ATM Switch ATM HW IP Software IP Switch IP Switching combines the proven functionality of IP with the hardware switching speed of ATM

25 國立清華大學資訊系黃能富教授 25  Flows consist of multiple, similar packets, for example, the same source/destination addresses, type of service, protocol  Long-lived flows are ideal for cut-through switching  Short-lived transactions are ideal for datagram forwarding  Over 90% of bytes can be switched, less than 10% routed! Flow-Oriented Traffic File transfer (FTP) Telnet HTTP Web image downloads Multimedia audio/video Name look-ups (DNS) Network Time Protocol E-mail (SMTP) Post Office Protocol (POP) SNMP Flow-Oriented TrafficShort-Lived Traffic

26 國立清華大學資訊系黃能富教授 26 IP Switching Protocols  IFMP ( IP Flow Management Protocol ) Two associated RFCs RFC 1953 specifies IFMP RFC 1954 provides transmission specifics  GSMP (General Switch Management Protocol) Between the controller and the Switch Call Setup and tear down Add and delete leaves in point-to-multipoint connection manage switch ports configuration and statistics

27 國立清華大學資訊系黃能富教授 27 Tag Switching Outline  Tag Switching Overview  Tag Switching Components  Tag Distribution Protocol

28 國立清華大學資訊系黃能富教授 28 Tag Switching Overview  Tag Switching fuses the intelligence of routing with the performance of switching to scale existing networks to meet future growth demands.  Tag Switching uses a form of label swapping across packet or cell-based networks. units of data (packet or cell) carry a short, fixed length label ( tag ) that tells switching nodes how to process the data.  A Tag Switching internetwork consists of the following elements : Tag edge routers Tag switches Tag Distribution Protocol (TDP)

29 國立清華大學資訊系黃能富教授 29 Fusing Routing and Switching  Combining Layer 3 routing—scalability and flexibility Layer 2 switching—high performance of ATM  Leveraging Cisco’s existing core router and ATM switch platforms Cisco Introduces Tag Switching +=

30 國立清華大學資訊系黃能富教授 30 Tag Switching Cisco IOS ™ Technology  Enhancement to Cisco’s IOS Common thread for all Cisco routing and switching platforms  Software-only upgrade to existing Cisco products Investment protection for existing Cisco customers Migration options for new customers Tag Switching

31 國立清華大學資訊系黃能富教授 31 Tag Switching Overview Tag Switches (ATM Switch or Router) Tag Distribution Protocol (TDP) Tag Edge Routers (apply/strip Tag)

32 國立清華大學資訊系黃能富教授 32 Tag Switching Internetwork Elements  Tag Edge Routers Tag edge routers are full-function Layer 3 routing devices located at the edge of a tag switching network They apply tags to incoming packets and remove tags from outgoing packets. They also apply value-added Layer 3 services, such as security, accounting, and QoS classification.  Tag Switches Tag switches are the core of the tag switching internetwork. They switch tagged packets or cells based on the tags. Tag switches may also support full layer 3 routing or layer 2 switching.  Tag Distribution Protocol (TDP) TDP is used to distribute tag information between devices in a tag switching internetwork.

33 國立清華大學資訊系黃能富教授 33 Tag Edge Routers  Full-function Layer 3 routers Security Quality of Service Traffic management NetFlow switching  Apply tags to packets based on Tag Information Base (TIB)  Variety of link types Packet-over-SONET, HSSI ATM Future FE/GB Ethernet  Cisco IOS upgrade for existing Cisco routers Tag bindings Per destination prefix Specified paths for traffic engineering Per QOS class Per source/destination flow

34 國立清華大學資訊系黃能富教授 34 Tag Switches  Routers or ATM switches  Tags is placed in the VPI/VCI fields of cells ATM switches performing tag switching do not need to handle high call setup rates.  Multiple routing protocols OSPF, IS-IS, EIGRP, BGP  Multiprotocol support Switching on Tags Simplified lookup on tag Tag label swap on forwarding

35 國立清華大學資訊系黃能富教授 35 Tag Switching Operation 2.Ingress tag edge router receives packet, performs Layer 3 value-added services, and “tag” packets 3.Tag switches switch tagged packets using tag info 4.Tag edge router at egress removes tag and delivers packet 1a.Existing routing protocols (e.g. OSPF, IGRP ® ) establish reachability to destination networks 1b.Tag Distribution Protocol (TDP) establishes tag to destination network mappings

36 國立清華大學資訊系黃能富教授 36 Tag Switching Operations  Tag edge routers and tag switches use standard routing protocols (BGP, OSPF) to identify routes through the network.  Edge routers and switches use table generated by the routing protocols to assign and distribute tag information via the TDP. Edge routers receives the TDP information and build a forwarding database which makes use of the tags.  When an edge router receives a packet for forwarding across the tag network, it analyzes the network layer header, selects a route for the packet from its routing tables, applies a tag, and forwards the packet to the next hop tag switch.

37 國立清華大學資訊系黃能富教授 37 Tag Switching Operations  The tag switch receives the tagged packet and switches the packet based solely on the tag, without re-analyzing the network layer header.  The packet reaches the edge router at the egress point of the network, where the tag is stripped off and the packet delivered.

38 國立清華大學資訊系黃能富教授 38 Tag Switching Components  Tag Switching consists of two components: forwarding and control.  Forwarding Component The forwarding component uses the tag information (tags) carried by packets and the tag forwarding information maintained by a tag switch to perform packet forwarding.  Control Component The control component is responsible for maintaining correct tag forwarding information among a group of interconnected tag switches.

39 國立清華大學資訊系黃能富教授 39 Forwarding Component  Label swapping is the fundamental forwarding paradigm employed by tag switching.  Tag switching requires a tag to be carried in each packet.  The tag can be carried in a variety of ways: as a small “shim” tag header inserted between the layer 2 and the Network Layer headers. as part of the layer 2 header, if the layer 2 header provides adequate semantics (e.g., Frame Relay, or ATM). as part of the Network Layer header (e.g., using the Flow Label field in the IPv6 with appropriately modified semantics).

40 國立清華大學資訊系黃能富教授 40 Layer 2 Tag Layer 3 Header Tags GFC VPI VCI PTI CLP HEC Ver Pri Flow Label * Tag Layer 2 ATM IPv6

41 國立清華大學資訊系黃能富教授 41 Tag Information Base  Tag Information Base (TIB) Each tag switch maintains a TIB to implement the label swapping concept. Each entry in the TIB consists of an incoming tag, and one or more sub-entries of the form: For an incoming tag, a unicast entry would just have a single sub- entry, while a multicast entry may have one or more sub-entries. Outgoing Outgoing Outgoing Link Level Tag Interface Information (such as MAC address)

42 國立清華大學資訊系黃能富教授 42 Forwarding Algorithm  When a packet with a tag is received by a tag switch, the switch uses the tag as an index in its TIB.  If the switch finds an entry with the incoming tag equals to the tag carried in the packet, the switch replaces the tag in the packet with the outgoing tag, replaces the link level information (e.g. MAC address) in the packet with the outgoing link level information, and forwards the packet over the outgoing interface.  If no entry is found, or the entry exists with empty outgoing tag, and the entry does not indicate local delivery to the switch, the switch may either (a) discard the packet, or (b) strip the tag information, and submit the packet for network layer processing.

43 國立清華大學資訊系黃能富教授 43 Tag Switching Example 128.89 171.69 1 0 1 In Tag X X... Address Prefix 128.89 171.69... Out I’face 1 1... Out Tag 4 5... In Tag 4 5... Address Prefix 128.89 171.69... Out I’face 0 1... Out Tag 9 7... 128.89.25.4Data4128.89.25.4Data 128.89.25.4Data128.89.25.4Data9

44 國立清華大學資訊系黃能富教授 44 Advantages of the Forwarding Algorithm  Advantages of the forwarding algorithm: The forwarding decision is based on the exact match algorithm using a fixed length, fairly short tag as an index. This enables a simplified forwarding procedure, relative to longest match forwarding traditionally used at the network layer. The same forwarding algorithm applies to both unicast and multicast. The forwarding procedure is decoupled from the control component of tag switching. New routing (control) functions can readily be deployed without disturbing the forwarding paradigm.

45 國立清華大學資訊系黃能富教授 45 Control Component  Essential to tag switching is the notion of binding between a tag and Network Layer routing (routes).  The control component is responsible for creating tag bindings, and distributing the tag binding information among tag switches.  Creating a tag binding involves allocating a tag, and then binding a tag to a route.  The distribution of tag binding information among tag switches could be accomplished via several options piggybacking on existing routing protocols using a separate Tag Distribution Protocol (TDP)

46 國立清華大學資訊系黃能富教授 46 Characteristics of the Control Component  Creation of tag binding is driven primarily by control traffic rather by data traffic. minimizes the amount of control traffic needed to distribute tag binding. independent and insensitive to the data traffic profile/pattern. tags are precomputed (prebound) before data traffic arrives.  Supporting wide range of forwarding granularities: A tag could be associated to a group of routes. A tag could also be bound to an individual flow (e.g., an RSVP flow) A tag could be bound to a multicast tree.

47 國立清華大學資訊系黃能富教授 47 Control Component Modules  Control component is organized as a collection of modules designed to support a particular routing function Destination-based routing, Hierarchy of routing knowledge, Multicast, Quality of service, Flexible routing (explicit routes)  Destination-based routing A router makes a forwarding decision based on the destination address carried in a packet and the information stored in the Forwarding Information Base (FIB, or routing table). A router constructs its FIB by using the information it receives from routing protocols (e.g., OSPF, BGP). To support destination-based routing with tag switching, a tag switch, just like a router, participates in routing protocols, and constructs its FIB.

48 國立清華大學資訊系黃能富教授 48 Destination-based Routing  There are three permitted methods for tag allocation and TIB management: (a) downstream tag allocation, (b) downstream tag allocation on demand, and (c) upstream tag allocation. In all cases, a switch allocates tags and binds them to address prefixes in its FIB.  Downstream tag allocation The tag is generated and bound to a prefix by the switch at the downstream end of the link (with respect to the direction of data flow). For each route in its FIB the switch allocates a tag, creates an entry in its TIB with the incoming tag set to the allocated tag, and then advertises the binding to other adjacent tag switches. When a tag switch receives tag binding information for a route, and that information was originated by the next hop for that route, the switch places the tag into the outgoing tag of the TIB entry associated with the route.

49 國立清華大學資訊系黃能富教授 49 Downstream Tag Allocation Downstream 128.89 171.69 1 0 1 In Tag X X... Address Prefix 128.89 171.69... Out I’face 1 1... Out Tag 4 5... In Tag 4 5... Address Prefix 128.89 171.69... Out I’face 0 1... Out Tag 9 7... Upstream 1.Establish the FIB via existing routing protocols (e.g. OSPF, IGRP ® ) 2a. Downstream Switch determines the Tag for each prefix (route), 2b. Deliver the Tag information to upstream switches.

50 國立清華大學資訊系黃能富教授 50 Destination-based Routing  Downstream tag allocation on demand On demand allocation means that tags will only be allocated and distributed by the downstream switch when it is requested to do so by the upstream switch. Most useful in ATM networks. For each entry in its FIB, the switch identifies the next hop for that route. It then issues a request (via TDP) to next hop for a tag binding. The rest operations are similar to downstream allocation.  Upstream tag allocation Tags are allocated and bound at the upstream end of the link. For each route in its FIB whose next hop is reachable via one of its interfaces, the switch allocates a tag, creates an entry in its TIB with the outgoing tag set to the allocated tag, and then advertises to next hop (via TDP) the binding The next hop switch places the tag into the incoming tag of the TIB entry.

51 國立清華大學資訊系黃能富教授 51 Control Component Modules  Hierarchy of routing knowledge Tag switching allows complete decoupling of interior and exterior routing. Only border tag switches have to maintain exterior routing information.  Multicast We need to associate a tag with a multicast tree.  Quality of service Packets are classified into classes with different QoS requirements. A tag corresponding to a traffic class is applied to the packet.  Flexible routing (explicit routes) Explicit routes provide forwarding paths that are different from the paths determined by destination-based routing. Allow TDP to carry information about an explicit route.

52 國立清華大學資訊系黃能富教授 52 Tag Distribution Protocol  TDP provides the means for tag switches to distribute, request, and release tag binding information for multiple network layer protocols.  TDP is a two party protocol that requires a connection oriented transport layer with guaranteed sequential delivery.  Currently TCP is used.  The TDP specification defines its state transition table and message format.

53 國立清華大學資訊系黃能富教授 53 TDP Architectural Benefits  Leverages existing routing protocols (OSPF, BGP, EIGRP, etc.)  Prepopulates tags  Topology-driven, not traffic- driven  Bindings are distributed before traffic arrival  Avoids connection setup overhead of flow-by-flow schemes Tag Distribution Protocol (TDP)

54 國立清華大學資訊系黃能富教授 54 Switched Router Backbones  Layer 2 ATM core with routers  ATM are transparent  All routers are neighbors  Signaling performance issues  Scalability is limited  Tag switching core with tag routers  Tag switches are routing peers  All packets tagged  Minimizes signaling overhead  Increased scalability Without Tag Switching With Tag Switching

55 國立清華大學資訊系黃能富教授 55 Router Backbones—Internet  Software upgrade to existing routers (e.g., 75xx)  Enables new traffic management capabilities Load balancing Enhanced QOS  High performance links including Packet-over-SONET (POS) and ATM  Extensible to multigigabit routing platforms Load balancing

56 國立清華大學資訊系黃能富教授 56 Tag Switching and ATM Services  ATM services for real-time services PNNI/UNI signaling Voice trunking Circuit Emulation (CES) Tag switching for data traffic Offloads signaling-intensive traffic Reduces call set-up dependencies Co-Existing on Same Platform! ATM IPFR ATM FR IP

57 國立清華大學資訊系黃能富教授 57 Tag Switching vs. Other Approaches Connection Setup—Per Flow  Layer 3 gateway in data path  Faster path after flow classified  Latency may exceed flow duration  Connection setup per flow source/destination  Excessive signaling overhead  Support IP only  Not using ATM Forum standard Tag Prepopulated Route processor out of data path All packets use fast path Tag are prepopulated Tag assigned per destination Leverages routing protocols Multiprotocol support Using ATM Forum standard IP Switching (Ipsilon)Tag Switching Gateway

58 國立清華大學資訊系黃能富教授 58 2.Ingress router receives packet, and forwards on default VCI to IP switch controller for forwarding 3.IP switch controller classifies ‘long lived’ flows to individual hosts 1.Common routing protocols (e.g. OSPF, IGRP) establish reachability to destination networks 4.IP switch controller uses IFMP protocol to impose new VCI on adjacent IP switches and routers IP Switching (Ipsilon) Operation 5.IP switch controllers propagate cut-through VCI across network 6.Cut-through VCI fully established, fast switch forwarding starts Gateway

59 國立清華大學資訊系黃能富教授 59 Tag Switching Benefits Multi-protocol support Provides load balancing Enhanced QOS Improves scalability

60 國立清華大學資訊系黃能富教授 60 Tag Switching Advantages  Scalability Destination tagging Topology-driven, not traffic-driven No flow VC management overhead  High performance Utilizes ATM core for tag switching Simplified forwarding for future gigabit interfaces  Evolution Existing and new products that leverage standard protocols Open, emerging IETF Multi-Protocal Label Swapping standard

61 國立清華大學資訊系黃能富教授 61 Advantages (Cont.)  Flexibility Operates on routers and ATM switches Over cell and packet media Standard ATM services and tag-switched packet traffic IP and other Layer 3 protocols Multiple Layer 3 routing protocols (BGP, OSPF, etc.) Traffic management on both routed Internets and multiservice ATM nets

62 國立清華大學資訊系黃能富教授 62 Multi-Protocol Label Switching (MPLS) Outline  Prior Work  MPLS Overview  MPLS Framework  MPLS Architecture  Conclusion

63 國立清華大學資訊系黃能富教授 63 Prior Work  Tag Switching (Cisco)  Aggregate Route-Based IP Switching (ARIS, IBM)  IP Navigator  IFMP-IP Switching (Ipsilon)  Cell Switching Router (CSR, Toshiba)

64 國立清華大學資訊系黃能富教授 64 Prior Work  Tag switching is based on the control-driven approach. The set up of LSPs (Label Switched Paths) closely follows control messages such as routing updates and RSVP messages.  Aggregate route-based IP switching (ARIS) is also based on the control-driven approach. Very similar to tag switching. ARIS introduces the concept of an “egress identifier” (FECs) to express the granularity of LSPs.  IP Navigator is again a control-driven protocol. Use OSPF as the internal routing protocol used within a routing domain. Explicit routing is used to setting up the VCs.

65 國立清華大學資訊系黃能富教授 65 Prior Work  Ipsilon Flow Management Protocol (IFMP) is a traffic driven protocol. When the number of packets from a flow exceeds a predertermined threshold, the controller uses IFMP to set up an LSP for the particular flow.  Cell switch router (CSR) proposal is similar to IP switching. CSR is primarily designed as a device for interconnecting ATM clouds. Within an LIS (logical IP subnet), ATM forum standards are used to connection hosts and switched together.  Multiple LISs are then interconnected with CSRs that are capable of running both IP forwarding and cell forwarding. The setup of LSPs is data-driven for best effort traffic and RSVP-driven for flows that require resource reservation.

66 國立清華大學資訊系黃能富教授 66 MPLS Overview  The IETF MPLS working group (created in 1997) is to standardize a base technology that integrates the label swapping forwarding paradigm with network layer routing.  RFC 3812  Current status: Framework document have been published which discuss technical issue and requirements for the MPLS. Architecture document have been published which contain a draft protocol architecture for MPLS. The proposed architecture is based on the MPLS framework document.  Cisco is the major contributor to the MPLS working group. substitute “Label” for “Tag” in Tag Switching   MPLS

67 國立清華大學資訊系黃能富教授 67 Core mechanisms of MPLS  Semantics assigned to a stream label Labels are associated with specific streams of data.  Forwarding Methods Forwarding is simplified by the use of the short fixed length labels to identify streams. Forwarding may require simple functions such as looking up a label in a table, swapping labels, and possibly decrementing and checking a TTL. In some case MPLS may direct uses of underlying layer 2 forwarding.  Label Distribution Methods Allow nodes to determine which labels to use for specific streams. This may use some sort of control exchange, and/or be piggybacked on a routing protocol.

68 國立清華大學資訊系黃能富教授 68 Motivation for MPLS  Benefits relative to use of a Router Core Simplified forwarding Efficient explicit routing Traffic reengineering QoS routing Complex mappings from IP packet to forwarding equivalence class (FEC) Partitioning of functionality Single forwarding paradigm with several level differentiation  Benefits relative to use of an ATM or Frame Relay Core Scaling of the routing protocol Common operation over packet and cell media Easier Management Elimination of the ‘routing over Large Clouds’ issue

69 國立清華大學資訊系黃能富教授 69 Native IP Forwarding  The term IP routing is often applied to both the packet forwarding and route determination process in an IP network.  To avoid confusion, we use Native IP forwarding (NIF) to specifically refer to hop-by-hop, destination-based packet forwarding.  IP routing for references to the topology and path discovery processes.  Each packet’s next hop and output port are determined by a longest-prefix-match forwarding table lookup (Destination IP address).  Additional packet classification may also be performed to derive output port queuing and scheduling rules.

70 國立清華大學資訊系黃能富教授 70 A Simplified NIF node forwarding engine IP Header IP payload Forwarding Table Forwarding Table Packet Classification Packet Classification Input Ports Output Ports Next hop + port Queuing and Scheduling rules Longest Prefix Match lookup Packet Classification keys: IP source and destination addresses, IP protocol type, DiffServ (DS) or TOS byte, and TCP/UDP port numbers.

71 國立清華大學資訊系黃能富教授 71 Per-Hop classification, queuing, and scheduling Queue S Classify Port 1 Port N Port M

72 國立清華大學資訊系黃能富教授 72 A Simplified LSR forwarding engine MPLS label MPLS payload Switching Table Switching Table Input Ports Output Ports Next hop + port Queuing and Scheduling rules

73 國立清華大學資訊系黃能富教授 73 Traffic Engineering  Conventional IP routing attempts to find and follow the shortest path between a packet’s current location and its intended destination.  This leads to “hot spots” and packet loss rates, latency, and jitter increase as the average load on a router rises.  Solutions: (1) Faster routers, (2) Alternate routes.  For example.  Routing policy may also require traffic engineering. For example, the external link between R6 and A3 may have been funded solely by A2 and A3. Therefore, A1’s traffic must not be allowed to traverse it.

74 國立清華大學資訊系黃能富教授 74 Traffic Engineering R1 Access 3 Access 1 Access 2 IP Backbone R2 R3 R4 R5 R6 Route from A2 to D Desired route from A1 to D Actual route from A1 to D Destination D -- Override the shortest path route

75 國立清華大學資訊系黃能富教授 75 Signaling and Provisioning  The term signaling is typically applied when network (re)configuration can be requested by users at any time and achieved within milliseconds or seconds.  When the reaction time for (re)configuration becomes measured in minutes or hours, it is often referred to as provisioning.  In either case, the (re)configuring action involves establishing (or modifying) information used by routers or switches to control their forwarding actions, including forwarding (routing) information, classification rules, and/or queuing and scheduling parameters.  OSPF and BGP (Border Gateway Protocol) represent a form of free-running signaling. RSVP for signaling additional QoS informtion along existing paths.

76 國立清華大學資訊系黃能富教授 76 MPLS Framework  The framework document discusses the core MPLS components, observations, issues, assumptions, and technical approach.  Core MPLS components: the Basic routing approach, Labels, and Encapsulation  Observations, Issues, and Assumptions Layer 2 versus Layer 3 forwarding, Scaling issues, Types of streams, and Data driven versus control driven label assignment.  Technical approach Label distribution, Stream Merging, Loop handling, Interoperation with NHRP, Operation in a hierarchy, Interoperation with “conventional “ ATM, Multicast, Mutipath, Host interactions, Explicit Routing, Traceroute, LSP Control: Egress versus local, and security.

77 國立清華大學資訊系黃能富教授 77 Core MPLS Components  The basic routing approach Routing is accomplished through the use of standard L3 routing protocols (e.g. OSPF and BGP). The information maintained by the L3 routing protocols is then used to distribute labels to neighboring nodes that are used in the forwarding of packets.  Labels Label semantics, Label granularity, Label assignment, Label stack and forwarding operations.  Label semantics The label is nothing more than a shorthand for an aggregate stream of user data. The meaning of the label is a strictly local issue between two neighboring nodes.

78 國立清華大學資訊系黃能富教授 78 Labels With this interpretation: (1) MPLS could be employed between any two neighboring nodes for forwarding of data between those nodes, even if no other nodes in the network participate in MPLS. (2) When MPLS is used between more than two nodes, then the operation between any two neighboring nodes could be interpreted as independent of the operation between any other pair of nodes.  Label granularity The device which will be using the label to forward packets will be forwarding all packets with the same label in the same way. A Forwarding Equivalence Class (FEC) is a set of L3 packets which are all forwarded in the same manner by a particular Label Switching Router (LSR).

79 國立清華大學資訊系黃能富教授 79 Labels For unicast IP traffic, the granularity of a label allows various levels of aggregation in a Label Information Base (LIB). For IP multicast, the natural binding of a label would be to a multicast tree, or rather to the branch of a tree which extends from a particular port.  Label assignment Label assignment involves allocating a label, and then binding a label to a route. Label assignment can be driven by control traffic or data traffic. (discussed later.) Label withdrawal is primarily a matter of garbage collection, that is collecting up unused labels so that they may be reassigned.

80 國立清華大學資訊系黃能富教授 80 Routing Aggregation R1 Access 1 Access 2 R2 R3 R4 R5 R6 Destination D Access 3 1 2 3 5 4

81 國立清華大學資訊系黃能富教授 81 Forwarding Component  Label Stack and Forwarding Operations The basic forwarding operation consists of looking up the incoming label to determine the outgoing label, encapsulation, port, and any additional information which may pertain to the stream such as a particular queue or other QoS related treatment. This operation is referred as label swap. When a packet first enters an MPLS domain, the packet is associated with a label. It is referred as a label push. When a packet leaves an MPLS domain, the label is removed. It is referred as a label pop. The label stack is useful within hierarchical routing domain.

82 國立清華大學資訊系黃能富教授 82 Encapsulation  Label-based forwarding makes use of various pieces of information, including a label or stack of labels, and possibly additional information such as a TTL field.  These information can be carried in several forms.  The term “MPLS encapsulation” is used to refer to whatever form is used to encapsulate the label information and information used for label based forwarding.  An encapsulation scheme may make use of the following fields: label, TTL, class of service, stack indicator, next header type indicator, and checksum

83 國立清華大學資訊系黃能富教授 83 MPLS label stack encoding Label (20 bits) Exp (3 bits) S (1 bit) TTL (8 bits) Label (20 bits) Exp (3 bits) S (1 bit) TTL (8 bits) Label (20 bits) Exp (3 bits) S (1 bit) TTL (8 bits) Original Packet... Stack top Stack bottom MPLS frame delivered to link layer COS

84 國立清華大學資訊系黃能富教授 84 Label Assignment  Topology driven (Tag) In response to normal processing of routing protocol control traffic Labels are pre-assigned; no label setup latency at forwarding time.  Request driven (RSVP) In response to normal processing of request based control traffic May require a large number of labels to be assigned.  Traffic driven (Ipsilon) The arrival of data at an LSR triggers label assignment and distribution. Label setup latency; potential for packet reordering.

85 國立清華大學資訊系黃能富教授 85 Label Distribution  Explicit Label Distribution Downstream label allocation » label allocation is done by the downstream LSR » most natural mechanism for unicast traffic Upstream label allocation » label allocation is done by the upstream LSR » may be used for optimality for some multicast traffic A unique label for an egress LSR within the MPLS domain » Any stream to a particular MPLS egress node could use the label of that node.

86 國立清華大學資訊系黃能富教授 86 Label Distribution  Explicit Label Distribution Protocol (LDP) Reliability : by transport protocol (TCP) or as part of LDP. Separate routing computation and label distribution.  Piggybacking on Other Control Messages Use existing routing/control protocol for distributing routing/control and label information. OSPF, BGP, RSVP, PIM Combine routing and label distribution.  Label purge mechanisms By time out Exchange of MPLS control packets

87 國立清華大學資訊系黃能富教授 87 Label Distribution Protocol  LDP Peer: Two LSRs that exchange label/stream mapping information via LDP  LDP messages Discovery messages (via UDP) » announce and maintain the presence of LSR Session messages » maintain session between LDP peers Advertisement message » label operation (Label distribution) Notification message » advisory information and signal error information » Error notification: signal fatal errors » Advisory notification: status of the LDP session or some previous message received from the peer.

88 國立清華大學資訊系黃能富教授 88 Label Swapping  Labeled Packet Map the incoming label to a next hop label, determines where to forward the packet. Encodes the new label stack into the packet, and then forwards it.  Unlabeled Packet LSR analyzes the L3 header, to determine the packet’s stream. Map the stream to a next hop, determines where to forward the packet. Encodes the new label stack into the packet, and then forwards it.

89 國立清華大學資訊系黃能富教授 89 Use of MPLS in a Hierarchy

90 國立清華大學資訊系黃能富教授 90 Observations, Issues, and Assumptions  Layer 2 versus layer 3 forwarding MPLS uses L2 forwarding as a way to provide simple and fast packet forwarding capability. A node forwarding at L3 must parse a (relatively) large header, and perform longest-prefix match to determine a forwarding path. However, L3 forwarding will be needed for a variety of reasons, including: » For scaling; to forward on a finer granularity than the labels can provide. » For security; to allow packet filtering at firewalls. » For forwarding at the initial router (when hosts don’t do MPLS).

91 國立清華大學資訊系黃能富教授 91 Observations, Issues, and Assumptions  Scaling issues MPLS scalability is provided by two of the principles of routing. » Forwarding follows an inverted tree rooted at a destination » The number of destinations is reduced by routing aggregation.  Types of streams Switched paths in the MPLS network can be of different types: » point-to-point, multipoint-to-point, point-to-multipoint, and multipoint-to-multipoint The factors that determine which type of switched path is used are » the capability of the switches employed in a network » the purpose of the creation of a switched path; that is, the types of flows to be carried in the switched path.

92 國立清華大學資訊系黃能富教授 92 Observations, Issues, and Assumptions  Data driven versus control traffic driven label assignment Three strategies for label assignment: (1) driven by topology based control traffic (e.g., Tag, and ARIS) » labels are assigned in response to normal processing of routing protocol control traffic (2) driven by request based control traffic (RSVP) » labels are assigned in response to normal processing of request base control traffic (3) driven by data traffic (CSR, and Ipsilon) » the arrival of data at an LSR “triggers” label assignment and distribution. In actual practice combinations of these methods may be employed.

93 國立清華大學資訊系黃能富教授 93 Conclusion  MPLS has emerged as a promising technology that will improve the scalability of hop-by-hop routing and forwarding, and provide traffic engineering capabilities for better network provisioning.  It decouples forwarding from routing and allows multi-protocol support without requiring changes to the basic forwarding paradigm.  RFC 3812  Generalized MPLS (GMPLS)  λMPLS (Optical wavelength-based)


Download ppt "國立清華大學資訊系黃能富教授 1  All rights reserved. No part of this publication and file may be reproduced, stored in a retrieval system, or transmitted in any form."

Similar presentations


Ads by Google