RFC 7300
Reservation of Last Autonomous System (AS) Numbers
Reservation of Last Autonomous System (AS) Numbers π
Quick facts:
- RFC: 7300
- BCP: 6
- Category: Best Current Practice
- Date: July 2014
- ISSN: 2070-1721
- Updates: RFC 1930 (Section 10 of it)
- Obsoletes: nothing! π ββοΈ
- Authors: J. Haas (Juniper Networks) and J. Mitchell (Microsoft Corporation)
- Publisher: Internet Engineering Task Force (IETF) π
Abstract
okay so this doc reserves two ASNs at the very end of the 16-bit and 32-bit ranges. it calls them "Last ASNs" π¦ and gives implementers and operators the tea on how to handle them. it also updates Section 10 of RFC 1930.
Status of This Memo
this is a Best Current Practice (a BCP) from the Internet Community π
it's an IETF product, and the IESG (Internet Engineering Steering Group) approved it for publication. if you want more BCP info, check Section 2 of RFC 5741.
for the current status, errata, or to send feedback, go to http://www.rfc-editor.org/info/rfc7300 π§
Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the document authors. All rights reserved. π
this doc is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) as of the publication date. please read these carefully, bestie, because they explain what you can and can't do with it. π
if you pull Code Components out of this doc, they have to include the Simplified BSD License text (as described in Section 4.e of the Trust Legal Provisions), and they come with no warranty as described in that license. π₯
1. Introduction β¨
okay the backstory is kinda iconic. over a decade ago, IANA reserved the last ASN in the 16-bit range, 65535, so network operators running BGP [RFC4271] wouldn't use it. then, once [RFC6793] came out with "BGP Support for Four-Octet Autonomous System (AS) Number Space", IANA reserved the last ASN in the 32-bit range too, 4294967295. π
that reservation is written down in the IANA "Autonomous System (AS) Numbers" registry [IANA.AS]. these "Last ASNs" are kinda close to the Private Use ASN [RFC6996] ranges, but [IANA.AS] doesn't define or reserve them as Private Use ASNs, so they're their own thing. π
this doc explains why the Last ASNs got reserved and gives guidance to both operators and implementers on using them. main character energy π
2. Requirements Language π
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 [RFC2119]. this is the rule book for all the caps-lock words in here π
3. Reasons for Reservation of the Last ASNs π¦
so, a bunch of BGP communities under ASN 65535 (the last one in the 16-bit range) are set aside for Well-known Communities, as described in [RFC1997] and [IANA.WK]. πΈ
it's not like that for ASN 4294967295 right now. BUT if someday there's a need for another Special Use ASN that isn't meant to be globally routable (or for its BGP communities), 4294967295 could be a solid candidate. this doc doesn't assign any special use to it at publication time, though. β¨
4. Operational Considerations π
the big rule: operators SHOULD NOT use these Last ASNs for any other purpose or as Private Use ASNs. using them could cause some seriously undesirable results. π
like, if you treat AS 65535 as if it's a Private Use ASN, you might accidentally use BGP Well-known Community values [IANA.WK], and that can cause undesirable routing behavior. not a vibe π
and the other big rule is that Last ASNs MUST NOT be advertised to the global Internet in AS_PATH or AS4_PATH attributes. operators SHOULD filter Last ASNs out of the AS_PATH and AS4_PATH attributes. π₯
Last ASNs must never leak into the global AS_PATH or AS4_PATH. filter them out, bestie. π«
5. Implementation Considerations π§
okay so even though Last ASNs are reserved, they're still valid ASNs from a BGP point of view. π«Ά that means implementations of BGP [RFC4271] SHOULD NOT treat using a Last ASN as any kind of protocol error.
BUT! if a Last ASN gets configured as the local AS, implementations MAY generate a warning message saying it's an improper use of a reserved ASN. π
also, tools that filter Private Use ASNs out of the AS_PATH and AS4_PATH attributes MAY include Last ASNs in that filtering too. β¨
6. IANA Considerations π
IANA has reserved the last Autonomous System number, 65535, from the "16-bit Autonomous System Numbers" registry for the reasons explained in this doc. π
IANA has also reserved the last Autonomous System number, 4294967295, from the "32-bit Autonomous System Numbers" registry, for the same reasons. π
both reservations are documented in the IANA "Autonomous System (AS) Numbers" registry [IANA.AS] and the IANA "Special-Purpose Autonomous System (AS) Numbers" registry [IANA.SpecialAS]. π
7. Security Considerations π₯
this doc doesn't add any new security concerns when it comes to using Last ASNs. π BUT, and this is a big but, BGP is designed to allow Last ASN usage, and security issues from BGP implementation errors could get triggered by using them. so watch out for those bugs, okay?? ππ
8. References π
8.1. Normative References
- [IANA.AS] IANA, "Autonomous System (AS) Numbers",
http://www.iana.org/assignments/as-numbers/. - [IANA.SpecialAS] IANA, "Special-Purpose Autonomous System (AS) Numbers",
http://www.iana.org/assignments/iana-as-numbers-special-registry/. - [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
- [RFC4271] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, January 2006.
- [RFC6793] Vohra, Q. and E. Chen, "BGP Support for Four-Octet Autonomous System (AS) Number Space", RFC 6793, December 2012.
8.2. Informative References
- [IANA.WK] IANA, "Border Gateway Protocol (BGP) Well-known Communities",
http://www.iana.org/assignments/bgp-well-known-communities/. - [RFC1997] Chandrasekeran, R., Traina, P., and T. Li, "BGP Communities Attribute", RFC 1997, August 1996.
- [RFC6996] Mitchell, J., "Autonomous System (AS) Reservation for Private Use", BCP 6, RFC 6996, July 2013.
Appendix A. Acknowledgments π«Ά
the authors want to thank Michelle Cotton and Elwyn Davies for encouraging the proper documentation of these ASN reservations, and David Farmer for his contributions to the doc. the real MVPs π
Authors' Addresses π¦
Jeffrey Haas Juniper Networks EMail: jhaas@juniper.net
Jon Mitchell Microsoft Corporation One Microsoft Way Redmond, WA 98052 USA EMail: Jon.Mitchell@microsoft.com
π¦ where this page comes from
- ietf: rfc7300 2014-07
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms