idnits 2.17.1 draft-farinacci-lisp-lcaf-10.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** The document seems to lack a both a reference to RFC 2119 and the recommended RFC 2119 boilerplate, even if it appears to use RFC 2119 keywords. RFC 2119 keyword, line 179: '...is reserved for future use and MUST be...' RFC 2119 keyword, line 213: '...is reserved for future use and MUST be...' RFC 2119 keyword, line 575: '... See [LISP-MRSIG] for details. The J-bit MUST not be set when the...' Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == Using lowercase 'not' together with uppercase 'MUST', 'SHALL', 'SHOULD', or 'RECOMMENDED' is not an accepted usage according to RFC 2119. Please use uppercase 'NOT' together with RFC 2119 keywords (if that is what you mean). Found 'MUST not' in this paragraph: J-bit: this is the Join-Request bit and is used when this LCAF type is present in the destination EID-prefix field of a Map-Request. See [LISP-MRSIG] for details. The J-bit MUST not be set when the L-bit is also set in the same LCAF block. A receiver should not take any specific Join or Leave action when both bits are set. -- The document date (July 9, 2012) is 4307 days in the past. Is this intentional? Checking references for intended status: Experimental ---------------------------------------------------------------------------- ** Obsolete normative reference: RFC 1700 (Obsoleted by RFC 3232) == Outdated reference: A later version (-10) exists of draft-ietf-lisp-alt-06 == Outdated reference: A later version (-24) exists of draft-ietf-lisp-12 == Outdated reference: A later version (-04) exists of draft-fuller-lisp-ddt-01 == Outdated reference: A later version (-06) exists of draft-farinacci-lisp-mr-signaling-00 == Outdated reference: A later version (-19) exists of draft-ermagan-lisp-nat-traversal-00 == Outdated reference: A later version (-12) exists of draft-farinacci-lisp-te-01 Summary: 2 errors (**), 0 flaws (~~), 8 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group D. Farinacci 3 Internet-Draft D. Meyer 4 Intended status: Experimental cisco Systems 5 Expires: January 10, 2013 J. Snijders 6 InTouch N.V. 7 July 9, 2012 9 LISP Canonical Address Format (LCAF) 10 draft-farinacci-lisp-lcaf-10 12 Abstract 14 This draft defines a canonical address format encoding used in LISP 15 control messages and in the encoding of lookup keys for the LISP 16 Mapping Database System. 18 Status of this Memo 20 This Internet-Draft is submitted in full conformance with the 21 provisions of BCP 78 and BCP 79. 23 Internet-Drafts are working documents of the Internet Engineering 24 Task Force (IETF). Note that other groups may also distribute 25 working documents as Internet-Drafts. The list of current Internet- 26 Drafts is at http://datatracker.ietf.org/drafts/current/. 28 Internet-Drafts are draft documents valid for a maximum of six months 29 and may be updated, replaced, or obsoleted by other documents at any 30 time. It is inappropriate to use Internet-Drafts as reference 31 material or to cite them other than as "work in progress." 33 This Internet-Draft will expire on January 10, 2013. 35 Copyright Notice 37 Copyright (c) 2012 IETF Trust and the persons identified as the 38 document authors. All rights reserved. 40 This document is subject to BCP 78 and the IETF Trust's Legal 41 Provisions Relating to IETF Documents 42 (http://trustee.ietf.org/license-info) in effect on the date of 43 publication of this document. Please review these documents 44 carefully, as they describe your rights and restrictions with respect 45 to this document. Code Components extracted from this document must 46 include Simplified BSD License text as described in Section 4.e of 47 the Trust Legal Provisions and are provided without warranty as 48 described in the Simplified BSD License. 50 Table of Contents 52 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 53 2. Definition of Terms . . . . . . . . . . . . . . . . . . . . . 4 54 3. LISP Canonical Address Format Encodings . . . . . . . . . . . 5 55 4. LISP Canonical Address Applications . . . . . . . . . . . . . 7 56 4.1. Segmentation using LISP . . . . . . . . . . . . . . . . . 7 57 4.2. Carrying AS Numbers in the Mapping Database . . . . . . . 8 58 4.3. Convey Application Specific Data . . . . . . . . . . . . . 9 59 4.4. Assigning Geo Coordinates to Locator Addresses . . . . . . 10 60 4.5. Generic Database Mapping Lookups . . . . . . . . . . . . . 11 61 4.6. NAT Traversal Scenarios . . . . . . . . . . . . . . . . . 13 62 4.7. PETR Admission Control Functionality . . . . . . . . . . . 14 63 4.8. Multicast Group Membership Information . . . . . . . . . . 16 64 4.9. Traffic Engineering using Re-encapsulating Tunnels . . . . 17 65 4.10. Storing Security Data in the Mapping Database . . . . . . 19 66 4.11. Source/Destination 2-Tuple Lookups . . . . . . . . . . . . 20 67 4.12. Applications for AFI List Type . . . . . . . . . . . . . . 21 68 4.12.1. Binding IPv4 and IPv6 Addresses . . . . . . . . . . . 21 69 4.12.2. Layer-2 VPNs . . . . . . . . . . . . . . . . . . . . 22 70 4.12.3. ASCII Names in the Mapping Database . . . . . . . . . 22 71 4.12.4. Using Recursive LISP Canonical Address Encodings . . 23 72 4.12.5. Compatibility Mode Use Case . . . . . . . . . . . . . 24 73 5. Security Considerations . . . . . . . . . . . . . . . . . . . 25 74 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 26 75 7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 27 76 7.1. Normative References . . . . . . . . . . . . . . . . . . . 27 77 7.2. Informative References . . . . . . . . . . . . . . . . . . 27 78 Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . . 28 79 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 29 81 1. Introduction 83 The LISP architecture and protocols [LISP] introduces two new 84 numbering spaces, Endpoint Identifiers (EIDs) and Routing Locators 85 (RLOCs) which are intended to replace most use of IP addresses on the 86 Internet. To provide flexibility for current and future 87 applications, these values can be encoded in LISP control messages 88 using a general syntax that includes Address Family Identifier (AFI), 89 length, and value fields. 91 Currently defined AFIs include IPv4 and IPv6 addresses, which are 92 formatted according to code-points assigned in [AFI] as follows: 94 IPv4 Encoded Address: 96 0 1 2 3 97 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 98 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 99 | AFI = 1 | IPv4 Address ... | 100 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 101 | ... IPv4 Address | 102 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 104 IPv6 Encoded Address: 106 0 1 2 3 107 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 108 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 109 | AFI = 2 | IPv6 Address ... | 110 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 111 | ... IPv6 Address ... | 112 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 113 | ... IPv6 Address ... | 114 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 115 | ... IPv6 Address ... | 116 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 117 | ... IPv6 Address | 118 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 120 This document describes the currently-defined AFIs the LISP protocol 121 uses along with their encodings and introduces the LISP Canonical 122 Address Format (LCAF) that can be used to define the LISP-specific 123 encodings for arbitrary AFI values. 125 2. Definition of Terms 127 Address Family Identifier (AFI): a term used to describe an address 128 encoding in a packet. An address family currently defined for 129 IPv4 or IPv6 addresses. See [AFI] and [RFC1700] for details. The 130 reserved AFI value of 0 is used in this specification to indicate 131 an unspecified encoded address where the the length of the address 132 is 0 bytes following the 16-bit AFI value of 0. 134 Unspecified Address Format: 136 0 1 2 3 137 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 138 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 139 | AFI = 0 | | 140 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 142 Endpoint ID (EID): a 32-bit (for IPv4) or 128-bit (for IPv6) value 143 used in the source and destination address fields of the first 144 (most inner) LISP header of a packet. The host obtains a 145 destination EID the same way it obtains a destination address 146 today, for example through a DNS lookup or SIP exchange. The 147 source EID is obtained via existing mechanisms used to set a 148 host's "local" IP address. An EID is allocated to a host from an 149 EID-prefix block associated with the site where the host is 150 located. An EID can be used by a host to refer to other hosts. 152 Routing Locator (RLOC): the IPv4 or IPv6 address of an egress 153 tunnel router (ETR). It is the output of a EID-to-RLOC mapping 154 lookup. An EID maps to one or more RLOCs. Typically, RLOCs are 155 numbered from topologically aggregatable blocks that are assigned 156 to a site at each point to which it attaches to the global 157 Internet; where the topology is defined by the connectivity of 158 provider networks, RLOCs can be thought of as PA addresses. 159 Multiple RLOCs can be assigned to the same ETR device or to 160 multiple ETR devices at a site. 162 3. LISP Canonical Address Format Encodings 164 IANA has assigned AFI value 16387 (0x4003) to the LISP architecture 165 and protocols. This specification defines the encoding format of the 166 LISP Canonical Address (LCA). 168 The first 4 bytes of an LISP Canonical Address are followed by a 169 variable length of fields: 171 0 1 2 3 172 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 173 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 174 | AFI = 16387 | Rsvd1 | Flags | 175 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 176 | Type | Rsvd2 | Length | 177 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 179 Rsvd1: this 8-bit field is reserved for future use and MUST be 180 transmitted as 0 and ignored on receipt. 182 Flags: this 8-bit field is for future definition and use. For now, 183 set to zero on transmission and ignored on receipt. 185 Type: this 8-bit field is specific to the LISP Canonical Address 186 formatted encodings, values are: 188 Type 0: Null Body Type 190 Type 1: AFI List Type 192 Type 2: Instance ID Type 194 Type 3: AS Number Type 196 Type 4: Application Data Type 198 Type 5: Geo Coordinates Type 200 Type 6: Opaque Key Type 202 Type 7: NAT-Traversal Type 204 Type 8: Nonce Locator Type 206 Type 9: Multicast Info Type 207 Type 10: Explicit Locator Path Type 209 Type 11: Security Key Type 211 Type 12: Source/Dest Key Type 213 Rsvd2: this 8-bit field is reserved for future use and MUST be 214 transmitted as 0 and ignored on receipt. 216 Length: this 16-bit field is in units of bytes and covers all of the 217 LISP Canonical Address payload, starting and including the byte 218 after the Length field. So any LCAF encoded address will have a 219 minimum length of 8 bytes when the Length field is 0. The 8 bytes 220 include the AFI, Flags, Type, Reserved, and Length fields. When 221 the AFI is not next to encoded address in a control message, then 222 the encoded address will have a minimum length of 6 bytes when the 223 Length field is 0. The 6 bytes include the Flags, Type, Reserved, 224 and Length fields. 226 4. LISP Canonical Address Applications 228 4.1. Segmentation using LISP 230 When multiple organizations inside of a LISP site are using private 231 addresses [RFC1918] as EID-prefixes, their address spaces must remain 232 segregated due to possible address duplication. An Instance ID in 233 the address encoding can aid in making the entire AFI based address 234 unique. 236 Another use for the Instance ID LISP Canonical Address Format is when 237 creating multiple segmented VPNs inside of a LISP site where keeping 238 EID-prefix based subnets is desirable. 240 Instance ID LISP Canonical Address Format: 242 0 1 2 3 243 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 244 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 245 | AFI = 16387 | Rsvd1 | Flags | 246 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 247 | Type = 2 | IID mask-len | 4 + n | 248 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 249 | Instance ID | 250 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 251 | AFI = x | Address ... | 252 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 254 IID mask-len: if the AFI is set to 0, then this format is not 255 encoding an extended EID-prefix but rather an instance-ID range 256 where the 'IID mask-len' indicates the number of high-order bits 257 used in the Instance ID field for the range. 259 Length value n: length in bytes of the AFI address that follows the 260 Instance ID field including the AFI field itself. 262 Instance ID: the low-order 24-bits that can go into a LISP data 263 header when the I-bit is set. See [LISP] for details. 265 AFI = x: x can be any AFI value from [AFI]. 267 This LISP Canonical Address Type can be used to encode either EID or 268 RLOC addresses. 270 4.2. Carrying AS Numbers in the Mapping Database 272 When an AS number is stored in the LISP Mapping Database System for 273 either policy or documentation reasons, it can be encoded in a LISP 274 Canonical Address. 276 AS Number LISP Canonical Address Format: 278 0 1 2 3 279 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 280 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 281 | AFI = 16387 | Rsvd1 | Flags | 282 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 283 | Type = 3 | Rsvd2 | 4 + n | 284 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 285 | AS Number | 286 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 287 | AFI = x | Address ... | 288 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 290 Length value n: length in bytes of the AFI address that follows the 291 AS Number field including the AFI field itself. 293 AS Number: the 32-bit AS number of the autonomous system that has 294 been assigned either the EID or RLOC that follows. 296 AFI = x: x can be any AFI value from [AFI]. 298 The AS Number Canonical Address Type can be used to encode either EID 299 or RLOC addresses. The former is used to describe the LISP-ALT AS 300 number the EID-prefix for the site is being carried for. The latter 301 is used to describe the AS that is carrying RLOC based prefixes in 302 the underlying routing system. 304 4.3. Convey Application Specific Data 306 When a locator-set needs to be conveyed based on the type of 307 application or the Per-Hop Behavior (PHB) of a packet, the 308 Application Data Type can be used. 310 Application Data LISP Canonical Address Format: 312 0 1 2 3 313 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 314 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 315 | AFI = 16387 | Rsvd1 | Flags | 316 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 317 | Type = 4 | Rsvd2 | 8 + n | 318 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 319 | IP TOS, IPv6 TC, or Flow Label | Protocol | 320 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 321 | Local Port | Remote Port | 322 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 323 | AFI = x | Address ... | 324 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 326 Length value n: length in bytes of the AFI address that follows the 327 8-byte Application Data fields including the AFI field itself. 329 IP TOS, IPv6 TC, or Flow Label: this field stores the 8-bit IPv4 TOS 330 field used in an IPv4 header, the 8-bit IPv6 Traffic Class or Flow 331 Label used in an IPv6 header. 333 Local Port/Remote Port: these fields are from the TCP, UDP, or SCTP 334 transport header. 336 AFI = x: x can be any AFI value from [AFI]. 338 The Application Data Canonical Address Type is used for an EID 339 encoding when an ITR wants a locator-set for a specific application. 340 When used for an RLOC encoding, the ETR is supplying a locator-set 341 for each specific application is has been configured to advertise. 343 4.4. Assigning Geo Coordinates to Locator Addresses 345 If an ETR desires to send a Map-Reply describing the Geo Coordinates 346 for each locator in its locator-set, it can use the Geo Coordinate 347 Type to convey physical location information. 349 Geo Coordinate LISP Canonical Address Format: 351 0 1 2 3 352 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 353 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 354 | AFI = 16387 | Rsvd1 | Flags | 355 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 356 | Type = 5 | Rsvd2 | 12 + n | 357 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 358 |N| Latitude Degrees | Minutes | Seconds | 359 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 360 |E| Longitude Degrees | Minutes | Seconds | 361 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 362 | Altitude | 363 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 364 | AFI = x | Address ... | 365 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 367 Length value n: length in bytes of the AFI address that follows the 368 8-byte Longitude and Latitude fields including the AFI field 369 itself. 371 N: When set to 1 means North, otherwise South. 373 Latitude Degrees: Valid values range from 0 to 90. degrees above or 374 below the equator (northern or southern hemisphere, respectively). 376 Latitude Minutes: Valid values range from 0 to 59. 378 Latitude Seconds: Valid values range from 0 to 59. 380 E: When set to 1 means East, otherwise West. 382 Longitude Degrees: Value values are from 0 to 90 degrees right or 383 left of the Prime Meridian. 385 Longitude Minutes: Valid values range from 0 to 59. 387 Longitude Seconds: Valid values range from 0 to 59. 389 Altitude: Height relative to sea level in meters. This is a signed 390 integer meaning that the altitude could be below sea level. A 391 value of 0x7fffffff indicates no Altitude value is encoded. 393 AFI = x: x can be any AFI value from [AFI]. 395 The Geo Coordinates Canonical Address Type can be used to encode 396 either EID or RLOC addresses. When used for EID encodings, you can 397 determine the physical location of an EID along with the topological 398 location by observing the locator-set. 400 4.5. Generic Database Mapping Lookups 402 When the LISP Mapping Database system holds information accessed by a 403 generic formatted key (where the key is not the usual IPv4 or IPv6 404 address), an opaque key may be desirable. 406 Opaque Key LISP Canonical Address Format: 408 0 1 2 3 409 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 410 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 411 | AFI = 16387 | Rsvd1 | Flags | 412 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 413 | Type = 6 | Rsvd2 | n | 414 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 415 | Key Field Num | Key Wildcard Fields | Key . . . | 416 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 417 | . . . Key | 418 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 420 Length value n: length in bytes of the type's payload. The value n 421 is the number of bytes that follow this Length field. 423 Key Field Num: the number of fields (minus 1) the key can be broken 424 up into. The width of the fields are fixed length. So for a key 425 size of 8 bytes, with a Key Field Num of 4 allows 4 fields of 2 426 bytes in length. Valid values for this field range from 0 to 15 427 supporting a maximum of 16 field separations. 429 Key Wildcard Fields: describes which fields in the key are not used 430 as part of the key lookup. This wildcard encoding is a bitfield. 431 Each bit is a don't-care bit for a corresponding field in the key. 432 Bit 0 (the low-order bit) in this bitfield corresponds the first 433 field, right-justified in the key, bit 1 the second field, and so 434 on. When a bit is set in the bitfield it is a don't-care bit and 435 should not be considered as part of the database lookup. When the 436 entire 16-bits is set to 0, then all bits of the key are used for 437 the database lookup. 439 Key: the variable length key used to do a LISP Database Mapping 440 lookup. The length of the key is the value n (shown above) minus 441 3. 443 4.6. NAT Traversal Scenarios 445 When a LISP system is conveying global address and mapped port 446 information when traversing through a NAT device, the NAT-Traversal 447 LCAF Type is used. See [LISP-NATT] for details. 449 NAT-Traversal Canonical Address Format: 451 0 1 2 3 452 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 453 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 454 | AFI = 16387 | Rsvd1 | Flags | 455 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 456 | Type = 7 | Rsvd2 | 4 + n | 457 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 458 | MS UDP Port Number | ETR UDP Port Number | 459 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 460 | AFI = x | Global ETR RLOC Address ... | 461 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 462 | AFI = x | MS RLOC Address ... | 463 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 464 | AFI = x | Private ETR RLOC Address ... | 465 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 466 | AFI = x | RTR RLOC Address 1 ... | 467 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 468 | AFI = x | RTR RLOC Address k ... | 469 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 471 Length value n: length in bytes of the AFI addresses that follows 472 the UDP Port Number field including the AFI fields themselves. 474 MS UDP Port Number: this is the UDP port number of the Map-Server 475 and is set to 4342. 477 ETR UDP Port Number: this is the port number returned to a LISP 478 system which was copied from the source port from a packet that 479 has flowed through a NAT device. 481 AFI = x: x can be any AFI value from [AFI]. 483 Global ETR RLOC Address: this is an address known to be globally 484 unique built by NAT-traversal functionality in a LISP router. 486 MS RLOC Address: this is the address of the Map-Server used in the 487 destination RLOC of a packet that has flowed through a NAT device. 489 Private ETR RLOC Address: this is an address known to be a private 490 address inserted in this LCAF format by a LISP router that resides 491 on the private side of a NAT device. 493 RTR RLOC Address: this is an encapsulation address used by an ITR or 494 PITR which resides behind a NAT device. This address is known to 495 have state in a NAT device so packets can flow from it to the LISP 496 ETR behind the NAT. There can be one or more NTR addresses 497 supplied in these set of fields. The number of NTRs encoded is 498 determined by the LCAF length field. When there are no NTRs 499 supplied, the NTR fields can be omitted and reflected by the LCAF 500 length field or an AFI of 0 can be used to indicate zero NTRs 501 encoded. 503 4.7. PETR Admission Control Functionality 505 When a public PETR device wants to verify who is encapsulating to it, 506 it can check for a specific nonce value in the LISP encapsulated 507 packet. To convey the nonce to admitted ITRs or PITRs, this LCAF 508 format is used in a Map-Register or Map-Reply locator-record. 510 Nonce Locator Canonical Address Format: 512 0 1 2 3 513 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 514 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 515 | AFI = 16387 | Rsvd1 | Flags | 516 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 517 | Type = 8 | Rsvd2 | 4 + n | 518 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 519 | Reserved | Nonce | 520 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 521 | AFI = x | Address ... | 522 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 524 Length value n: length in bytes of the AFI address that follows the 525 Nonce field including the AFI field itself. 527 Reserved: must be set to zero and ignore on receipt. 529 Nonce: this is a nonce value returned by an ETR in a Map-Reply 530 locator-record to be used by an ITR or PITR when encapsulating to 531 the locator address encoded in the AFI field of this LCAF type. 533 AFI = x: x can be any AFI value from [AFI]. 535 4.8. Multicast Group Membership Information 537 Multicast group information can be published in the mapping database 538 so a lookup on an EID based group address can return a replication 539 list of group addresses or a unicast addresses for single replication 540 or multiple head-end replications. This LCAF encoding can be used to 541 send broadcast packets to all members of a subnet when each EIDs are 542 away from their home subnet location. 544 Multicast Info Canonical Address Format: 546 0 1 2 3 547 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 548 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 549 | AFI = 16387 | Rsvd1 | Flags | 550 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 551 | Type = 9 | Rsvd2 |R|L|J| 4 + n | 552 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 553 | Reserved | Source MaskLen| Group MaskLen | 554 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 555 | AFI = x | Source/Subnet Address ... | 556 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 557 | AFI = x | Group Address ... | 558 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 560 Length value n: length in bytes of fields that follow. 562 Reserved: must be set to zero and ignore on receipt. 564 R-bit: this is the RP-bit that represents PIM (S,G,RP-bit) multicast 565 state. This bit can be set for Joins (when the J-bit is set) or 566 for Leaves (when the L-bit is set). See [LISP-MRSIG] for more 567 usage details. 569 L-bit: this is the Leave-Request bit and is used when this LCAF type 570 is present in the destination EID-prefix field of a Map-Request. 571 See [LISP-MRSIG] for details. 573 J-bit: this is the Join-Request bit and is used when this LCAF type 574 is present in the destination EID-prefix field of a Map-Request. 575 See [LISP-MRSIG] for details. The J-bit MUST not be set when the 576 L-bit is also set in the same LCAF block. A receiver should not 577 take any specific Join or Leave action when both bits are set. 579 Source MaskLen: the mask length of the source prefix that follows. 581 Group MaskLen: the mask length of the group prefix that follows. 583 AFI = x: x can be any AFI value from [AFI]. When a specific AFI has 584 its own encoding of a multicast address, this field must be either 585 a group address or a broadcast address. 587 4.9. Traffic Engineering using Re-encapsulating Tunnels 589 For a given EID lookup into the mapping database, this LCAF format 590 can be returned to provide a list of locators in an explicit re- 591 encapsulation path. See [LISP-TE] for details. 593 Explicit Locator Path (ELP) Canonical Address Format: 595 0 1 2 3 596 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 597 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 598 | AFI = 16387 | Rsvd1 | Flags | 599 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 600 | Type = 10 | Rsvd2 | n | 601 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 602 | AFI = x | Rsvd3 |L|P|S| 603 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 604 | Reencap Hop 1 ... | 605 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 606 | AFI = x | Rsvd3 |L|P|S| 607 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 608 | Reencap Hop k ... | 609 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 611 Length value n: length in bytes of fields that follow. 613 AFI = x: x can be any AFI value from [AFI]. When a specific AFI has 614 its own encoding of a multicast address, this field must be either 615 a group address or a broadcast address. 617 Lookup bit (L): this is the Lookup bit used to indicate to the user 618 of the ELP to not use this address for encapsulation but to look 619 it up in the mapping database system to obtain an encapsulating 620 RLOC address. 622 RLOC-Probe bit (P): this is the RLOC-probe bit which means the 623 Reencap Hop allows RLOC-probe messages to be sent to it. When the 624 R-bit is set to 0, RLOC-probes must not be sent. When a Reencap 625 Hop is an anycast address then multiple physical Reencap Hops are 626 using the same RLOC address. In this case, RLOC-probes are not 627 needed because when the closest RLOC address is not reachable 628 another RLOC address can reachable. 630 Strict bit (S): this the strict bit which means the associated 631 Rencap Hop is required to be used. If this bit is 0, the 632 reencapsulator can skip this Reencap Hop and go to the next one in 633 the list. 635 4.10. Storing Security Data in the Mapping Database 637 When a locator in a locator-set has a security key associated with 638 it, this LCAF format will be used to encode key material. See 639 [LISP-DDT] for details. 641 Security Key Canonical Address Format: 643 0 1 2 3 644 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 645 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 646 | AFI = 16387 | Rsvd1 | Flags | 647 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 648 | Type = 11 | Rsvd2 | 6 + n | 649 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 650 | Key Count | Rsvd3 | Key Algorithm | Rsvd4 |R| 651 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 652 | Key Length | Key Material ... | 653 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 654 | ... Key Material | 655 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 656 | AFI = x | Locator Address ... | 657 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 659 Length value n: length in bytes of fields that start with the Key 660 Material field. 662 Key Count: the Key Count field declares the number of Key sections 663 included in this LCAF. 665 Key Algorithm: the Algorithm field identifies the key's 666 cryptographic algorithm and specifies the format of the Public Key 667 field. 669 R bit: this is the revoke bit and, if set, it specifies that this 670 Key is being Revoked. 672 Key Length: this field determines the length in bytes of the Key 673 Material field. 675 Key Material: the Key Material field stores the key material. The 676 format of the key material stored depends on the Key Algorithm 677 field. 679 AFI = x: x can be any AFI value from [AFI].This is the locator 680 address that owns the encoded security key. 682 4.11. Source/Destination 2-Tuple Lookups 684 When both a source and destination address of a flow needs 685 consideration for different locator-sets, this 2-tuple key is used in 686 EID fields in LISP control messages. When the Source/Dest key is 687 registered to the mapping database, it can be encoded as a source- 688 prefix and destination-prefix. When the Source/Dest is used as a key 689 for a mapping database lookup the source and destination come from a 690 data packet. 692 Source/Dest Key Canonical Address Format: 694 0 1 2 3 695 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 696 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 697 | AFI = 16387 | Rsvd1 | Flags | 698 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 699 | Type = 12 | Rsvd2 | 4 + n | 700 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 701 | Reserved | Source-ML | Dest-ML | 702 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 703 | AFI = x | Source-Prefix ... | 704 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 705 | AFI = x | Destination-Prefix ... | 706 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 708 Length value n: length in bytes of fields that follow. 710 Reserved: must be set to zero and ignore on receipt. 712 Source-ML: the mask length of the source prefix that follows. 714 Dest-ML: the mask length of the destination prefix that follows. 716 AFI = x: x can be any AFI value from [AFI]. When a specific AFI has 717 its own encoding of a multicast address, this field must be either 718 a group address or a broadcast address. 720 Refer to [LISP-TE] for usage details. 722 4.12. Applications for AFI List Type 724 4.12.1. Binding IPv4 and IPv6 Addresses 726 When header translation between IPv4 and IPv6 is desirable a LISP 727 Canonical Address can use the AFI List Type to carry multiple AFIs in 728 one LCA AFI. 730 Bounded Address LISP Canonical Address Format: 732 0 1 2 3 733 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 734 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 735 | AFI = 16387 | Rsvd1 | Flags | 736 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 737 | Type = 1 | Rsvd2 | 2 + 4 + 2 + 16 | 738 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 739 | AFI = 1 | IPv4 Address ... | 740 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 741 | ... IPv4 Address | AFI = 2 | 742 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 743 | IPv6 Address ... | 744 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 745 | ... IPv6 Address ... | 746 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 747 | ... IPv6 Address ... | 748 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 749 | ... IPv6 Address | 750 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 752 Length: length in bytes is fixed at 24 when IPv4 and IPv6 AFI 753 encoded addresses are used. 755 This type of address format can be included in a Map-Request when the 756 address is being used as an EID, but the Mapping Database System 757 lookup destination can use only the IPv4 address. This is so a 758 Mapping Database Service Transport System, such as LISP-ALT [ALT], 759 can use the Map-Request destination address to route the control 760 message to the desired LISP site. 762 4.12.2. Layer-2 VPNs 764 When MAC addresses are stored in the LISP Mapping Database System, 765 the AFI List Type can be used to carry AFI 6. 767 MAC Address LISP Canonical Address Format: 769 0 1 2 3 770 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 771 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 772 | AFI = 16387 | Rsvd1 | Flags | 773 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 774 | Type = 1 | Rsvd2 | 2 + 6 | 775 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 776 | AFI = 6 | Layer-2 MAC Address ... | 777 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 778 | ... Layer-2 MAC Address | 779 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 781 Length: length in bytes is fixed at 8 when MAC address AFI encoded 782 addresses are used. 784 This address format can be used to connect layer-2 domains together 785 using LISP over an IPv4 or IPv6 core network to create a layer-2 VPN. 786 In this use-case, a MAC address is being used as an EID, and the 787 locator-set that this EID maps to can be an IPv4 or IPv6 RLOCs, or 788 even another MAC address being used as an RLOC. 790 4.12.3. ASCII Names in the Mapping Database 792 If DNS names or URIs are stored in the LISP Mapping Database System, 793 the AFI List Type can be used to carry an ASCII string where it is 794 delimited by length 'n' of the LCAF Length encoding. 796 ASCII LISP Canonical Address Format: 798 0 1 2 3 799 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 800 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 801 | AFI = 16387 | Rsvd1 | Flags | 802 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 803 | Type = 1 | Rsvd2 | 2 + n | 804 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 805 | AFI = 17 | DNS Name or URI ... | 806 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 808 Length value n: length in bytes AFI=17 field and the null-terminated 809 ASCII string (the last byte of 0 is included). 811 4.12.4. Using Recursive LISP Canonical Address Encodings 813 When any combination of above is desirable, the AFI List Type value 814 can be used to carry within the LCA AFI another LCA AFI. 816 Recursive LISP Canonical Address Format: 818 0 1 2 3 819 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 820 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 821 | AFI = 16387 | Rsvd1 | Flags | 822 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 823 | Type = 1 | Rsvd2 | 4 + 8 + 2 + 4 | 824 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 825 | AFI = 16387 | Rsvd1 | Flags | 826 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 827 | Type = 4 | Rsvd2 | 12 | 828 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 829 | IP TOS, IPv6 QQS or Flow Label | Protocol | 830 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 831 | Local Port | Remote Port | 832 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 833 | AFI = 1 | IPv4 Address ... | 834 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 835 | ... IPv4 Address | 836 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 838 Length: length in bytes is fixed at 18 when an AFI=1 IPv4 address is 839 included. 841 This format could be used by a Mapping Database Transport System, 842 such as LISP-ALT [ALT], where the AFI=1 IPv4 address is used as an 843 EID and placed in the Map-Request destination address by the sending 844 LISP system. The ALT system can deliver the Map-Request to the LISP 845 destination site independent of the Application Data Type AFI payload 846 values. When this AFI is processed by the destination LISP site, it 847 can return different locator-sets based on the type of application or 848 level of service that is being requested. 850 4.12.5. Compatibility Mode Use Case 852 A LISP system should use the AFI List Type format when sending to 853 LISP systems that do not support a particular LCAF Type used to 854 encode locators. This allows the receiving system to be able to 855 parse a locator address for encapsulation purposes. The list of AFIs 856 in an AFI List LCAF Type has no semantic ordering and a receiver 857 should parse each AFI element no matter what the ordering. 859 Compatibility Mode Address Format: 861 0 1 2 3 862 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 863 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 864 | AFI = 16387 | Rsvd1 | Flags | 865 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 866 | Type = 1 | Rsvd2 | 22 + 6 | 867 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 868 | AFI = 16387 | Rsvd1 | Flags | 869 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 870 | Type = 5 | Rsvd2 | 12 + 2 | 871 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 872 |N| Latitude Degrees | Minutes | Seconds | 873 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 874 |E| Longitude Degrees | Minutes | Seconds | 875 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 876 | Altitude | 877 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 878 | AFI = 0 | AFI = 1 | 879 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 880 | IPv4 Address | 881 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 883 If a system does not recognized the Geo Coordinate LCAF Type that is 884 accompanying a locator address, an encoder can include the Geo 885 Coordinate LCAF Type embedded in a AFI List LCAF Type where the AFI 886 in the Geo Coordinate LCAF is set to 0 and the AFI encoded next in 887 the list is encoded with a valid AFI value to identify the locator 888 address. 890 A LISP system is required to support the AFI List LCAF Type to use 891 this procedure. It would skip over 10 bytes of the Geo Coordinate 892 LCAF Type to get to the locator address encoding (an IPv4 locator 893 address). A LISP system that does support the Geo Coordinate LCAF 894 Type can support parsing the locator address within the Geo 895 Coordinate LCAF encoding or in the locator encoding that follows in 896 the AFI List LCAF. 898 5. Security Considerations 900 There are no security considerations for this specification. The 901 security considerations are documented for the protocols that use 902 LISP Canonical Addressing. Refer to the those relevant 903 specifications. 905 6. IANA Considerations 907 The Address Family AFI definitions from [AFI] only allocate code- 908 points for the AFI value itself. The length of the address or entity 909 that follows is not defined and is implied based on conventional 910 experience. Where the LISP protocol uses LISP Canonical Addresses 911 specifically, the address length definitions will be in this 912 specification and take precedent over any other specification. 914 An IANA Registry for LCAF Type values will be created. The values 915 that are considered for use by the main LISP specification [LISP] 916 will be in the IANA Registry. Other Type values used for 917 experimentation will be defined and described in this document. 919 7. References 921 7.1. Normative References 923 [RFC1700] Reynolds, J. and J. Postel, "Assigned Numbers", RFC 1700, 924 October 1994. 926 [RFC1918] Rekhter, Y., Moskowitz, R., Karrenberg, D., Groot, G., and 927 E. Lear, "Address Allocation for Private Internets", 928 BCP 5, RFC 1918, February 1996. 930 7.2. Informative References 932 [AFI] IANA, "Address Family Identifier (AFIs)", ADDRESS FAMILY 933 NUMBERS http://www.iana.org/numbers.html, Febuary 2007. 935 [ALT] Fuller, V., Farinacci, D., Meyer, D., and D. Lewis, "LISP 936 Alternative Topology (LISP+ALT)", 937 draft-ietf-lisp-alt-06.txt (work in progress), March 2011. 939 [LISP] Farinacci, D., Fuller, V., Meyer, D., and D. Lewis, 940 "Locator/ID Separation Protocol (LISP)", 941 draft-ietf-lisp-12.txt (work in progress), April 2011. 943 [LISP-DDT] 944 Fuller, V., Lewis, D., and V. Ermagan, "LISP Delegated 945 Database Tree", draft-fuller-lisp-ddt-01.txt (work in 946 progress). 948 [LISP-MRSIG] 949 Farinacci, D. and M. Napierala, "LISP Control-Plane 950 Multicast Signaling", 951 draft-farinacci-lisp-mr-signaling-00.txt (work in 952 progress). 954 [LISP-NATT] 955 Ermagan, V., Farinacci, D., Lewis, D., Skriver, J., Maino, 956 F., and C. White, "NAT traversal for LISP", 957 draft-ermagan-lisp-nat-traversal-00.txt (work in 958 progress). 960 [LISP-TE] Farinacci, D., Lahiri, P., and M. Kowal, "LISP Traffic 961 Engineering Use-Cases", draft-farinacci-lisp-te-01.txt 962 (work in progress). 964 Appendix A. Acknowledgments 966 The authors would like to thank Vince Fuller, Gregg Schudel, Jesper 967 Skriver, Luigi Iannone, and Isidor Kouvelas for their technical and 968 editorial commentary. 970 The authors would like to thank Victor Moreno for discussions that 971 lead to the definition of the Multicast Info LCAF type. 973 The authors would like to thank Parantap Lahiri and Michael Kowal for 974 discussions that lead to the definition of the Explicit Locator Path 975 (ELP) LCAF type. 977 The authors would like to thank Fabio Maino and Vina Ermagan for 978 discussions that lead to the definition of the Security Key LCAF 979 type. 981 Thanks also goes to Terry Manderson for assistance obtaining a LISP 982 AFI value from IANA. 984 Authors' Addresses 986 Dino Farinacci 987 cisco Systems 988 Tasman Drive 989 San Jose, CA 95134 990 USA 992 Email: dino@cisco.com 994 Dave Meyer 995 cisco Systems 996 170 Tasman Drive 997 San Jose, CA 998 USA 1000 Email: dmm@cisco.com 1002 Job Snijders 1003 InTouch N.V. 1004 Middenweg 76 1005 1097 BS Amsterdam 1006 The Netherlands 1008 Email: job@instituut.net