Reservation of Last Autonomous System (AS) Numbers
Juniper Networks
jhaas@juniper.net
Microsoft Corporation
One Microsoft Way
Redmond
WA
98052
USA
Jon.Mitchell@microsoft.com
Routing
IDR
Internet Draft
This document reserves two Autonomous System numbers (ASNs) at the end of the 16 bit and 32 bit ranges, described in this document as "Last ASNs" and provides guidance to implementers and operators on their use.
IANA has reserved the last Autonomous System Number (ASN), 65535, of the 16 bit autonomous system number range for over a decade with the intention that it not be used by network operators running BGP . Since the introduction of BGP Support for Four-Octet AS Number Space , IANA has also reserved the ASN of the 32 bit autonomous system number range, 4294967295. This reservation has been documented in the IANA Autonomous System Numbers Registry . Although these "Last ASNs" border on Private Use ASN ranges, they are not defined as Private Use ASNs by . This document describes the reasoning for reserving these Last ASNs and provides guidance both to operators and to implementers on their use.
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 RFC 2119.
The primary reason for reserving the Last ASN of both the 16 bit and 32 bit ASN ranges is that these numbers are also at the end of typical computational data structures holding the underlying number. Programmatic errors are more common when handling of end of range values, and sometimes last values (binary all ones) have been used as "magic numbers", to represent a different number or behavior.
Secondly, a subset of the standard BGP communities of the last ASN of the 16 bit range, 65535, are reserved for use by Well-known communities as described in and . Although this not currently true of ASN 4294967295, if there is a future need for a Special Use ASN that is not designed to be globally routable, or the associated BGP attributes (such as communities) of such an ASN, this could be a valid candidate for such purpose. This document does not prescribe any such purpose to this ASN.
Operators MUST NOT use these Last ASNs as if they are Private Use ASNs, and SHOULD NOT use these Last ASNs for any other purpose, except a Special Uses defined elsewhere. Any other operational use of these Last ASNs could have unpredictable or undesirable results. For example; use of AS 65535 as if it were a Private Use ASN, may result in inadvertent use of BGP Well-known community values , causing undesired routing behavior.
Operators that choose to filter Private Use ASNs within the AS_PATH and AS4_PATH attributes SHOULD also filter these Last ASNs. These last ASNs MUST NOT be advertised to the global Internet within AS_PATH or AS4_PATH attributes.
While these Last ASNs are reserved, they remain valid ASNs from a protocol perspective. Therefore, implementations of BGP SHOULD NOT treat the use of these Last ASNs as any type of protocol error. However, implementations MAY generate a local warning message indicating probable improper use of a reserved ASN.
Implementations that provide tools that filter Private Use ASNs within the AS_PATH and AS4_PATH attributes MAY also include these Last ASNs.
IANA has reserved last Autonomous System number 65535 from the "16-bit Autonomous System Numbers" registry for the reasons described in this document.
IANA has also reserved last Autonomous System number 4294967295 from the "32-bit Autonomous System Numbers" registry for the reasons described in this document.
This reservation has been documented in the IANA Autonomous System Numbers Registry .
This document does not introduce any additional security concerns in regards to usage of Last ASNs. Although the BGP protocol is designed to allow usage of these Last ASNs, security issues related to BGP implementation errors could be triggered by Last ASN usage.
Autonomous System (AS) Numbers
Border Gateway Protocol (BGP) Well-known Communities
The authors would like to thank Michelle Cotton and Elwyn Davis for encouraging the proper documentation of the reservation of these ASNs. The authors would also like to thank David Farmer for his contributions to the document.