Rethinking Packet Forwarding Hardware

Total Page:16

File Type:pdf, Size:1020Kb

Rethinking Packet Forwarding Hardware Rethinking Packet Forwarding Hardware Martin Casado∗x Teemu Koponeny Daekyeong Moonz Scott Shenkerzx 1 Introduction should not be tied to particular networking hardware, For routers and switches to handle ever-increasing band- and networking hardware should not be restricted width requirements, the packet “fast-path” must be to particular protocols. General-purpose network handled with specialized hardware. There have been two processors have largely failed the first requirement, approaches to building such packet forwarding hardware. while the current generation of commodity network- The first is to embed particular algorithms in hardware; ing chips fail the second requirement. this is what most commodity forwarding chips do (e.g., • Hardware simplicity: In order to scale to increasing those from Broadcom, Marvell, and Fulcrum). These speeds, the hardware functionality should be of chips have led to amazing increases in performance and very limited complexity. Again, both current reductions in cost; for instance, one can now get 24 ports approaches to hardware acceleration fail to satisfy of gigabit ethernet for under $1000. this requirement. Unfortunately, this approach offers only very rigid func- • Flexible and efficient functionality: The resulting tionality; one can’t change protocols or add new features software-hardware combination should be capable that require hardware acceleration without redoing the of realizing a wide variety of networking functions chip. This forces network forwarding enhancements to at high-speed and low-cost, while having short evolve on hardware design timescales, which are glacially development cycles. Commodity chips work at slow compared to the rate at which network applications high-speed and low-cost, but have long development and requirements are changing. cycles for new functionality. General-purpose To counter this inflexibility, several vendors have network processors are not yet competitive on speed taken a different approach by introducing more flexible or cost. “network processors”. These have not been as successful In this paper we propose a different approach to as anticipated, for at least two reasons. First, designers hardware packet forwarding that has the potential to were never able to find a sweet-spot in the tradeoff realize all of these goals. Our approach assigns a between hardware simplicity and flexible functionality, completely different role to hardware. Traditionally, so the performance/price ratios have lagged well behind hardware implementations have embodied the logic commodity networking chips. For another, the interface required for packet forwarding. That is, the hardware provided to software has proven hard to use, requiring had to capture all the complexity inherent in a packet protocol implementors to painstakingly contort their forwarding decision. code to the idiosyncrasies of the particular underlying In contrast, in our approach all forwarding decisions hardware to achieve reasonable performance. These two are done first in software, and then the hardware merely problems (among others) have prevented general-purpose mimics these decisions for subsequent packets to which network processors from dislodging the more narrowly that decision applies (e.g., all packets destined for the targeted commodity packet forwarding hardware that same prefix). Thus, the hardware does not need to dominates the market today. understand the logic of packet forwarding, it merely In this paper, we step back from these two well-known caches the results of previous forwarding decisions (taken approaches and ask more fundamentally: what would we by software) and applies them to packets with the want from packet forwarding hardware, how might we same headers. The key task is to match incoming achieve it, and what burden does that place on networking packets to previous decisions, so the required hardware software? is nothing more than a glorified TCAM, which is simple Ideally, hardware implementations of the forwarding to implement (compared to other networking hardware) paths should have the following properties: and simple to reason about. We describe this approach in more detail in Section2. • Clean interface between hardware and software: One key challenge in this approach is scaling to The hardware-software interface should allow each high speeds. Achieving high forwarding rates is not a to evolve independently. Protocol implementations matter of the number of clock cycles needed to make ∗Nicira Networks Inc. a forwarding decision, but instead is one of cache hit yHelsinki Institute for Information Technology (HIIT) rates; what fraction of packet forwarding can be done zUC Berkeley, Computer Science Division based on the forwarding of previous packets? This xInternational Computer Science Institute (ICSI) question is central to the viability of this approach, and 1 we address it in Section3. Another key challenge but other rules (such as “packets with TTL=1 should be is deciding to which packets a particular forwarding dropped”) can be applied to all ingress ports. decision applies (i.e., which fields in the packet header Matching rule: The software specifies the fields in the must match in order to apply a decision), and when this packet header that must match for the flow entry to decision has been rendered obsolete by changing network apply. This could be the entire header (i.e., requiring state (e.g., changes in forwarding tables); these system a perfect match), or only some fields (e.g., perhaps only design issues are addressed in Section4. the destination address to match). This approach has been motivated by a long line Forwarding action: The forwarding action is the set of of flow-oriented approaches to networking hardware, output ports to which the packet should be sent, along from [5] to [2] (and many others). What makes our with (optionally) the rewritten packet headers for each approach different from traditional connection-oriented port. Dropping the packet is represented by a special null architectures (e.g., ATM) is that our approach does output port. not require any change to networking protocols. Our State dependence: This represents the local state on approach (similar to the references [2, 5]) only changes which the forwarding decision is based (such as entries in the interface between hardware and software, but does a routing table or ACL database). not affect protocols or the Internet architecture. Like [3] When a packet arrives, it is compared to the table of we seek to provide a flexible software model with flow entries corresponding to its ingress port. If its packet hardware forwarding speeds, however in our approach we header does not match any of the entries, then it is sent propose to fully decouple the software from the hardware, to software for processing. If it matches a flow entry, the while [3] provides direct access to hardware resources packet is handled according to the specification of the such as the TCAM and special purpose ASICs. We view forwarding action in the flow entry. Whenever a piece this as a necessary and complimentary step for integrating of local state changes, such as an update to an ACL or with existing hardware. routing table, then all flow entries that depended on that state are invalidated and removed from the flow table. 2 Our Approach Before proceeding to examples, we mention a few more 2.1 General Description detailed points. First, the matching rules must be defined so a packet matches no more than one rule. Since we Packet forwarding decisions deterministically depend on assume that the software deterministically forwards each the header of the arriving packet and on some local state in packet based on its header fields and particular system 1 the router/switch (such as a routing table). For example, state, it should be possible to generate non-conflicting the header/state combination for ethernet forwarding is entries at runtime. the destination MAC address and the L2 learning table, Second, we view stateful tunneling (e.g., IPsec in whereas for IP forwarding it is the destination IP address which a sequence number is updated for every packet) as and the FIB. virtual output ports rather than part of the forwarding The forwarding decision includes both the output logic. This is similar to how they are handled in port(s) on the network device as well as possible modifi- standard software IP forwarding engines in which they are cations to the packet header, such as the label swapping in modeled as networking interfaces. If we did not use this MPLS or packet encapsulation/decapsulation. As long as technique then no flow entry would be recorded for such the relevant pieces of local state have not changed, then flows, because the state on which the forwarding actions all packets with the same packet header should receive the depends (which includes per-packet modifications) would same forwarding behavior. This statement applies to any be updated on every new packet arrival. forwarding protocol that depends only on packet headers Third, there are a number of possible system designs and local state. that could determine the headers and system state used To leverage this fact, we treat packet forwarding as a in a decision, such as a special-purpose programming matching process, with all packets matching a previous language, a specialized compiler or even hardware decision handled by the hardware, and all non-matching support. We discuss these further in Section4. However, packets handled by the software. We assume that when a the primary goal of this paper is not to give a specific and packet is handled by software, we can infer a flow entry comprehensive system design (we are working on this for that packet which contains four pieces of information: and plan to discuss it in future work), but rather to explore Ingress port(s): This specifies to which ingress ports a the fundamental viability of our general approach. flow entry applies. Many rules will only apply to the ingress port of the packet that generated the flow entry, 2.2 Examples 1We are ignoring forwarding decisions based on deep-packet To demonstrate how our proposal operates in practice, we inspection.
Recommended publications
  • Rule-Based Forwarding (RBF): Improving the Internet's Flexibility
    Rule-based Forwarding (RBF): improving the Internet’s flexibility and security Lucian Popa∗ Ion Stoica∗ Sylvia Ratnasamy† 1Introduction 4. rules allow flexible forwarding: rules can select ar- From active networks [33] to the more recent efforts on bitrary forwarding paths and/or invoke functionality GENI [5], a long-held goal of Internet research has been made available by on-path routers; both path and to arrive at a network architecture that is flexible.Theal- function selection can be conditioned on (dynamic) lure of greater flexibility is that it would allow us to more network and packet state. easily incorporate new ideas into the Internet’s infras- The first two properties enable security by ensuring tructure, whether these ideas aim to improve the existing the network will not forward a packet unless it has network (e.g., improving performance [36, 23, 30], relia- been explicitly cleared by its recipients while the third bility [12, 13], security [38, 14, 25], manageability [11], property ensures that rules cannot be (mis)used to attack etc.) or to extend it with altogether new services and the network itself. As we shall show, our final property business models (e.g., multicast, differentiated services, enables flexibility by allowing a user to give the network IPv6, virtualized networks). fine-grained instructions on how to forward his packets. An unfortunate stumbling block in these efforts has In the remainder of this paper, we present RBF, a been that flexibility is fundamentally at odds with forwarding architecture that meets the above properties. another long-held goal: that of devising a secure network architecture.
    [Show full text]
  • Routing and Packet Forwarding
    Routing and Packet Forwarding Tina Schmidt September 2008 Contents 1 Introduction 1 1.1 The Different Layers of the Internet . .2 2 IPv4 3 3 Routing and Packet Forwarding 5 3.1 The Shortest Path Problem . .6 3.2 Dijkstras Algorithm . .7 3.3 Practical Realizations of Routing Algorithms . .8 4 Autonomous Systems 10 4.1 Intra-AS-Routing . 10 4.2 Inter-AS-Routing . 11 5 Other Services of IP 11 A Dijkstra's Algorithm 13 1 Introduction The history of the internet and Peer-to-Peer networks starts in the 60s with the ARPANET (Advanced Research Project Agency Network). Back then, when computers were expen- sive and linked to several terminals, the aim of ARPANET was to establish a continuous network inbetween mainframe computers in the U.S. Starting with only three computers in 1969, mainly universities were involved in establishing the ARPANET. The ARPANET became a network inbetween networks of mainframe computes and therefore was called inter-net. Today it became the internet which links millions of computers. For a long time nobody knew what use such a Wide Area Netwok (WAN) could have for the pop- ulation. The internet was used for e-mails, newsgroups, exchange of scientific data and some special software, all in all services that were barely known in public. The spread of 1 Application Layer Peer-to-Peer-networks, e.g. Telnet = Telecommunication Network FTP = File Transfer Protocol HTTP = Hypertext Transfer Protocol SMTP = Simple Mail Transfer Protocol Transport Layer TCP = Transmission Control Protocol UDP = User Datagram Protocol Internet Layer IP = Internet Protocol ICMP = Internet Control Message Protocol IGMP = Internet Group Management Protocol Host-to-Network Layer device drivers or Link Layer (e.g.
    [Show full text]
  • Introduction to IP Multicast Routing
    Introduction to IP Multicast Routing by Chuck Semeria and Tom Maufer Abstract The first part of this paper describes the benefits of multicasting, the Multicast Backbone (MBONE), Class D addressing, and the operation of the Internet Group Management Protocol (IGMP). The second section explores a number of different algorithms that may potentially be employed by multicast routing protocols: - Flooding - Spanning Trees - Reverse Path Broadcasting (RPB) - Truncated Reverse Path Broadcasting (TRPB) - Reverse Path Multicasting (RPM) - Core-Based Trees The third part contains the main body of the paper. It describes how the previous algorithms are implemented in multicast routing protocols available today. - Distance Vector Multicast Routing Protocol (DVMRP) - Multicast OSPF (MOSPF) - Protocol-Independent Multicast (PIM) Introduction There are three fundamental types of IPv4 addresses: unicast, broadcast, and multicast. A unicast address is designed to transmit a packet to a single destination. A broadcast address is used to send a datagram to an entire subnetwork. A multicast address is designed to enable the delivery of datagrams to a set of hosts that have been configured as members of a multicast group in various scattered subnetworks. Multicasting is not connection oriented. A multicast datagram is delivered to destination group members with the same “best-effort” reliability as a standard unicast IP datagram. This means that a multicast datagram is not guaranteed to reach all members of the group, or arrive in the same order relative to the transmission of other packets. The only difference between a multicast IP packet and a unicast IP packet is the presence of a “group address” in the Destination Address field of the IP header.
    [Show full text]
  • Analysis and Improvement of Name-Based Packet Forwarding
    Analysis and Improvement of Name-based Packet Forwarding over Flat ID Network Architectures Antonio Rodrigues Peter Steenkiste Ana Aguiar [email protected] [email protected] [email protected] Carnegie Mellon University Carnegie Mellon University Faculty of Engineering, Univ. of Porto Pittsburgh, PA, USA Pittsburgh, PA, USA Instituto de Telecomunicações Faculty of Engineering, Univ. of Porto Porto, Portugal Instituto de Telecomunicações Porto, Portugal ABSTRACT URLs to identify web objects. Name-based Information Centric One of ICN’s main challenges is attaining forwarding table scala- Networks (ICNs) such as NDN [8] promise to be a good fit for such bility when confronted with a huge content space. This is specially applications, for two reasons: (1) no need for external name lookup true in flat ID architectures, which do not naturally support route (e.g., DNS or GNS [18]) by using name-based forwarding at the aggregation for hierarchical names. Previous work has proposed network layer; and (2) reduced forwarding table sizes as a result improving scalability by aggregating content names in a fixed-size of the aggregation enabled by the hierarchical structure of names. Bloom Filters (BF). However, the negative impact of false positive In contrast, ICNs based on flat IDs (defined as fixed-size bit strings (FPs) matches on forwarding correctness and performance has not in this paper), e.g., DONA [12], PURSUIT [6], do not natively have been studied thoroughly. In this paper, we study the end-to-end net- these benefits. work performance of BF-based forwarding. We devise an analytical Recently, a forwarding scheme based on Bloom Filters (BFs) [13, model that accurately models BF-based forwarding and the flow of 14] has been proposed to enable aggregation of content descriptors BF-based packets over inter-domain topologies.
    [Show full text]
  • Unicast Reverse Path Forwarding Configuration Guide, Cisco IOS XE 17 (Cisco ASR 900 Series)
    Unicast Reverse Path Forwarding Configuration Guide, Cisco IOS XE 17 (Cisco ASR 900 Series) First Published: 2020-01-10 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    [Show full text]
  • A Scalable and Flexible Packet Forwarding Method for Future Internet Networks
    Globecom 2014 - Next Generation Networking Symposium A Scalable and Flexible Packet Forwarding Method for Future Internet Networks Andrzej Beben, Piotr Wiśniewski Jordi Mongay Batalla George Xilouris Warsaw University of Technology National Institute of Telecommunications NCSR Demokritos Warsaw, Poland Warsaw, Poland Athens, Greece {abeben, p.wisniewski}tele.pw.edu.pl [email protected] [email protected] Abstract—The paper proposes a novel flexible packet in the data plane while improving SDN scalability thanks to the forwarding (FPF) method designed for Future Internet networks. reduction of state information in SDN forwarders [4]. It follows the source routing principle at an inter-domain level and applies the list of domain customized identifiers to forward II. ANALYSIS OF RELATED WORKS packets on the end-to-end path. The main features are capability to introduce flexible routing path selection, native support for One of the main FI challenges is to design effective routing multipath and multicast packet transfer, ability for exploitation and forwarding methods that overcame limitations of the IP of advanced in-network packet processing as, e.g., content protocol. The key objectives are providing more flexible recoding and caching. The performance and scalability of FPF routing path selection and enabling innovative in-network approach were evaluated by experimentation on developed packet processing, while assuring scalability of the solution. prototype as well as by scalability studies assuming Internet-scale Many of recently proposed approaches are based on the source network scenario. routing principle, which is not really a new idea. The original studies on exploiting source routing in IP networks are Future Internet, source routing, packet forwarding, SDN presented in [5].
    [Show full text]
  • REUNITE: a Recursive Unicast Approach to Multicast Ion Stoica, T
    REUNITE: A Recursive Unicast Approach to Multicast Ion Stoica, T. S. Eugene Ng, Hui Zhang Carnegie Mellon University, PA 15213 g fistoica, eugeneng, hzhang @cs.cmu.edu Abstract—We propose a new multicast protocol called REUNITE.The means to control who is allowed to send to the group – any host key idea of REUNITE is to use recursive unicast trees to implement mul- can send to any IP multicast address. While this is also the case ticast service. REUNITE does not use class D IP addresses. Instead, both group identification and data forwarding are based on unicast IP ad- for IP unicast, the waste of network resources, disruption or de- dresses. Compared with existing IP multicast protocols, REUNITE has sev- nial of service by unauthorized senders can be greatly amplified eral unique properties. First, only routers that are acting as multicast tree in the case of multicast due to the potentially large number of branching points for a group need to keep multicast forwarding state of the receivers in the group [6]. group. All other non-branching-point routers simply forward data packets by unicast routing. In addition, REUNITE can be incrementally deployed Several schemes (e.g., Simple Multicast [5] and EX- in the sense that it works even if only a subset of the routers implement the PRESS [6]) have been proposed recently to tackle the address protocol. Furthermore, REUNITE supports load balancing and graceful degradation such that when a router does not have resources (forwarding allocation and the sender access control problems. In these table entry, buffer space, processing power) to support additional multicast schemes, there is a special node (sender or core) associated with groups, the branching can be automatically migrated to other less loaded each group and the group is identified by a two-tuple <special routers.
    [Show full text]
  • Packet Forwarding with Source Verification
    Packet Forwarding with Source Verification Craig A. Shue Minaxi Gupta Matthew P. Davy Computer Science Department Computer Science Department Chief Network Engineer Indiana University Indiana University Indiana University [email protected] [email protected] [email protected] Abstract— Routers in the Internet do not perform any verifi- the face of routing asymmetries, a common occurrence in the cation of the source IP address contained in the packets, leading Internet and 2) they are primarily a goodwill gesture and fail to the possibility of IP spoofing. The lack of such verification to protect the implementing domains from being spoofed. The opens the door for a variety of vulnerabilities, including denial-of- service (DoS) and man-in-the-middle attacks. Currently proposed remaining techniques either require full deployment [22] or spoofing prevention approaches either focus on protecting only the presence of a key distribution infrastructure [23]. the target of such attacks and not the routing fabric used to With an expectation of prolonged partial deployment in forward spoofed packets, or fail under commonly occurring mind, we present a comprehensive solution to prevent IP situations like path asymmetry. With incremental deployability spoofing in the Internet. Our work is motivated by two main in mind, this paper presents two complementary hop-wise packet tagging approaches that equip the routers to drop spoofed goals. The first is to drop spoofed packets as close to their packets close to their point of origin. Our simulations show that origin as possible, while protecting all valid packets, even these approaches dramatically reduce the amount of spoofing in the face of routing asymmetries.
    [Show full text]
  • On the Aggregatability of Multicast Forwarding State David G
    INFOCOM 2000 1 On the Aggregatability of Multicast Forwarding State David G. Thaler Mark Handley Microsoft AT&T Center for Internet Research [email protected] [email protected] Abstract— It has been claimed that multicast state can- do not concern ourselves with state the router may need to not be aggregated. In this paper, we will debunk this myth keep in order to maintain these forwarding tables, nor with and present a simple technique that can be used to aggre- routing protocols needed to maintain them. The memory gate multicast forwarding state. In particular, we present to hold such ancillary state does not need to be either fast an interface-centric data structure model which allows ag- or directly located on interface processors, so it is not a sig- gregation of ranges of multicast addresses in the forwarding table. nificant limitation on router performance. Similarly, join Understanding the limits of possible aggregation is criti- messages involved in multicast routing need not be aggre- cal to our knowledge of how IP multicast will scale as it be- gated1 so long as their rate is scaled back to prevent the comes widely deployed. We show through analysis and sim- routing traffic dominating, and the multicast routing pro- ulation that some aggregation is possible, even under purely tocols use appropriate scalable timers[7]. random address allocation and purely random group mem- With respect to multicast forwarding state, we will ar- bership distribution. We further show how other methods gue: of allocation can significantly improve the ability to aggre- Shared trees used by second and third generation multi- gate, and how non-random distributions of membership can affect aggregation both positively and negatively.
    [Show full text]
  • Multicast Forwarding Information Base Overview
    Multicast Forwarding Information Base Overview The Multicast Forwarding Information Base (MFIB) architecture provides modularity and separation between the multicast control plane (Protocol Independent Multicast [PIM] and Internet Group Management Protocol [IGMP]) and the multicast forwarding plane (MFIB). This architecture is used in Cisco IOS IPv6 multicast implementations. With the introduction of the IPv4 MFIB infrastructure, the Cisco IOS IPv4 multicast implementation has been enhanced, making the MFIB forwarding model the only forwarding engine used. • Information About the Multicast Forwarding Information Base, on page 1 • Where to Go Next, on page 8 • Additional References, on page 8 • Feature Information for the Multicast Forwarding Information Base, on page 9 Information About the Multicast Forwarding Information Base Benefits of the MFIB Architecture • Simplifies multicast operation through the separation of the control and forwarding planes. • Protects mission critical multicast applications by enabling new services such as multicast high availability (HA). • Eliminates the need for the route cache maintenance associated with demand caching schemes such as multicast fast switching. Types of Multicast Tables The following tables are used for general multicast routing and forwarding: • IGMP--Contains local IGMP memberships on the router. • Multicast Route (Mroute)--Contains (*, G) and (S, G) multicast states on the router (including PIM mode, incoming interfaces, and outgoing interfaces). • Multicast Source Discovery Protocol (MSDP)--Contains all Source-Active (SA) messages. • Multicast Routing Information Base (MRIB)--Contains (*, G), (S, G), and (*, G/m) MRIB entries. • MFIB--Contains (*, G), (S, G), and (*, G/m) MFIB entries. Multicast Forwarding Information Base Overview 1 Multicast Forwarding Information Base Overview Types of Multicast Entries Multicast tables can be further defined by the following contexts: • Global--Non-VRF context.
    [Show full text]
  • MPLS-Label-Assignment-Distribution
    Label Assignment and Distribution Overview This chapter describes the label assignment and distribution for unicast IP routing over MPLS. It contains the following topics: ■ Label Distribution Protocol (LDP) Role in Unicast IP Routing ■ Typical Label Distribution in Packet-mode MPLS ■ Convergence in Packet-mode MPLS ■ Typical Label Distribution over LC-ATM Interfaces and VC-Merge ■ MPLS Label Allocation, Distribution and Retention Modes ■ LDP Neighbor Discovery ■ Penultimate Hop Popping ■ Summary Objectives Upon completion of this chapter, you will be able to perform the following tasks: ■ Describe the need for LDP/TDP in MPLS network. ■ Describe the LDP/TDP neighbor discovery and session establishment procedures. ■ Explain the needs for different LDP/TDP label distribution modes. ■ Explain the difference between independent and ordered control. ■ Describe various LDP/TDP retention modes (conservative and liberal). ■ Explain the functions and benefits of penultimate-hop-popping. 2-2 Implementing Cisco MPLS (MPLS) v2.1 Copyright 2002, Cisco Systems, Inc. LDP Role in Unicast IP Routing Objectives Upon completion of this section, you will be able to perform the following tasks: ■ Explain the need for the Label Distribution Protocol (LDP) in unicast IP routing MPLS application. ■ Describe the LDP’s interaction with other Label Switch Router (LSR) components. Copyright 2002, Cisco Systems, Inc. Label Assignment and Distribution 2-3 MPLS Unicast IP Routing • MPLS introduces a new field that is used for forwarding decisions. • Although labels are locally significant, they have to be advertised to directly reachable peers. • One option would be to include this parameter into existing IP routing protocols. • The other option is to create a new protocol to exchange labels.
    [Show full text]
  • Chapter 3 Multi Segment Networks
    CHAPTER 3 MULTI SEGMENT NETWORKS Lab 3 takes a closer look at the forwarding capabilities of IP. In the associated lab exercises, you shall learn how to configure host routing tables and commercial routers. You will also be exposed to the setup of a PC as a router. This chapter has five sections. Each section covers material that you need to run the lab exercises. The first section gives an overview of IP forwarding and routing functions in hosts and routers. The second section is on router design principles and the evolution over time of the router architecture. Section three discusses the Cisco IOS environment, illustrating some of the more common configuration commands that you will use in the lab. In Section four we give an overview of the commands used in conjunction with PC router and Cisco router configuration. Section 5 presents the traceroute tool used for displaying path information between an IP source and an IP destination and we show how to use the kermit command to access a router. TABLE OF CONTENTS 1. IP FORWARDING AND ROUTING.......................................................................................2 1.1. TENETS OF IP FORWARDING.................................................................................................3 1.1.1. IP Forwarding At Hosts..................................................................................................4 1.1.2. IP Forwarding At Routers ..............................................................................................6 1.1.3. Difference between Routers
    [Show full text]