<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="rfc7991bis.rnc"?>

<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>

<rfc
  xmlns:xi="http://www.w3.org/2001/XInclude"
  category="std"
  consensus="true"
  docName="draft-kristoff-v6ops-asn-based-addressing-00"
  ipr="trust200902"
  obsoletes=""
  updates=""
  submissionType="IETF"
  xml:lang="en"
  version="3">

  <front>
    <title abbrev="ASN Prefix-based Addressing for IPv6">ASN Prefix-based Addressing for IPv6</title>
    <seriesInfo name="Internet-Draft" value="draft-kristoff-v6ops-asn-based-addressing-00"/>
    <author fullname="John Kristoff" initials="J" surname="Kristoff">
      
      <organization>Dataplane.org</organization>
      <address>
        <postal>
          <city>Chicago</city>
          <region>IL</region>
          <code>60605</code>
          <country>United States of America</country>
        </postal>        
        <phone>+1 312 493-0305</phone>
        <email>jtk@dataplane.org</email>  
        <uri>https://dataplane.org/jtk/</uri>
      </address>
    </author>
   
    <date year="2025"/>

    <area>Operations and Management</area>
    <workgroup>Internet Engineering Task Force</workgroup>
    
    <keyword>IPv6</keyword>
    <keyword>ASN</keyword>
    <keyword>addressing</keyword>

    <abstract>
      <t>This document describes a method and policy for ASN prefix-based addressing for IPv6.</t>
    </abstract>
 
  </front>

  <middle>
    
    <section>
      <name>Introduction</name>

      <t>This document defines an address allocation system (called "APbA")  whereby an Autonomous System (AS) number is embedded as sub-prefix bits of an IPv6 address, resulting in approximately 1.1 quintillion addresses per AS.  Advantages of this mechanism include the ability to get allocate AS-specific and unique address space without an allocation protocol or registration process.  This system also makes it easy to determine an association between AS and address, which is useful for debugging and auditing purposes.</t>
 
      <t>This mechanism draws inspiration from <xref target="RFC3180"></xref>.  Unlike that earlier specification however, this system applies specifically to unicast addressing, supports 32-bit ASNs, and provides significantly more addresses per AS.  Some administrative challenges identified by <xref target="RFC6034"></xref> remain and questions about the integration into modern technology such as <xref target="RFC6482"></xref> are addressed later in this document.</t>

      <section anchor="requirements">
          <name>Requirements Language</name>
          <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
            "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT
            RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
            interpreted as described in BCP 14 <xref target="RFC2119"/>
            <xref target="RFC8174"/> when, and only when, they appear in
            all capitals, as shown here.</t>
      </section>

    </section>
   
    <section>
      <name>Address Space</name>

      <t>An IPv6 address with the prefix [IANA-assigned 16-bit prefix] indicates that the adress is a APbA address.  The embedded AS follows as a sub-prefix.  A 16-bit AS is left-padded with 0s.  The remaining 96-bit suffix bits are locally significant and defined by the corresponding AS.</t>

      <figure>
        <name>APbA address format</name>
        <artset>
          <artwork type="ascii-art" name="APbA.txt">
            <![CDATA[
Bits:  | 0 thru 15  |     16 thru 31    |    32 thru 127   |
       +------+---------------+-------------------+--------+
Value: |    [TBD]   | 16 or 32 bit ASN  | Locally Assigned |
       +------+---------------+-------------------+--------+
            ]]>
          </artwork>
        </artset>      
      </figure>

    </section>
    
      <section>
        <name>Example</name>
        <t>Consider, for example AS 64496.  Written in hex, we get an IPv6 prefix of 3fff:0:fbf0::/32.</t>
      </section>

    <section>
      <name>Private, Reserved, Special Use, and Unallocated ASNs</name>

      <t>AS numbers may be reserved for private or special use.  They may also be unallocated.  These AS designations MUST be maintained when mapped to APbA addresses, which may render these addresses unavailable or inappropriate for public use.</t>
    </section>

    <section>
      <name>Registry Considerations</name>
      <t>Internet registries SHOULD provide service functions and support for APdA addresses.</t>
    </section>
    
    <section anchor="IANA">
      <name>IANA Considerations</name>
      <t>This memo requests a 16-bit IPv6 address prefix assignment from IANA.</t>
    </section>
    
    <section anchor="Security">
      <name>Security Considerations</name>
      <t>APdA addresses SHOULD have corresponding ROAs <xref target="RFC6482"></xref> if externally and publicly routed on the Internet.  Network operators MAY reject APdA route announcments otherwise.</t>
    </section>
    
  </middle>

  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <!-- The recommended and simplest way to include a well known reference -->
        
      </references>
 
      <references>
        <name>Informative References</name>

        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3180.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6034.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6482.xml"/>
       
      </references>
    </references>
    
    <section anchor="Acknowledgements" numbered="false">
      <name>Acknowledgements</name>
      <t>The following individuals provided an array of feedback to help improve this document: Roland Dobbins.  Any remaining errors or imperfections are the sole responsbility of the document authors.</t>
    </section>
    
 </back>
</rfc>
