Network Working GroupInternet Engineering Task Force (IETF) D. FarinacciInternet-DraftRequest for Comments: 6830 Cisco Systems Category: Experimental V. FullerIntended status: ExperimentalISSN: 2070-1721 D. MeyerExpires: May 17, 2013D. LewisciscoCisco SystemsNovember 13, 2012January 2013 The Locator/ID Separation Protocol (LISP)draft-ietf-lisp-24Abstract Thisdraftdocument describes anetwork layer basednetwork-layer-based protocol that enables separation of IP addresses into two new numbering spaces: Endpoint Identifiers (EIDs) and Routing Locators (RLOCs). No changes are required to either host protocol stacks or to the "core" of the Internet infrastructure.LISPThe Locator/ID Separation Protocol (LISP) can be incrementally deployed, without a "flag day", and offerstraffic engineering, multi-homing,Traffic Engineering, multihoming, and mobility benefits to early adopters, even when there are relatively few LISP-capable sites. Design and development of LISP was largely motivated by the problem statement produced by the October 2006 IAB Routing and Addressing Workshop. Status ofthisThis Memo ThisInternet-Draftdocument issubmitted in full conformance with the provisions of BCP 78not an Internet Standards Track specification; it is published for examination, experimental implementation, andBCP 79. Internet-Drafts are working documentsevaluation. This document defines an Experimental Protocol for the Internet community. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents validthe IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are amaximumcandidate for any level of Internet Standard; see Section 2 of RFC 5741. Information about the current status ofsix monthsthis document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on May 17, 2013.http://www.rfc-editor.org/info/rfc6830. Copyright Notice Copyright (c)20122013 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction ....................................................3 2. Requirements Notation. . . . . . . . . . . . . . . . . . . . 5 2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 6...........................................5 3. Definition of Terms. . . . . . . . . . . . . . . . . . . . . 8.............................................5 4. Basic Overview. . . . . . . . . . . . . . . . . . . . . . . . 14.................................................10 4.1. Packet Flow Sequence. . . . . . . . . . . . . . . . . . . 16......................................13 5. LISP Encapsulation Details. . . . . . . . . . . . . . . . . . 18.....................................15 5.1. LISP IPv4-in-IPv4 Header Format. . . . . . . . . . . . . 19...........................16 5.2. LISP IPv6-in-IPv6 Header Format. . . . . . . . . . . . . 19...........................17 5.3. Tunnel Header Field Descriptions. . . . . . . . . . . . . 21..........................18 5.4. Dealing with Large Encapsulated Packets. . . . . . . . . 25...................22 5.4.1. A Stateless Solution to MTU Handling. . . . . . . . . 25...............22 5.4.2. A Stateful Solution to MTU Handling. . . . . . . . . 26................23 5.5. Using Virtualization and Segmentation with LISP. . . . . 26...........24 6. EID-to-RLOC Mapping. . . . . . . . . . . . . . . . . . . . . 28............................................25 6.1. LISP IPv4 and IPv6Control PlaneControl-Plane Packet Formats. . . . . 28...........25 6.1.1. LISP Packet Type Allocations. . . . . . . . . . . . . 30.......................27 6.1.2. Map-Request Message Format. . . . . . . . . . . . . . 30.........................27 6.1.3. EID-to-RLOC UDP Map-Request Message. . . . . . . . . 33................30 6.1.4. Map-Reply Message Format. . . . . . . . . . . . . . . 34...........................31 6.1.5. EID-to-RLOC UDP Map-Reply Message. . . . . . . . . . 38..................35 6.1.6. Map-Register Message Format. . . . . . . . . . . . . 40........................37 6.1.7. Map-Notify Message Format. . . . . . . . . . . . . . 42..........................39 6.1.8. Encapsulated Control Message Format. . . . . . . . . 43................41 6.2. Routing Locator Selection. . . . . . . . . . . . . . . . 45.................................42 6.3. Routing Locator Reachability. . . . . . . . . . . . . . . 47..............................44 6.3.1. Echo Nonce Algorithm. . . . . . . . . . . . . . . . . 49...............................46 6.3.2.RLOC ProbingRLOC-Probing Algorithm. . . . . . . . . . . . . . . . 50.............................48 6.4. EID Reachability within a LISP Site. . . . . . . . . . . 51.......................49 6.5. Routing Locator Hashing. . . . . . . . . . . . . . . . . 52...................................49 6.6. Changing the Contents of EID-to-RLOC Mappings. . . . . . 53.............50 6.6.1. Clock Sweep. . . . . . . . . . . . . . . . . . . . . 54........................................51 6.6.2. Solicit-Map-Request (SMR). . . . . . . . . . . . . . 54..........................52 6.6.3. DatabaseMap Versioning . . . . . . . . . . . . . . . 56Map-Versioning ............................53 7. Router Performance Considerations. . . . . . . . . . . . . . 57..............................54 8. Deployment Scenarios. . . . . . . . . . . . . . . . . . . . . 58...........................................55 8.1.First-hop/Last-hopFirst-Hop/Last-Hop Tunnel Routers. . . . . . . . . . . . 59.........................56 8.2. Border/Edge Tunnel Routers. . . . . . . . . . . . . . . . 59................................56 8.3. ISPProvider-EdgeProvider Edge (PE) Tunnel Routers. . . . . . . . . . 60.....................57 8.4. LISP Functionality with Conventional NATs. . . . . . . . 60.................58 8.5. Packets Egressing a LISP Site. . . . . . . . . . . . . . 61.............................58 9. Traceroute Considerations. . . . . . . . . . . . . . . . . . 62......................................58 9.1. IPv6 Traceroute. . . . . . . . . . . . . . . . . . . . . 63...........................................59 9.2. IPv4 Traceroute. . . . . . . . . . . . . . . . . . . . . 63...........................................60 9.3. TracerouteusingUsing Mixed Locators. . . . . . . . . . . . . 63...........................60 10. Mobility Considerations. . . . . . . . . . . . . . . . . . . 65.......................................61 10.1. Site Mobility. . . . . . . . . . . . . . . . . . . . . . 65............................................61 10.2. Slow Endpoint Mobility. . . . . . . . . . . . . . . . . . 65...................................61 10.3. Fast Endpoint Mobility. . . . . . . . . . . . . . . . . . 65...................................61 10.4. Fast Network Mobility. . . . . . . . . . . . . . . . . . 67....................................63 10.5. LISP Mobile Node Mobility. . . . . . . . . . . . . . . . 67................................64 11. Multicast Considerations. . . . . . . . . . . . . . . . . . . 69......................................64 12. Security Considerations. . . . . . . . . . . . . . . . . . . 70.......................................65 13. Network Management Considerations. . . . . . . . . . . . . . 72.............................67 14. IANA Considerations. . . . . . . . . . . . . . . . . . . . . 73...........................................67 14.1. LISP ACT and Flag Fields. . . . . . . . . . . . . . . . . 73.................................67 14.2. LISP Address Type Codes. . . . . . . . . . . . . . . . . 73..................................68 14.3. LISP UDP Port Numbers. . . . . . . . . . . . . . . . . . 74....................................68 14.4. LISP Key ID Numbers. . . . . . . . . . . . . . . . . . . 74......................................68 15. Known Open Issues and Areas of Future Work. . . . . . . . . . 75....................68 16. References. . . . . . . . . . . . . . . . . . . . . . . . . . 77....................................................70 16.1. Normative References. . . . . . . . . . . . . . . . . . . 77.....................................70 16.2. Informative References. . . . . . . . . . . . . . . . . . 78...................................71 Appendix A. Acknowledgments. . . . . . . . . . . . . . . . . . . 82 Appendix B. Document Change Log . . . . . . . . . . . . . . . . . 83 B.1. Changes to draft-ietf-lisp-24.txt . . . . . . . . . . . . 83 B.2. Changes.......................................75 1. Introduction This document describes the Locator/Identifier Separation Protocol (LISP), which provides a set of functions for routers todraft-ietf-lisp-23.txt . . . . . . . . . . . . 83 B.3. Changesexchange information used todraft-ietf-lisp-22.txt . . . . . . . . . . . . 83 B.4. Changesmap from Endpoint Identifiers (EIDs) that are not globally routable todraft-ietf-lisp-21.txt . . . . . . . . . . . . 83 B.5. Changesroutable Routing Locators (RLOCs). It also defines a mechanism for these LISP routers todraft-ietf-lisp-20.txt . . . . . . . . . . . . 83 B.6. Changes to draft-ietf-lisp-19.txt . . . . . . . . . . . . 83 B.7. Changesencapsulate IP packets addressed with EIDs for transmission across a network infrastructure that uses RLOCs for routing and forwarding. Creation of LISP was initially motivated by discussions during the IAB-sponsored Routing and Addressing Workshop held in Amsterdam in October 2006 (see [RFC4984]). A key conclusion of the workshop was that the Internet routing and addressing system was not scaling well in the face of the explosive growth of new sites; one reason for this poor scaling is the increasing number of multihomed sites and other sites that cannot be addressed as part of topology-based or provider- based aggregated prefixes. Additional work that more completely describes the problem statement may be found in [RADIR]. A basic observation, made many years ago in early networking research such as that documented in [CHIAPPA] and [RFC4984], is that using a single address field for both identifying a device and for determining where it is topologically located in the network requires optimization along two conflicting axes: for routing todraft-ietf-lisp-18.txt . . . . . . . . . . . . 83 B.8. Changesbe efficient, the address must be assigned topologically; for collections of devices todraft-ietf-lisp-17.txt . . . . . . . . . . . . 84 B.9. Changesbe easily and effectively managed, without the need for renumbering in response todraft-ietf-lisp-16.txt . . . . . . . . . . . . 84 B.10. Changestopological change (such as that caused by adding or removing attachment points todraft-ietf-lisp-15.txt . . . . . . . . . . . . 84 B.11. Changesthe network or by mobility events), the address must explicitly not be tied todraft-ietf-lisp-14.txt . . . . . . . . . . . . 84 B.12. Changesthe topology. The approach that LISP takes todraft-ietf-lisp-13.txt . . . . . . . . . . . . 85 B.13. Changessolving the routing scalability problem is todraft-ietf-lisp-12.txt . . . . . . . . . . . . 85 B.14. Changesreplace IP addresses with two new types of numbers: Routing Locators (RLOCs), which are topologically assigned todraft-ietf-lisp-11.txt . . . . . . . . . . . . 87 B.15. Changesnetwork attachment points (and are therefore amenable todraft-ietf-lisp-10.txt . . . . . . . . . . . . 88 B.16. Changesaggregation) and used for routing and forwarding of packets through the network; and Endpoint Identifiers (EIDs), which are assigned independently from the network topology, are used for numbering devices, and are aggregated along administrative boundaries. LISP then defines functions for mapping between the two numbering spaces and for encapsulating traffic originated by devices using non-routable EIDs for transport across a network infrastructure that routes and forwards using RLOCs. Both RLOCs and EIDs are syntactically identical todraft-ietf-lisp-09.txt . . . . . . . . . . . . 88 B.17. ChangesIP addresses; it is the semantics of how they are used that differs. This document describes the protocol that implements these functions. The database that stores the mappings between EIDs and RLOCs is explicitly a separate "module" todraft-ietf-lisp-08.txt . . . . . . . . . . . . 88 B.18. Changes to draft-ietf-lisp-07.txt . . . . . . . . . . . . 90 B.19. Changes to draft-ietf-lisp-06.txt . . . . . . . . . . . . 92 B.20. Changes to draft-ietf-lisp-05.txt . . . . . . . . . . . . 93 B.21. Changes to draft-ietf-lisp-04.txt . . . . . . . . . . . . 93 B.22. Changes to draft-ietf-lisp-03.txt . . . . . . . . . . . . 95 B.23. Changes to draft-ietf-lisp-02.txt . . . . . . . . . . . . 95 B.24. Changes to draft-ietf-lisp-01.txt . . . . . . . . . . . . 96 B.25. Changes to draft-ietf-lisp-00.txt . . . . . . . . . . . . 96 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 97 1. Requirements Notation The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. 2. Introduction This document describes the Locator/Identifier Separation Protocol (LISP), which providesfacilitate experimentation with asetvariety offunctions for routers to exchange information used to map from non globally routeable Endpoint Identifiers (EIDs) to routeable Routing Locators (RLOCs). It also defines a mechanism for these LISP routers to encapsulate IP packets addressed with EIDs for transmission across the< Internetapproaches. One database design thatuses RLOCsis being developed forrouting and forwarding. Creationexperimentation as part ofLISP was initially motivated by discussions duringtheIAB-sponsored Routing and Addressing Workshop held in Amsterdam in October, 2006 (see [RFC4984]). A key conclusion of the workshop wasLISP working group work is [RFC6836]. Others thatthe Internet routinghave been described include [CONS], [EMACS], andaddressing system was not scaling well in the face of the explosive growth of new sites; one reason[RFC6837]. Finally, [RFC6833] documents a general-purpose service interface for accessing a mapping database; thispoor scalinginterface is intended to make theincreasing number of multi-homed and other sitesmapping database modular so thatcannotdifferent approaches can beaddressed as part of topologically- or provider-based aggregated prefixes. Additional work that more completely describedtried without theproblem statement may be found in [RADIR]. A basic observation, made many years agoneed to modify installed LISP- capable devices inearly networking research such asLISP sites. This experimental specification has areas thatdocumented in [CHIAPPA]require additional experience and[RFC4984],measurement. It isthat using a single address fieldNOT RECOMMENDED forboth identifying a devicedeployment beyond experimental situations. Results of experimentation may lead to modifications andfor determining where it is topologically locatedenhancements of protocol mechanisms defined inthe network requires optimization along two conflicting axes: for routing to be efficient, the address must be assigned topologically;this document. See Section 15 forcollectionsspecific, known issues that are in need ofdevices to be easilyfurther work during development, implementation, andeffectively managed, withoutexperimentation. An examination of theneedimplications of LISP on Internet traffic, applications, routers, and security is forrenumberingfuture study. This analysis will explain what role LISP can play inresponse to topological change (such as that caused by adding or removing attachment points to the network or by mobility events), the address must explicitly not be tied to the topology. The approach that LISP takes to solving thescalable routing and will also look at scalabilityproblem is to replace IP addresses with two new types of numbers: Routing Locators (RLOCs), which are topologically assigned to network attachment points (and are therefore amenable to aggregation)andusedlevels of state required forroutingencapsulation, decapsulation, liveness, andforwarding of packets through the network;so on. 2. Requirements Notation The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", andEndpoint Identifiers (EIDs), which"OPTIONAL" in this document are to be interpreted as described in [RFC2119]. 3. Definition of Terms Provider-Independent (PI) Addresses: PI addresses are an address block assignedindependentlyfromthe network topology, are used for numbering devices, anda pool where blocks areaggregated along administrative boundaries. LISP then defines functions for mapping betweennot associated with any particular location in thetwo numbering spaces and for encapsulating traffic originated by devices using non-routeable EIDs for transport across anetworkinfrastructure that routes and forwards using RLOCs. Both RLOCs(e.g., from a particular service provider) andEIDsaresyntactically- identical to IP addresses; it istherefore not topologically aggregatable in thesemantics of how theyrouting system. Provider-Assigned (PA) Addresses: PA addresses areused that differs. This document describes the protocol that implements these functions. The database which stores the mappings between EIDs and RLOCs is explicitlyan address block assigned to aseparate "module"site by each service provider tofacilitate experimentation withwhich avariety of approaches. One database design thatsite connects. Typically, each block isbeing developed for experimentation as part of the LISP working group work is [ALT]. Others that have been described include [CONS], [EMACS], [NERD]. Finally, [LISP-MS], documents a general-purpose service interface for accessing a mapping database; this interface is intended to make the mapping database modular so that different approaches can be tried without the need to modify installed LISP capable devices in LISP sites. This experimental specification has areas that require additional experience and measurement. It is NOT RECOMMENDED for deployment beyond experimental situations. Results of experimentation may lead to modifications and enhancements of protocol mechanisms defined in this document. See Section 15 for specific, known issues that are in need of further work during development, implementation, and experimentation. An examination of the implications of LISP on Internet traffic, applications, routers, and security is for future study. This analysis will explain what role LISP can play in scalable routing and will also look at scalability and levels of state required for encapsulation, decapsulation, liveness, and so on. 3. Definition of Terms Provider Independent (PI) Addresses: PI addresses are an address block assigned from a pool where blocks are not associated with any particular location in the network (e.g. from a particular service provider), and is therefore not topologically aggregatable in the routing system. Provider Assigned (PA) Addresses: PA addresses are an address block assigned to a site by each service provider to whichasite connects. Typically, each block issub-block of a service provider Classless Inter-Domain Routing (CIDR) [RFC4632] block and is aggregated into the larger block before being advertised into the global Internet. Traditionally, IP multihoming has been implemented by eachmulti-homedmultihomed site acquiring itsown, globally-own globally visible prefix. LISP uses onlytopologically-assignedtopologically assigned and aggregatable address blocks for RLOCs, eliminating this demonstrably non-scalable practice. Routing Locator (RLOC):AAn RLOC is an IPv4 [RFC0791] or IPv6 [RFC2460] address of anegress tunnel routerEgress Tunnel Router (ETR).AAn RLOC is the output of an EID-to-RLOC mapping lookup. An EID maps to one or more RLOCs. Typically, RLOCs are numbered fromtopologically-topologically aggregatable blocks that are assigned to a site at each point to which it attaches to the global Internet; where the topology is defined by the connectivity of provider networks, RLOCs can be thought of as PA addresses. Multiple RLOCs can be assigned to the same ETR device or to multiple ETR devices at a site. Endpoint ID (EID): An EID is a 32-bit (for IPv4) or 128-bit (for IPv6) value used in the source and destination address fields of the first (most inner) LISP header of a packet. The host obtains a destination EID the same way it obtainsana destination address today, forexampleexample, through a Domain Name System (DNS) [RFC1034] lookup or SessionInvitationInitiation Protocol (SIP) [RFC3261] exchange. The source EID is obtained via existing mechanisms used to set a host's "local" IP address. An EID used on the public Internet must have the same properties as any other IP address used in that manner; this means, among other things, that it must be globally unique. An EID is allocated to a host from anEID-prefixEID-Prefix block associated with the site where the host is located. An EID can be used by a host to refer to other hosts. EIDs MUST NOT be used as LISP RLOCs. Note that EID blocks MAY be assigned in a hierarchical manner, independent of the network topology, to facilitate scaling of the mapping database. In addition, an EID block assigned to a site may have site-local structure (subnetting) for routing within the site; this structure is not visible to the global routing system. In theory, the bit string that represents an EID for one device can represent an RLOC for a different device. As the architecture is realized, if a given bit string is both an RLOC and an EID, it must refer to the same entity in both cases. When used in discussions with other Locator/ID separation proposals, a LISP EID will be calledaan "LEID". Throughout this document, any references to "EID"refersrefer to an LEID.EID-prefix:EID-Prefix: AnEID-prefixEID-Prefix is a power-of-two block of EIDswhichthat are allocated to a site by an address allocation authority.EID- prefixesEID-Prefixes are associated with a set of RLOC addresseswhichthat make up a "database mapping".EID-prefixEID-Prefix allocations can be broken up into smaller blocks when an RLOC set is to be associated with the largerEID-prefixEID-Prefix block. A globally routed address block (whether PI or PA) is not inherently anEID-prefix.EID-Prefix. A globally routed address block MAY be used by its assignee as an EID block. The converse is not supported. That is, a sitewhichthat receives an explicitly allocatedEID-prefixEID-Prefix may not use thatEID-prefixEID-Prefix as a globally routed prefix. This would require coordination and cooperation with the entities managing the mapping infrastructure. Once this has been done, that block could be removed from the globally routed IP system, if other suitable transition and access mechanisms are in place. Discussion of such transition and access mechanisms can be found in[INTERWORK][RFC6832] and [LISP-DEPLOY]. End-system: An end-system is an IPv4 or IPv6 device that originates packets with a single IPv4 or IPv6 header. The end-system supplies an EID value for the destination address field of the IP header when communicating globally(i.e.(i.e., outside of its routing domain). An end-system can be a host computer, a switch or router device, or any network appliance. Ingress Tunnel Router (ITR): An ITR is a router that resides in a LISP site. Packets sent by sources inside of the LISP site to destinations outside of the site are candidates for encapsulation by the ITR. The ITR treats the IP destination address as an EID and performs an EID-to-RLOC mapping lookup. The router then prepends an "outer" IP header with one of itsglobally-routableglobally routable RLOCs in the source address field and the result of the mapping lookup in the destination address field. Note that this destination RLOC MAY be an intermediate, proxy device that has better knowledge of the EID-to-RLOC mapping closer to the destination EID. In general, an ITR receives IP packets from site end-systems on one side and sends LISP-encapsulated IP packets toward the Internet on the other side. Specifically, when a service provider prepends a LISP header for Traffic Engineering purposes, the router that does this is also regarded as an ITR. The outer RLOC the ISP ITR uses can be based on the outer destination address (the originating ITR's supplied RLOC) or the inner destination address (the originatinghostshost's supplied EID). TE-ITR: A TE-ITR is an ITR that is deployed in a service provider network that prepends an additional LISP header for Traffic Engineering purposes. Egress Tunnel Router (ETR): An ETR is a router that accepts an IP packet where the destination address in the "outer" IP header is one of its own RLOCs. The router strips the "outer" header and forwards the packet based on the next IP header found. In general, an ETR receives LISP-encapsulated IP packets from the Internet on one side and sends decapsulated IP packets to site end-systems on the other side. ETR functionality does not have to be limited to a router device. A server host can be the endpoint of a LISP tunnel as well. TE-ETR: A TE-ETR is an ETR that is deployed in a service provider network that strips an outer LISP header for Traffic Engineering purposes. xTR:AAn xTR is a reference to an ITR or ETR when direction of data flow is not part of the context description.xTR"xTR" refers to the router that is the tunnelendpoint. Usedendpoint and is used synonymously with the term "Tunnel Router". For example, "An xTR can be located at the Customer Edge (CE)router", meaningrouter" indicates both ITR and ETR functionalityisat the CE router. LISP Router: A LISP router is a router that performs the functions of any or all of the following: ITR, ETR,PITR,Proxy-ITR (PITR), orPETR.Proxy-ETR (PETR). EID-to-RLOC Cache: The EID-to-RLOCcacheCache is a short-lived,on- demandon-demand table in an ITR that stores, tracks, and is responsible fortiming-outtiming out and otherwise validating EID-to-RLOC mappings. This cache is distinct from the full "database" of EID-to-RLOCmappings,mappings; it is dynamic, local to the ITR(s), and relativelysmallsmall, while the database is distributed, relatively static, and much more global in scope. EID-to-RLOC Database: The EID-to-RLOCdatabaseDatabase is a global distributed database that contains all knownEID-prefix to RLOCEID-Prefix-to-RLOC mappings. Each potential ETR typically contains a small piece of the database: the EID-to-RLOC mappings for theEID prefixesEID-Prefixes "behind" the router. These map to one of the router'sown, globally-visible,own globally visible IP addresses. The same database mapping entries MUST be configured on all ETRs for a given site. In a steadystatestate, theEID-prefixesEID-Prefixes for the site and thelocator-setLocator-Set for eachEID-prefixEID-Prefix MUST be the same on all ETRs. Procedures to enforce and/or verify this are outside the scope of this document. Note that there MAY be transient conditions when theEID-prefixEID-Prefix for the site andlocator-setLocator-Set for eachEID-prefixEID-Prefix may not be the same on all ETRs. This has no negativeimplicationsimplications, since a partial set oflocatorsLocators can be used. Recursive Tunneling: RecursivetunnelingTunneling occurs when a packet has more than one LISP IP header. Additional layers of tunneling MAY be employed to implementtraffic engineeringTraffic Engineering or other re-routing as needed. When this is done, an additional "outer" LISP header isaddedadded, and the original RLOCs are preserved in the "inner" header. Any references to tunnels in this specificationrefersrefer to dynamic encapsulatingtunnels andtunnels; they are never statically configured.ReencapsulatingRe-encapsulating Tunnels:Reencapsulating tunnelingRe-encapsulating Tunneling occurs when an ETR removes a LISP header, then acts as an ITR to prepend another LISP header. Doing this allows a packet to be re-routed by the re-encapsulating router without adding the overhead of additional tunnel headers. Any references to tunnels in this specificationrefersrefer to dynamic encapsulatingtunnels andtunnels; they are never statically configured. When using multiple mapping database systems, care must be taken to not createreencapsulationre-encapsulation loops through misconfiguration. LISP Header: LISP header is a term used in this document to refer to the outer IPv4 or IPv6 header, a UDP header, and aLISP-specificLISP- specific 8-octet header thatfollowsfollow the UDPheader,header and that an ITR prepends or an ETR strips. Address Family Identifier (AFI): AFI is a term used to describe an address encoding in a packet. An address family currently pertains to an IPv4 or IPv6 address. See[AFI]/[AFI-REGISTRY][AFI] and [RFC3232] for details. An AFI value of 0 used in this specification indicates an unspecified encoded address where the length of the address is 0 octets following the 16-bit AFI value of 0. Negative Mapping Entry: A negative mapping entry, also known as a negative cache entry, is an EID-to-RLOC entry where anEID-prefixEID-Prefix is advertised or stored with no RLOCs. That is, thelocator-setLocator-Set for the EID-to-RLOC entry is empty or has an encodedlocatorLocator count of 0. This type of entry could be used to describe a prefix from a non-LISP site, which is explicitly not in the mapping database. There are a set ofwell definedwell-defined actions that are encoded in a Negative Map-Reply (Section 6.1.5).Data Probe:Data-Probe: Adata-probeData-Probe is a LISP-encapsulated data packet where theinner headerinner-header destination address equals theouter headerouter-header destination address used to trigger a Map-Reply by a decapsulating ETR. In addition, the original packet is decapsulated and delivered to the destination host if the destination EID is in theEID-prefixEID-Prefix range configured on the ETR. Otherwise, the packet is discarded. AData ProbeData-Probe is used in some of the mapping database designs to "probe" or request a Map-Reply from an ETR; in other cases, Map-Requests are used. See each mapping database design for details. When usingData Probes,Data-Probes, by sending Map-Requests on the underlying routing system,EID-prefixesEID-Prefixes must be advertised. However, this is discouraged if the core is to scale by having lessEID-prefixesEID-Prefixes stored in the core router's routing tables.Proxy ITRProxy-ITR (PITR): A PITR is defined and described in[INTERWORK], a[RFC6832]. A PITR acts like an ITR but does so on behalf of non-LISP siteswhichthat send packets to destinations at LISP sites.Proxy ETRProxy-ETR (PETR): A PETR is defined and described in[INTERWORK], a[RFC6832]. A PETR acts like an ETR but does so on behalf of LISP siteswhichthat send packets to destinations at non-LISP sites. Route-returnability: Route-returnability is an assumption that the underlying routing system will deliver packets to the destination. When combined with a nonce that is provided by a sender and returned by a receiver, this limits off-path data insertion. Aroute- returnabilityroute-returnability check is verified when a message is sent with a nonce, another message is returned with the same nonce, and the destination of the original message appears as the source of the returned message. LISP site: LISP site is a set of routers in an edge network that are under a single technical administration. LISP routerswhichthat reside in the edge network are the demarcation points to separate the edge network from the core network. Client-side: Client-side is a term used in this document to indicate a connection initiation attempt by an EID. The ITR(s) at the LISP site are the first to get involved in obtaining databasemap cacheMap-Cache entries by sending Map-Request messages. Server-side: Server-side is a term used in this document to indicate that a connection initiation attempt is being accepted for a destination EID. The ETR(s) at the destination LISP site are the first to sendMap- RepliesMap-Replies to the source site initiating the connection. The ETR(s) at this destination site can obtain mappings by gleaning information from Map-Requests, Data-Probes, or encapsulated packets.Locator Status BitsLocator-Status-Bits (LSBs):Locator status bitsLocator-Status-Bits are present in the LISP header. They are used by ITRs to inform ETRs about the up/ down status of all ETRs at the local site. These bits are used as a hint to convey up/down router status and not path reachability status. The LSBs can be verified by use of one of the LocatorReachability Algorithmsreachability algorithms described in Section 6.3. Anycast Address: Anycast Address is a term used in this document to refer to the same IPv4 or IPv6 address configured and used on multiple systems at the same time. An EID or RLOC can be an anycast address in each of their own address spaces. 4. Basic Overview One key concept of LISP is that end-systems (hosts) operate the same way they do today. The IP addresses that hosts use for trackingsockets,sockets and connections, and for sending and receivingpacketspackets, do not change. In LISP terminology, these IP addresses are called Endpoint Identifiers (EIDs). Routers continue to forward packets based on IP destination addresses. When a packet is LISP encapsulated, these addresses are referred to as Routing Locators (RLOCs). Most routers along a path between two hosts will not change; they continue to perform routing/ forwarding lookups on the destination addresses. For routers between the source host and the ITR as well as routers from the ETR to the destination host, the destination address is an EID. For the routers between the ITR and the ETR, the destination address is an RLOC. Another key LISP concept is the "Tunnel Router". Atunnel routerTunnel Router prepends LISP headers on host-originated packets and strips them prior to final delivery to their destination. The IP addresses in this "outer header" are RLOCs. During end-to-end packet exchange between two Internet hosts, an ITR prepends a new LISP header to eachpacketpacket, and anegress tunnel routerETR strips the new header. The ITR performs EID-to-RLOC lookups to determine the routing path to the ETR, which has the RLOC as one of its IP addresses. Some basic rules governing LISP are: o End-systems (hosts) only send to addresseswhichthat are EIDs. They don't know that addresses are EIDs versus RLOCs but assume that packets get to their intended destinations. In a system where LISP is deployed, LISP routers interceptEID addressedEID-addressed packets and assist in delivering them across the network core where EIDs cannot be routed. The procedure a host uses to send IP packets does not change. o EIDs are always IP addresses assigned to hosts. o LISP routers mostly deal with Routing Locator addresses. See detailslaterin Section 4.1 to clarify what is meant by "mostly". o RLOCs are always IP addresses assigned torouters; preferably, topologically-orientedrouters, preferably topologically oriented addresses from provider CIDR (Classless Inter-Domain Routing) blocks. o When a router originatespacketspackets, it may use as a source address either an EID or RLOC. When acting as a host(e.g.(e.g., when terminating a transport session such asSSH,Secure SHell (SSH), TELNET, orSNMP),the Simple Network Management Protocol (SNMP)), it may use an EID that is explicitly assigned for that purpose. An EID that identifies the router as a host MUST NOT be used as an RLOC; an EID is only routable within the scope of a site. A typical BGP configuration might demonstrate this "hybrid" EID/RLOC usage where a router could use its "host-like" EID to terminate iBGP sessions to other routers in a site while at the same time using RLOCs to terminate eBGP sessions to routers outside the site. o Packets with EIDs in them are not expected to be deliveredend-to- endend-to-end in the absence of an EID-to-RLOC mapping operation. They are expected to be used locally for intra-site communication or to be encapsulated for inter-site communication. oEID prefixesEID-Prefixes are likely to be hierarchically assigned in a mannerwhichthat is optimized for administrative convenience and to facilitate scaling of the EID-to-RLOC mapping database. The hierarchy is based onaan address allocation hierarchywhichthat is independent of the network topology. o EIDs may also be structured (subnetted) in a manner suitable for local routing within anautonomous system.Autonomous System (AS). An additional LISP header MAY be prepended to packets by a TE-ITR when re-routing of the path for a packet is desired. A potential use-case for this would be an ISP router that needs to performtraffic engineeringTraffic Engineering for packets flowing through its network. In such a situation, termedRecursive Tunneling,"Recursive Tunneling", an ISP transit acts as an additionalingress tunnel routerITR, and the RLOC it uses for the new prepended header would be either a TE-ETR within the ISP (along an intra-ISP traffic engineered path) or a TE-ETR within another ISP (an inter-ISP traffic engineered path, where an agreement to build such a path exists). In order to avoid excessive packet overhead as well as possible encapsulation loops, this document mandates that a maximum of two LISP headers can be prepended to a packet. For initial LISP deployments, it is assumed that two headers is sufficient, where the first prepended header is used at a site for Location/Identity separation and the second prepended header is used inside a service provider for Traffic Engineering purposes. Tunnel Routers can be placed fairly flexibly in a multi-AS topology. For example, the ITR for a particular end-to-end packet exchange might be the first-hop or default router within a site for the source host. Similarly, theegress tunnel routerETR might be the last-hop routerdirectly-connecteddirectly connected to the destination host. Another example, perhaps for a VPN serviceout-sourcedoutsourced to an ISP by a site, the ITR could be the site's border router at the service provider attachment point. Mixing and matching of site-operated, ISP-operated, and othertunnel routersTunnel Routers is allowed for maximum flexibility. See Section 8 for more details. 4.1. Packet Flow Sequence This section provides an example of the unicast packet flow with the following conditions: o Source host "host1.abc.example.com" is sending a packet to "host2.xyz.example.com", exactly what host1 would do if the site was not using LISP. o Each site ismulti-homed,multihomed, so eachtunnel routerTunnel Router has an address (RLOC) assigned from the service provider address block for each provider to which that particulartunnel routerTunnel Router is attached. o The ITR(s) and ETR(s) are directly connected to the source and destination, respectively, but the source and destination can be located anywhere in the LISP site. o Map-Requests can be sent on the underlying routing system topology, to a mapping database system, or directly over analternative topology [ALT].Alternative Logical Topology [RFC6836]. A Map-Request is sent for an external destination when the destination is not found in the forwarding table or matches a default route. o Map-Replies are sent on the underlying routing system topology. Client host1.abc.example.com wants to communicate with server host2.xyz.example.com: 1. host1.abc.example.com wants to open a TCP connection to host2.xyz.example.com. It does a DNS lookup on host2.xyz.example.com. An A/AAAA record is returned. This address is the destination EID. Thelocally-assignedlocally assigned address of host1.abc.example.com is used as the source EID. An IPv4 or IPv6 packet is built and forwarded through the LISP site as a normal IP packet until it reaches a LISP ITR. 2. The LISP ITR must be able to map the destination EID to an RLOC of one of the ETRs at the destination site. The specific method used to do this is not described in this example. See[ALT][RFC6836] or [CONS] for possible solutions. 3. The ITR will send a LISP Map-Request. Map-Requests SHOULD be rate-limited. 4. When an alternate mapping system is not in use, the Map-Request packet is routed through the underlying routing system. Otherwise, the Map-Request packet is routed on an alternate logical topology, forexampleexample, the[ALT][RFC6836] database mapping system. In either case, when the Map-Request arrives at one of the ETRs at the destination site, it will process the packet as a control message. 5. The ETR looks at the destination EID of the Map-Request and matches it against the prefixes in the ETR's configuredEID-to- RLOCEID-to-RLOC mapping database. This is the list ofEID-prefixesEID-Prefixes the ETR is supporting for the site it resides in. If there is no match, the Map-Request is dropped. Otherwise, a LISP Map-Reply is returned to the ITR. 6. The ITR receives the Map-Reply message, parses the message (to check for formatvalidity)validity), and stores the mapping information from the packet. This information is stored in the ITR'sEID-to- RLOCEID-to-RLOC mapping cache. Note that themap cachemap-cache is an on-demand cache. An ITR will manage itsmap cachemap-cache in such a way that optimizes for its resource constraints. 7. Subsequent packets from host1.abc.example.com to host2.xyz.example.com will have a LISP header prepended by the ITR using the appropriate RLOC as the LISP header destination address learned from the ETR. Note that the packet MAY be sent to a different ETR than the onewhichthat returned the Map-Reply due to the source site's hashing policy or the destination site'slocator-setLocator-Set policy. 8. The ETR receives these packets directly (since the destination address is one of its assigned IP addresses), checks the validity of the addresses, strips the LISP header, and forwards packets to the attached destination host. In order to defer the need for a mapping lookup in the reverse direction, an ETR MAY create a cache entry that maps the source EID(inner header(inner-header source IP address) to the source RLOC(outer header(outer-header source IP address) in a received LISP packet. Such a cache entry is termed a "gleaned" mapping and only contains a single RLOC for the EID in question. More complete information about additional RLOCs SHOULD be verified by sending a LISP Map-Request for that EID. Both the ITR and the ETR may also influence the decision the other makes in selecting an RLOC. See Section 6 for more details. 5. LISP Encapsulation Details Since additional tunnel headers are prepended, the packet becomes larger and can exceed the MTU of any link traversed from the ITR to the ETR. It is RECOMMENDED in IPv4 that packets do not get fragmented as they are encapsulated by the ITR. Instead, the packet is dropped and an ICMP Too Big message is returned to the source. This specification RECOMMENDS that implementations provide support for one of the proposed fragmentation and reassembly schemes. Two existing schemes are detailed in Section 5.4. Since IPv4 or IPv6 addresses can be either EIDs or RLOCs, the LISP architecture supports IPv4 EIDs with IPv6 RLOCs (where the inner header is in IPv4 packet format and theotherouter header is in IPv6 packet format) or IPv6 EIDs with IPv4 RLOCs (where the inner header is in IPv6 packet format and theotherouter header is in IPv4 packet format). The next sub-sections illustrate packet formats for the homogeneous case (IPv4-in-IPv4 andIPv6-in-IPv6)IPv6-in-IPv6), but all 4 combinations MUST be supported. 5.1. LISP IPv4-in-IPv4 Header Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / |Version| IHL |Type of Service| Total Length | / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Identification |Flags| Fragment Offset | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ OH | Time to Live | Protocol = 17 | Header Checksum | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Source Routing Locator | \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | Destination Routing Locator | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port = xxxx | Dest Port = 4341 | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ L |N|L|E|V|I|flags| Nonce/Map-Version | I \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ S / | InstanceID/Locator Status BitsID/Locator-Status-Bits | P +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / |Version| IHL |Type of Service| Total Length | / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Identification |Flags| Fragment Offset | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ IH | Time to Live | Protocol | Header Checksum | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Source EID | \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | Destination EID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ IHL = IP-Header-Length 5.2. LISP IPv6-in-IPv6 Header Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / |Version| Traffic Class | Flow Label | / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Payload Length | Next Header=17| Hop Limit | v +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | O + + u | | t + Source Routing Locator + e | | r + + | | H +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ d | | r + + | | ^ + Destination Routing Locator + | | | \ + + \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port = xxxx | Dest Port = 4341 | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ L |N|L|E|V|I|flags| Nonce/Map-Version | I \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ S / | InstanceID/Locator Status BitsID/Locator-Status-Bits | P +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / |Version| Traffic Class | Flow Label | / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Payload Length | Next Header | Hop Limit | v +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | I + + n | | n + Source EID + e | | r + + | | H +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ d | | r + + | | ^ + Destination EID + \ | | \ + + \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.3. Tunnel Header Field Descriptions Inner Header (IH): The inner header is the header on the datagram received from the originating host. The source and destination IP addresses areEIDs, [RFC0791],EIDs [RFC0791] [RFC2460]. Outer Header: (OH) The outer header is a new header prepended by an ITR. The address fields contain RLOCs obtained from the ingress router's EID-to-RLOCcache.Cache. The IP protocol number is "UDP (17)" from [RFC0768]. The setting of theDFDon't Fragment (DF) bitFlags'Flags' field is according to rules listed inSectionSections 5.4.1 andSection5.4.2. UDP Header: The UDP header contains an ITR selected source port when encapsulating a packet. See Section 6.5 for details on the hash algorithm used to select a source port based on the 5-tuple of the inner header. The destination port MUST be set to the well-knownIANA assignedIANA-assigned port value 4341. UDP Checksum: TheUDP checksum'UDP Checksum' field SHOULD be transmitted as zero by an ITR for either IPv4 [RFC0768] or IPv6 encapsulation [UDP-TUNNELS] [UDP-ZERO]. When a packet with a zero UDP checksum is received by an ETR, the ETR MUST accept the packet for decapsulation. When an ITR transmits a non-zero value for the UDP checksum, it MUST send a correctly computed value in this field. When an ETR receives a packet with a non-zero UDP checksum, it MAY choose to verify the checksum value. If it chooses to perform such verification, and the verification fails, the packet MUST be silently dropped. If the ETR chooses not to perform the verification, or performs the verification successfully, the packet MUST be accepted for decapsulation. The handling of UDP checksums for all tunneling protocols, including LISP, is under active discussion within the IETF. When that discussion concludes, any necessary changes will be made to align LISP with the outcome of the broader discussion. UDP Length: TheUDP length'UDP Length' field is set for anIPv4 encapsulatedIPv4-encapsulated packet to be the sum of theinner headerinner-header IPv4 Total Length plus the UDP and LISP header lengths. For anIPv6 encapsulatedIPv6-encapsulated packet, theUDP length'UDP Length' field is the sum of theinner headerinner-header IPv6 Payload Length, the size of the IPv6 header (40 octets), and the size of the UDP and LISP headers. N: TheN bitN-bit is the nonce-present bit. When this bit is set to 1, the low-order24-bits24 bits of the first32-bits32 bits of the LISP headercontainscontain a Nonce. See Section 6.3.1 for details. BothNN- andV bitsV-bits MUST NOT be set in the same packet. If they are, a decapsulating ETR MUST treat the"Nonce/Map-Version"'Nonce/Map-Version' field as having a Nonce value present. L: TheL bitL-bit is theLocator Status Bits'Locator-Status-Bits' field enabled bit. When this bit is set to 1, theLocator Status BitsLocator-Status-Bits in the second32-bits32 bits of the LISP header are in use. x 1 x x 0 x x x +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |N|L|E|V|I|flags| Nonce/Map-Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Locator Status BitsLocator-Status-Bits | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ E: TheE bitE-bit is the echo-nonce-request bit. This bit MUST be ignored and has no meaning when theN bitN-bit is set to 0. When theN bitN-bit is set to 1 and this bit is set to 1,meansan ITR is requestingforthat the nonce value in theNonce'Nonce' fieldtobe echoed back inLISPLISP- encapsulated packets when the ITR is also an ETR. See Section 6.3.1 for details. V: TheV bitV-bit is the Map-Version present bit. When this bit is set to 1, theN bitN-bit MUST be 0. Refer to Section 6.6.3 for more details. This bit indicates that the LISP header is encoded in this case as: 0 x 0 1 x x x x +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |N|L|E|V|I|flags| Source Map-Version | Dest Map-Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | InstanceID/Locator Status BitsID/Locator-Status-Bits | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ I: TheI bitI-bit is the Instance ID bit. See Section 5.5 for more details. When this bit is set to 1, theLocator Status Bits'Locator-Status-Bits' field is reduced to8-bits8 bits and the high-order24-bits24 bits are used as an Instance ID. If the L-bit is set to 0, then the low-order 8 bits are transmitted as zero and ignored on receipt. The format of the LISP header would look likein this case:this: x x x x 1 x x x +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |N|L|E|V|I|flags| Nonce/Map-Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Instance ID | LSBs | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ flags: Theflags'flags' field is a 3-bit fieldisreserved for future flag use. It MUST be set to 0 on transmit and MUST be ignored on receipt. LISP Nonce: The LISPnonce'Nonce' field is a 24-bit value that is randomly generated by an ITR when the N-bit is set to 1. Nonce generation algorithms are an implementation matter but are required to generate different nonces when sending to different destinations. However, the same nonce can be used for a period of time to the same destination. The nonce is also used when the E-bit is set to request the nonce value to be echoed by the other side when packets are returned. When the E-bit is clear but the N-bit is set, a remote ITR is either echoing a previously requestedecho- nonceecho-nonce or providing a random nonce. See Section 6.3.1 for more details. LISPLocator Status BitsLocator-Status-Bits (LSBs): When the L-bit is also set, thelocator status bits'Locator-Status-Bits' field in the LISP header is set by an ITR to indicate to an ETR the up/down status of the Locators in the source site. Each RLOC in a Map-Reply is assigned an ordinal value from 0 to n-1 (when there are n RLOCs in a mapping entry). TheLocator Status BitsLocator-Status-Bits are numbered from 0 to n-1 from the least significant bit of the field. The field is32-bits32 bits when the I-bit is set to 0 and is 8 bits when the I-bit is set to 1. When aLocator Status BitLocator-Status-Bit is set to 1, the ITR is indicating to the ETR that the RLOC associated with the bit ordinal has up status. See Section 6.3 for details on how an ITR can determine the status of the ETRs at the same site. When a site has multipleEID-prefixes whichEID-Prefixes that result in multiple mappings (where each could have a differentlocator- set),Locator-Set), theLocator Status BitsLocator-Status-Bits setting in an encapsulated packet MUST reflect the mapping for theEID-prefixEID-Prefix that the inner-header source EID address matches. If the LSB for an anycastlocatorLocator is set to 1, then there is at least one RLOC with thataddressaddress, and the ETR is considered 'up'. When doing ITR/PITR encapsulation: o Theouter header Timeouter-header 'Time toLiveLive' field (orHop Limit'Hop Limit' field, in the case of IPv6) SHOULD be copied from theinner header Timeinner-header 'Time toLiveLive' field. o Theouter header Typeouter-header 'Type ofServiceService' field (or theTraffic Class'Traffic Class' field, in the case of IPv6) SHOULD be copied from theinner header Typeinner-header 'Type ofServiceService' field (with oneexception,exception; see below). When doing ETR/PETR decapsulation: o Theinner header Timeinner-header 'Time toLiveLive' field (orHop Limit'Hop Limit' field, in the case of IPv6) SHOULD be copied from theouter header Timeouter-header 'Time toLiveLive' field, when the Time to Livefieldvalue of the outer header is less than the Time to Live value of the inner header. Failing to perform this check can cause the Time to Live of the inner header to increment across encapsulation/decapsulationcycle.cycles. This check is also performed when doing initialencapsulationencapsulation, when a packet comes to an ITR or PITR destined for a LISP site. o Theinner header Typeinner-header 'Type ofServiceService' field (or theTraffic Class'Traffic Class' field, in the case of IPv6) SHOULD be copied from theouter header Typeouter-header 'Type ofServiceService' field (with oneexception,exception; see below). Note that if an ETR/PETR is also an ITR/PITR andchoosechooses toreencapsulatere-encapsulate after decapsulating, the net effect of this is that the new outer header will carry the same Time to Live as the old outer header minus 1. Copying theTTLTime to Live (TTL) serves two purposes: first, it preserves the distance the host intended the packet to travel; second, and more importantly, it provides for suppression of looping packets in the event there is a loop of concatenated tunnels due to misconfiguration. See Section 9.3 for TTL exception handling for traceroute packets. TheECNExplicit Congestion Notification ('ECN') field occupies bits 6 and 7 of both the IPv4Type'Type ofServiceService' field and the IPv6Traffic Class'Traffic Class' field [RFC3168]. TheECN'ECN' field requires special treatment in order to avoid discarding indications of congestion [RFC3168]. ITR encapsulation MUST copy the 2-bitECN'ECN' field from the inner header to the outer header. Re-encapsulation MUST copy the 2-bitECN'ECN' field from the stripped outer header to the new outer header. If theECN'ECN' field contains a congestion indication codepoint (the value is '11', the Congestion Experienced (CE) codepoint), then ETR decapsulation MUST copy the 2-bitECN'ECN' field from the stripped outer header to the surviving inner header that is used to forward the packet beyond the ETR. These requirements preserveCongestion Experienced (CE)CE indications when a packet that uses ECN traverses a LISP tunnel and becomes marked with a CE indication due to congestion between the tunnel endpoints. 5.4. Dealing with Large Encapsulated Packets This section proposes two mechanisms to deal with packets that exceed the path MTU between the ITR and ETR. It is left to the implementor to decide if the stateless or stateful mechanism should be implemented. Both or neither can beusedused, since it is a local decision in the ITR regarding how to deal with MTU issues, and sites can interoperate with differing mechanisms. Both stateless and stateful mechanisms also apply toReencapsulatingRe-encapsulating and RecursiveTunneling. SoTunneling, so any actions below referring to an ITR also apply toana TE-ITR. 5.4.1. A Stateless Solution to MTU Handling An ITR stateless solution to handle MTU issues is described as follows: 1. Define H to be the size, in octets, of the outer header an ITR prepends to a packet. This includes the UDP and LISP header lengths. 2. Define L to be the size, in octets, of themaximum sizedmaximum-sized packet an ITR can send to an ETR without the need for the ITR or any intermediate routers to fragment the packet. 3. Define an architectural constant S for the maximum size of a packet, in octets, an ITR must receive so the effective MTU can be met. That is, S = L - H. When an ITR receives a packet from a site-facing interface and adds H octets worth of encapsulation to yield a packet size greater than L octets, it resolves the MTU issue by first splitting the original packet into 2 equal-sized fragments. A LISP header is then prepended to each fragment. The size of the encapsulated fragments is then (S/2 + H), which is less than the ITR's estimate of the path MTU between the ITR and its correspondent ETR. When an ETR receives encapsulated fragments, it treats them as two individually encapsulated packets. It strips the LISP headers and then forwards each fragment to the destination host of the destination site. The two fragments are reassembled at the destination host into the single IP datagram that was originated by the source host. Note that reassembly can happen at the ETR if the encapsulated packet was fragmented at or after the ITR. This behavior is performed by the ITR when the source host originates a packet with theDF'DF' field of the IP headerisset to 0. When theDF'DF' field of the IP header is set to 1, or the packet is an IPv6 packet originated by the source host, the ITR will drop the packet when the size is greater thanL,L andsendssend an ICMP Too Big message to the source with a value of S, where S is (L - H). When theouter headerouter-header encapsulation uses an IPv4 header, an implementation SHOULD set the DF bit to 1 so ETR fragment reassembly can be avoided. An implementation MAY set the DF bit in such headers to 0 if it has good reason to believe there are unresolvable path MTU issues between the sending ITR and the receiving ETR. This specification RECOMMENDS that L be defined as 1500. 5.4.2. A Stateful Solution to MTU Handling An ITR stateful solution to handle MTU issues is described as follows and was first introduced in [OPENLISP]: 1. The ITR will keep state of the effective MTU for eachlocatorLocator permapping cacheMap-Cache entry. The effective MTU is what the core network can deliver along the path between the ITR and ETR. 2. When anIPv6 encapsulated packetIPv6-encapsulated packet, or anIPv4 encapsulatedIPv4-encapsulated packet with the DF bit set to 1, exceeds what the core network can deliver, one of the intermediate routers on the path will send an ICMP Too Big message to the ITR. The ITR will parse the ICMP message to determine whichlocatorLocator is affected by the effective MTU change and then record the new effective MTU value in themapping cacheMap-Cache entry. 3. When a packet is received by the ITR from a source inside of the site and the size of the packet is greater than the effective MTU stored with themapping cacheMap-Cache entry associated with the destination EID the packet is for, the ITR will send an ICMP Too Big message back to the source. The packet size advertised by the ITR in the ICMP Too Big message is the effective MTU minus the LISP encapsulation length. Even though this mechanism is stateful, it has advantages over the stateless IP fragmentation mechanism, by not involving the destination host with reassembly of ITR fragmented packets. 5.5. Using Virtualization and Segmentation with LISP When multiple organizations inside of a LISP site are using private addresses [RFC1918] asEID-prefixes,EID-Prefixes, their address spaces MUST remain segregated due to possible address duplication. An Instance ID in the address encoding can aid in making the entireAFI basedAFI-based address unique. See IANA ConsiderationsSection 14.2(Section 14.2) for detailsforon possible address encodings. An Instance ID can be carried in aLISP encapsulatedLISP-encapsulated packet. An ITR that prepends a LISPheader,header will copy a 24-bitvalue,value used by the LISP router to uniquely identify the address space. The value is copied to theInstance ID'Instance ID' field of the LISPheaderheader, and the I-bit is set to 1. When an ETR decapsulates a packet, the Instance ID from the LISP header is used as a table identifier to locate the forwarding table to use for the inner destination EID lookup. For example,aan 802.1Q VLAN tag or VPN identifier could be used as a 24-bit Instance ID. 6. EID-to-RLOC Mapping 6.1. LISP IPv4 and IPv6Control PlaneControl-Plane Packet Formats The following UDP packet formats are used by the LISPcontrol-plane.control plane. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Version| IHL |Type of Service| Total Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Identification |Flags| Fragment Offset | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time to Live | Protocol = 17 | Header Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source Routing Locator | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Destination Routing Locator | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port | Dest Port | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | LISP Message | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Version| Traffic Class | Flow Label | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Payload Length | Next Header=17| Hop Limit | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + + | | + Source Routing Locator + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + + | | + Destination Routing Locator + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port | Dest Port | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ |UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | LISP Message | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The LISP UDP-based messages are the Map-Request and Map-Reply messages. When a UDP Map-Request is sent, the UDP source port is chosen by the sender and the destination UDP port number is set to 4342. When a UDP Map-Reply is sent, the source UDP port number is set to 4342 and the destination UDP port number is copied from the source port of either the Map-Request or the invoking data packet. Implementations MUST be prepared to accept packets when either the source port or destination UDP port is set to 4342 due to NATs changing port number values. The UDP Length field will reflect the length of the UDP header and the LISP Message payload. The UDP Checksum is computed and set to non-zero for Map-Request, Map-Reply, Map-Register and ECM control messages. It MUST be checked on receipt and if the checksum fails, the packet MUST be dropped. The format of control messages includes the UDP header so the checksum and length fields can be used to protect and delimit message boundaries. 6.1.1. LISP Packet Type Allocations This section will be the authoritative source for allocating LISP Type values and for defining LISP control message formats. Current allocations are: Reserved: 0 b'0000' LISP Map-Request: 1 b'0001' LISP Map-Reply: 2 b'0010' LISP Map-Register: 3 b'0011' LISP Map-Notify: 4 b'0100' LISP Encapsulated Control Message: 8 b'1000' 6.1.2. Map-Request Message Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=1 |A|M|P|S|p|s| Reserved | IRC | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source-EID-AFI | Source EID Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ITR-RLOC-AFI 1 | ITR-RLOC Address 1 ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ITR-RLOC-AFI n | ITR-RLOC Address n ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Reserved | EID mask-len | EID-prefix-AFI | Rec +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | EID-prefix ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Map-Reply Record ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 1 (Map-Request) A: This is an authoritative bit, which is set to 0 for UDP-based Map- Requests sent by an ITR. Set to 1 when an ITR wants the destination site to return the Map-Reply rather than the mapping database system. M: This is the map-data-present bit, when set, it indicates a Map- Reply Record segment is included in the Map-Request. P: This is the probe-bit which indicates that a Map-Request SHOULD be treated as a locator reachability probe. The receiver SHOULD respond with a Map-Reply with the probe-bit set, indicating the Map-Reply is a locator reachability probe reply, with the nonce copied from the Map-Request. See Section 6.3.2 for more details. S: This is the Solicit-Map-Request (SMR) bit. See Section 6.6.2 for details. p: This is the PITR bit. This bit is set to 1 when a PITR sends a Map-Request. s: This is the SMR-invoked bit. This bit is set to 1 when an xTR is sending a Map-Request in response to a received SMR-based Map- Request. Reserved: It MUST be set to 0 on transmit and MUST be ignored on receipt. IRC: This 5-bit field is the ITR-RLOC Count which encodes the additional number of (ITR-RLOC-AFI, ITR-RLOC Address) fields present in this message. At least one (ITR-RLOC-AFI, ITR-RLOC- Address) pair MUST be encoded. Multiple ITR-RLOC Address fields are used so a Map-Replier can select which destination address to use for a Map-Reply. The IRC value ranges from 0 to 31. For a value of 0, there is 1 ITR-RLOC address encoded, and for a value of 1, there are 2 ITR-RLOC addresses encoded and so on up to 31 which encodes a total of 32 ITR-RLOC addresses. Record Count: The number of records in this Map-Request message. A record is comprised of the portion of the packet that is labeled 'Rec' above and occurs the number of times equal to Record Count. For this version of the protocol, a receiver MUST accept and process Map-Requests that contain one or more records, but a sender MUST only send Map-Requests containing one record. Support for requesting multiple EIDs in a single Map-Request message will be specified in a future version of the protocol. Nonce: An 8-octet random value created by the sender of the Map- Request. This nonce will be returned in the Map-Reply. The security of the LISP mapping protocol depends critically on the strength of the nonce in the Map-Request message. The nonce SHOULD be generated by a properly seeded pseudo-random (or strong random) source. See [RFC4086] for advice on generating security- sensitive random data. Source-EID-AFI: Address family of the "Source EID Address" field. Source EID Address: This is the EID of the source host which originated the packet which is caused the Map-Request. When Map- Requests are used for refreshing a map-cache entry or for RLOC- probing, an AFI value 0 is used and this field is of zero length. ITR-RLOC-AFI: Address family of the "ITR-RLOC Address" field that follows this field. ITR-RLOC Address: Used to give the ETR the option of selecting the destination address from any address family for the Map-Reply message. This address MUST be a routable RLOC address of the sender of the Map-Request message. EID mask-len: Mask length for EID prefix. EID-prefix-AFI: Address family of EID-prefix according to [AFI] EID-prefix: 4 octets if an IPv4 address-family, 16 octets if an IPv6 address-family. When a Map-Request is sent by an ITR because a data packet is received for a destination where there is no mapping entry, the EID-prefix is set to the destination IP address of the data packet. And the 'EID mask-len' is set to 32 or 128 for IPv4 or IPv6, respectively. When an xTR wants to query a site about the status of a mapping it already has cached, the EID- prefix used in the Map-Request has the same mask-length as the EID-prefix returned from the site when it sent a Map-Reply message. Map-Reply Record: When the M bit is set, this field is the size of a single "Record" in the Map-Reply format. This Map-Reply record contains the EID-to-RLOC mapping entry associated with the Source EID. This allows the ETR which will receive this Map-Request to cache the data if it chooses to do so. 6.1.3. EID-to-RLOC UDP Map-Request Message A Map-Request is sent from an ITR when it needs a mapping for an EID, wants to test an RLOC for reachability, or wants to refresh a mapping before TTL expiration. For the initial case, the destination IP address used for the Map-Request is the data packet's destination address (i.e. the destination-EID) which had a mapping cache lookup failure. For the latter two cases, the destination IP address used for the Map-Request is one of the RLOC addresses from the locator-set of the map cache entry. The source address is either an IPv4 or IPv6 RLOC address depending if the Map-Request is using an IPv4 versus IPv6 header, respectively. In all cases, the UDP source port number for the Map-Request message is an ITR/PITR selected 16-bit value and the UDP destination port number is set to the well-known destination port number 4342. A successful Map-Reply, which is one that has a nonce that matches an outstanding Map-Request nonce, will update the cached set of RLOCs associated with the EID prefix range. One or more Map-Request (ITR-RLOC-AFI, ITR-RLOC-Address) fields MUST be filled in by the ITR. The number of fields (minus 1) encoded MUST be placed in the IRC field. The ITR MAY include all locally configured locators in this list or just provide one locator address from each address family it supports. If the ITR erroneously provides no ITR-RLOC addresses, the Map-Replier MUST drop the Map- Request. Map-Requests can also be LISP encapsulated using UDP destination port 4342 with a LISP type value set to "Encapsulated Control Message", when sent from an ITR to a Map-Resolver. Likewise, Map-Requests are LISP encapsulated the same way from a Map-Server to an ETR. Details on encapsulated Map-Requests and Map-Resolvers can be found in [LISP-MS]. Map-Requests MUST be rate-limited. It is RECOMMENDED that a Map- Request for the same EID-prefix be sent no more than once per second. An ITR that is configured with mapping database information (i.e. it is also an ETR) MAY optionally include those mappings in a Map- Request. When an ETR configured to accept and verify such "piggybacked" mapping data receives such a Map-Request and it does not have this mapping in the map-cache, it MAY originate a "verifying Map-Request", addressed to the map-requesting ITR and the ETR MAY add a map-cache entry. If the ETR has a map-cache entry that matches the "piggybacked" EID and the RLOC is in the locator-set for the entry, then it may send the "verifying Map-Request" directly to the originating Map-Request source. If the RLOC is not in the locator- set, then the ETR MUST send the "verifying Map-Request" to the "piggybacked" EID. Doing this forces the "verifying Map-Request" to go through the mapping database system to reach the authoritative source of information about that EID, guarding against RLOC-spoofing in in the "piggybacked" mapping data. 6.1.4. Map-Reply Message Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=2 |P|E|S| Reserved | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 2 (Map-Reply) P: This is the probe-bit which indicates that the Map-Reply is in response to a locator reachability probe Map-Request. The nonce field MUST contain a copy of the nonce value from the original Map-Request. See Section 6.3.2 for more details. E: Indicates that the ETR which sends this Map-Reply message is advertising that the site is enabled for the Echo-Nonce locator reachability algorithm. See Section 6.3.1 for more details. S: This is the Security bit. When set to 1 the following authentication information will be appended to the end of the Map- Reply. The detailed format of the Authentication Data Content is for further study. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AD Type | Authentication Data Content . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Reserved: It MUST be set to 0 on transmit and MUST be ignored on receipt. Record Count: The number of records in this reply message. A record is comprised of that portion of the packet labeled 'Record' above and occurs the number of times equal to Record count. Nonce: A 24-bit value set in a Data-Probe packet or a 64-bit value from the Map-Request is echoed in this Nonce field of the Map- Reply. When a 24-bit value is supplied, it resides in the low- order 64 bits of the nonce field. Record TTL: The time in minutes the recipient of the Map-Reply will store the mapping. If the TTL is 0, the entry SHOULD be removed from the cache immediately. If the value is 0xffffffff, the recipient can decide locally how long to store the mapping. Locator Count: The number of Locator entries. A locator entry comprises what is labeled above as 'Loc'. The locator count can be 0 indicating there are no locators for the EID-prefix. EID mask-len: Mask length for EID prefix. ACT: This 3-bit field describes negative Map-Reply actions. In any other message type, these bits are set to 0 and ignored on receipt. These bits are used only when the 'Locator Count' field is set to 0. The action bits are encoded only in Map-Reply messages. The actions defined are used by an ITR or PITR when a destination EID matches a negative mapping cache entry. Unassigned values should cause a map-cache entry to be created and, when packets match this negative cache entry, they will be dropped. The current assigned values are: (0) No-Action: The map-cache is kept alive and no packet encapsulation occurs. (1) Natively-Forward: The packet is not encapsulated or dropped but natively forwarded. (2) Send-Map-Request: The packet invokes sending a Map-Request. (3) Drop: A packet that matches this map-cache entry is dropped. An ICMP Unreachable message SHOULD be sent. A: The Authoritative bit, when sent is always set to 1 by an ETR. When a Map-Server is proxy Map-Replying [LISP-MS] for a LISP site, the Authoritative bit is set to 0. This indicates to requesting ITRs that the Map-Reply was not originated by a LISP node managed at the site that owns the EID-prefix. Map-Version Number: When this 12-bit value is non-zero the Map-Reply sender is informing the ITR what the version number is for the EID-record contained in the Map-Reply. The ETR can allocate this number internally but MUST coordinate this value with other ETRs for the site. When this value is 0, there is no versioning information conveyed. The Map-Version Number can be included in Map-Request and Map-Register messages. See Section 6.6.3 for more details. EID-prefix-AFI: Address family of EID-prefix according to [AFI]. EID-prefix: 4 octets if an IPv4 address-family, 16 octets if an IPv6 address-family. Priority: each RLOC is assigned a unicast priority. Lower values are more preferable. When multiple RLOCs have the same priority, they MAY be used in a load-split fashion. A value of 255 means the RLOC MUST NOT be used for unicast forwarding. Weight: when priorities are the same for multiple RLOCs, the weight indicates how to balance unicast traffic between them. Weight is encoded as a relative weight of total unicast packets that match the mapping entry. For example if there are 4 locators in a locator set, where the weights assigned are 30, 20, 20, and 10, the first locator will get 37.5% of the traffic, the 2nd and 3rd locators will get 25% of traffic and the 4th locator will get 12.5% of the traffic. If all weights for a locator-set are equal, receiver of the Map-Reply will decide how to load-split traffic. See Section 6.5 for a suggested hash algorithm to distribute load across locators with same priority and equal weight values. M Priority: each RLOC is assigned a multicast priority used by an ETR in a receiver multicast site to select an ITR in a source multicast site for building multicast distribution trees. A value of 255 means the RLOC MUST NOT be used for joining a multicast distribution tree. For more details, see [MLISP]. M Weight: when priorities are the same for multiple RLOCs, the weight indicates how to balance building multicast distribution trees across multiple ITRs. The weight is encoded as a relative weight (similar to the unicast Weights) of total number of trees built to the source site identified by the EID-prefix. If all weights for a locator-set are equal, the receiver of the Map-Reply will decide how to distribute multicast state across ITRs. For more details, see [MLISP]. Unused Flags: set to 0 when sending and ignored on receipt. L: when this bit is set, the locator is flagged as a local locator to the ETR that is sending the Map-Reply. When a Map-Server is doing proxy Map-Replying [LISP-MS] for a LISP site, the L bit is set to 0 for all locators in this locator-set. p: when this bit is set, an ETR informs the RLOC-probing ITR that the locator address, for which this bit is set, is the one being RLOC- probed and MAY be different from the source address of the Map- Reply. An ITR that RLOC-probes a particular locator, MUST use this locator for retrieving the data structure used to store the fact that the locator is reachable. The "p" bit is set for a single locator in the same locator set. If an implementation sets more than one "p" bit erroneously, the receiver of the Map-Reply MUST select the first locator. The "p" bit MUST NOT be set for locator-set records sent in Map-Request and Map-Register messages. R: set when the sender of a Map-Reply has a route to the locator in the locator data record. This receiver may find this useful to know if the locator is up but not necessarily reachable from the receiver's point of view. See also Section 6.4 for another way the R-bit may be used. Locator: an IPv4 or IPv6 address (as encoded by the 'Loc-AFI' field) assigned to an ETR. Note that the destination RLOC address MAY be an anycast address. A source RLOC can be an anycast address as well. The source or destination RLOC MUST NOT be the broadcast address (255.255.255.255 or any subnet broadcast address known to the router), and MUST NOT be a link-local multicast address. The source RLOC MUST NOT be a multicast address. The destination RLOC SHOULD be a multicast address if it is being mapped from a multicast destination EID. 6.1.5. EID-to-RLOC UDP Map-Reply Message A Map-Reply returns an EID-prefix with a prefix length that is less than or equal to the EID being requested. The EID being requested is either from the destination field of an IP header of a Data-Probe or the EID record of a Map-Request. The RLOCs in the Map-Reply are globally-routable IP addresses of all ETRs for the LISP site. Each RLOC conveys status reachability but does not convey path reachability from a requesters perspective. Separate testing of path reachability is required, See Section 6.3 for details. Note that a Map-Reply may contain different EID-prefix granularity (prefix + length) than the Map-Request which triggers it. This might occur if a Map-Request were for a prefix that had been returned by an earlier Map-Reply. In such a case, the requester updates its cache with the new prefix information and granularity. For example, a requester with two cached EID-prefixes that are covered by a Map- Reply containing one, less-specific prefix, replaces the entry with the less-specific EID-prefix. Note that the reverse, replacement of one less-specific prefix with multiple more-specific prefixes, can also occur but not by removing the less-specific prefix rather by adding the more-specific prefixes which during a lookup will override the less-specific prefix. When an ETR is configured with overlapping EID-prefixes, a Map- Request with an EID that longest matches any EID-prefix MUST be returned in a single Map-Reply message. For instance, if an ETR had database mapping entries for EID-prefixes: 10.0.0.0/8 10.1.0.0/16 10.1.1.0/24 10.1.2.0/24 A Map-Request for EID 10.1.1.1 would cause a Map-Reply with a record count of 1 to be returned with a mapping record EID-prefix of 10.1.1.0/24. A Map-Request for EID 10.1.5.5, would cause a Map-Reply with a record count of 3 to be returned with mapping records for EID-prefixes 10.1.0.0/16, 10.1.1.0/24, and 10.1.2.0/24. Note that not all overlapping EID-prefixes need to be returned, only the more specifics (note in the second example above 10.0.0.0/8 was not returned for requesting EID 10.1.5.5) entries for the matching EID-prefix of the requesting EID. When more than one EID-prefix is returned, all SHOULD use the same Time-to-Live value so they can all time out at the same time. When a more specific EID-prefix is received later, its Time-to-Live value in the Map-Reply record can be stored even when other less specifics exist. When a less specific EID-prefix is received later, its map-cache expiration time SHOULD be set to the minimum expiration time of any more specific EID-prefix in the map-cache. This is done so the integrity of the EID-prefix set is wholly maintained so no more-specific entries are removed from the map-cache while keeping less-specific entries. Map-Replies SHOULD be sent for an EID-prefix no more often than once per second to the same requesting router. For scalability, it is expected that aggregation of EID addresses into EID-prefixes will allow one Map-Reply to satisfy a mapping for the EID addresses in the prefix range thereby reducing the number of Map-Request messages. Map-Reply records can have an empty locator-set. A negative Map- Reply is a Map-Reply with an empty locator-set. Negative Map-Replies convey special actions by the sender to the ITR or PITR which have solicited the Map-Reply. There are two primary applications for Negative Map-Replies. The first is for a Map-Resolver to instruct an ITR or PITR when a destination is for a LISP site versus a non-LISP site. And the other is to source quench Map-Requests which are sent for non-allocated EIDs. For each Map-Reply record, the list of locators in a locator-set MUST appear in the same order for each ETR that originates a Map-Reply message. The locator-set MUST be sorted in order of ascending IP address where an IPv4 locator address is considered numerically 'less than' an IPv6 locator address. When sending a Map-Reply message, the destination address is copied from the one of the ITR-RLOC fields from the Map-Request. The ETR can choose a locator address from one of the address families it supports. For Data-Probes, the destination address of the Map-Reply is copied from the source address of the Data-Probe message which is invoking the reply. The source address of the Map-Reply is one of the local IP addresses chosen to allow uRPF checks to succeed in the upstream service provider. The destination port of a Map-Reply message is copied from the source port of the Map-Request or Data- Probe and the source port of the Map-Reply message is set to the well-known UDP port 4342. 6.1.5.1. Traffic Redirection with Coarse EID-Prefixes When an ETR is misconfigured or compromised, it could return coarse EID-prefixes in Map-Reply messages it sends. The EID-prefix could cover EID-prefixes which are allocated to other sites redirecting their traffic to the locators of the compromised site. To solve this problem, there are two basic solutions that could be used. The first is to have Map-Servers proxy-map-reply on behalf of ETRs so their registered EID-prefixes are the ones returned in Map- Replies. Since the interaction between an ETR and Map-Server is secured with shared-keys, it is easier for an ETR to detect misbehavior. The second solution is to have ITRs and PITRs cache EID-prefixes with mask-lengths that are greater than or equal to a configured prefix length. This limits the damage to a specific width of any EID-prefix advertised, but needs to be coordinated with the allocation of site prefixes. These solutions can be used independently or at the same time. At the time of this writing, other approaches are being considered and researched. 6.1.6. Map-Register Message Format The usage details of the Map-Register message can be found in specification [LISP-MS]. This section solely defines the message format. The message is sent in UDP with a destination UDP port of 4342 and a randomly selected UDP source port number. The Map-Register message format is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=3 |P| Reserved |M| Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key ID | Authentication Data Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ Authentication Data ~ +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 3 (Map-Register) P: This is the proxy-map-reply bit, when set to 1 an ETR sends a Map- Register message requesting for the Map-Server to proxy Map-Reply. The Map-Server will send non-authoritative Map-Replies on behalf of the ETR. Details on this usage can be found in [LISP-MS]. Reserved: It MUST be set to 0 on transmit and MUST be ignored on receipt. M: This is the want-map-notify bit, when set to 1 an ETR is requesting for a Map-Notify message to be returned in response to sending a Map-Register message. The Map-Notify message sent by a Map-Server is used to an acknowledge receipt of a Map-Register message. Record Count: The number of records in this Map-Register message. A record is comprised of that portion of the packet labeled 'Record' above and occurs the number of times equal to Record count. Nonce: This 8-octet Nonce field is set to 0 in Map-Register messages. Since the Map-Register message is authenticated, the nonce field is not currently used for any security function but may be in the future as part of an anti-replay solution. Key ID: A configured ID to find the configured Message Authentication Code (MAC) algorithm and key value used for the authentication function. See Section 14.4 for codepoint assignments. Authentication Data Length: The length in octets of the Authentication Data field that follows this field. The length of the Authentication Data field is dependent on the Message Authentication Code (MAC) algorithm used. The length field allows a device that doesn't know the MAC algorithm to correctly parse the packet. Authentication Data: The message digest used from the output of the Message Authentication Code (MAC) algorithm. The entire Map- Register payload is authenticated with this field preset to 0. After the MAC is computed, it is placed in this field. Implementations of this specification MUST include support for HMAC-SHA-1-96 [RFC2404] and support for HMAC-SHA-256-128 [RFC6234] is RECOMMENDED. The definition of the rest of the Map-Register can be found in the Map-Reply section. 6.1.7. Map-Notify Message Format The usage details of the Map-Notify message can be found in specification [LISP-MS]. This section solely defines the message format. The message is sent inside a UDP packet with source and destination UDP ports equal to 4342. The Map-Notify message format is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=4 | Reserved | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key ID | Authentication Data Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ Authentication Data ~ +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 4 (Map-Notify) The Map-Notify message has the same contents as a Map-Register message. See Map-Register section for field descriptions. 6.1.8. Encapsulated Control Message Format An Encapsulated Control Message (ECM) is used to encapsulate control packets sent between xTRs and the mapping database system described in [LISP-MS]. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | IPv4 or IPv6 Header | OH | (uses RLOC addresses) | \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port = xxxx | Dest Port = 4342 | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ LH |Type=8 |S| Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | IPv4 or IPv6 Header | IH | (uses RLOC or EID addresses) | \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Source Port = xxxx | Dest Port = yyyy | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ LCM | LISP Control Message | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet header descriptions: OH: The outer IPv4 or IPv6 header which uses RLOC addresses in the source and destination header address fields. UDP: The outer UDP header with destination port 4342. The source port is randomly allocated. The checksum field MUST be non-zero. LH: Type 8 is defined to be a "LISP Encapsulated Control Message" and what follows is either an IPv4 or IPv6 header as encoded by the first 4 bits after the reserved field. S: This is the Security bit. When set to 1 the field following the Reserved field will have the following format. The detailed format of the Authentication Data Content is for further study. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AD Type | Authentication Data Content . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ IH: The inner IPv4 or IPv6 header which can use either RLOC or EID addresses in the header address fields. When a Map-Request is encapsulated in this packet format the destination address in this header is an EID. UDP: The inner UDP header where the port assignments depends on the control packet being encapsulated. When the control packet is a Map-Request or Map-Register, the source port is ITR/PITR selected and the destination port is 4342. When the control packet is a Map-Reply, the source port is 4342 and the destination port is assigned from the source port of the invoking Map-Request. Port number 4341 MUST NOT be assigned to either port. The checksum field MUST be non-zero. LCM: The format is one of the control message formats described in this section. At this time, only Map-Request messages are allowed to be encapsulated. And in the future, PIM Join-Prune messages [MLISP] might be allowed. Encapsulating other types of LISP control messages are for further study. When Map-Requests are sent for RLOC-probing purposes (i.e the probe-bit is set), they MUST NOT be sent inside Encapsulated Control Messages. 6.2. Routing Locator Selection Both client-side and server-side may need control over the selection of RLOCs for conversations between them. This control is achieved by manipulating the Priority and Weight fields in EID-to-RLOC Map-Reply messages. Alternatively, RLOC information MAY be gleaned from received tunneled packets or EID-to-RLOC Map-Request messages. The following enumerates different scenarios for choosing RLOCs and the controls that are available: o Server-side returns one RLOC. Client-side can only use one RLOC. Server-side has complete control of the selection. o Server-side returns a list of RLOC where a subset of the list has the same best priority. Client can only use the subset list according to the weighting assigned by the server-side. In this case, the server-side controls both the subset list and load- splitting across its members. The client-side can use RLOCs outside of the subset list if it determines that the subset list is unreachable (unless RLOCs are set to a Priority of 255). Some sharing of control exists: the server-side determines the destination RLOC list and load distribution while the client-side has the option of using alternatives to this list if RLOCs in the list are unreachable. o Server-side sets weight of 0 for the RLOC subset list. In this case, the client-side can choose how the traffic load is spread across the subset list. Control is shared by the server-side determining the list and the client determining load distribution. Again, the client can use alternative RLOCs if the server-provided list of RLOCs are unreachable. o Either side (more likely on the server-side ETR) decides not to send a Map-Request. For example, if the server-side ETR does not send Map-Requests, it gleans RLOCs from the client-side ITR, givingUDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | LISP Message | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The LISP UDP-based messages are theclient-side ITR responsibility for bidirectional RLOC reachabilityMap-Request andpreferability. Server-side ETR gleaning ofMap-Reply messages. When a UDP Map-Request is sent, theclient-side ITR RLOCUDP source port isdonechosen bycachingtheinner header source EIDsender and theouter header source RLOC of received packets. The client-side ITR controls how trafficdestination UDP port number isreturned and can alternate using an outer headerset to 4342. When a UDP Map-Reply is sent, the sourceRLOC, which then can be addedUDP port number is set to 4342 and thelistdestination UDP port number is copied from theserver-side ETR uses to return traffic. Since no Prioritysource port of either the Map-Request orWeights are provided using this method,theserver- side ETRinvoking data packet. Implementations MUSTassume each client-side ITR RLOC uses the same best Priority with a Weight of zero. In addition, since EID-prefix encoding cannotbeconveyed in data packets, the EID-to-RLOC cache on tunnel routers can growprepared tobe very large. o A "gleaned" map-cache entry, one learned fromaccept packets when either the sourceRLOC of a received encapsulated packet, is only stored and used for a few seconds, pending verification. Verificationport or destination UDP port isperformed by sending a Map-Requestset to 4342 due to NATs changing port number values. The 'UDP Length' field will reflect thesource EID (the inner header IP source address)length of thereceived encapsulated packet. A reply to this "verifying Map-Request"UDP header and the LISP Message payload. The UDP checksum isusedcomputed and set tofully populate the map- cache entrynon-zero forthe "gleaned" EIDMap-Request, Map-Reply, Map-Register, andis storedEncapsulated Control Message (ECM) control messages. It MUST be checked on receipt, andused forif thetime indicated fromchecksum fails, theTTL fieldpacket MUST be dropped. The format ofa received Map-Reply. When a verified map-cache entry is stored, data gleaning no longer occurs for subsequent packets which have a source EID that matchescontrol messages includes theEID-prefix ofUDP header so theverified entry. RLOCs that appear in EID-to-RLOCchecksum and length fields can be used to protect and delimit message boundaries. 6.1.1. LISP Packet Type Allocations This section will be the authoritative source for allocating LISP Type values and for defining LISP control message formats. Current allocations are: Reserved: 0 b'0000' LISP Map-Request: 1 b'0001' LISP Map-Reply: 2 b'0010' LISP Map-Register: 3 b'0011' LISP Map-Notify: 4 b'0100' LISP Encapsulated Control Message: 8 b'1000' 6.1.2. Map-Request Message Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=1 |A|M|P|S|p|s| Reserved | IRC | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source-EID-AFI | Source EID Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ITR-RLOC-AFI 1 | ITR-RLOC Address 1 ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ITR-RLOC-AFI n | ITR-RLOC Address n ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | Reserved | EID mask-len | EID-Prefix-AFI | Rec +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | EID-Prefix ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Map-Replymessages are assumed to be reachable when the R-bit for the locator recordRecord ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 1 (Map-Request) A: This is an authoritative bit, which is set to1. When the R-bit0 for UDP-based Map-Requests sent by an ITR. It is set to0,1 when an ITRor PITR MUST NOT encapsulate towants theRLOC. Neitherdestination site to return theinformation contained in aMap-Replyor that stored inrather than the mapping databasesystem provides reachability information for RLOCs. Note that reachabilitysystem. M: This isnot part ofthemapping system andmap-data-present bit. When set, it indicates that a Map-Reply Record segment isdetermined using one or more of the Routing Locator Reachability Algorithms describedincluded in thenext section. 6.3. RoutingMap-Request. P: This is the probe-bit, which indicates that a Map-Request SHOULD be treated as a LocatorReachability Several mechanisms for determining RLOCreachabilityare currently defined: 1. An ETR may examineprobe. The receiver SHOULD respond with a Map-Reply with the probe-bit set, indicating that the Map-Reply is a LocatorStatus Bits inreachability probe reply, with theLISP header of an encapsulated data packet receivednonce copied froman ITR. IftheETRMap-Request. See Section 6.3.2 for more details. S: This isalso acting as an ITR and has traffic to return totheoriginal ITR site, it can use this status information to help select an RLOC. 2. An ITR may receive an ICMP Network or ICMP Host Unreachable messageSolicit-Map-Request (SMR) bit. See Section 6.6.2 for details. p: This is the PITR bit. This bit is set to 1 when a PITR sends a Map-Request. s: This is the SMR-invoked bit. This bit is set to 1 when anRLOC itxTR isusing.sending a Map-Request in response to a received SMR-based Map-Request. Reserved: Thisindicates that the RLOCfield MUST be set to 0 on transmit and MUST be ignored on receipt. IRC: This 5-bit field islikely down. Note, trusting ICMP messages may notthe ITR-RLOC Count, which encodes the additional number of ('ITR-RLOC-AFI', 'ITR-RLOC Address') fields present in this message. At least one (ITR-RLOC-AFI, ITR-RLOC-Address) pair MUST bedesirable but neitherencoded. Multiple 'ITR-RLOC Address' fields are used, so a Map-Replier can select which destination address to use for a Map-Reply. The IRC value ranges from 0 to 31. For a value of 0, there isignoring them completely. Implementations1 ITR-RLOC address encoded; for a value of 1, there areencouraged2 ITR-RLOC addresses encoded, and so on up tofollow current best practices in treating these conditions. 3. An ITR31, whichparticipatesencodes a total of 32 ITR-RLOC addresses. Record Count: This is the number of records in this Map-Request message. A record is comprised of theglobal routing system can determineportion of the packet thatan RLOCisdown if no BGP RIB route exists that matches the RLOC IP address. 4. An ITR may receive an ICMP Port Unreachable message from a destination host. This occurs if an ITR attempts to use interworking [INTERWORK]labeled 'Rec' above andLISP-encapsulated data is sentoccurs the number of times equal to Record Count. For this version of the protocol, anon-LISP-capable site. 5. An ITR may receivereceiver MUST accept and process Map-Requests that contain one or more records, but aMap-Reply from an ETRsender MUST only send Map-Requests containing one record. Support for requesting multiple EIDs inresponse toapreviously sent Map-Request. The RLOC sourcesingle Map-Request message will be specified in a future version of theMap-Replyprotocol. Nonce: This islikely up since the ETR was able to send the Map-Reply to the ITR. 6. When an ETR receives an encapsulated packet fromanITR, the source RLOC from8-octet random value created by theouter headersender of thepacket is likely up. 7. An ITR/ETR pair can use the Locator Reachability Algorithms describedMap-Request. This nonce will be returned inthis section, namely Echo-Noncing or RLOC-Probing. When determining Locator up/down reachability by examiningtheLocator Status Bits fromMap-Reply. The security of the LISPencapsulated data packet, an ETR will receive up to date status from an encapsulating ITR about reachability for all ETRs atmapping protocol critically depends on thesite. CE-based ITRs atstrength of thesource site can determine reachability relative to each other usingnonce in thesite IGP as follows: o Under normal circumstances, each ITR will advertiseMap-Request message. The nonce SHOULD be generated by adefault route intoproperly seeded pseudo-random (or strong random) source. See [RFC4086] for advice on generating security- sensitive random data. Source-EID-AFI: This is thesite IGP. o If an ITR fails or ifaddress family of theupstream link to its PE fails, its default route will either time-out or be withdrawn. Each ITR can thus observe'Source EID Address' field. Source EID Address: This is thepresence or lackEID ofa default routethe source host that originatedbytheothers to determinepacket that caused theLocator Status Bits it setsMap-Request. When Map-Requests are used forthem. RLOCs listed inrefreshing aMap-Reply are numbered with ordinalsMap-Cache entry or for RLOC-Probing, an AFI value 0 is used and this field is of zero length. ITR-RLOC-AFI: This is the address family of the 'ITR-RLOC Address' field that follows this field. ITR-RLOC Address: This is used ton-1. The Locator Status Bits in a LISP encapsulated packet are numberedgive the ETR the option of selecting the destination address from0 to n-1 starting withany address family for theleast significant bit. For example, if anMap-Reply message. This address MUST be a routable RLOClisted inaddress of the3rd positionsender of theMap-Reply goes down (ordinal value 2), then all ITRs atMap-Request message. EID mask-len: This is thesite will clearmask length for the3rd least significant bit (xxxx x0xx)EID-Prefix. EID-Prefix-AFI: This is the address family of theLocator Status Bits fieldEID-Prefix according to [AFI]. EID-Prefix: This prefix is 4 octets forthe packets they encapsulate.an IPv4 address family and 16 octets for an IPv6 address family. When a Map-Request is sent by anETR decapsulatesITR because apacket, it will checkdata packet is received forany change in the Locator Status Bits field. Whenabit goes from 1 to 0,destination where there is no mapping entry, theETR if acting also as an ITR, will refrain from encapsulating packets to an RLOC thatEID-Prefix isindicated as down. It will only resume using that RLOC ifset to thecorresponding Locator Status Bit returnsdestination IP address of the data packet, and the 'EID mask-len' is set to 32 or 128 for IPv4 or IPv6, respectively. When an xTR wants to query avaluesite about the status of1. Locator Status Bits are associated with a locator-set per EID-prefix. Therefore, whenalocator becomes unreachable,mapping it already has cached, theLocator Status Bit that corresponds to that locator's positionEID-Prefix used in thelistMap-Request has the same mask length as the EID-Prefix returnedbyfrom thelastsite when it sent a Map-Replywill be set to zero for that particular EID- prefix.message. Map-Reply Record: WhenITRs atthesite are not deployedM-bit is set, this field is the size of a single "Record" inCE routers,theIGP can still be used to determineMap-Reply format. This Map-Reply record contains thereachability of Locators provided they are injected intoEID-to-RLOC mapping entry associated with theIGP.Source EID. This allows the ETR that will receive this Map-Request to cache the data if it chooses to do so. 6.1.3. EID-to-RLOC UDP Map-Request Message A Map-Request istypically donesent from an ITR when it needs a/32 address is configured on a loopback interface. When ITRs receive ICMP Networkmapping for an EID, wants to test an RLOC for reachability, orHost Unreachable messages as a methodwants todetermine unreachability, they will refrain from using Locators which are described in Locator lists of Map-Replies. However, using this approachrefresh a mapping before TTL expiration. For the initial case, the destination IP address used for the Map-Request isunreliable because many network operators turn off generationthe data packet's destination address (i.e., the destination EID) that had a mapping cache lookup failure. For the latter two cases, the destination IP address used for the Map-Request is one ofICMP Unreachable messages. Ifthe RLOC addresses from the Locator-Set of the Map-Cache entry. The source address is either anITR does receiveIPv4 or IPv6 RLOC address, depending on whether the Map-Request is using anICMP NetworkIPv4 orHost Unreachable message, it MAY originate its own ICMP Unreachable message destined forIPv6 header, respectively. In all cases, thehost that originatedUDP source port number for thedata packetMap-Request message is a 16-bit value selected by theITR encapsulated. Also, BGP-enabled ITRs can unilaterally examineITR/PITR, and theRIBUDP destination port number is set tosee if a locator address from a locator-set inthe well- known destination port number 4342. A successful Map-Reply, which is one that has amapping entrynonce that matchesa prefix. If it does not find one and BGP is running inan outstanding Map-Request nonce, will update theDefault Free Zone (DFZ), it can decide to not usecached set of RLOCs associated with thelocator even thoughEID-Prefix range. One or more Map-Request ('ITR-RLOC-AFI', 'ITR-RLOC-Address') fields MUST be filled in by theLocator Status Bits indicateITR. The number of fields (minus 1) encoded MUST be placed in thelocator is up. In'IRC' field. The ITR MAY include all locally configured Locators in thiscase, the pathlist or just provide one locator address from each address family it supports. If the ITRtoerroneously provides no ITR-RLOC addresses, theETR that is assignedMap-Replier MUST drop thelocator is not available. More details are in [LOC-ID-ARCH]. Optionally,Map-Request. Map-Requests can also be LISP encapsulated using UDP destination port 4342 with a LISP Type value set to "Encapsulated Control Message", when sent from an ITRcan send a Map-Requestto aLocator and if a Map- Reply is returned, reachability of the Locator has been determined. Obviously, sending such probes increases the number of control messages originated by tunnel routers for active flows, so LocatorsMap-Resolver. Likewise, Map-Requests areassumedLISP encapsulated the same way from a Map-Server to an ETR. Details on Encapsulated Map-Requests and Map-Resolvers can bereachable when they are advertised. This assumption does create a dependency: Locator unreachabilityfound in [RFC6833]. Map-Requests MUST be rate-limited. It isdetected byRECOMMENDED that a Map-Request for thereceipt of ICMP Host Unreachable messages.same EID-Prefix be sent no more than once per second. An ITR that is configured with mapping database information (i.e., it is also an ETR) MAY optionally include those mappings in a Map-Request. When anLocator has been determinedETR configured tobe unreachable,accept and verify such "piggybacked" mapping data receives such a Map-Request and itisdoes notused for active traffic;have thisismapping in thesame as ifmap-cache, itwere listed inMAY originate aMap-Reply with priority 255. The"verifying Map-Request", addressed to the map-requesting ITRcan testand thereachability ofETR MAY add a Map-Cache entry. If theunreachable Locator by sending periodic Requests. Both RequestsETR has a Map-Cache entry that matches the "piggybacked" EID andReplies MUST be rate- limited. Locator reachability testingthe RLOC isnever done with data packets since that increasesin therisk of packet lossLocator-Set forend-to-end sessions. When an ETR decapsulates a packet, it knows thatthe entry, then itis reachable frommay send theencapsulating ITR because that"verifying Map-Request" directly to the originating Map-Request source. If the RLOC ishownot in thepacket arrived. In most cases,Locator-Set, then the ETRcan also reachMUST send theITR but cannot assume this to be true due"verifying Map-Request" to thepossibility of path asymmetry. In"piggybacked" EID. Doing this forces thepresence of unidirectional traffic flow from an ITR"verifying Map-Request" toan ETR,go through theITR SHOULD NOT usemapping database system to reach thelackauthoritative source ofreturn traffic as an indicationinformation about thatthe ETR is unreachable. Instead, it MUST use an alternate mechanisms to determine reachability. 6.3.1. Echo Nonce Algorithm When data flows bidirectionally between locators from different sites, a data-plane mechanism called "nonce echoing" can be used to determine reachability between an ITR and ETR. When an ITR wants to solicit a nonce echo, it sets the N and E bits and places a 24-bit nonce [RFC4086]EID, guarding against RLOC-spoofing in theLISP header of the next encapsulated data packet. When this packet"piggybacked" mapping data. 6.1.4. Map-Reply Message Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=2 |P|E|S| Reserved | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-Prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-Prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 2 (Map-Reply) P: This isreceived bytheETR,probe-bit, which indicates that theencapsulated packetMap-Reply isforwarded as normal. When the ETR next sends a data packetin response tothe ITR, it includesa Locator reachability probe Map-Request. The 'Nonce' field MUST contain a copy of the noncereceived earlier withvalue from theN bit set and Eoriginal Map-Request. See Section 6.3.2 for more details. E: This bitcleared. The ITR sees this "echoed nonce" and knows the path to and fromindicates that the ETRis up. The ITR will set the E-bit and N-bit for every packet itthat sendswhile in echo-nonce-request state. The time the ITR waits to process the echoed nonce before it determines the paththis Map-Reply message isunreachableadvertising that the site isvariable and a choice leftenabled for theimplementation. If the ITREcho-Nonce Locator reachability algorithm. See Section 6.3.1 for more details. S: This isreceiving packets from the ETR but does not seethenonce echoed while being in echo-nonce-request state, thenSecurity bit. When set to 1, thepathfollowing authentication information will be appended to theETRend of the Map-Reply. The detailed format of the Authentication Data Content isunreachable.for further study. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AD Type | Authentication Data Content . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Reserved: Thisdecision mayfield MUST beoverridden by other locator reachability algorithms. Once the ITR determines the path to the ETR is down it can switchset toanother locator for that EID-prefix. Note that "ITR"0 on transmit and"ETR" are relative terms here. Both devicesMUST beimplementing both ITR and ETR functionality forignored on receipt. Record Count: This is theecho nonce mechanism to operate. The ITRnumber of records in this reply message. A record is comprised of that portion of the packet labeled 'Record' above andETR may both go into echo-nonce-request state atoccurs thesame time. Thenumber ofpackets senttimes equal to Record Count. Nonce: This is a 24-bit value set in a Data-Probe packet, or a 64-bit value from thetime during which echo nonce requests are sent is an implementation specific setting. However, when an ITRMap-Request is echoed inecho-nonce-request state, it can echothis 'Nonce' field of theETR's nonceMap-Reply. When a 24-bit value is supplied, it resides in thenext setlow-order 64 bits ofpackets that it encapsulates and then subsequently, continue sending echo-nonce-request packets. This mechanism does not completely solve the forward path reachability problem as traffic may be unidirectional. That is,theETR receiving traffic at a site may not be'Nonce' field. Record TTL: This is thesame device as an ITR which transmits traffic from that site ortime in minutes thesite to site traffic is unidirectional so there is no ITR returning traffic. The echo-nonce algorithm is bilateral. That is, if one side setsrecipient of theE-bit andMap-Reply will store theother sidemapping. If the TTL isnot enabled for echo-noncing, then0, theechoing ofentry SHOULD be removed from thenonce does not occur andcache immediately. If therequesting side may regardvalue is 0xffffffff, thelocator unreachable erroneously. An ITR SHOULD only setrecipient can decide locally how long to store theE-bit in a encapsulated data packet when it knowsmapping. Locator Count: This is theETRnumber of Locator entries. A Locator entry comprises what isenabledlabeled above as 'Loc'. The Locator count can be 0, indicating that there are no Locators forecho-noncing.the EID-Prefix. EID mask-len: This isconveyed bytheE-bit inmask length for theMap- Reply message. Note thatEID-Prefix. ACT: This 3-bit field describes Negative Map-Reply actions. In any otherlocator reachability mechanismsmessage type, these bits arebeing researchedset to 0 andcan beignored on receipt. These bits are used only when the 'Locator Count' field is set to 0. The action bits are encoded only in Map-Reply messages. The actions defined are used by an ITR or PITR when a destination EID matches a negative Map-Cache entry. Unassigned values should cause a Map-Cache entry to be created, and when packets match this negative cache entry, they will be dropped. The current assigned values are: (0) No-Action: The map-cache is kept alive, and no packet encapsulation occurs. (1) Natively-Forward: The packet is not encapsulated or dropped but natively forwarded. (2) Send-Map-Request: The packet invokes sending a Map-Request. (3) Drop: A packet that matches this map-cache entry is dropped. An ICMP Destination Unreachable message SHOULD be sent. A: The Authoritative bit, when sent, is always set tocompliment or even override the Echo Nonce Algorithm. See next section for1 by anexample of control-plane probing. 6.3.2. RLOC Probing Algorithm RLOC ProbingETR. When a Map-Server is proxy Map-Replying [RFC6833] for amethod that an ITR or PITR can use to determineLISP site, thereachability status of one or more locatorsAuthoritative bit is set to 0. This indicates to requesting ITRs thatit has cached inthe Map-Reply was not originated by amap-cache entry. The probe-bit ofLISP node managed at the site that owns the EID-Prefix. Map-Version Number: When this 12-bit value is non-zero, theMap-Request andMap-Replymessages are used for RLOC Probing. RLOC probingsender isdone ininforming thecontrol-plane on a timer basis where anITRor PITR will originate a Map-Request destined to a locator address from one of its own locator addresses. A Map-Request used as an RLOC-probewhat the version number isNOT encapsulated and NOT sent to a Map-Server or onfor theALT like one would when soliciting mapping data. TheEID recordencodedcontained in theMap-Request is the EID-prefix of the map-cache entry cached by the ITR or PITR.Map-Reply. TheITR may include a mapping data recordETR can allocate this number internally but MUST coordinate this value with other ETRs forits own database mapping information which containsthelocal EID-prefixes and RLOCs for itssite.RLOC-probes are sent periodically using a jittered timer interval.Whenan ETR receives a Map-Request message with the probe-bit set, it returns a Map-Reply with the probe-bit set.this value is 0, there is no versioning information conveyed. Thesource addressMap-Version Number can be included in Map-Request and Map-Register messages. See Section 6.6.3 for more details. EID-Prefix-AFI: Address family of theMap-Reply is setEID-Prefix according tothe procedure described in Section 6.1.5. The Map-Reply SHOULD contain mapping data[AFI]. EID-Prefix: This prefix is 4 octets for an IPv4 address family and 16 octets for an IPv6 address family. Priority: Each RLOC is assigned a unicast Priority. Lower values are more preferable. When multiple RLOCs have theEID-prefix containedsame Priority, they MAY be used in a load-split fashion. A value of 255 means theMap-Request. This provides the opportunityRLOC MUST NOT be used for unicast forwarding. Weight: When priorities are theITR or PITR, which sentsame for multiple RLOCs, theRLOC-probeWeight indicates how togetbalance unicast traffic between them. Weight is encoded as a relative weight of total unicast packets that match the mappingupdatesentry. For example, if therewere changes toare 4 Locators in a Locator-Set, where theETR's database mapping entries. ThereWeights assigned areadvantages30, 20, 20, anddisadvantages of RLOC Probing. The greatest benefit of RLOC Probing is that it can handle many failure scenarios allowing10, theITR to determine whenfirst Locator will get 37.5% of thepath to a specific locator is reachable or has become unreachable, thus providing a robust mechanism for switching to using another locator fromtraffic, thecached locator. RLOC Probing can also provide rough RTT estimates between a pair of locators which can be useful for network management purposes as well as for selecting low delay paths. The major disadvantage2nd and 3rd Locators will get 25% ofRLOC Probing is inthenumber of control messages requiredtraffic, and theamount4th Locator will get 12.5% ofbandwidth used to obtain those benefits, especially iftherequirementtraffic. If all Weights forfailure detection timesa Locator-Set arevery small. Continued research and testing will attempt to characterizeequal, thetradeoffsreceiver offailure detection times versus message overhead. 6.4. EID Reachability within a LISP Site A site may be multihomed using two or more ETRs. The hosts and infrastructure within a sitethe Map-Reply willbe addressed using one or more EID prefixes that are mappeddecide how to load-split theRLOCs oftraffic. See Section 6.5 for a suggested hash algorithm to distribute therelevant ETRs inload across Locators with themapping system. One possible failure modesame Priority and equal Weight values. M Priority: Each RLOC isforassigned a multicast Priority used by an ETR in a receiver multicast site tolose reachability to one or moreselect an ITR in a source multicast site for building multicast distribution trees. A value of 255 means theEID prefixes within its own site.RLOC MUST NOT be used for joining a multicast distribution tree. For more details, see [RFC6831]. M Weight: Whenthis occurs when the ETR sends Map-Replies, it can clearpriorities are theR-bit associated with its own locator. And whensame for multiple RLOCs, theETRWeight indicates how to balance building multicast distribution trees across multiple ITRs. The Weight isalso an ITR, it can clear its locator-status-bit inencoded as a relative weight (similar to theencapsulation data header. It is recognized there are no simple solutionsunicast Weights) of the total number of trees built to the source sitepartitioning problem because it is hard to know which partidentified by the EID-Prefix. If all Weights for a Locator-Set are equal, the receiver of theEID-prefix rangeMap-Reply will decide how to distribute multicast state across ITRs. For more details, see [RFC6831]. Unused Flags: These are set to 0 when sending and ignored on receipt. L: When this bit ispartitioned. And which locators can reach any sub-ranges ofset, theEID-prefixes. This problemLocator isunder investigation withflagged as a local Locator to theexpectationETR thatexperiments will tell us more. Note, thisisnot a new problem introduced bysending theLISP architecture. The problem exists today when a multi-homed site uses BGP to advertise its reachability upstream. 6.5. Routing Locator HashingMap-Reply. Whenan ETR provides an EID-to-RLOC mapping in a Map-Reply message toarequesting ITR, the locator-setMap-Server is doing proxy Map-Replying [RFC6833] for a LISP site, theEID-prefix may contain different priority valuesL-bit is set to 0 foreach locator address.all Locators in this Locator-Set. p: Whenmore than one best priority locator exists,this bit is set, an ETR informs the RLOC-Probing ITRcan decide how to load share traffic againstthat thecorresponding locators. The following hash algorithm may be used by an ITR to select alocator address fora packet destined to an EID forwhich this bit is set is theEID-to-RLOC mapping: 1. Either a sourceone being RLOC-probed anddestination address hash canMAY beused or the traditional 5-tuple hash which includesdifferent from the sourceand destination addresses, source and destination TCP, UDP, or SCTP port numbers and the IP protocol number field or IPv6 next- protocol fieldsaddress ofa packet a host originates from within a LISP site. When a packet is not a TCP, UDP, or SCTP packet,thesource and destination addresses only fromMap-Reply. An ITR that RLOC-probes a particular Locator MUST use this Locator for retrieving theheader aredata structure used tocompute the hash. 2. Takestore thehash value and divide it byfact that thenumber of locators storedLocator is reachable. The p-bit is set for a single Locator in thelocator-set forsame Locator-Set. If an implementation sets more than one p-bit erroneously, theEID-to-RLOC mapping. 3. The remainder will yield a value of 0 to "numberreceiver oflocators minus 1". Usetheremainder toMap-Reply MUST select thelocatorfirst Locator. The p-bit MUST NOT be set for Locator-Set records sent inthe locator-set. Note thatMap-Request and Map-Register messages. R: This is set when the sender of apacket is LISP encapsulated,Map-Reply has a route to thesource port numberLocator in theouter UDP header needs to be set. Selecting a hashed value allows core routers which are attached to Link Aggregation Groups (LAGs)Locator data record. This receiver may find this useful toload-splitknow if theencapsulated packets across member links of such LAGs. Otherwise, core routers would see a single flow, since packets have a source address ofLocator is up but not necessarily reachable from theITR,receiver's point of view. See also Section 6.4 forpackets which are originatedanother way the R-bit may be used. Locator: This is an IPv4 or IPv6 address (as encoded bydifferent EIDs atthesource site.'Loc-AFI' field) assigned to an ETR. Note that the destination RLOC address MAY be an anycast address. Asuggested setting forsource RLOC can be an anycast address as well. The source or destination RLOC MUST NOT be the broadcast address (255.255.255.255 or any subnet broadcast address known to the router) and MUST NOT be a link-local multicast address. The sourceport number computed by an ITRRLOC MUST NOT be a multicast address. The destination RLOC SHOULD be a multicast address if it is being mapped from a5-tuple hash function on the inner header, as described above. Many core router implementations usemulticast destination EID. 6.1.5. EID-to-RLOC UDP Map-Reply Message A Map-Reply returns an EID-Prefix with a5-tuple hash to decide howprefix length that is less than or equal tobalance packet load across members of a LAG.the EID being requested. The5-tuple hash includesEID being requested is either from thesource anddestinationaddressesfield of an IP header of a Data-Probe or thepacket and the source and destination ports when the protocol numberEID record of a Map-Request. The RLOCs in thepacket is TCP or UDP. For this reason, UDP encoding is used for LISP encapsulation. 6.6. Changing the ContentsMap-Reply are globally routable IP addresses ofEID-to-RLOC Mappings Sinceall ETRs for the LISParchitecture usessite. Each RLOC conveys status reachability but does not convey path reachability from acaching scheme to retrieve and store EID-to-RLOC mappings,requester's perspective. Separate testing of path reachability is required. See Section 6.3 for details. Note that a Map-Reply may contain different EID-Prefix granularity (prefix + length) than theonly wayMap-Request that triggers it. This might occur if a Map-Request were for a prefix that had been returned by anITR can getearlier Map-Reply. In such amore up-to- date mapping is to re-request the mapping. However,case, theITRs do not know whenrequester updates its cache with themappings changenew prefix information andthe ETRs do not keep track of which ITRs requested its mappings.granularity. Forscalability reasons, we want to maintain this approach but need to provideexample, away for ETRs change their mappings and inform the sitesrequester with two cached EID-Prefixes that arecurrently communicatingcovered by a Map-Reply containing one less-specific prefix replaces the entry with theETR site using such mappings. When adding a new locator record in lexicographic order toless-specific EID-Prefix. Note that theendreverse, replacement ofa locator-set, it is easy to update mappings. We assume new mappings will maintain the same locator ordering asone less-specific prefix with multiple more-specific prefixes, can also occur, not by removing theold mappingless-specific prefix butjust have new locators appended to the end ofrather by adding thelist. So some ITRs can havemore-specific prefixes that, during anew mapping while other ITRs have onlylookup, will override the less-specific prefix. When anold mapping thatETR isused until they time out. Whenconfigured with overlapping EID-Prefixes, a Map-Request with anITR has onlyEID that best matches any EID-Prefix MUST be returned in a single Map-Reply message. For instance, if anoldETR had database mappingbut detects bits set in the loc-status-bits that correspondentries for EID-Prefixes: 10.0.0.0/8 10.1.0.0/16 10.1.1.0/24 10.1.2.0/24 A Map-Request for EID 10.1.1.1 would cause a Map-Reply with a record count of 1 tolocators beyond the list it has cached, it simply ignores them. However, this can only happenbe returned with a mapping record EID-Prefix of 10.1.1.0/24. A Map-Request forlocator addresses that are lexicographically greater than the locator addresses in the existing locator-set. WhenEID 10.1.5.5 would cause a Map-Reply with alocatorrecordis inserted in the middlecount ofa locator-set, to maintain lexicographic order, the SMR procedure in Section 6.6.2 is used3 toinform ITRsbe returned with mapping records for EID-Prefixes 10.1.0.0/16, 10.1.1.0/24, andPITRs of10.1.2.0/24. Note that not all overlapping EID-Prefixes need to be returned but only thenew locator-status-bit mappings. When a locator record is removed from a locator-set, ITRsmore-specific entries (note thathavein themapping cached willsecond example above 10.0.0.0/8 was notusereturned for requesting EID 10.1.5.5) for theremoved locator becausematching EID-Prefix of thexTRs will setrequesting EID. When more than one EID-Prefix is returned, all SHOULD use theloc-status-bitsame Time to0. So even ifLive value so they can all time out at thelocatorsame time. When a more-specific EID-Prefix is received later, its Time to Live value in thelist, it will not be used. For new mapping requests, the xTRsMap-Reply record can be stored even when other less-specific entries exist. When a less-specific EID-Prefix is received later, its map-cache expiration time SHOULD be setthe locator AFI to 0 (indicating an unspecified address), as well as setting the corresponding loc-status-bit to 0. This forces ITRs with old or new mappingstoavoid usingtheremoved locator. If many changes occur to a mapping over a long periodminimum expiration time oftime, one will find empty record slotsany more-specific EID-Prefix in themiddlemap-cache. This is done so the integrity of thelocator-setEID-Prefix set is wholly maintained andnew records appendedso no more- specific entries are removed from the map-cache while keeping less- specific entries. Map-Replies SHOULD be sent for an EID-Prefix no more often than once per second to thelocator-set. At some point,same requesting router. For scalability, itwould be useful to compact the locator-set so the loc-status-bit settings can be efficiently packed. We propose here three approaches for locator-set compaction,is expected that aggregation of EID addresses into EID-Prefixes will allow oneoperational and two protocol mechanisms. The operational approach usesMap-Reply to satisfy aclock sweep method. The protocol approaches usemapping for theconcept of Solicit-Map-Requests and Map-Versioning. 6.6.1. Clock Sweep The clock sweep approach uses planningEID addresses inadvance andtheuseprefix range, thereby reducing the number ofcount-down TTLs to time out mappings thatMap-Request messages. Map-Reply records can havealready been cached. The default setting foranEID-to-RLOC mapping TTL is 24 hours. So thereempty Locator-Set. A Negative Map-Reply is a24 hour windowMap-Reply with an empty Locator-Set. Negative Map-Replies convey special actions by the sender totime out old mappings.the ITR or PITR that have solicited the Map-Reply. There are two primary applications for Negative Map-Replies. Thefollowing clock sweep procedurefirst isused: 1. 24 hours beforefor amapping change isMap-Resolver totake effect,instruct an ITR or PITR when anetwork administrator configures the ETRs atdestination is for a LISP site versus a non-LISP site, and the other is tostartsource quench Map-Requests that are sent for non-allocated EIDs. For each Map-Reply record, theclock sweep window. 2. Duringlist of Locators in a Locator-Set MUST appear in theclock sweep window, ETRs continue to sendsame order for each ETR that originates a Map-Reply message. The Locator-Set MUST be sorted in order of ascending IP address where an IPv4 locator address is considered numerically 'less than' an IPv6 locator address. When sending a Map-Replymessages withmessage, thecurrent (unchanged) mapping records. The TTL for these mappingsdestination address isset to 1 hour. 3. 24 hours later, all previous cache entries will have timed out, and any active cache entries will time out within 1 hour. During this 1 hour windowcopied from one of theETRs continue to send Map-Reply messages with'ITR-RLOC' fields from thecurrent (unchanged) mapping records withMap-Request. The ETR can choose a locator address from one of theTTL set to 1 minute. 4. Ataddress families it supports. For Data-Probes, theenddestination address of the1 hour window, the ETRs will sendMap-Replymessages withis copied from thenew (changed) mapping records. So any active caches can getsource address of thenew mapping contents right away if not cached, or in 1 minute if they hadData-Probe message that is invoking themapping cached.reply. Thenew mappings are cached with a timesource address of the Map-Reply is one of the local IP addresses chosen tolive equalallow Unicast Reverse Path Forwarding (uRPF) checks tothe TTLsucceed in theMap-Reply. 6.6.2. Solicit-Map-Request (SMR) Solicitingupstream service provider. The destination port of aMap-RequestMap-Reply message isa selective way for ETRs, atcopied from thesite where mappings change,source port of the Map-Request or Data-Probe, and the source port of the Map-Reply message is set tocontroltherate they receive requests forwell-known UDP port 4342. 6.1.5.1. Traffic Redirection with Coarse EID-Prefixes When an ETR is misconfigured or compromised, it could return coarse EID-Prefixes in Map-Replymessages. SMRsmessages it sends. The EID-Prefix could cover EID-Prefixes that arealso usedallocated totell remote ITRsother sites, redirecting their traffic toupdate the mappings they have cached. SincetheETRs don't keep trackLocators ofremote ITRsthe compromised site. To solve this problem, there are two basic solutions thathave cached their mappings, they do not know which ITRs needcould be used. The first is to have Map-Servers proxy Map-Reply on behalf of ETRs so theirmappings updated. As a result,registered EID-Prefixes are the ones returned in Map-Replies. Since the interaction between an ETRwill solicit Map-Requests (called an SMR message) from those sites to whichand Map-Server is secured with shared keys, ithas been sending encapsulated data tois easier forthe last minute. In particular,an ETRwill send an SMR an ITRtowhich it has recently sent encapsulated data. An SMR message is simply a bit set in a Map-Request message. An ITR or PITR will send a Map-Request when they receive an SMR message. Both the SMR sender and the Map-Request responder MUST rate-limited these messages. Rate-limiting can be implemented as a global rate- limiter or one rate-limiter per SMR destination.detect misbehavior. Thefollowing procedure shows how a SMR exchange occurs when a sitesecond solution isdoing locator-set compaction for an EID-to-RLOC mapping: 1. When the database mappings in an ETR change, the ETRs at the site begintosend Map-Requestshave ITRs and PITRs cache EID-Prefixes with mask lengths that are greater than or equal to a configured prefix length. This limits theSMR bit set for each locator in each map-cache entry the ETR caches. 2. A remote ITR which receives the SMR message will schedule sendingdamage to aMap-Request messagespecific width of any EID-Prefix advertised but needs to be coordinated with thesource locator addressallocation ofthe SMR messagesite prefixes. These solutions can be used independently orto the mapping database system. A newly allocated random nonce is selected andat theEID-prefix used issame time. At theone copied fromtime of this writing, other approaches are being considered and researched. 6.1.6. Map-Register Message Format The usage details of theSMR message. IfMap-Register message can be found in specification [RFC6833]. This section solely defines thesource locatormessage format. The message isthe only locatorsent inthe cached locator-set, the remote ITR SHOULD sendUDP with aMap-Request to the database mapping system just in case the single locator has changeddestination UDP port of 4342 andmay no longer be reachable to accept the Map-Request. 3.a randomly selected UDP source port number. Theremote ITR MUST rate-limitMap-Register message format is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=3 |P| Reserved |M| Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key ID | Authentication Data Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ Authentication Data ~ +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-Prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-Prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 3 (Map-Register) P: This is theMap-Request until it gets aproxy Map-Replywhile continuing to use the cached mapping.bit. WhenMap Versioning is used, described in Section 6.6.3, an SMR sender can detect ifset to 1, anITR is usingETR sends a Map-Register message requesting themost upMap-Server todate database mapping. 4.proxy a Map-Reply. TheETRs at the site with the changed mappingMap-Server willreply to the Map-Request with a Map-Reply message that has a nonce fromsend non-authoritative Map-Replies on behalf of theSMR-invoked Map-Request. The Map-Reply messages SHOULDETR. Details on this usage can berate limited.found in [RFC6833]. Reserved: Thisis importantfield MUST be set toavoid Map-Reply implosion. 5. The ETRs, at the site with the changed mapping, record the fact that the site that sent the Map-Request has received the new mapping data in the mapping cache entry for the remote site so the loc-status-bits are reflective of0 on transmit and MUST be ignored on receipt. M: This is thenew mapping for packets goingwant-map-notify bit. When set tothe remote site. The1, an ETRthen stops sending SMR messages. Experimentationis requesting a Map-Notify message to be returned inprogressresponse todetermine the appropriate rate- limit parameters. For security reasons an ITR MUST NOT process unsolicited Map-Replies. To avoid map-cache entry corruptionsending a Map-Register message. The Map-Notify message sent by athird-party,Map-Server is used to acknowledge receipt of asenderMap-Register message. Record Count: This is the number ofan SMR-based Map-Request MUST be verified. If an ITR receives an SMR- based Map-Requestrecords in this Map-Register message. A record is comprised of that portion of the packet labeled 'Record' above and occurs thesourcenumber of times equal to Record Count. Nonce: This 8-octet 'Nonce' field isnotset to 0 in Map-Register messages. Since thelocator-set for the stored map-cache entry, thenMap-Register message is authenticated, theresponding Map-Request MUST'Nonce' field is not currently used for any security function but may besent within the future as part of anEID destinationanti-replay solution. Key ID: This is a configured ID to find themapping database system. Sinceconfigured Message Authentication Code (MAC) algorithm and key value used for themapping database systemauthentication function. See Section 14.4 for codepoint assignments. Authentication Data Length: This ismore secure to reach an authoritative ETR, it will delivertheMap-Request tolength in octets of theauthoritative source'Authentication Data' field that follows this field. The length of themapping data. When an ITR receives an SMR-based Map-Request for which it does not have'Authentication Data' field is dependent on the MAC algorithm used. The length field allows acached mapping fordevice that doesn't know theEID inMAC algorithm to correctly parse theSMR message, it MAY not send a SMR-invoked Map-Request.packet. Authentication Data: Thisscenario can occur when an ETR sends SMR messagesis the message digest used from the output of the MAC algorithm. The entire Map-Register payload is authenticated with this field preset toall locators in0. After thelocator-set it has storedMAC is computed, it is placed inits map-cache butthis field. Implementations of this specification MUST include support for HMAC-SHA-1-96 [RFC2404], and support for HMAC-SHA-256-128 [RFC4868] is RECOMMENDED. The definition of theremote ITRs that receiverest of theSMR may notMap-Register can besending packets to the site. There is no pointfound inupdatingSection 6.1.4. 6.1.7. Map-Notify Message Format The usage details of theITRs until they need to send,Map-Notify message can be found inwhich case, they will send Map-Requests to obtain a map-cache entry. 6.6.3. Database Map Versioning When therespecification [RFC6833]. This section solely defines the message format. The message isunidirectionalsent inside a UDP packetflow between an ITR and ETR,with source andthe EID-to-RLOC mappings change on the ETR, it needsdestination UDP ports equal toinform4342. The Map-Notify message format is: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type=4 | Reserved | Record Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nonce . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | . . . Nonce | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key ID | Authentication Data Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ Authentication Data ~ +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Record TTL | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ R | Locator Count | EID mask-len | ACT |A| Reserved | e +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ c | Rsvd | Map-Version Number | EID-Prefix-AFI | o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ r | EID-Prefix | d +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | /| Priority | Weight | M Priority | M Weight | | L +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | o | Unused Flags |L|p|R| Loc-AFI | | c +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | \| Locator | +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet field descriptions: Type: 4 (Map-Notify) The Map-Notify message has theITR so encapsulation can stop to a removed locator and start tosame contents as anew locator inMap-Register message. See thelocator-set.Map-Register section for field descriptions. 6.1.8. Encapsulated Control Message Format AnETR, when it sends Map-Reply messages, conveys its own Map-Version number. ThisEncapsulated Control Message (ECM) isknown as the Destination Map-Version Number. ITRs include the Destination Map-Version Number in packets they encapsulateused tothe site. When an ETR decapsulates a packetencapsulate control packets sent between xTRs anddetects the Destination Map-Version Number is less than the current version for its mapping,theSMR proceduremapping database system described inSection 6.6.2 occurs. An ITR, when it encapsulates packets to ETRs, can convey its own Map- Version number. This is known as the[RFC6833]. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | IPv4 or IPv6 Header | OH | (uses RLOC addresses) | \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | SourceMap-Version Number. When an ETR decapsulates a packet and detects thePort = xxxx | Dest Port = 4342 | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ LH |Type=8 |S| Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | IPv4 or IPv6 Header | IH | (uses RLOC or EID addresses) | \ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / | SourceMap-Version Number is greater than the last Map-Version Number sentPort = xxxx | Dest Port = yyyy | UDP +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ \ | UDP Length | UDP Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ LCM | LISP Control Message | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Packet header descriptions: OH: The outer IPv4 or IPv6 header, which uses RLOC addresses ina Map- Reply from the ITR's site, the ETR will send a Map-Request to one of the ETRs forthe sourcesite. A Map-Version Numberand destination header address fields. UDP: The outer UDP header with destination port 4342. The source port isused as a sequence number per EID-prefix. So values that are greater, are consideredrandomly allocated. The checksum field MUST be non-zero. LH: Type 8 is defined to bemore recent. A value of 0 for the Source Map-Version Number or the Destination Map-Version Number conveys no versioning informationa "LISP Encapsulated Control Message", and what follows is either anITR does no comparison with previously received Map-Version Numbers. A Map-Version Number can be included in Map-Register messagesIPv4 or IPv6 header aswell.encoded by the first 4 bits after the 'Reserved' field. S: This isa good way fortheMap-Server can assure that all ETRs for a site registeringSecurity bit. When set toit1, the field following the 'Reserved' field willbe Map-Version number synchronized. See [VERSIONING] for a morehave the following format. The detailedanalysis and descriptionformat ofDatabase Map Versioning. 7. Router Performance Considerations LISPthe Authentication Data Content isdesigned to be very hardware-based forwarding friendly. A few implementation techniquesfor further study. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AD Type | Authentication Data Content . . . | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ IH: The inner IPv4 or IPv6 header, which canbe used to incrementally implement LISP: ouse either RLOC or EID addresses in the header address fields. When atunnelMap-Request is encapsulated in this packetis received by an ETR,format, theouterdestination addressmay not bein this header is an EID. UDP: The inner UDP header, where theaddress ofport assignments depend on therouter. This makes it challenging forcontrol packet being encapsulated. When the controlplane to get packets frompacket is a Map-Request or Map-Register, thehardware. This may be mitigatedsource port is selected bycreating special FIB entries fortheEID-prefixes of EIDs served byITR/PITR and theETR (those for whichdestination port is 4342. When therouter provides an RLOC translation). These FIB entries are marked with a flag indicating thatcontrolplane processing should be performed. The forwarding logic of testing for particular IP protocol number valuepacket isnot necessary. There areafew proven cases where no changes to existing deployed hardware were needed to supportMap-Reply, theLISP data-plane. o On an ITR, prepending a new IP header consists of adding more octets to a MAC rewrite stringsource port is 4342 andprepending the string as part oftheoutgoing encapsulation procedure. Routers that support GRE tunneling [RFC2784] or 6to4 tunneling [RFC3056] may already support this action. o A packet's source address or interfacedestination port is assigned from thepacket was received on cansource port of the invoking Map-Request. Port number 4341 MUST NOT beusedassigned toselect a VRF (Virtual Routing/Forwarding).either port. TheVRF's routing table canchecksum field MUST beused to find EID-to-RLOC mappings. For performance issues relatednon-zero. LCM: The format is one of the control message formats described in this section. At this time, only Map-Request messages are allowed tomap-cache management, see section Section 12. 8. Deployment Scenarios This section will explore how and where ITRs and ETRs canbedeployed and will discussencapsulated. In thepros and consfuture, PIM Join/Prune messages [RFC6831] might be allowed. Encapsulating other types ofeach deployment scenario. For a more detailed deployment recommendation, refer to [LISP-DEPLOY]. There are two basic deployment trade-offs to consider: centralized versus distributed caches and flat, recursive, or re-encapsulating tunneling.LISP control messages is for further study. Whendeciding on centralized versus distributed caching,Map-Requests are sent for RLOC-Probing purposes (i.e., thefollowing issues shouldprobe-bit is set), they MUST NOT beconsidered: o Are the tunnel routers spread out so thatsent inside Encapsulated Control Messages. 6.2. Routing Locator Selection Both thecaches are spread across allclient-side and server-side may need control over thememoriesselection ofeach router? A centralized cacheRLOCs for conversations between them. This control iswhen an ITR keeps a cacheachieved by manipulating the 'Priority' and 'Weight' fields in EID-to-RLOC Map-Reply messages. Alternatively, RLOC information MAY be gleaned from received tunneled packets or EID-to-RLOC Map-Request messages. The following are different scenarios forallchoosing RLOCs and the controls that are available: o The server-side returns one RLOC. The client-side can only use one RLOC. The server-side has complete control of theEIDs it is encapsulating to.selection. o Thepacket takesserver-side returns adirect path tolist of RLOCs where a subset of thedestination locator. A distributed cache is when an ITR needs help from other re- encapsulating routers because it does not store alllist has thecache entries forsame best Priority. The client can only use theEIDs is it encapsulating to. Sosubset list according to thepacket takes a path through re-encapsulating routers that have a different set of cache entries. o Should management "touch points" be minimizedweighting assigned bychoosing few tunnel routers, just enough for redundancy? othe server-side. Ingeneral, using more ITRs doesn't increase management load, since caches are builtthis case, the server-side controls both the subset list andstored dynamically. Onload-splitting across its members. The client-side can use RLOCs outside of theother hand, more ETRs does require more management since EID-prefix-to-RLOC mappings need to be explicitly configured. When deciding on flat, recursive, or re-encapsulation tunneling,subset list if it determines that thefollowing issues should be considered: o Flat tunneling implementssubset list is unreachable (unless RLOCs are set to asingle tunnel between source site andPriority of 255). Some sharing of control exists: the server-side determines the destinationsite. This generally offers better paths between sourcesRLOC list anddestinations with a single tunnel path. o Recursive tunneling is when tunneled traffic is again further encapsulated in another tunnel, either to implement VPNs or to perform Traffic Engineering. When doing VPN-based tunneling,load distribution while thesiteclient-side hassome control sincethesite is prependingoption of using alternatives to this list if RLOCs in the list are unreachable. o The server-side sets anew tunnel header.Weight of 0 for the RLOC subset list. In this case, thecase of TE-based tunneling,client-side can choose how thesite may have control if ittraffic load isprepending a new tunnel header, but ifspread across thesite's ISPsubset list. Control isdoingshared by theTE, thenserver- side determining thesite has no control. Recursive tunneling generally will result in suboptimal paths but atlist and thebenefit of steering traffic to resource available parts ofclient determining load distribution. Again, thenetwork. o The technique of re-encapsulation ensures that packets only require one tunnel header. Soclient can use alternative RLOCs ifa packet needsthe server-provided list of RLOCs is unreachable. o Either side (more likely the server-side ETR) decides not tobe rerouted,send a Map-Request. For example, if the server-side ETR does not send Map-Requests, it gleans RLOCs from the client-side ITR, giving the client-side ITR responsibility for bidirectional RLOC reachability and preferability. Server-side ETR gleaning of the client-side ITR RLOC isfirst decapsulateddone by caching theETRinner-header source EID andthen re-encapsulated with a new tunnel header using a new RLOC.the outer-header source RLOC of received packets. Thenext sub-sections will survey where tunnel routersclient-side ITR controls how traffic is returned and canreside in the network. 8.1. First-hop/Last-hop Tunnel Routers By locating tunnel routers closealternate using an outer- header source RLOC, which then can be added tohosts,theEID-prefix set is atlist the server-side ETR uses to return traffic. Since no Priority or Weights are provided using this method, thegranularity of an IP subnet. So atserver-side ETR MUST assume that each client-side ITR RLOC uses theexpensesame best Priority with a Weight ofmore EID- prefix-to-RLOC sets for the site, the cacheszero. In addition, since EID-Prefix encoding cannot be conveyed ineach tunnel router can remain relatively small. But caches always dependdata packets, the EID-to-RLOC Cache on Tunnel Routers can grow to be very large. o A "gleaned" Map-Cache entry, one learned from thenumbersource RLOC ofnon-aggregated EID destination flows active through these tunnel routers. With more tunnel routers doing encapsulation, the increase in control traffic grows as well: since the EID-granularitya received encapsulated packet, isgreater, more Map-Requests and Map-Replies are traveling between more routers. The advantage of placing the cachesonly stored anddatabases at these stub routersused for a few seconds, pending verification. Verification isthatperformed by sending a Map-Request to theproducts deployed in this partsource EID (the inner-header IP source address) of thenetwork have better price-memory ratios then their core router counterparts. Memoryreceived encapsulated packet. A reply to this "verifying Map-Request" istypically less expensive in these devices and fewer routes are stored (only IGP routes). These devices tendused tohave excess capacity, bothfully populate the Map-Cache entry forforwardingthe "gleaned" EID androuting state. LISP functionality can also be deployed in edge switches. These devices generally have layer-2 ports facing hostsis stored andlayer-3 ports facingused for theInternet. Spare capacity is also often available in these devices as well. 8.2. Border/Edge Tunnel Routers Using customer-edge (CE) routerstime indicated from the 'TTL' field of a received Map-Reply. When a verified Map-Cache entry is stored, data gleaning no longer occurs fortunnel endpoints allows the EID space associated withsubsequent packets that have asitesource EID that matches the EID-Prefix of the verified entry. RLOCs that appear in EID-to-RLOC Map-Reply messages are assumed to be reachablevia a smallwhen the R-bit for the Locator record is setof RLOCs assignedto 1. When theCE routers for that site. ThisR-bit is set to 0, an ITR or PITR MUST NOT encapsulate to thedefault behavior envisioned inRLOC. Neither therest of this specification. This offersinformation contained in a Map-Reply nor that stored in theopposite benefitmapping database system provides reachability information for RLOCs. Note that reachability is not part of thefirst-hop/last-hop tunnel router scenario: the number ofmappingentriessystem andnetwork management touch points are reduced, allowing better scaling. One disadvantageisthat lessdetermined using one or more of thenetwork's resourcesRouting Locator reachability algorithms described in the next section. 6.3. Routing Locator Reachability Several mechanisms for determining RLOC reachability areused to reach host endpoints thereby centralizingcurrently defined: 1. An ETR may examine thepoint-of-failure domainLocator-Status-Bits in the LISP header of an encapsulated data packet received from an ITR. If the ETR is also acting as an ITR andcreating network choke points athas traffic to return to theCE router. Note that more than one CE router at a siteoriginal ITR site, it canbe configured with the same IP address. Inuse thiscasestatus information to help select an RLOC. 2. An ITR may receive an ICMP Network Unreachable or Host Unreachable message for an RLOC it isan anycast address.using. Thisallows resilience betweenindicates that theCE routers. That is, if a CE router fails, trafficRLOC isautomatically routedlikely down. Note that trusting ICMP messages may not be desirable, but neither is ignoring them completely. Implementations are encouraged to follow current best practices in treating these conditions. 3. An ITR that participates in theother routers usingglobal routing system can determine that an RLOC is down if no BGP Routing Information Base (RIB) route exists that matches thesame anycastRLOC IP address.However, this comes with the disadvantage where the site cannot control the entrance point when the anycast route is advertised out4. An ITR may receive an ICMP Port Unreachable message fromall border routers. Another disadvantage of using anycast locators is the limited advertisement scope of /32 (or /128 for IPv6) routes. 8.3. ISP Provider-Edge (PE) Tunnel Routers Use of ISP PE routers as tunnel endpoint routers is not the typical deployment scenario envisioned in the specification.a destination host. Thissectionoccurs if an ITR attempts tocapture some of reasoning behind this preference of implementing LISP on CE routers. Use of ISP PE routers as tunnel endpoint routers givesuse interworking [RFC6832] and LISP-encapsulated data is sent to a non-LISP-capable site. 5. An ITR may receive a Map-Reply from anISP, rather thanETR in response to asite, control over the locationpreviously sent Map-Request. The RLOC source of theegress tunnel endpoints. That is,Map-Reply is likely up, since theISP can decide ifETR was able to send the Map-Reply to the ITR. 6. When an ETR receives an encapsulated packet from an ITR, thetunnel endpoints are insource RLOC from thedestination site (in either CE routers or last-hop routers within a site) or at other PE edges. The advantageouter header ofthis casethe packet isthat two tunnel headerslikely up. 7. An ITR/ETR pair canbe avoided. By having the PE beuse thefirst router onLocator reachability algorithms described in this section, namely Echo-Noncing or RLOC-Probing. When determining Locator up/down reachability by examining thepath to encapsulate, it can choose a TE path first, andLocator-Status-Bits from the LISP-encapsulated data packet, an ETRcan decapsulate and re-encapsulatewill receive up-to-date status from an encapsulating ITR about reachability fora tunnel toall ETRs at thedestination endsite.An obvious disadvantage is thatCE-based ITRs at theendsource sitehas no control over where its packets flow or the RLOCs used. Other disadvantages includecan determine reachability relative to each other using thedifficulty in synchronizing path liveness updates between CE and PE routers. As mentioned in earlier sectionssite IGP as follows: o Under normal circumstances, each ITR will advertise acombination of these scenarios is possible atdefault route into theexpense of extra packet header overhead, if bothsiteand provider want control, then recursiveIGP. o If an ITR fails orre-encapsulating tunnels are used. 8.4. LISP Functionality with Conventional NATs LISP routers can be deployed behind Network Address Translator (NAT) devices to provideif thesame set of packet services hosts have today when they are addressedupstream link to its PE fails, its default route will either time out or be withdrawn. Each ITR can thus observe the presence or lack ofprivate address space. It is important to note thatalocator addressdefault route originated by the others to determine the Locator-Status-Bits it sets for them. RLOCs listed inany LISP control message MUST beaglobally routable address and therefore SHOULD NOT contain [RFC1918] addresses. IfMap-Reply are numbered with ordinals 0 to n-1. The Locator-Status-Bits in aLISP router is configuredLISP-encapsulated packet are numbered from 0 to n-1 starting withprivate addresses, they MUST be used onlythe least significant bit. For example, if an RLOC listed in theouter IP header so3rd position of theNAT device can translate properly. Otherwise, EID addresses MUST be translated before encapsulation is performed. Both NAT translation and LISP encapsulation functions could be co-located inMap-Reply goes down (ordinal value 2), then all ITRs at thesame device. More details on LISP address translation can be found in [INTERWORK]. 8.5. Packets Egressing a LISP Sitesite will clear the 3rd least significant bit (xxxx x0xx) of the 'Locator-Status-Bits' field for the packets they encapsulate. When an ETR decapsulates aLISP site is using two ITRspacket, it will check forredundancy,any change in thefailure of one ITR'Locator-Status-Bits' field. When a bit goes from 1 to 0, the ETR, if acting also as an ITR, willlikely shift outbound trafficrefrain from encapsulating packets to an RLOC that is indicated as down. It will only resume using that RLOC if thesecond. This second ITR's cache may not not be populatedcorresponding Locator-Status-Bit returns to a value of 1. Locator-Status-Bits are associated with a Locator-Set per EID-Prefix. Therefore, when a Locator becomes unreachable, the Locator-Status-Bit that corresponds to that Locator's position in thesame EID-to-RLOC mapping entries aslist returned by thefirst. If this second ITR does not have these mappings, trafficlast Map-Reply will bedropped whileset to zero for that particular EID-Prefix. When ITRs at themappingssite areretrieved fromnot deployed in CE routers, themapping system. The retrieval of these messages may increaseIGP can still be used to determine theloadreachability ofrequests being sentLocators, provided they are injected into themapping system. Deployment and experimentation will determine whether this issue requires more attention. 9. Traceroute Considerations WhenIGP. This is typically done when asource host in/32 address is configured on aLISP site initiatesloopback interface. When ITRs receive ICMP Network Unreachable or Host Unreachable messages as atraceroutemethod toa destinationdetermine unreachability, they will refrain from using Locators that are described in Locator lists of Map-Replies. However, using this approach is unreliable because many network operators turn off generation of ICMP Destination Unreachable messages. If an ITR does receive an ICMP Network Unreachable or Host Unreachable message, it MAY originate its own ICMP Destination Unreachable message destined for the host that originated the data packet the ITR encapsulated. Also, BGP-enabled ITRs can unilaterally examine the RIB to see if a locator address from a Locator-Set inanother LISP site,a mapping entry matches a prefix. If it does not find one and BGP ishighly desirable forrunning in the Default- Free Zone (DFZ), it can decide toseenot use theentire path. Since packets are encapsulatedLocator even though the Locator-Status-Bits indicate that the Locator is up. In this case, the path from the ITR toETR, the hop across the tunnel could be viewed as a single hop. However, LISP traceroute will providetheentire path soETR that is assigned theuserLocator is not available. More details are in [LOC-ID-ARCH]. Optionally, an ITR cansee 3 distinct segments of the path fromsend asource LISP hostMap-Request to adestination LISP host: Segment 1 (in source LISP site based on EIDs): source-host ---> first-hop ... next-hop ---> ITR Segment 2 (inLocator, and if a Map-Reply is returned, reachability of thecore network based on RLOCs): ITR ---> next-hop ... next-hop ---> ETR Segment 3 (inLocator has been determined. Obviously, sending such probes increases thedestination LISP site based on EIDs): ETR ---> next-hop ... last-hop ---> destination-host For segment 1number ofthe path, ICMP Time Exceededcontrol messages originated by Tunnel Routers for active flows, so Locators arereturned in the normal manner asassumed to be reachable when they aretoday.advertised. This assumption does create a dependency: Locator unreachability is detected by the receipt of ICMP Host Unreachable messages. When a Locator has been determined to be unreachable, it is not used for active traffic; this is the same as if it were listed in a Map-Reply with Priority 255. The ITRperforms a TTL decrement andcan test the reachability of the unreachable Locator by sending periodic Requests. Both Requests and Replies MUST be rate- limited. Locator reachability testing is never done with data packets, since that increases the risk of packet loss for0 before encapsulating. Soend-to-end sessions. When an ETR decapsulates a packet, it knows that it is reachable from the encapsulating ITRhopbecause that isseen byhow thetraceroute source has an EID address (the address of site-facing interface). For segment 2 ofpacket arrived. In most cases, thepath, ICMP Time Exceeded messages are returned toETR can also reach the ITRbecause the TTL decrementbut cannot assume this to be true, due to0 is done on the outer header, sothedestinationpossibility of path asymmetry. In theICMP messages arepresence of unidirectional traffic flow from an ITR to an ETR, the ITRRLOC address,SHOULD NOT use thesource RLOC addresslack of return traffic as an indication that theencapsulated traceroute packet. TheETR is unreachable. Instead, it MUST use an alternate mechanism to determine reachability. 6.3.1. Echo Nonce Algorithm When data flows bidirectionally between Locators from different sites, a data-plane mechanism called "nonce echoing" can be used to determine reachability between an ITRlooks inside of the ICMP payloadand ETR. When an ITR wants toinspect the traceroute source sosolicit a nonce echo, itcan returnsets theICMP message toN- and E-bits and places a 24-bit nonce [RFC4086] in theaddressLISP header of thetraceroute client as well as retaining the core router IP address in the ICMP message. Thisnext encapsulated data packet. When this packet issoreceived by thetraceroute client can displayETR, thecore router address (the RLOC address) inencapsulated packet is forwarded as normal. When thetraceroute output. TheETRreturns its RLOC address and respondsnext sends a data packet to theTTL decrement to 0 likeITR, it includes theprevious core routers did. For segment 3,nonce received earlier with the N-bit set and E-bit cleared. The ITR sees this "echoed nonce" and knows that thenext-hop router downstreampath to and from the ETR is up. The ITR willbe decrementingset theTTLE-bit and N-bit fortheevery packetthat was encapsulated, sent intoit sends while in thecore, decapsulated byecho-nonce-request state. The time theETR, and forwarded becauseITR waits to process the echoed nonce before itisn'tdetermines thefinal destination.path is unreachable is variable and is a choice left for the implementation. If theTTLITR isdecremented to 0, any router onreceiving packets from thepath toETR but does not see thedestination ofnonce echoed while being in thetraceroute, includingecho-nonce-request state, then thenext-hop router or destination, will send an ICMP Time Exceeded messagepath to thesource EID of the traceroute client. The ICMP message willETR is unreachable. This decision may beencapsulatedoverridden by other Locator reachability algorithms. Once thelocalITRand sent back to the ETR in the originated traceroute source site, wheredetermines that thepacket will be deliveredpath to thehost. 9.1. IPv6 Traceroute IPv6 traceroute follows the procedure described above since the entire traceroute data packetETR isincluded in ICMP Time Exceeded message payload. Therefore, only the ITR needsdown, it can switch topay special attentionanother Locator for that EID-Prefix. Note that "ITR" and "ETR" are relative terms here. Both devices MUST be implementing both ITR and ETR functionality forforwarding ICMP messages back to the traceroute source. 9.2. IPv4 Traceroute For IPv4 traceroute, we cannot follow the above procedure since IPv4 ICMP Time Exceeded messages only includetheinvoking IP headerecho nonce mechanism to operate. The ITR and8 octets that followETR may both go into theIP header. Therefore, when a core router sendsecho-nonce-request state at the same time. The number of packets sent or the time during which echo nonce requests are sent is anIPv4 Time Exceeded message toimplementation-specific setting. However, when anITR, all theITRhasis in theICMP payload isecho-nonce-request state, it can echo theencapsulated headerETR's nonce in the next set of packets that itprepended followed by a UDP header. The original invoking IP header,encapsulates andthereforesubsequently continue sending echo-nonce-request packets. This mechanism does not completely solve theidentity offorward path reachability problem, as traffic may be unidirectional. That is, thetraceroute sourceETR receiving traffic at a site may not be the same device as an ITR that transmits traffic from that site, or the site-to-site traffic islost.unidirectional so there is no ITR returning traffic. Thesolution we propose to solve this problemecho-nonce algorithm isto cache traceroute IPv4 headers inbilateral. That is, if one side sets theITR and to match them up with corresponding IPv4 Time Exceeded messages received from core routersE-bit and theETR. The ITR will use a circular bufferother side is not enabled forcachingecho-noncing, then theIPv4 and UDP headersechoing oftraceroute packets. It will select a 16-bit number as a key to find them later whentheIPv4 Time Exceeded messages are received. When annonce does not occur and the requesting side may erroneously consider the Locator unreachable. An ITRencapsulatesSHOULD only set the E-bit in anIPv4 traceroute packet,encapsulated data packet when itwill useknows the16-bit number asETR is enabled for echo-noncing. This is conveyed by theUDP source portE-bit in theencapsulating header. When the ICMP Time Exceeded message is returnedMap-Reply message. Note that other Locator reachability mechanisms are being researched and can be used to compliment or even override theITR,echo nonce algorithm. See theUDP headernext section for an example ofthe encapsulating headercontrol-plane probing. 6.3.2. RLOC-Probing Algorithm RLOC-Probing ispresent in the ICMP payload thereby allowing thea method that an ITR or PITR can use tofind the cached headers for the traceroute source. The ITR putsdetermine the reachability status of one or more Locators that it has cachedheadersin a Map-Cache entry. The probe-bit of thepayloadMap-Request andsendsMap-Reply messages is used for RLOC-Probing. RLOC-Probing is done in theICMP Time Exceeded messagecontrol plane on a timer basis, where an ITR or PITR will originate a Map-Request destined tothe traceroute source retaining the sourcea locator address from one ofthe original ICMP Time Exceeded message (a core routerits own locator addresses. A Map-Request used as an RLOC-probe is NOT encapsulated and NOT sent to a Map-Server or to theETR of the site of the traceroute destination). The signature of a traceroute packet comes in two forms.mapping database system as one would when soliciting mapping data. Thefirst form isEID record encodedas a UDP message wherein thedestination portMap-Request isinspected for a rangethe EID-Prefix ofvalues.the Map-Cache entry cached by the ITR or PITR. Thesecond form is encoded as an ICMP message whereITR may include a mapping data record for its own database mapping information that contains theIP identification field is inspectedlocal EID-Prefixes and RLOCs fora well-known value. 9.3. Tracerouteits site. RLOC-probes are sent periodically usingMixed Locatorsa jittered timer interval. WheneitheranIPv4 traceroute or IPv6 traceroute is originated andETR receives a Map-Request message with theITR encapsulatesprobe-bit set, itinreturns a Map-Reply with theotherprobe-bit set. The source addressfamily header, you cannot get all 3 segments of the traceroute. Segment 2of thetraceroute can not be conveyedMap-Reply is set according to thetraceroute source since it is expecting addresses from intermediate hopsprocedure described inthe same address formatSection 6.1.5. The Map-Reply SHOULD contain mapping data for thetype of traceroute it originated. Therefore,EID-Prefix contained inthis case, segment 2 will makethetunnel look like one hop. AllMap-Request. This provides the opportunity for the ITRhasor PITR that sent the RLOC-probe todoget mapping updates if there were changes tomake this workthe ETR's database mapping entries. There are advantages and disadvantages of RLOC-Probing. The greatest benefit of RLOC-Probing isto not copythat it can handle many failure scenarios allowing theinner TTLITR tothe outer, encapsulating header's TTLdetermine when the path to atraceroute packetspecific Locator isencapsulatedreachable or has become unreachable, thus providing a robust mechanism for switching to usingan RLOCanother Locator from the cached Locator. RLOC-Probing can also provide rough Round-Trip Time (RTT) estimates between adifferent address family. This will cause no TTL decrement to 0 to occurpair of Locators, which can be useful for network management purposes as well as for selecting low delay paths. The major disadvantage of RLOC-Probing is incore routers betweentheITR and ETR. 10. Mobility Considerations There are several kinds of mobilitynumber ofwhich only some might becontrol messages required and the amount ofconcernbandwidth used toLISP. Essentially they are as follows. 10.1.obtain those benefits, especially if the requirement for failure detection times is very small. Continued research and testing will attempt to characterize the tradeoffs of failure detection times versus message overhead. 6.4. EID Reachability within a LISP SiteMobilityA sitewishes to change its attachment points to the Internet,may be multihomed using two or more ETRs. The hosts andits LISP Tunnel Routersinfrastructure within a site willhave new RLOCs when it changes upstream providers. Changes in EID-RLOC mappings for sitesbe addressed using one or more EID-Prefixes that areexpectedmapped tobe handled by configuration, outsidethe RLOCs of theLISP protocol. 10.2. Slow Endpoint Mobility An individual endpoint wishes to move, but is not concerned about maintaining session continuity. Renumberingrelevant ETRs in the mapping system. One possible failure mode isinvolved. LISP can help withfor an ETR to lose reachability to one or more of theissues surrounding renumbering [RFC4192] [LISA96] by decouplingEID-Prefixes within its own site. When this occurs when theaddress space used by a site fromETR sends Map-Replies, it can clear theaddress spaces used byR-bit associated with itsISPs. [RFC4984] 10.3. Fast Endpoint Mobility Fast endpoint mobility occursown Locator. And when the ETR is also anendpoint moves relatively rapidly, changingITR, it can clear itsIP layer network attachment point. MaintenanceLocator-Status-Bit in the encapsulation data header. It is recognized that there are no simple solutions to the site partitioning problem because it is hard to know which part ofsession continuitythe EID-Prefix range isa goal.partitioned and which Locators can reach any sub-ranges of the EID-Prefixes. This problem iswhere the Mobile IPv4 [RFC5944] and Mobile IPv6 [RFC6275] [RFC4866] mechanisms are used, and primarily where interactionsunder investigation with the expectation that experiments will tell us more. Note that this is not a new problem introduced by the LISPneed to be explored.architecture. The problemis that asexists today when a multihomed site uses BGP to advertise its reachability upstream. 6.5. Routing Locator Hashing When anendpoint moves, itETR provides an EID-to-RLOC mapping in a Map-Reply message to a requesting ITR, the Locator-Set for the EID-Prefix mayrequire changescontain different Priority values for each locator address. When more than one best Priority Locator exists, the ITR can decide how to load- share traffic against themapping between its EID andcorresponding Locators. The following hash algorithm may be used by an ITR to select aset of RLOCsLocator forits new network location. When this is addeda packet destined to an EID for theoverhead of mobile IP binding updates, some packets mightEID-to-RLOC mapping: 1. Either a source and destination address hash or the traditional 5-tuple hash can bedelayedused. The traditional 5-tuple hash includes the source and destination addresses; source and destination TCP, UDP, ordropped. In IPv4 mobility, when an endpointStream Control Transmission Protocol (SCTP) port numbers; and the IP protocol number field or IPv6 next-protocol fields of a packet that a host originates from within a LISP site. When a packet isawaynot a TCP, UDP, or SCTP packet, the source and destination addresses only fromhome, packets to itthe header areencapsulatedused to compute the hash. 2. Take the hash value andforwarded via a home agent which residesdivide it by the number of Locators stored in thehome areaLocator-Set for theendpoint's address belongs to.EID-to-RLOC mapping. 3. Thehome agentremainder willencapsulate and forward packets either directlyyield a value of 0 to "number of Locators minus 1". Use theendpoint orremainder toa foreign agent which resides whereselect theendpoint has moved to. Packets fromLocator in theendpoint may be sent directly toLocator-Set. Note that when a packet is LISP encapsulated, thecorrespondent node, may be sent viasource port number in theforeign agent, or mayouter UDP header needs to bereverse-tunneled backset. Selecting a hashed value allows core routers that are attached tothe home agent for deliveryLink Aggregation Groups (LAGs) to load-split themobile node. Asencapsulated packets across member links of such LAGs. Otherwise, core routers would see a single flow, since packets have a source address of themobile node's EID or available RLOC changes, LISP EID-to-RLOC mappings are requiredITR, forcommunication betweenpackets that are originated by different EIDs at themobile node andsource site. A suggested setting for thehome agent, whether via foreign agent or not. As a mobile endpoint changes networks, up to three LISP mapping changes may be required: o The mobile node moves fromsource port number computed by anold locationITR is a 5-tuple hash function on the inner header, as described above. Many core router implementations use a 5-tuple hash to decide how to balance packet load across members of anew visited network location and notifies its home agent that it has done so.LAG. TheMobile IPv4 control packets5-tuple hash includes themobile node sends pass through onesource and destination addresses of thenew visited network's ITRs, which needs an EID-RLOC mapping for the home agent. o The home agent might not havepacket and theEID-RLOC mappings forsource and destination ports when themobile node's "care-of" address or its foreign agentprotocol number in thenew visited network, in which case it will need to acquire them. o When packets are sent directly topacket is TCP or UDP. For this reason, UDP encoding is used for LISP encapsulation. 6.6. Changing thecorrespondent node, it may be that no traffic has been sent fromContents of EID-to-RLOC Mappings Since thenew visited networkLISP architecture uses a caching scheme tothe correspondent node's network,retrieve and store EID-to-RLOC mappings, thenew visited network's ITR will need to obtainonly way anEID-RLOCITR can get a more up-to- date mappingfor the correspondent node's site. In addition, if the IPv4 endpointissending packets from the new visited network using its original EID, then LISP will needtoperform a route-returnability check onre-request thenew EID-RLOC mapping for that EID. In IPv6 mobility, packets can flow directly betweenmapping. However, themobile nodeITRs do not know when the mappings change, and thecorrespondent node in either direction. The mobile node usesETRs do not keep track of which ITRs requested its"care-of" address (EID). Inmappings. For scalability reasons, we want to maintain thiscase, the route-returnability check would not be neededapproach butone more LISP mapping lookup may be required instead: o As above, three mapping changes may be neededneed to provide a way forthe mobile nodeETRs tocommunicate with its home agentchange their mappings andto send packets toinform thecorrespondent node. o In addition, another mapping will be needed insites that are currently communicating with thecorrespondent node's ITR,ETR site using such mappings. When adding a new Locator record in lexicographic orderfor the correspondent nodetosend packetsthe end of a Locator-Set, it is easy to update mappings. We assume that new mappings will maintain themobile node's "care-of" address (EID) atsame Locator ordering as the old mapping but will just have newnetwork location. When both endpoints are mobileLocators appended to thenumberend ofpotential mapping lookups increases accordingly. Asthe list. So, some ITRs can have amobile node moves there are notnew mapping while other ITRs have onlymobility state changes in the mobile node, correspondent node, and home agent,an old mapping that is used until they time out. When an ITR has only an old mapping butalso state changesdetects bits set in theITRs and ETRs for at least some EID-prefixes. The goal isLocator-Status-Bits that correspond tosupport rapid adaptation, with little delay or packet loss forLocators beyond theentire system. Also IP mobility can be modified to require fewer mapping changes. In order to increase overall system performance, there may be a need to reducelist it has cached, it simply ignores them. However, this can only happen for locator addresses that are lexicographically greater than theoptimization of one arealocator addresses inorder to place fewer demands on another. In LISP, one possibility is to "glean" information.the existing Locator-Set. When apacket arrives, the ETR could examineLocator record is inserted in theEID-RLOC mapping and use that mapping for all outgoing traffic to that EID. It can do this after performingmiddle of aroute-returnability check,Locator-Set, toensure thatmaintain lexicographic order, the SMR procedure in Section 6.6.2 is used to inform ITRs and PITRs of the newnetwork location does haveLocator-Status-Bit mappings. When ainternal route toLocator record is removed from a Locator-Set, ITRs thatendpoint. However, this doeshave the mapping cached will notcoveruse thecase where an ITR (the node assignedremoved Locator because theRLOC) atxTRs will set themobile-node location has been compromised. Mobile IP packet exchangeLocator-Status-Bit to 0. So, even if the Locator isdesigned for an environmentinwhich all routing information is disseminated before packets canthe list, it will not beforwarded. In order to allowused. For new mapping requests, theInternetxTRs can set the Locator AFI togrow0 (indicating an unspecified address), as well as setting the corresponding Locator-Status-Bit tosupport expected future use, we are moving0. This forces ITRs with old or new mappings toan environment where some information may haveavoid using the removed Locator. If many changes occur tobe obtained after packets area mapping over a long period of time, one will find empty record slots inflight. Modifications to IP mobility shouldthe middle of the Locator-Set and new records appended to the Locator-Set. At some point, it would beconsidered in orderuseful tooptimizecompact thebehavior ofLocator-Set so theoverall system. Anything which decreasesLocator-Status-Bit settings can be efficiently packed. We propose here three approaches for Locator-Set compaction: one operational mechanism and two protocol mechanisms. The operational approach uses a clock sweep method. The protocol approaches use thenumberconcept ofnew EID- RLOC mappings needed when a node moves, or maintainsSolicit-Map-Requests and Map-Versioning. 6.6.1. Clock Sweep The clock sweep approach uses planning in advance and thevalidityuse of count-down TTLs to time out mappings that have already been cached. The default setting for anEID-RLOCEID-to-RLOC mappingforTTL is 24 hours. So, there is alonger time,24-hour window to time out old mappings. The following clock sweep procedure is used: 1. 24 hours before a mapping change isuseful. 10.4. Fast Network Mobility In additiontoendpoints,take effect, a networkcan be mobile, possibly changing xTRs. A "network" can be as small as a single router and as large asadministrator configures the ETRs at awhole site. This is different fromsitemobility in that itto start the clock sweep window. 2. During the clock sweep window, ETRs continue to send Map-Reply messages with the current (unchanged) mapping records. The TTL for these mappings isfastset to 1 hour. 3. 24 hours later, all previous cache entries will have timed out, andpossibly short-lived, but different from endpoint mobilityany active cache entries will time out within 1 hour. During this 1-hour window, the ETRs continue to send Map-Reply messages with the current (unchanged) mapping records with the TTL set to 1 minute. 4. At the end of the 1-hour window, the ETRs will send Map-Reply messages with the new (changed) mapping records. So, any active caches can get the new mapping contents right away if not cached, or inthat a whole prefix is changing RLOCs. However,1 minute if they had themechanismsmapping cached. The new mappings are cached with a TTL equal to thesame and there is no new overheadTTL inLISP. A map request for any endpoint will returnthe Map-Reply. 6.6.2. Solicit-Map-Request (SMR) Soliciting abindingMap-Request is a selective way for ETRs, at theentire mobile prefix. If mobile networks become a more common occurrence, it may be usefulsite where mappings change, torevisit the design ofcontrol themapping service and allowrate they receive requests fordynamic updates ofMap-Reply messages. SMRs are also used to tell remote ITRs to update thedatabase. The issuemappings they have cached. Since the ETRs don't keep track ofinteractions between mobility and LISP needsremote ITRs that have cached their mappings, they do not know which ITRs need tobe explored further. Specific improvementshave their mappings updated. As a result, an ETR will solicit Map-Requests (called an SMR message) from those sites to which it has been sending encapsulated data for theentire systemlast minute. In particular, an ETR willdepend on the details of mapping mechanisms. Mapping mechanisms should be evaluated on how wellsend an SMR to an ITR to which it has recently sent encapsulated data. An SMR message is simply a bit set in a Map-Request message. An ITR or PITR will send a Map-Request when theysupport session continuity for mobile nodes. 10.5. LISP Mobile Node Mobility A mobile device can use the LISP infrastructure to achieve mobility by implementingreceive an SMR message. Both theLISP encapsulation and decapsulation functionsSMR sender andactingthe Map-Request responder MUST rate-limit these messages. Rate-limiting can be implemented as asimple ITR/ETR. By doing this, such a "LISP mobile node" can use topologically-independent EID IP addresses that are not advertised into and do not imposeglobal rate- limiter or one rate-limiter per SMR destination. The following procedure shows how an SMR exchange occurs when acost onsite is doing Locator-Set compaction for an EID-to-RLOC mapping: 1. When theglobal routing system. These EIDs are maintaineddatabase mappings in an ETR change, the ETRs at theedges ofsite begin to send Map-Requests with themapping system (in LISP Map-Servers and Map-Resolvers) and are provided on demandSMR bit set for each Locator in each Map-Cache entry the ETR caches. 2. A remote ITR that receives the SMR message will schedule sending a Map-Request message toonlythecorrespondentssource locator address of theLISP mobile node. ReferSMR message or to theLISP Mobility Architecture specification [LISP-MN] for more details. 11. Multicast Considerationsmapping database system. Amulticast group address, as defined innewly allocated random nonce is selected, and theoriginal Internet architectureEID-Prefix used isan identifier of a grouping of topologically independent receiver host locations. The address encoding itself does not determinethelocation ofone copied from thereceiver(s). The multicast routing protocol, andSMR message. If thenetwork-based statesource Locator is theprotocol creates, determines whereonly Locator in thereceivers are located. Incached Locator-Set, thecontext of LISP,remote ITR SHOULD send amulticast group address is both an EIDMap-Request to the database mapping system just in case the single Locator has changed anda Routing Locator. Therefore,may nospecific semantic or action needs tolonger betaken forreachable to accept the Map-Request. 3. The remote ITR MUST rate-limit the Map-Request until it gets adestination address,Map-Reply while continuing to use the cached mapping. When Map-Versioning asit would appeardescribed in Section 6.6.3 is used, anIP header. Therefore, a group address that appears inSMR sender can detect if aninner IP header built by a source host will be used asITR is using thedestination EID.most up-to-date database mapping. 4. Theouter IP header (the destination Routing Locator address), prepended by a LISP router, will use the same group address asETRs at thedestination Routing Locator. Having said that, onlysite with thesource EID and source Routing Locator needschanged mapping will reply to the Map-Request with a Map-Reply message that has a nonce from the SMR-invoked Map-Request. The Map-Reply messages SHOULD bedealt with. Therefore, an ITR merely needsrate- limited. This is important toput its own IP addressavoid Map-Reply implosion. 5. The ETRs at the site with the changed mapping record the fact that the site that sent the Map-Request has received the new mapping data in thesource Routing Locator field when prependingMap-Cache entry for theouter IP header. This source Routing Locator address, like any other Routing Locator address MUST be globally routable. Therefore, an EID-to-RLOCremote site so the Locator-Status-Bits are reflective of the new mappingdoes not needfor packets going tobe performed bythe remote site. The ETR then stops sending SMR messages. Experimentation is in progress to determine the appropriate rate- limit parameters. For security reasons, an ITRwhen a received data packet isMUST NOT process unsolicited Map-Replies. To avoid Map-Cache entry corruption by amulticast data packet or when processingthird party, asource-specific Join (either by IGMPv3 or PIM). Butsender of an SMR-based Map-Request MUST be verified. If an ITR receives an SMR-based Map-Request and the sourceRouting Locatorisdecided by the multicast routing protocolnot ina receiver site. That is,the Locator-Set for the stored Map-Cache entry, then the responding Map-Request MUST be sent with an EID destination toRouting Locator translation is done at control-time. Another approachthe mapping database system. Since the mapping database system is a more secure way tohavereach an authoritative ETR, it will deliver the Map-Request to the authoritative source of the mapping data. When an ITR receives an SMR-based Map-Request for which it does notencapsulatehave amulticast packet and allowcached mapping for thehost built packetEID in the SMR message, it MAY not send an SMR-invoked Map-Request. This scenario can occur when an ETR sends SMR messages toflow intoall Locators in thecore even ifLocator-Set it has stored in its map-cache but thesource address is allocated out ofremote ITRs that receive theEID namespace. IfSMR may not be sending packets to theRPF-Vector TLV [RFC5496]site. There is no point in updating the ITRs until they need to send, in which case they will send Map-Requests to obtain a Map-Cache entry. 6.6.3. Database Map-Versioning When there isused by PIM inunidirectional packet flow between an ITR and ETR, and thecore, then core routers can RPFEID-to-RLOC mappings change on the ETR, it needs to inform the ITR(theso encapsulation to a removed Locatoraddress which is injected into core routing) rather thancan stop and can instead be started to a new Locator in thehost source address (the EID address whichLocator-Set. An ETR, when it sends Map-Reply messages, conveys its own Map-Version Number. This isnot injected into core routing). To avoid any EID-based multicast state inknown as thenetwork core,Destination Map-Version Number. ITRs include thefirst approach is chosen for LISP-Multicast. Details for LISP-Multicast and Interworking with non-LISP sites is describedDestination Map-Version Number inspecification [MLISP]. 12. Security Considerations It is believedpackets they encapsulate to the site. When an ETR decapsulates a packet and detects thatmost ofthesecurity mechanisms will be part ofDestination Map-Version Number is less than themapping database service when using control plane procedurescurrent version forobtaining EID-to-RLOC mappings. For data plane triggered mappings, asits mapping, the SMR procedure described inthis specification, protection is provided against ETR spoofing by using Return-Routability (seeSection3) mechanisms evidenced by6.6.2 occurs. An ITR, when it encapsulates packets to ETRs, can convey its own Map-Version Number. This is known as theuse ofSource Map-Version Number. When an ETR decapsulates a24-bit Nonce field in the LISP encapsulation headerpacket anda 64-bit Nonce field indetects that theLISP control message. The nonce, coupled withSource Map-Version Number is greater than the last Map-Version Number sent in a Map-Reply from theITR accepting only solicited Map-Replies providesITR's site, the ETR will send abasic level of security, in many ways similarMap-Request to one of thesecurity experienced inETRs for thecurrent Internet routing system. Itsource site. A Map-Version Number ishard for off-path attackers to launch attacks against these LISP mechanisms,used asthey do not have the nonce values. Sendingalargesequence numberof packetsper EID-Prefix, so values that are greater are considered toaccidentally find the right nonce value is possible, but would already by itselfbea denial-of-service attack. On-path attackers can perform farmoreserious attacks, but on-path attackers can launch serious attacks inrecent. A value of 0 for thecurrent Internet as well, including eavesdropping, blockingSource Map-Version Number orredirecting traffic. See more discussion on this topic in Section 6.1.5.1. LISPthe Destination Map-Version Number conveys no versioning information, and an ITR doesnot rely on a PKI orno comparison with previously received Map-Version Numbers. A Map-Version Number can be included in Map-Register messages as well. This is amore heavy weight authentication system. These systems challengegood way for thescalability of LISP which wasMap-Server to assure that all ETRs for aprimary design goal. DoS attack preventionsite registering to it willdepend on implementations rate-limiting Map-Requestsbe synchronized according to Map-Version Number. See [RFC6834] for a more detailed analysis andMap-Repliesdescription of Database Map-Versioning. 7. Router Performance Considerations LISP is designed to be very "hardware-based forwarding friendly". A few implementation techniques can be used to incrementally implement LISP: o When a tunnel-encapsulated packet is received by an ETR, the outer destination address may not be the address of the router. This makes it challenging for the control planeas well as rate- limiting the number of data-triggered Map-Replies. An incorrectly implemented or malicious ITR might choosetoignore the priority and weights provided byget packets from theETR in its Map-Reply.hardware. Thistraffic steering wouldmay belimited tomitigated by creating special Forwarding Information Base (FIB) entries for thetraffic that is sentEID-Prefixes of EIDs served bythis ITR's site, and no more severe than ifthesite initiated a bandwidth DoS attack on (one of)ETR (those for which theETR's ingress links.router provides an RLOC translation). These FIB entries are marked with a flag indicating that control-plane processing should be performed. TheITR's site would typically gain no benefit fromforwarding logic of testing for particular IP protocol number values is notrespecting the weights, and would likelynecessary. There are a few proven cases where no changes toreceive better service by abiding by them. To deal with map-cache exhaustion attempts in an ITR/PITR,existing deployed hardware were needed to support theimplementation should consider puttingLISP data- plane. o On an ITR, prepending amaximum cap on the numbernew IP header consists ofentries stored withadding more octets to areserve list for specialMAC rewrite string and prepending the string as part of the outgoing encapsulation procedure. Routers that support Generic Routing Encapsulation (GRE) tunneling [RFC2784] orfrequently accessed sites.6to4 tunneling [RFC3056] may already support this action. o A packet's source address or interface the packet was received on can be used to select VRF (Virtual Routing/Forwarding). The VRF's routing table can be used to find EID-to-RLOC mappings. For performance issues related to map-cache management, see Section 12. 8. Deployment Scenarios Thisshould be a configuration policy control set by the network administrator who managessection will explore how and where ITRs andPITRs. When overlapping EID-prefixes occur across multiple map-cache entries,ETRs can be deployed and will discuss theintegritypros and cons ofthe set must be wholly maintained. So ifeach deployment scenario. For amore-specific entry cannot be added duemore detailed deployment recommendation, refer toreaching the maximum cap, then none of[LISP-DEPLOY]. There are two basic deployment tradeoffs to consider: centralized versus distributed caches; and flat, Recursive, or Re-encapsulating Tunneling. When deciding on centralized versus distributed caching, theless specificsfollowing issues should bestored inconsidered: o Are themap-cache. GivenTunnel Routers spread out so that theITR/PITR maintains a cachecaches are spread across all the memories ofEID-to-RLOC mappings,each router? A centralized cachesizing and maintenanceis when anissue to be kept in mind during implementation. It isITR keeps agood idea to have instrumentation in place to detect thrashing of the cache. Implementation experimentation will be used to determine whichcachemanagement strategies work best. In general,for all the EIDs it isdifficultencapsulating to. The packet takes a direct path todefend against cache trashing attacks. It should be noted that an undersizedthe destination Locator. A distributed cacheinis when anITR/PITR not only causes adverse affect on the site or region they support, but may also cause increased Map-Request load on the mapping system. "Piggybacked" mapping data discussed in Section 6.1.3 specifies how to handle such mappings and includesITR needs help from other re-encapsulating routers because it does not store all thepossibilitycache entries foran ETR to temporarily accept such a mapping before verification when running in "trusted" environments. In such cases, therethe EIDs it is encapsulating to. So, the packet takes apotential threatpath through re-encapsulating routers that have afake mapping coulddifferent set of cache entries. o Should management "touch points" beinserted (even ifminimized by only choosing a few Tunnel Routers, just enough for redundancy? o In general, using more ITRs doesn't increase management load, since caches are built and stored dynamically. On the other hand, using more ETRs does require more management, since EID-Prefix-to- RLOC mappings need to be explicitly configured. When deciding on flat, Recursive, or Re-encapsulating Tunneling, the following issues should be considered: o Flat tunneling implements ashort period) intosingle tunnel between the source site and destination site. This generally offers better paths between sources and destinations with amap-cache. As notedsingle tunnel path. o Recursive Tunneling is when tunneled traffic is again further encapsulated inSection 6.1.3, an ETR MUST be specifically configuredanother tunnel, either torun in such a mode and might usefully only considerimplement VPNs or to perform Traffic Engineering. When doing VPN-based tunneling, the site has somespecific ITRs as also running in that same trusted environment. Therecontrol, since the site is prepending asecurity risk implicit innew tunnel header. In thefact that ETRs generatecase of TE-based tunneling, theEID prefix to which they are responding. An ETR can claim a shorter prefix thansite may have control if it isactually responsible for. Various mechanisms to ameliorate or resolve this issueprepending a new tunnel header, but if the site's ISP is doing the TE, then the site has no control. Recursive Tunneling generally willbe examinedresult in suboptimal paths but with thefuture, [LISP-SEC]. Spoofingbenefit ofinner header addressessteering traffic to parts ofLISP encapsulated packets is possible like with any tunneling mechanism. ITRs MUST verifythesource addressnetwork that have more resources available. o The technique of re-encapsulation ensures that packets only require one tunnel header. So, if a packet needs to bean EID that belongs tore-routed, it is first decapsulated by thesite's EID-prefix range prior to encapsulation. AnETRmust only decapsulateandforward datagramsthen re-encapsulated withan innera new tunnel headerdestination that matches one of its EID-prefix ranges. If, upon receipt and decapsulation, the destination EID ofusing adatagram does not match one of the ETR's configured EID-prefixes,new RLOC. The next sub-sections will examine where Tunnel Routers can reside in theETR MUST dropnetwork. 8.1. First-Hop/Last-Hop Tunnel Routers By locating Tunnel Routers close to hosts, thedatagram. If a LISP encapsulated packet arrivesEID-Prefix set is at the granularity of anETR, it SHOULD compareIP subnet. So, at theinner header source EID address andexpense of more EID-Prefix-to-RLOC sets for theouter header source RLOC address withsite, themapping that existscaches inthe mapping database. Then when spoofing attacks occur, the outer header source RLOC addresseach Tunnel Router canbe used to trace back the attack toremain relatively small. But caches always depend on thesource site, using existing operational tools. This experimental specification does not address automated key management (AKM). BCP 107 provides guidancenumber of non-aggregated EID destination flows active through these Tunnel Routers. With more Tunnel Routers doing encapsulation, the increase inthis area. In addition, atcontrol traffic grows as well: since thetimeEID granularity is greater, more Map-Requests and Map-Replies are traveling between more routers. The advantage ofthis writing, substantial workplacing the caches and databases at these stub routers isbeing undertaken to improve securitythat the products deployed in this part of therouting system [KARP], [RPKI], [BGP-SEC], [LISP-SEC]. Future work on LISP should address BCP-107 as well as other open security considerations, which may require changesnetwork have better price-memory ratios than their core router counterparts. Memory is typically less expensive in these devices, and fewer routes are stored (only IGP routes). These devices tend tothis specification. 13. Network Management Considerations Considerationshave excess capacity, both forNetwork Management tools exist so theforwarding and routing states. LISPprotocol suite can be operationally managed. The mechanismsfunctionality can also befounddeployed in[LISP-MIB]edge switches. These devices generally have layer-2 ports facing hosts and[LISP-LIG]. 14. IANA Considerations This section provides guidance to the Internet Assigned Numbers Authority (IANA) regarding registration of values related tolayer-3 ports facing theLISP specification, in accordance with BCP 26 and RFC 5226 [RFC5226]. There are four name spacesInternet. Spare capacity is also often available inLISP that require registration: o LISP IANA registry allocations should not be madethese devices. 8.2. Border/Edge Tunnel Routers Using Customer Edge (CE) routers forpurposes unrelated to LISP routing or transport protocols. o The following policies are used heretunnel endpoints allows the EID space associated with a site to be reachable via a small set of RLOCs assigned to themeanings definedCE routers for that site. This is the default behavior envisioned inBCP 26: "Specification Required", "IETF Review", "Experimental Use", "First Come First Served". 14.1. LISP ACT and Flag Fields New ACT values (Section 6.1.4) can be allocated through IETF review or IESG approval. Four values have already been allocated bythe rest of thisspecification (Section 6.1.4). In addition,specification. This offers the opposite benefit of the first-hop/last-hop Tunnel Router scenario: theLISP protocol has anumber offlagmapping entries andreserved fields, such asnetwork management touch points is reduced, allowing better scaling. One disadvantage is that fewer network resources are used to reach host endpoints, thereby centralizing theLISP header flags field (Section 5.3). New bits for flagspoint-of-failure domain and creating network choke points at the CE router. Note that more than one CE router at a site can betaken into use from these fields through IETF review or IESG approval, but these need not be managed by IANA. 14.2. LISP Address Type Codes LISP Address [LCAF] type codes haveconfigured with the same IP address. In this case, an RLOC is an anycast address. This allows resilience between the CE routers. That is, if arange from 0 to 255. New type codes MUST be allocated consecutively starting at 0. Type Codes 0 - 127 areCE router fails, traffic is automatically routed tobe assigned by IETF review or IESG approval. Type Codes 128 - 255 are available on a First Come First Served policy. This registry, initially empty,the other routers using the same anycast address. However, this comes with the disadvantage where the site cannot control the entrance point when the anycast route isconstructed for future-use experimental workadvertised out from all border routers. Another disadvantage ofLCAF values. See [LCAF] for details for other possible unapproved address encodings. The unapproved LCAF encodings are an areausing anycast Locators is the limited advertisement scope of /32 (or /128 forfurther study and experimentation. 14.3. LISP UDP Port NumbersIPv6) routes. 8.3. ISP Provider Edge (PE) Tunnel Routers TheIANA registry has allocated UDP port numbers 4341 and 4342 for lisp-data and lisp-control operation, respectively. IANAuse of ISP PE routers as tunnel endpoint routers isrequestednot the typical deployment scenario envisioned in this specification. This section attempts toupdatecapture some of thedescriptionreasoning behind this preference forudp ports 4341 and 4342 as follows: lisp-data 4341 udp LISP Data Packets lisp-control 4342 udp LISP Control Packets 14.4.implementing LISPKey ID Numberson CE routers. Thefollowing Key ID values are defined by this specificationuse of ISP PE routers asused in any packet type that referencestunnel endpoint routers gives an ISP, rather than aKey ID field: Name Number Defined in ----------------------------------------------- None 0 n/a HMAC-SHA-1-96 1 [RFC2404] HMAC-SHA-256-128 2 [RFC6234] Number valuessite, control over the location of the egress tunnel endpoints. That is, the ISP can decide whether the tunnel endpoints are in therange of 0 to 65355.destination site (in either CE routers or last-hop routers within a site) or at other PE edges. Theallocationadvantage ofvaluesthis case is that two tunnel headers can be avoided. By having the PE be the first router on the path to encapsulate, it can choose afirst come first serve basis. 15. Known Open IssuesTE path first, andAreas of Future Work As an experimental specification, this work is, by definition, incomplete. Specific areas where additional experiencethe ETR can decapsulate andwork are needed include: o At present, only [ALT] is definedre-encapsulate forimplementingadatabase of EID-to-RLOC mapping information. Additional research on other mapping database systems is strongly encouraged. o Failure and recovery of LISP site partitioning (see Section 6.4), intunnel to thepresence of redundant configuration (see Section 8.5) needs further research and experimentation. o The characteristics of map-cache management under exceptional conditions, such as denial-of-service attacks are not fully understood. Further experiencedestination end site. An obvious disadvantage isneeded to determine whether current caching methods are practicalthat the end site has no control over where its packets flow orin need of further development. In particular,over theperformance, scalingRLOCs used. Other disadvantages include difficulty in synchronizing path liveness updates between CE andsecurity characteristicsPE routers. As mentioned in earlier sections, a combination of these scenarios is possible at themap-cache will be discovered as partexpense ofthis experiment. Performance metrics to be observed areextra packetreordering associatedheader overhead; if both site and provider want control, then Recursive or Re-encapsulating Tunnels are used. 8.4. LISP Functionality withtheConventional NATs LISPdata probe and loss ofrouters can be deployed behind Network Address Translator (NAT) devices to provide thefirstsame set of packetin a flow associated with map-caching. The impactservices hosts have today when they are addressed out ofthese upon TCP will be observed. See Section 12 for additional thoughts and considerations. o Preliminary work has been doneprivate address space. It is important toensurenote thatsites employinga locator address in any LISPcan interconnectcontrol message MUST be a globally routable address and therefore SHOULD NOT contain [RFC1918] addresses. If a LISP router is configured with private addresses, they MUST be used only in therest ofouter IP header so theInternet. This workNAT device can translate properly. Otherwise, EID addresses MUST be translated before encapsulation isdocumented in [INTERWORK], but further experimentationperformed. Both NAT translation andexperience is needed. o At present, no mechanism for automated key management for message authentication is defined. Addressing automated key management is necessary before this specificationLISP encapsulation functions could bedeveloped intoco-located in the same device. More details on LISP address translation can be found in [RFC6832]. 8.5. Packets Egressing astandards track RFC. See Section 12LISP Site When a LISP site is using two ITRs forfurther details regarding security considerations. o In order to maintain security and stability, Internet Protocols typically isolateredundancy, thecontrol and data planes. Therefore, user activity cannot cause control plane statefailure of one ITR will likely shift outbound traffic to the second. This second ITR's cache may not becreated or destroyed. LISPpopulated with the same EID-to-RLOC mapping entries as the first. If this second ITR does notmaintain this separation.have these mappings, traffic will be dropped while the mappings are retrieved from the mapping system. Thedegree to whichretrieval of these messages may increase thelossload ofseparation impacts securityrequests being sent into the mapping system. Deployment andstability isexperimentation will determine whether this issue requires more attention. 9. Traceroute Considerations When a source host in atopic for experimental observation. oLISPallowssite initiates a traceroute to a destination host in another LISP site, it is highly desirable fordifferent mapping database systemsit to see the entire path. Since packets are encapsulated from the ITR to the ETR, the hop across the tunnel could beused. While only one [ALT] is currently well-defined, each mapping databaseviewed as a single hop. However, LISP traceroute willlikely have some impact onprovide thesecurity ofentire path so theEID- to-RLOC mappings. How each mapping database system's security properties impact on LISP overall is for further study. o An examinationuser can see 3 distinct segments of theimplications ofpath from a source LISPon Internet traffic, applications, routers, and security is needed. This will helphost tounderstanda destination LISP host: Segment 1 (in source LISP site based on EIDs): source host ---> first hop ... next hop ---> ITR Segment 2 (in theconsequences forcore networkstability, routing protocol function, routing scalability, migration and backward compatibility, and implementation scalability (as influenced by additional protocol components, additional state, and additional processing for encapsulation, decapsulation, liveness). o Experiments need to verify thatbased on RLOCs): ITR ---> next hop ... next hop ---> ETR Segment 3 (in the destination LISPproduces no significant changesite based on EIDs): ETR ---> next hop ... last hop ---> destination host For segment 1 of the path, ICMP Time Exceeded messages are returned in thebehavior of protocols run between end-systems overnormal manner as they are today. The ITR performs aLISP infrastructure versus being run directly between those same end-systems. o Experiments need to verify thatTTL decrement and tests for 0 before encapsulating. Therefore, theissues raised inITR's hop is seen by theCritique sectiontraceroute source as having an EID address (the address of[RFC6115]the site-facing interface). For segment 2 of the path, ICMP Time Exceeded messages areeither insignificant or have been addressed by updatesreturned to theLISP protocol. Other LISP documents may also include open issues and areas for future work. 16. References 16.1. Normative References [ALT] Farinacci, D., Fuller, V., Meyer, D., and D. Lewis, "LISP Alternative Topology (LISP-ALT)", draft-ietf-lisp-alt-10.txt (work in progress). [LISP-MS] Farinacci, D. and V. Fuller, "LISP Map Server", draft-ietf-lisp-ms-16.txt (work in progress). [RFC0768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, August 1980. [RFC0791] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981. [RFC1918] Rekhter, Y., Moskowitz, R., Karrenberg, D., Groot, G., and E. Lear, "Address Allocation for Private Internets", BCP 5, RFC 1918, February 1996. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2404] Madson, C. and R. Glenn, "The Use of HMAC-SHA-1-96 within ESP and AH", RFC 2404, November 1998. [RFC2460] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", RFC 2460, December 1998. [RFC3168] Ramakrishnan, K., Floyd, S., and D. Black, "The Addition of Explicit Congestion Notification (ECN)ITR because the TTL decrement toIP", RFC 3168, September 2001. [RFC3232] Reynolds, J., "Assigned Numbers: RFC 17000 isReplaced by an On-line Database", RFC 3232, January 2002. [RFC4086] Eastlake, D., Schiller, J., and S. Crocker, "Randomness Requirements for Security", BCP 106, RFC 4086, June 2005. [RFC4632] Fuller, V.done on the outer header, so the destinations of the ICMP messages are the ITR RLOC address andT. Li, "Classless Inter-domain Routing (CIDR):the source RLOC address of the encapsulated traceroute packet. TheInternet Address Assignment and Aggregation Plan", BCP 122, RFC 4632, August 2006. [RFC5226] Narten, T.ITR looks inside of the ICMP payload to inspect the traceroute source so it can return the ICMP message to the address of the traceroute client andH. Alvestrand, "Guidelines for Writing an IANA Considerations Sectionalso retain the core router IP address inRFCs", BCP 26, RFC 5226, May 2008. [RFC5496] Wijnands, IJ., Boers, A.,the ICMP message. This is so the traceroute client can display the core router address (the RLOC address) in the traceroute output. The ETR returns its RLOC address andE. Rosen, "The Reverse Path Forwarding (RPF) Vector TLV", RFC 5496, March 2009. [RFC5944] Perkins, C., "IP Mobility Support for IPv4, Revised", RFC 5944, November 2010. [RFC6115] Li, T., "Recommendationresponds to the TTL decrement to 0, as the previous core routers did. For segment 3, the next-hop router downstream from the ETR will be decrementing the TTL fora Routing Architecture", RFC 6115, February 2011. [RFC6234] Eastlake, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, May 2011. [RFC6275] Perkins, C., Johnson, D., and J. Arkko, "Mobility Support in IPv6", RFC 6275, July 2011. [VERSIONING] Iannone, L., Saucez, D.,the packet that was encapsulated, sent into the core, decapsulated by the ETR, andO. Bonaventure, "LISP Mapping Versioning", draft-ietf-lisp-map-versioning-09.txt (work in progress). 16.2. Informative References [AFI] IANA, "Address Family Indicators (AFIs)", ADDRESS FAMILY NUMBERS http://www.iana.org/assignments/address-family-numbers. [AFI-REGISTRY] IANA, "Address Family Indicators (AFIs)", ADDRESS FAMILY NUMBER registry http://www.iana.org/assignments/ address-family-numbers/ address-family-numbers.xml#address-family-numbers-1. [BGP-SEC] Lepinski, M., "An Overviewforwarded because it isn't the final destination. If the TTL is decremented to 0, any router on the path to the destination ofBGPSEC", draft-lepinski-bgpsec-overview-00.txt (work in progress), March 2011. [CHIAPPA] Chiappa, J., "Endpoints and Endpoint names: A Proposed Enhancementthe traceroute, including the next-hop router or destination, will send an ICMP Time Exceeded message to theInternet Architecture", Internet- Draft http://www.chiappa.net/~jnc/tech/endpoints.txt. [CONS] Farinacci, D., Fuller, V.,source EID of the traceroute client. The ICMP message will be encapsulated by the local ITR andD. Meyer, "LISP-CONS: A Content distribution Overlay Network Service for LISP", draft-meyer-lisp-cons-04.txt (worksent back to the ETR inprogress). [EMACS] Brim, S., Farinacci, D., Meyer, D.,the originated traceroute source site, where the packet will be delivered to the host. 9.1. IPv6 Traceroute IPv6 traceroute follows the procedure described above, since the entire traceroute data packet is included in the ICMP Time Exceeded message payload. Therefore, only the ITR needs to pay special attention to forwarding ICMP messages back to the traceroute source. 9.2. IPv4 Traceroute For IPv4 traceroute, we cannot follow the above procedure, since IPv4 ICMP Time Exceeded messages only include the invoking IP header andJ. Curran, "EID Mappings Multicast Across Cooperating Systems for LISP", draft-curran-lisp-emacs-00.txt (work8 octets that follow the IP header. Therefore, when a core router sends an IPv4 Time Exceeded message to an ITR, all the ITR has inprogress). [INTERWORK] Lewis, D., Meyer, D., Farinacci, D.,the ICMP payload is the encapsulated header it prepended, followed by a UDP header. The original invoking IP header, andV. Fuller, "Interworking LISP withtherefore the identity of the traceroute source, is lost. The solution we propose to solve this problem is to cache traceroute IPv4and IPv6", draft-ietf-lisp-interworking-06.txt (workheaders inprogress). [KARP] Lebovitz, G.the ITR andM. Bhatia, "Keyingto match them up with corresponding IPv4 Time Exceeded messages received from core routers andAuthenticationthe ETR. The ITR will use a circular buffer forRouting Protocols (KARP)Design Guidelines", draft-ietf-karp-design-guide-06.txt (work in progress), October 2011. [LCAF] Farinacci, D., Meyer, D., and J. Snijders, "LISP Canonical Address Format", draft-ietf-lisp-lcaf-00.txt (work in progress). [LISA96] Lear, E., Katinsky, J., Coffin, J., and D. Tharp, "Renumbering: Threat or Menace?", Usenix . [LISP-DEPLOY] Jakab, L., Coras, F., Domingo-Pascual, J., and D. Lewis, "LISP Network Element Deployment Considerations", draft-ietf-lisp-deployment-05.txt (work in progress). [LISP-LIG] Farinacci, D. and D. Meyer, "LISP Internet Groper (LIG)", draft-ietf-lisp-lig-06.txt (work in progress). [LISP-MAIN] Farinacci, D., Fuller, V., Meyer, D.,caching the IPv4 andD. Lewis, "Locator/ID Separation Protocol (LISP)", draft-farinacci-lisp-12.txt (workUDP headers of traceroute packets. It will select a 16-bit number as a key to find them later when the IPv4 Time Exceeded messages are received. When an ITR encapsulates an IPv4 traceroute packet, it will use the 16-bit number as the UDP source port inprogress). [LISP-MIB] Schudel, G., Jain, A., and V. Moreno, "LISP MIB", draft-ietf-lisp-mib-07.txt (workthe encapsulating header. When the ICMP Time Exceeded message is returned to the ITR, the UDP header of the encapsulating header is present inprogress). [LISP-MN] Farinacci, D., Fuller, V., Lewis, D., and D. Meyer, "LISP Mobility Architecture", draft-meyer-lisp-mn-08.txt (workthe ICMP payload, thereby allowing the ITR to find the cached headers for the traceroute source. The ITR puts the cached headers inprogress). [LISP-SEC] Maino, F., Ermagon, V., Cabellos, A., Sausez, D.,the payload andO. Bonaventure, "LISP-Security (LISP-SEC)", draft-ietf-lisp-sec-04.txt (worksends the ICMP Time Exceeded message to the traceroute source retaining the source address of the original ICMP Time Exceeded message (a core router or the ETR of the site of the traceroute destination). The signature of a traceroute packet comes inprogress). [LOC-ID-ARCH] Meyer, D.two forms. The first form is encoded as a UDP message where the destination port is inspected for a range of values. The second form is encoded as an ICMP message where the IP identification field is inspected for a well-known value. 9.3. Traceroute Using Mixed Locators When either an IPv4 traceroute or IPv6 traceroute is originated andD. Lewis, "Architectural Implicationsthe ITR encapsulates it in the other address family header, one cannot get all 3 segments ofLocator/ID Separation", draft-meyer-loc-id-implications-02.txt (workthe traceroute. Segment 2 of the traceroute cannot be conveyed to the traceroute source, since it is expecting addresses from intermediate hops inprogress). [MLISP] Farinacci, D., Meyer, D., Zwiebel, J., and S. Venaas, "LISPthe same address format forMulticast Environments", draft-ietf-lisp-multicast-14.txt (workthe type of traceroute it originated. Therefore, inprogress). [NERD] Lear, E., "NERD:this case, segment 2 will make the tunnel look like one hop. All the ITR has to do to make this work is to not copy the inner TTL to the outer, encapsulating header's TTL when a traceroute packet is encapsulated using an RLOC from a different address family. This will cause no TTL decrement to 0 to occur in core routers between the ITR and ETR. 10. Mobility Considerations There are several kinds of mobility, of which only some might be of concern to LISP. Essentially, they are as follows. 10.1. Site Mobility ANot-so-novel EIDsite wishes toRLOC Database", draft-lear-lisp-nerd-08.txt (work in progress). [OPENLISP] Iannone, L. and O. Bonaventure, "OpenLISP Implementation Report", draft-iannone-openlisp-implementation-01.txt (work in progress). [RADIR] Narten, T., "Routingchange its attachment points to the Internet, andAddressing Problem Statement", draft-narten-radir-problem-statement-05.txt (workits LISP Tunnel Routers will have new RLOCs when it changes upstream providers. Changes inprogress). [RFC1034] Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, November 1987. [RFC2784] Farinacci, D., Li, T., Hanks, S., Meyer, D., and P. Traina, "Generic Routing Encapsulation (GRE)", RFC 2784, March 2000. [RFC3056] Carpenter, B. and K. Moore, "ConnectionEID-to-RLOC mappings for sites are expected to be handled by configuration, outside ofIPv6 Domains viaLISP. 10.2. Slow Endpoint Mobility An individual endpoint wishes to move but is not concerned about maintaining session continuity. Renumbering is involved. LISP can help with the issues surrounding renumbering [RFC4192] [LISA96] by decoupling the address space used by a site from the address spaces used by its ISPs [RFC4984]. 10.3. Fast Endpoint Mobility Fast endpoint mobility occurs when an endpoint moves relatively rapidly, changing its IP-layer network attachment point. Maintenance of session continuity is a goal. This is where the Mobile IPv4Clouds", RFC 3056, February 2001. [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M.,[RFC5944] andE. Schooler, "SIP: Session Initiation Protocol", RFC 3261, June 2002. [RFC4192] Baker, F., Lear, E.,Mobile IPv6 [RFC6275] [RFC4866] mechanisms are used andR. Droms, "Procedures for Renumberingprimarily where interactions with LISP need to be explored. The problem is that as anIPv6 Network without a Flag Day", RFC 4192, September 2005. [RFC4866] Arkko, J., Vogt, C.,endpoint moves, it may require changes to the mapping between its EID andW. Haddad, "Enhanced Route Optimizationa set of RLOCs for its new network location. When this is added to the overhead of MobileIPv6", RFC 4866, May 2007. [RFC4984] Meyer, D., Zhang, L., and K. Fall, "ReportIP binding updates, some packets might be delayed or dropped. In IPv4 mobility, when an endpoint is away fromthe IAB Workshop on Routing and Addressing", RFC 4984, September 2007. [RPKI] Lepinski, M., "An Infrastructurehome, packets toSupport Secure Internet Routing", draft-ietf-sidr-arch-13.txt (work in progress), February 2011. [UDP-TUNNELS] Eubanks, M.it are encapsulated andP. Chimento, "UDP Checksums for Tunneled Packets", draft-ietf-6man-udpchecksums-05.txt (workforwarded via a home agent that resides inprogress), October 2012. [UDP-ZERO] Fairhurst, G.the home area the endpoint's address belongs to. The home agent will encapsulate andM. Westerland, "IPv6 UDP Checksum Considerations", draft-ietf-6man-udpzero-07.txt (work in progress), October 2012. Appendix A. Acknowledgments An initial thank you goesforward packets either directly toDave Oran for planting the seeds fortheinitial ideas for LISP. His consultation continuesendpoint or toprovide valuea foreign agent that resides where the endpoint has moved to. Packets from the endpoint may be sent directly to theLISP authors. A special and appreciative thank you goescorrespondent node, may be sent via the foreign agent, or may be reverse-tunneled back toNoel Chiappathe home agent forproviding architectural impetus overdelivery to thepast decades on separation of location and identity, as well as detailed review ofmobile node. As the mobile node's EID or available RLOC changes, LISParchitecture and documents, coupled with enthusiasmEID-to-RLOC mappings are required formaking LISP a practicalcommunication between the mobile node andincremental transition fortheInternet.home agent, whether via the foreign agent or not. As a mobile endpoint changes networks, up to three LISP mapping changes may be required: o Theauthors would likemobile node moves from an old location togratefully acknowledge many people who have contributed discussiona new visited network location andideas tonotifies its home agent that it has done so. The Mobile IPv4 control packets themakingmobile node sends pass through one ofthis proposal. They include Scott Brim, Andrew Partan, John Zwiebel, Jason Schiller, Lixia Zhang, Dorian Kim, Peter Schoenmaker, Vijay Gill, Geoff Huston, David Conrad, Mark Handley, Ron Bonica, Ted Seely, Mark Townsley, Chris Morrow, Brian Weis, Dave McGrew, Peter Lothberg, Dave Thaler, Eliot Lear, Shane Amante, Ved Kafle, Olivier Bonaventure, Luigi Iannone, Robin Whittle, Brian Carpenter, Joel Halpern, Terry Manderson, Roger Jorgensen, Ran Atkinson, Stig Venaas, Iljitsch van Beijnum, Roland Bless, Dana Blair, Bill Lynch, Marc Woolward, Damien Saucez, Damian Lezama, Attilla De Groot, Parantap Lahiri, David Black, Roque Gagliano, Isidor Kouvelas, Jesper Skriver, Fred Templin, Margaret Wasserman, Sam Hartman, Michael Hofling, Pedro Marques, Jari Arkko, Gregg Schudel, Srinivas Subramanian, Amit Jain, Xu Xiaohu, Dhirendra Trivedi, Yakov Rekhter, John Scudder, John Drake, Dimitri Papadimitriou, Ross Callon, Selina Heimlich, Job Snijders, Vina Ermagan, Albert Cabellos, Fabio Maino, Victor Moreno, Chris White, Clarence Filsfils, and Alia Atlas. This work originatedthe new visited network's ITRs, which needs an EID-to-RLOC mapping for the home agent. o The home agent might not have the EID-to-RLOC mappings for the mobile node's "care-of" address or its foreign agent in theRouting Research Group (RRG) ofnew visited network, in which case it will need to acquire them. o When packets are sent directly to theIRTF. The individual submission [LISP-MAIN] was converted into this IETF LISP working group draft. The LISP working group would likecorrespondent node, it may be that no traffic has been sent from the new visited network togive a special thanksthe correspondent node's network, and the new visited network's ITR will need toJari Arkko,obtain an EID-to-RLOC mapping for theInternet Area AD atcorrespondent node's site. In addition, if thetimeIPv4 endpoint is sending packets from theset ofnew visited network using its original EID, then LISPdocuments were being prepared for IESG last call,will need to perform a route-returnability check on the new EID-to-RLOC mapping forhis meticulous reviewthat EID. In IPv6 mobility, packets can flow directly between the mobile node anddetail commentary onthe7 working group last call drafts progressing toward experimental RFCs. Appendix B. Document Change Log B.1. Changescorrespondent node in either direction. The mobile node uses its "care-of" address (EID). In this case, the route-returnability check would not be needed but one more LISP mapping lookup may be required instead: o As above, three mapping changes may be needed for the mobile node to communicate with its home agent and to send packets todraft-ietf-lisp-24.txtthe correspondent node. oPosted November 2012In addition, another mapping will be needed in the correspondent node's ITR, in order forfinal pre-RFC version. o Move draft-ietf-6man-udpchecksums reference backthe correspondent node toInformative References section. B.2. Changessend packets todraft-ietf-lisp-23.txt o Posted May 2012 for final pre-RFC version. o Move onlythereference draft-ietf-6man-udpzero tomobile node's "care-of" address (EID) at theInformative References section. Leavenew network location. When both endpoints are mobile, thedraft-ietf-6man-udpchecksums referencenumber of potential mapping lookups increases accordingly. As a mobile node moves, there are not only mobility state changes in theNormative References section. After talkingmobile node, correspondent node, and home agent, but also state changes in the ITRs and ETRs for at least some EID-Prefixes. The goal is tomany people involvedsupport rapid adaptation, withthis issue at Paris IETF, all thought this wouldlittle delay or packet loss for the entire system. Also, IP mobility can bean acceptable change. o Added textmodified toIANA Considerations section 14.4require fewer mapping changes. In order toreflect IANA comments about allocating Key-ID numbers. B.3. Changesincrease overall system performance, there may be a need todraft-ietf-lisp-22.txt o Posted February 2012reduce the optimization of one area in order toreflect final DISCUSS comments from Adrian Farrel. B.4. Changesplace fewer demands on another. In LISP, one possibility is todraft-ietf-lisp-21.txt o Posted February 2012"glean" information. When a packet arrives, the ETR could examine the EID-to-RLOC mapping and use that mapping for all outgoing traffic toreflect DISCUSS comments from Adrian Farrel, Stewart Bryant, and Wesley Eddy. B.5. Changesthat EID. It can do this after performing a route-returnability check, to ensure that the new network location does have an internal route to that endpoint. However, this does not cover the case where an ITR (the node assigned the RLOC) at the mobile-node location has been compromised. Mobile IP packet exchange is designed for an environment in which all routing information is disseminated before packets can be forwarded. In order todraft-ietf-lisp-20.txt o Posted January 2012 for resolutionallow the Internet toAdrian Farrel's security comments as well as additionsgrow tothe end of section 2, Elwyn Davies Gen-Art comments, and Ralph Droms' IANA and EID definition comments. B.6. Changessupport expected future use, we are moving todraft-ietf-lisp-19.txt o Posted January 2012 for Stephen Farrell's comment resolution. B.7. Changesan environment where some information may have todraft-ietf-lisp-18.txt o Posted December 2011be obtained afterreflecting comments from IANA. o Create reference to sections 5.4.1 and 5.4.2 about DF bit setting from section 5.3. o Inserted two references for Route-Returnability and on-path attackspackets are inSecurity Considerations section. B.8. Changesflight. Modifications todraft-ietf-lisp-17.txt o Posted December 2011 after IETF last call comments. o Make Map-Notify port assignmentIP mobility should be4342 in both source and destination ports. This change was agreed on and put in [LISP-MS] but was not updatedconsidered inthis spec. B.9. Changes to draft-ietf-lisp-16.txt o Posted October 2011 after AD review by Jari. B.10. Changes to draft-ietf-lisp-15.txt o Posted July 2011. Fixing IDnits errors. o Change description on how to select a source address for RLOC- probe Map-Replies to referorder to optimize the"EID-to-RLOC Map-Reply Message" section. B.11. Changes to draft-ietf-lisp-14.txt o Post working group last call and pre-IESG last call review. o Indicatebehavior of the overall system. Anything thatan ICMP Unreachable message should be sent when a packet matches a drop-based negative map-cache entry. o Indicate how a map-cache setdecreases the number ofoverlapping EID-prefixes must maintain integritynew EID-to-RLOC mappings needed when a node moves, or maintains themap-cache maximum cap is reached. o Add Joel's description for the definitionvalidity of anEID, that the bit string valueEID-to-RLOC mapping for a longer time, is useful. 10.4. Fast Network Mobility In addition to endpoints, a network can bean RLOC for another devicemobile, possibly changing xTRs. A "network" can be as small as a single router and as large as a whole site. This is different from site mobility inabstract but the architecture allowsthat itto be an EID of one deviceis fast andthe same value as an RLOC for another device. o In the "Tunnel Encapsulation Details" section, indicatepossibly short-lived, but different from endpoint mobility in that4 combinations of encapsulationa whole prefix is changing RLOCs. However, the mechanisms aresupported. o Add what ETR should dothe same, and there is no new overhead in LISP. A map request for any endpoint will return aData-Probe when receivedbinding fora destination EID outside of its EID-prefix range. This was added intheData Probe definition section. o Added text indicating that more-specific EID-prefixes must notentire mobile prefix. If mobile networks become a more common occurrence, it may beremoved when less-specific entries stay in the map-cache. This isuseful topreserverevisit theintegritydesign of theEID-prefix set. o Add clarifying text in the Security Considerations section about how an ETR must not decapsulatemapping service andforward a packet that is notallow forits configured EID-prefix range. B.12. Changes to draft-ietf-lisp-13.txt o Posted June 2011 to complete working group last call. o Tracker item 87. Put Yakov suggested wording indynamic updates of theEID-prefix definition section to reference [INTERWORK] and [LISP-DEPLOY] about discussion on transitiondatabase. The issue of interactions between mobility andaccess mechanisms. o Change "ITRs"LISP needs to"ETRs" in the Locator Status Bit definition section and data packet description section per Damien's comment. o Remove the normative referencebe explored further. Specific improvements to[LISP-SEC] when describingtheS-bit inentire system will depend on theECM and Map-Reply headers. o Tracker item 54. Added text from John Scudder indetails of mapping mechanisms. Mapping mechanisms should be evaluated on how well they support session continuity for mobile nodes. 10.5. LISP Mobile Node Mobility A mobile device can use the"Packets Egressing aLISPSite" section. o Add sentenceinfrastructure to achieve mobility by implementing the"Reencapsulating Tunnel" definition about how reencapsulation loopsLISP encapsulation and decapsulation functions and acting as a simple ITR/ETR. By doing this, such a "LISP mobile node" canoccur whenuse topologically independent EID IP addresses that are notcoordinating among multiple mapping database systems. o Remove "In theory" fromadvertised into and do not impose asentence incost on theSecurity Considerations section. o Remove Security Area Statement title and reword section with Eliot's provided text. The text was agreed upon by LISP-WG chairs and Security ADs. o Remove word "potential" fromglobal routing system. These EIDs are maintained at theover-claiming paragraphedges of theSecurity Considerations section per Stephen's request. o Wordsmithingmapping system (in LISP Map-Servers andother editorial comments from Alia. B.13. ChangesMap-Resolvers) and are provided on demand todraft-ietf-lisp-12.txt o Posted April 2011. o Tracker item 87. Provided rewording how an EID-prefix can be reused inonly thedefinition sectioncorrespondents of"EID-prefix". o Tracker item 95. Change "eliminate" to "defer" in section 4.1. o Tracker item 110. Added thattheMapping Protocol Data fieldLISP mobile node. Refer to [LISP-MN] for more details. 11. Multicast Considerations A multicast group address, as defined in theMap-Reply message is only used when needed by the particular Mapping Database System. o Tracker item 111. Indicate that if an LSB that is associated with an anycast address, that there is at least one RLOC thatoriginal Internet architecture, isup. o Tracker item 108. Make clear the R-bit does not define RLOC path reachability. o Tracker item 107. Indicate that weights are relative to each other versus requiringanadditionidentifier ofup to 100%. o Tracker item 46. Addasentence how LISP products should be sized for the appropriate demand so cache thrashing is avoided. o Change some referencesgrouping ofRFC 5226 to [AFI] per Luigi. o Per Luigi, make reference to "EID-AFI" consistent to "EID-prefix- AFI". o Tracker item 66. Indicate that appending locators to a locator- set is done whentopologically independent receiver host locations. The address encoding itself does not determine theadded locators are lexicographically greater thanlocation of theprevious ones inreceiver(s). The multicast routing protocol, and theset. o Tracker item 87. Once again rewordnetwork-based state thedefinition ofprotocol creates, determine where theEID- prefix to reflect recent comments. o Tracker item 70. Added text to security section on whatreceivers are located. In theimplications could be ifcontext of LISP, a multicast group address is both anITR does not obey priorityEID andweights fromaMap-Reply message. o Tracker item 54. Added textRouting Locator. Therefore, no specific semantic or action needs tothe new section titled "Packets Egressingbe taken for aLISP Site" to describe the implications when two or more ITRs exist atdestination address, as it would appear in an IP header. Therefore, asite where only one ITR isgroup address that appears in an inner IP header built by a source host will be usedfor egress traffic and when there isas the destination EID. The outer IP header (the destination Routing Locator address), prepended by ashift of traffic toLISP router, will use theothers, howsame group address as themap-cache willdestination Routing Locator. Having said that, only the source EID and source Routing Locator need to bepopulated in those new egress ITRs. o Tracker item 33. Make more cleardealt with. Therefore, an ITR merely needs to put its own IP address in the source 'Routing Locator' field when prepending the outer IP header. This source Routing LocatorSelection section whataddress, like any other Routing Locator address, MUST be globally routable. Therefore, an EID-to-RLOC mapping does not need to be performed by an ITRshould dowhenit sees an R-bit of 0 inalocator-record ofreceived data packet is a multicast data packet or when processing aMap-Reply. o Tracker item 33. Add paragraph tosource-specific Join (either by IGMPv3 or PIM). But theEID Reachability section indicating that site partitioningsource Routing Locator isunder investigation. o Tracker item 58. Added last paragraph of Security Considerations section about how to protect inner header EID address spoofing attacks. o Add suggested Sam text to indicate that all security concerns need not be addressed for moving document to Experimental RFC status. Put thisdecided by the multicast routing protocol in asubsection of the Security Considerations section. B.14. Changes to draft-ietf-lisp-11.txt o Posted March 30, 2011. o Change IANA URL. The URL we had pointedreceiver site. That is, an EID-to-RLOC translation is done at control time. Another approach is to have the ITR not encapsulate ageneral protocol numbers page. o Addedmulticast packet and allow the"s" bit topacket built by theMap-Request to allow SMR-invoked Map- Requests to be senthost toa MN ETR viaflow into themap-server. o Generalize text forcore even if thedefinitionsource address is allocated out ofReencapsuatling tunnels. o Add paragraph suggested by Joel to explain how implementation experimentation will be used to determinetheproper cache management techniques. o Add Yakov provided text forEID namespace. If thedefinition of "EID-to-RLOC "Database". o Add referenceRPF-Vector TLV [RFC5496] is used by PIM inSection 8, Deployment Scenarios, tothedraft-jakab-lisp-deploy-02.txt draft. o Clarify sentence about no hardware changes neededcore, then core routers can RPF tosupport LISP encapsulation. o Add paragraph about what istheprocedure when aITR (the locator address, which isinserted ininjected into core routing) rather than themiddle of a locator-set. o Add a definition for Locator Status Bits so we can emphasize they are used as a hint for router up/down status and not path reachability. o Change "BGP RIB" to "RIB" per Clarence's comment. o Fixed complaints by IDnits. o Add subsection to Security Considerations section indicating how EID-prefix overclaiminghost source address (the EID address, which is not injected into core routing). To avoid any EID-based multicast state inMap-Repliesthe network core, the first approach is chosen forfurther studyLISP-Multicast. Details for LISP-Multicast andadd a reference to LISP-SEC. B.15. Changes to draft-ietf-lisp-10.txt o Posted March 2011. o Add p-bit to Map-Request so thereinterworking with non-LISP sites are described in [RFC6831] and [RFC6832]. 12. Security Considerations It isdocumentary reasons to knowbelieved that most of the security mechanisms will be part of the mapping database service whena PITR has sent a Map-Request to an ETR. o Add Map-Notify message whichusing control-plane procedures for obtaining EID-to-RLOC mappings. For data-plane-triggered mappings, as described in this specification, protection isused to acknowledgeprovided against ETR spoofing by using route-returnability (see Section 3) mechanisms evidenced by the use of aMap-Register message sent to24-bit 'Nonce' field in the LISP encapsulation header and aMap-Server. o Add M-bit to64-bit 'Nonce' field in theMap-Register message so an ETR that wants an acknowledgment forLISP control message. The nonce, coupled with theMap-Register can request one. o Add S-bitITR accepting only solicited Map-Replies, provides a basic level of security, in many ways similar to theECM and Map-Reply messages to describesecuritydata that can be presentexperienced ineach message. Then refer to [LISP-SEC]the current Internet routing system. It is hard forexpansive details. o Add Network Management Considerations section and pointoff-path attackers to launch attacks against these LISP mechanisms, as they do not have theMIB and LIG drafts. o Remove the word "simple" per Yakov's comments. B.16. Changes to draft-ietf-lisp-09.txt o Posted October 2010. o Addnonce values. Sending a large number of packets toIANA Consideration section aboutaccidentally find theuse of LCAF Type values that accepted and maintainedright nonce value is possible but would already by itself be a denial-of-service (DoS) attack. On-path attackers can perform far more serious attacks, but on-path attackers can launch serious attacks in theIANA registry andcurrent Internet as well, including eavesdropping, blocking, or redirecting traffic. See more discussion on this topic in Section 6.1.5.1. LISP does not rely on a PKI or a more heavyweight authentication system. These systems challenge one of theLCAF specification. o Indicate thatprimary design goals of LISP -- scalability. DoS attack prevention will depend on implementationsshould be ablerate-limiting Map-Requests and Map-Replies toreceive LISPthe controlmessages when either UDP port is 4342, so they can be robust inplane as well as rate-limiting thefacenumber ofintervening NAT boxes. o Add paragraph to SMR section to indicate that andata-triggered Map-Replies. An incorrectly implemented or malicious ITRdoes not need to respondmight choose toan SMR-based Map-Request when it has no map-cache entry forignore theSMR source's EID-prefix. B.17. Changes to draft-ietf-lisp-08.txt o Posted August 2010. o In section 6.1.6, remove statement about setting TTL to 0 in Map- Register messages. o Clarify languagePriority and Weights provided by the ETR insection 6.1.5 about Map-Replying to Data- Probes or Map-Requests. o Indicate that outer TTL should onlyits Map-Reply. This traffic-steering would becopiedlimited toinner TTL when itthe traffic that islesssent by this ITR's site and no more severe thaninner TTL. o Indicateif the site initiated asource-EID for RLOC-probes are encodedbandwidth DoS attack on (one of) the ETR's ingress links. The ITR's site would typically gain no benefit from not respecting the Weights and would likely receive better service by abiding by them. To deal with map-cache exhaustion attempts in anAFI value of 0. o Indicate that SMRs can haveITR/PITR, the implementation should consider putting aglobal or per SMR destination rate- limiter. o Add clarifications tomaximum cap on theSMR procedures. o Add definitions for "client-side" and 'server-side" terms used in this specification. o Clear up language in section 6.4, last paragraph. o Change ACTnumber ofvalue 0 to "no-action".entries stored with a reserve list for special or frequently accessed sites. Thisis so we can RLOC- probeshould be aPETRconfiguration policy control set by the network administrator who manages ITRs andhave it return a Map-Reply with a locator-setPITRs. When overlapping EID-Prefixes occur across multiple Map-Cache entries, the integrity ofsize 0. The way it is spec'edthemap-cache entry has action "dropped". Drop-action isset must be wholly maintained. So, if a more-specific entry cannot be added due to3. o Add statement about normalizing locator weights. o Clarify R-bit definitionreaching the maximum cap, then none of the less-specific entries should be stored in theMap-Reply locator record. o Add section on EID Reachability withinmap-cache. Given that the ITR/PITR maintains aLISP site. o Clarify another disadvantagecache ofusing anycast locators. o Reworded Abstract. o Change section 2.0 Introduction to remove obsolete information such as the LISP variant definitions. o Change section 5 title from "Tunneling Details"EID-to-RLOC mappings, cache sizing and maintenance are issues to"LISP Encapsulation Details". o Changesbe kept in mind during implementation. It is a good idea tosection 5have instrumentation in place toinclude resultsdetect thrashing ofnetwork deployment experience with MTU. Recommendthe cache. Implementation experimentation will be used to determine which cache management strategies work best. In general, it is difficult to defend against cache-thrashing attacks. It should be noted thatimplementations use eitheran undersized cache in an ITR/PITR not only causes adverse effects on the site or region it supports but may also cause increased Map-Request loads on thestateful or stateless handling. o Make clarification wordsmithing tomapping system. "Piggybacked" mapping data as discussed in Section76.1.3 specifies how to handle such mappings and8. o Identify that ifincludes the possibility for an ETR to temporarily accept such a mapping before verification when running in "trusted" environments. In such cases, there isone locator in the locator-set ofamap- cache entry,potential threat that a fake mapping could be inserted (even if only for a short period) into a map-cache. As noted in Section 6.1.3, anSMR from that locator shouldETR MUST beresponded to by sending the the SMR-invoked Map-Request to the database mapping system rather thanspecifically configured tothe RLOC itself (which may be unreachable). o When describing Unicastrun in such a mode andMulticast Weights indicatemight usefully only consider some specific ITRs as also running in that same trusted environment. There is a security risk implicit in the fact that ETRs generate thevaluesEID-Prefix to which they arerelative weights ratherresponding. An ETR can claim a shorter prefix thanpercentages. Soitdoesn't implyis actually responsible for. Various mechanisms to ameliorate or resolve this issue will be examined in thesumfuture [LISP-SEC]. Spoofing ofall locator weights ininner-header addresses of LISP-encapsulated packets is possible, as with any tunneling mechanism. ITRs MUST verify thelocator-set needsource address of a packet to be100. o Do some wordsmithing on copying TTL and TOS fields. o Numerous wordsmithing changes from Dave Meyer. He fine toothed combedan EID that belongs to thespec. o Removed Section 14 "Prototype Planssite's EID-Prefix range prior to encapsulation. An ETR must only decapsulate andStatus". We felt this typeforward datagrams with an inner-header destination that matches one of its EID-Prefix ranges. If, upon receipt and decapsulation, the destination EID ofsection is no longer appropriate foraprotocol specification. o Add clarification text fordatagram does not match one of theIRC description per Damien's commentary. o Remove text on copying nonce from SMR to SMR-invoked Map- Request per Vina's comment aboutETR's configured EID-Prefixes, the ETR MUST drop the datagram. If apossible DoS vector. o Clarify (S/2 + H) inLISP-encapsulated packet arrives at an ETR, it SHOULD compare thestateless MTU section. o Add text to reflect Damien's comment aboutinner-header source EID address and thedescription ofouter-header source RLOC address with the"ITR-RLOC Address" fieldmapping that exists in theMap-Request. thatmapping database. Then, when spoofing attacks occur, thelist ofouter-header source RLOCaddresses are local addresses of the Map-Requester. B.18. Changes to draft-ietf-lisp-07.txt o Posted April 2010. o Added I-bit to data header so LSB fieldaddress canalsobe usedas an Instance ID field. Whento trace back the attack to the source site, using existing operational tools. This experimental specification does not address automated key management (AKM). BCP 107 [RFC4107] provides guidance in thisoccurs,area. In addition, at theLSB fieldtime of this writing, substantial work isreduced to 8-bits (from 32-bits). o Added V-bitbeing undertaken to improve security of thedata headerrouting system [RFC6518] [RFC6480] [BGP-SEC] [LISP-SEC]. Future work on LISP should address the issues discussed in BCP 107 as well as other open security considerations, which may require changes to this specification. 13. Network Management Considerations Considerations for network management tools exist so the24-bit nonce fieldLISP protocol suite canalsobeused for source and destination version numbers. o Added Map-Version 12-bit value to the EID-record tooperationally managed. These mechanisms can beusedfound inall of Map-Request, Map-Reply,[LISP-MIB] andMap-Register messages. o Added multiple ITR-RLOC fields to the Map-Request packet so an ETR can decide what address[RFC6835]. 14. IANA Considerations This section provides guidance toselect forthedestinationInternet Assigned Numbers Authority (IANA) regarding registration ofa Map- Reply. o Added L-bit (Local RLOC bit) and p-bit (Probe-Reply RLOC bit)values related to theLocator-Set record of an EID-record for a Map-Reply message. The L-bit indicates which RLOCsLISP specification, inthe locator-setaccordance with BCP 26 [RFC5226]. There arelocal to the sender offour namespaces (listed in themessage.sub-sections below) in LISP that have been registered. o LISP IANA registry allocations should not be made for purposes unrelated to LISP routing or transport protocols. o TheP-bit indicates which RLOC isfollowing policies are used here with thesource ofmeanings defined in BCP 26: "Specification Required", "IETF Review", "Experimental Use", and "First Come First Served". 14.1. LISP ACT and Flag Fields New ACT values (Section 6.1.4) can be allocated through IETF review or IESG approval. Four values have already been allocated by this specification (Section 6.1.4). In addition, LISP has aRLOC-probe Reply (Map-Reply) message. o Add reference tonumber of flag fields and reserved fields, such as the LISPCanonicalheader flags field (Section 5.3). New bits for flags in these fields can be implemented after IETF review or IESG approval, but these need not be managed by IANA. 14.2. LISP Address Type Codes LISP AddressFormat[LCAF]draft. o Made editorial and clarification changes based on comments from Dhirendra Trivedi. o Added wordsmithing commentstype codes have a range fromJoel Halpern on DF=1 setting. o Add John Zwiebel clarification0 toEcho Nonce Algorithm section 6.3.1. o Add John Zwiebel comment about expanding on proxy-map-reply bit for Map-Register messages. o Add NAT section per Ron Bonica comments. o Fix IDnits issues per Ron Bonica. o Added section on Virtualization and Segmentation255. New type codes MUST be allocated consecutively, starting at 0. Type Codes 0-127 are to be assigned by IETF review or IESG approval. Type Codes 128-255 are available according toexplainthe [RFC5226] First Come First Served policy. This registry, initially empty, is constructed for future useif the Instance ID fieldinthe data header. o There are too many P-bits, keep their scope to the packet format description and referexperimental work related tothem by name every where else in the spec. o Scanned all occurrencesLISP Canonical Address Format (LCAF) values. See [LCAF] for details of"should", "should not", "must"other possible unapproved address encodings. The unapproved LCAF encodings are an area for further study and"must not"experimentation. 14.3. LISP UDP Port Numbers The IANA registry has allocated UDP port numbers 4341 anduppercased them. o John Zwiebel offered text4342 forsection 4.1 to modernizelisp-data and lisp-control operation, respectively. IANA has updated theexample. Thanks Z! o Make it more cleardescription for UDP ports 4341 and 4342 as follows: lisp-data 4341 udp LISP Data Packets lisp-control 4342 udp LISP Control Packets 14.4. LISP Key ID Numbers The following Key ID values are defined by this specification as used in any packet type that references a 'Key ID' field: Name Number Defined in ----------------------------------------------- None 0 n/a HMAC-SHA-1-96 1 [RFC2404] HMAC-SHA-256-128 2 [RFC4868] Number values are in thedefinitionrange of"EID-to-RLOC Database" that all ETRs need0 tohave the same database mapping. This reflects65535. The allocation of values is on acomment from John Scudder.first come first served basis. 15. Known Open Issues and Areas of Future Work As an experimental specification, this work is, by definition, incomplete. Specific areas where additional experience and work are needed include the following: oAddAt present, only [RFC6836] is defined for implementing adefinition "Route-returnability" to the Definitiondatabase ofTerms section.EID-to-RLOC mapping information. Additional research on other mapping database systems is strongly encouraged. oIn section 9.2, add text to describe whatFailure and recovery of LISP site partitioning (see Section 6.4) in thesignaturepresence oftraceroute packets can look like.redundant configuration (see Section 8.5) needs further research and experimentation. oRemoved referencesThe characteristics of map-cache management under exceptional conditions, such as denial-of-service attacks, are not fully understood. Further experience is needed toData Probe for introductory example. Data- probesdetermine whether current caching methods arestill partpractical or in need of further development. In particular, theLISP design but not encouraged. o Addedperformance, scaling, and security characteristics of thedefinition for "LISP site"map-cache will be discovered as part of this experiment. Performance metrics to be observed are packet reordering associated with theDefinitionLISP Data-Probe and loss ofTerms" section. B.19. Changes to draft-ietf-lisp-06.txt Editorial based changes: o Posted December 2009. o Fix typo for flagsthe first packet inLISP data header. Changed from "4" to "5". o Add text to indicate that Map-Register messages must containacomputed UDP checksum. o Add definitionsflow associated with map-caching. The impact of these upon TCP will be observed. See Section 12 forPITRadditional thoughts andPETR. o Indicate an AFI value of 0 is an unspecified address.considerations. oIndicatePreliminary work has been done to ensure that sites employing LISP can interconnect with theTTL fieldrest ofa Map-Register is not used and set to 0 bythesender.Internet. Thischange makeswork is documented in [RFC6832], but further experimentation and experience are needed. o At present, no mechanism for automated key management for message authentication is defined. Addressing automated key management is necessary before thisspec consistent with [LISP-MS].specification can be developed into a Standards Track RFC. See Section 12 for further details regarding security considerations. oChange "... yield a packet size of L octets"In order to"... yield a packet size greater than L octets". o Clarify section 6.1.5 on what addressesmaintain security andports are used in Map- Reply messages. o Clarify that LSBs that go beyondstability, Internet protocols typically isolate thenumber of locators do notcontrol and data planes. Therefore, user activity cannot cause control-plane state to beSMRed when the locator addresses are greater lexicographically than the locator in the existing locator-set. o Add Gregg, Srini, and Amitcreated or destroyed. LISP does not maintain this separation. The degree toacknowledgment section. o Clarify inwhich thedefinitionloss of separation impacts security and stability is a topic for experimental observation. o LISPheader whatallows for the use of different mapping database systems. While only one [RFC6836] isfollowingcurrently well defined, each mapping database will likely have some impact on theUDP header. o Clarify "verifying Map-Request" text in section 6.1.3. o Add Xu Xiaohu tosecurity of theacknowledgment sectionEID-to-RLOC mappings. How each mapping database system's security properties impact LISP overall is forintroducing the problem of overlapping EID-prefixes among multiple sites in an RRG email message. Design based changes:further study. oUse stronger language to haveAn examination of theouter IPv4 header set DF=1 so we can avoid fragment reassembly in an ETR or PETR.implications of LISP on Internet traffic, applications, routers, and security is needed. This willalso make IPv4 and IPv6 encapsulation have consistent behavior. o Map-Requests should not be sent in ECM withhelp implementors understand theProbe bit is set. These type of Map-Requests are used as RLOC-probesconsequences for network stability, routing protocol function, routing scalability, migration andare sent directlybackward compatibility, and implementation scalability (as influenced by additional protocol components; additional state; and additional processing for encapsulation, decapsulation, and liveness). o Experiments need tolocator addressesverify that LISP produces no significant change in theunderlying network. o Add text in section 6.1.5 about returning all EID-prefixes inbehavior of protocols run between end-systems over aMap-Reply sent by an ETR when there are overlapping EID-prefixes configure.LISP infrastructure versus being run directly between those same end-systems. oAdd text in a new subsection of section 6.1.5 about dealing with Map-Replies with coarse EID-prefixes. B.20. ChangesExperiments need todraft-ietf-lisp-05.txt o Posted September 2009. o Added this Document Change Log appendix. o Added section indicatingverify thatencapsulated Map-Requests must use destination UDP port 4342. o Don't use AH in Map-Registers. Put key-id, auth-length, and auth- datathe issues raised inMap-Register payload. o Added Jari to acknowledgment section. o Statethesource-EID is set to 0 when using Map-Requests to refreshCritique section of [RFC6115] are either insignificant orRLOC-probe. o Make more clear what source-RLOC should behave been addressed by updates to LISP. Other LISP documents may also include open issues and areas fora Map-Request. o The LISP-CONS authors thought that the Type definitionsfuture work. 16. References 16.1. Normative References [RFC0768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, August 1980. [RFC0791] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981. [RFC1918] Rekhter, Y., Moskowitz, R., Karrenberg, D., Groot, G., and E. Lear, "Address Allocation forCONS should be removed from this specification. o Removed nonce from Map-Register message, it wasn't used so no needPrivate Internets", BCP 5, RFC 1918, February 1996. [RFC2119] Bradner, S., "Key words forit. o Clarify whatuse in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2404] Madson, C. and R. Glenn, "The Use of HMAC-SHA-1-96 within ESP and AH", RFC 2404, November 1998. [RFC2460] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", RFC 2460, December 1998. [RFC3168] Ramakrishnan, K., Floyd, S., and D. Black, "The Addition of Explicit Congestion Notification (ECN) todoIP", RFC 3168, September 2001. [RFC3232] Reynolds, J., "Assigned Numbers: RFC 1700 is Replaced by an On-line Database", RFC 3232, January 2002. [RFC4086] Eastlake, D., Schiller, J., and S. Crocker, "Randomness Requirements forunspecified Action bitsSecurity", BCP 106, RFC 4086, June 2005. [RFC4632] Fuller, V. and T. Li, "Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan", BCP 122, RFC 4632, August 2006. [RFC4868] Kelly, S. and S. Frankel, "Using HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 with IPsec", RFC 4868, May 2007. [RFC5226] Narten, T. and H. Alvestrand, "Guidelines fornegative Map- Replies. Since No Action is a drop, make value 0 Drop. B.21. Changes to draft-ietf-lisp-04.txt o Posted SeptemberWriting an IANA Considerations Section in RFCs", BCP 26, RFC 5226, May 2008. [RFC5496] Wijnands, IJ., Boers, A., and E. Rosen, "The Reverse Path Forwarding (RPF) Vector TLV", RFC 5496, March 2009.o How do deal with record count greater than 1[RFC5944] Perkins, C., "IP Mobility Support for IPv4, Revised", RFC 5944, November 2010. [RFC6115] Li, T., "Recommendation for aMap-Request. DamienRouting Architecture", RFC 6115, February 2011. [RFC6275] Perkins, C., Johnson, D., andJoel comment. Joel suggests: 1) Specify that senders compliant with the current document will always set the count to 1,J. Arkko, "Mobility Support in IPv6", RFC 6275, July 2011. [RFC6833] Farinacci, D. and V. Fuller, "Locator/ID Separation Protocol (LISP) Map-Server Interface", RFC 6833, January 2013. [RFC6834] Iannone, L., Saucez, D., and O. Bonaventure, "Locator/ID Separation Protocol (LISP) Map-Versioning", RFC 6834, January 2013. [RFC6836] Farinacci, D., Fuller, V., Meyer, D., and D. Lewis, "Locator/ID Separation Protocol Alternative Logical Topology (LISP+ALT)", RFC 6836, January 2013. 16.2. Informative References [AFI] IANA, "Address Family Numbers", <http://www.iana.org/assignments/address-family-numbers>. [BGP-SEC] Lepinski, M. andnote that the count is included for future extensibility. 2) Specify what a receiver compliant with the draft should do if it receives a request with a count greater than 1. Presumably, it should send some error back? o Add Fred TemplinS. Turner, "An Overview of BGPSEC", Work inacknowledgment section. o Add MargaretProgress, May 2012. [CHIAPPA] Chiappa, J., "Endpoints andSamEndpoint names: A Proposed Enhancement to theacknowledgment sectionInternet Architecture", 1999, <http://mercury.lcs.mit.edu/~jnc/tech/endpoints.txt>. [CONS] Brim, S., Chiappa, N., Farinacci, D., Fuller, V., Lewis, D., and D. Meyer, "LISP-CONS: A Content distribution Overlay Network Service fortheir great comments. o Say more about LAGsLISP", Work inthe UDP section per Sam Hartman's comment. o Sam wants to use MAY instead of SHOULDProgress, April 2008. [EMACS] Brim, S., Farinacci, D., Meyer, D., and J. Curran, "EID Mappings Multicast Across Cooperating Systems forignoring checksums on ETR. From the mailing list: "You'd need to word it as an ITR MAY send a zero checksum, an ETR MUST accept a 0 checksumLISP", Work in Progress, November 2007. [LCAF] Farinacci, D., Meyer, D., and J. Snijders, "LISP Canonical Address Format (LCAF)", Work in Progress, January 2013. [LISA96] Lear, E., Tharp, D., Katinsky, J., and J. Coffin, "Renumbering: Threat or Menace?", Usenix Tenth System Administration Conference (LISA 96), October 1996. [LISP-DEPLOY] Jakab, L., Cabellos-Aparicio, A., Coras, F., Domingo-Pascual, J., and D. Lewis, "LISP Network Element Deployment Considerations", Work in Progress, October 2012. [LISP-MIB] Schudel, G., Jain, A., and V. Moreno, "LISP MIB", Work in Progress, January 2013. [LISP-MN] Farinacci, D., Lewis, D., Meyer, D., and C. White, "LISP Mobile Node", Work in Progress, October 2012. [LISP-SEC] Maino, F., Ermagan, V., Cabellos, A., Saucez, D., and O. Bonaventure, "LISP-Security (LISP-SEC)", Work in Progress, October 2012. [LOC-ID-ARCH] Meyer, D. andMAY ignore the checksum completely. AndD. Lewis, "Architectural Implications ofcourse we'd need to confirm that can actually be implemented. In particular, hardware that verifies UDP checksums on receive needs to be checked to make sure it permits 0 checksums." o Margaret wants a reference to http://www.ietf.org/id/draft-eubanks-chimento-6man-00.txt. o Fix description in Map-Request section. Where we describe Map- Reply Record, change "R-bit" to "M-bit". o Add the mobility bit to Map-Replies. So PITRs don't probe so often for MNs but often enough to get mapping updates. o Indicate SHA1 can be used as well for Map-Registers. o More Fred comments on MTU handling. o Isidor comment about spec'ing better periodic Map-Registers. Will be fixedLocator/ID Separation", Work indraft-ietf-lisp-ms-02.txt. o Margaret's comment on gleaning: "The current specification does not make it clear how long gleaned map entries should be retainedProgress, January 2009. [OPENLISP] Iannone, L., Saucez, D., and O. Bonaventure, "OpenLISP Implementation Report", Work in Progress, July 2008. [RADIR] Narten, T., "On thecache, nor does it make it clear how/ when they will be validated. The LISP spec should, at the very least, include a (short) default lifetime for gleaned entries, require that they be validated within a short periodScalability oftime,Internet Routing", Work in Progress, February 2010. [RFC1034] Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, November 1987. [RFC2784] Farinacci, D., Li, T., Hanks, S., Meyer, D., and P. Traina, "Generic Routing Encapsulation (GRE)", RFC 2784, March 2000. [RFC3056] Carpenter, B. and K. Moore, "Connection of IPv6 Domains via IPv4 Clouds", RFC 3056, February 2001. [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, "SIP: Session Initiation Protocol", RFC 3261, June 2002. [RFC4107] Bellovin, S. and R. Housley, "Guidelines for Cryptographic Key Management", BCP 107, RFC 4107, June 2005. [RFC4192] Baker, F., Lear, E., andstate that a new gleaned entry should never overwriteR. Droms, "Procedures for Renumbering anentry that was obtainedIPv6 Network without a Flag Day", RFC 4192, September 2005. [RFC4866] Arkko, J., Vogt, C., and W. Haddad, "Enhanced Route Optimization for Mobile IPv6", RFC 4866, May 2007. [RFC4984] Meyer, D., Zhang, L., and K. Fall, "Report from themapping system. The security implications of storing "gleaned" entries should also be explored in detail." o Add sectionIAB Workshop onRLOC-probing per working group feedback. o Change "loc-reach-bits" to "loc-status-bits" per comment from Noel. o Remove SMR-bit from data-plane. Dino prefersRouting and Addressing", RFC 4984, September 2007. [RFC6480] Lepinski, M. and S. Kent, "An Infrastructure tohave it in the control plane only. o Change LISP headerSupport Secure Internet Routing", RFC 6480, February 2012. [RFC6518] Lebovitz, G. and M. Bhatia, "Keying and Authentication for Routing Protocols (KARP) Design Guidelines", RFC 6518, February 2012. [RFC6831] Farinacci, D., Meyer, D., Zwiebel, J., and S. Venaas, "The Locator/ID Separation Protocol (LISP) for Multicast Environments", RFC 6831, January 2013. [RFC6832] Lewis, D., Meyer, D., Farinacci, D., and V. Fuller, "Interworking between Locator/ID Separation Protocol (LISP) and Non-LISP Sites", RFC 6832, January 2013. [RFC6835] Farinacci, D. and D. Meyer, "The Locator/ID Separation Protocol Internet Groper (LIG)", RFC 6835, January 2013. [RFC6837] Lear, E., "NERD: A Not-so-novel Endpoint ID (EID) toallow a "Research Bit" so the NonceRouting Locator (RLOC) Database", RFC 6837, January 2013. [UDP-TUNNELS] Eubanks, M., Chimento, P., andLSB fields can be turned offM. Westerlund, "IPv6 andusedUDP Checksums foranother future purpose. For Luigi et al versioning convergence. o Add a N-bitTunneled Packets", Work in Progress, January 2013. [UDP-ZERO] Fairhurst, G. and M. Westerlund, "Applicability Statement for the use of IPv6 UDP Datagrams with Zero Checksums", Work in Progress, December 2012. Appendix A. Acknowledgments An initial thank you goes to Dave Oran for planting thedata header suggested by Noel. Thenseeds for thenonce field could be used when N is not 1. o Clarify that when E-bit is 0,initial ideas for LISP. His consultation continues to provide value to thenonce field can be an echoed nonce or a random nonce. Comment from Jesper. o Indicate when doing data-gleaning that a verifying Map-Request is sentLISP authors. A special and appreciative thank you goes to Noel Chiappa for providing architectural impetus over thesource-EIDpast decades on separation of location and identity, as well as detailed reviews of thegleaned data packet so we can avoid map-cache corruption by a 3rd party. Comment from Pedro. o Indicate thatLISP architecture and documents, coupled with enthusiasm for making LISP averifying Map-Request,practical and incremental transition foraccepting mapping data, should be sent overtheALT (orInternet. The authors would like tothe EID). o Reference IPsec RFC 4302. Comment from Samgratefully acknowledge many people who have contributed discussions andBrian Weis. o Put E-bit in Map-Replyideas totell ITRs thattheETR supports echo- noncing. Comment bymaking of this proposal. They include Scott Brim, Andrew Partan, John Zwiebel, Jason Schiller, Lixia Zhang, Dorian Kim, Peter Schoenmaker, Vijay Gill, Geoff Huston, David Conrad, Mark Handley, Ron Bonica, Ted Seely, Mark Townsley, Chris Morrow, Brian Weis, Dave McGrew, Peter Lothberg, Dave Thaler, Eliot Lear, Shane Amante, Ved Kafle, Olivier Bonaventure, Luigi Iannone, Robin Whittle, Brian Carpenter, Joel Halpern, Terry Manderson, Roger Jorgensen, Ran Atkinson, Stig Venaas, Iljitsch van Beijnum, Roland Bless, Dana Blair, Bill Lynch, Marc Woolward, Damien Saucez, Damian Lezama, Attilla De Groot, Parantap Lahiri, David Black, Roque Gagliano, Isidor Kouvelas, Jesper Skriver, Fred Templin, Margaret Wasserman, Sam Hartman, Michael Hofling, Pedro Marques, Jari Arkko, Gregg Schudel, Srinivas Subramanian, Amit Jain, Xu Xiaohu, Dhirendra Trivedi, Yakov Rekhter, John Scudder, John Drake, Dimitri Papadimitriou, Ross Callon, Selina Heimlich, Job Snijders, Vina Ermagan, Albert Cabellos, Fabio Maino, Victor Moreno, Chris White, Clarence Filsfils, andDino. o Jesper made a comment to loosen the language about requiringAlia Atlas. This work originated in thecopyRouting Research Group (RRG) ofinner TTL to outer TTL sincethetext to get mixed-AF traceroute to work would violateIRTF. An individual submission was converted into the"MUST" clause. Changed from MUST to SHOULD in section 5.3. B.22. ChangesIETF LISP working group document that became this RFC. The LISP working group would like todraft-ietf-lisp-03.txt o Posted July 2009. o Removed loc-reach-bits longword from control packets per Damien comment. o Clarifications in MTU text from Roque. o Added textgive a special thanks toindicateJari Arkko, the Internet Area AD at the time that thelocator-set be sorted by locator address from Isidor. o Clarification text from John Zwiebel in Echo-Nonce section. B.23. Changes to draft-ietf-lisp-02.txt o Posted July 2009. o Encapsulation packet format change to add E-bit and make loc- reach-bits 32-bits in length. o Added Echo-Nonce Algorithm section. o Clarification how ECN bits are copied. o Moved S-bit in Map-Request. o Added P-bit in Map-Requestset of LISP documents were being prepared for IESG last call, andMap-Reply messages to anticipate RLOC-Probe Algorithm. o Added to Mobility section to reference [LISP-MN]. B.24. Changes to draft-ietf-lisp-01.txt o Posted 2 days after draft-ietf-lisp-00.txt in May 2009. o Defined LEID to be a "LISP EID". o Indicate encapsulation use IPv4 DF=0. o Added negative Map-Reply messages with drop, native-forward,for his meticulous reviews andsend-map-request actions. o Added Proxy-Map-Reply bit to Map-Register. B.25. Changes to draft-ietf-lisp-00.txt o Posted May 2009. o Rename of draft-farinacci-lisp-12.txt. o Acknowledgment to RRG.detailed commentaries on the 7 working group last call documents progressing toward experimental RFCs. Authors' Addresses Dino FarinacciciscoCisco Systems Tasman Drive San Jose, CA 95134 USAEmail: dino@cisco.comEMail: farinacci@gmail.com Vince Fullercisco Systems Tasman Drive San Jose, CA 95134 USA Email: vaf@cisco.comEMail: vaf@vaf.net Dave MeyerciscoCisco Systems 170 Tasman Drive San Jose, CA USAEmail: dmm@cisco.comEMail: dmm@1-4-5.net Darrel LewisciscoCisco Systems 170 Tasman Drive San Jose, CA USAEmail:EMail: darlewis@cisco.com