<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
	<!ENTITY rfc2119 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
	<!ENTITY rfc2865 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2865.xml'>
	<!ENTITY rfc4291 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4291.xml'>
	<!ENTITY rfc2472 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2472.xml'>
	<!ENTITY rfc2866 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2866.xml'>
	<!ENTITY rfc2867 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2868.xml'>
	<!ENTITY rfc2868 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2867.xml'>
	<!ENTITY rfc2869 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2869.xml'>
	<!ENTITY rfc2460 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2460.xml'>
	<!ENTITY rfc3056 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.3056.xml'>
	<!ENTITY rfc5072 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5072.xml'>
	<!ENTITY rfc5172 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5172.xml'>
	<!ENTITY rfc5226 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5226.xml'>
	<!ENTITY rfc4213 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4213.xml'>
	<!ENTITY rfc2529 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2529.xml'>
	<!ENTITY rfc3162 PUBLIC ''
		'http://xml.resource.org/public/rfc/bibxml/reference.RFC.3162.xml'>
]>

<?rfc toc="yes" ?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no" ?>
<?rfc strict="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="compact" ?>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<rfc category="std"  ipr="pre5378Trust200902" docName="draft-lourdelet-radext-ipv6-access-00.txt">
<front>
  <title abbrev="RADIUS IPv6 Access">
     RADIUS attributes for IPv6 Access Networks
  </title>

 <author fullname="Benoit Lourdelet" initials="B.L." surname="Lourdelet">
    <organization>Cisco Systems, Inc.</organization>
    <address>
      <postal>
        <street>Village ent. GreenSide, Bat T3,</street>
        <street>400, Av de Roumanille,</street>
        <city>06410 BIOT - Sophia-Antipolis Cedex</city>
        <country>France</country>
      </postal>
      <phone>+33 4 97 23 26 23</phone>
      <email>blourdel@cisco.com</email>
    </address>
  </author>


 <author fullname="Wojciech Dec" initials="W.D." surname="Dec">
    <organization>Cisco Systems, Inc.</organization>
    <address>
      <postal>
        <street>Haarlerbergweg 13-19</street>
        <street>400, Av de Roumanille,</street>
        <city>Amsterdam , NOORD-HOLLAND 1101 CH </city>
        <country>Netherlands</country>
      </postal>
      <phone>+31 20 357 3034 </phone>
      <email>wdec@cisco.com</email>
    </address>
  </author>

  <author fullname="Glen Zorn" initials="G.Z." surname="Zorn">
    <organization>Network Zen</organization>
    <address>
      <postal>
        <street>1310 East Thomas Street</street>
        <city>Seattle</city>
        <region>WA</region>
        <country>US</country>
      </postal>
      <email>gwz@net-zen.net</email>
    </address>
  </author>

	<date year="2009"/>

<abstract>
	<t> 
	  This document specifies new IPv6 attributes for RADIUS that complement [RFC3162].
	Its goal is to offer more IPv6 deployment options when StateLess Address Auto Configuration (SLAAC) or DHCP are involved.
	</t>
</abstract>
</front>

<middle>

<section title="Requirements Language">

<t> 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 <xref target="RFC2119"/>. </t>

</section>


<section title="Introduction">

<t>This document specifies new IPv6 RADIUS attributes used to support IPv6  network access.
As IPv6 specifies two configuration mechanisms (DHCP and SLAAC), the new attributes are targeted at both protocols
 when it makes sense.</t>

</section>


<section title="Attributes">

<t>As usual, the fields shown in the diagrams below are transmitted from left to right.
</t>



<section title="IPv6-Address Attribute">


<t>This Attribute indicates an IPv6 Address that is assigned to the uplink 
      of the user equipment.
      It MAY be used in Access-Accept packets, and can appear multiple times.
      It MAY be used in an Access-Request packet as a hint by the NAS to the server that it
      would prefer these IPv6 address(es), but the server is not required to
      honor the hint.  Since it is assumed that the NAS, when necessary will add a
      route corresponding to the address, it is not necessary for the
      server to also send a host Framed-IPv6-Route attribute for the same
      address.
</t>
<t>This Attribute can be used by DHCPv6 to offer a unique IPv6 address or can be used for a-posteriori validation
of an autoconfigured address.
</t>
  
<t>A summary of the IPv6-Address Attribute format is shown below.

<figure>
<artwork>
       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      |     Length    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      |                            Address                            |
      |                                                               |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

</artwork>
</figure>
	  
	<list style="hanging">
	<t hangText="Type">
	<vspace blankLines="1"/>
	TBA1 for IPv6-Address
	</t>

	<t hangText="Length">
	<vspace blankLines="1"/>
	18
	</t>

	<t hangText="Address">
	<vspace blankLines="1"/>
	The Address field contains a 128-bit IPv6 address.
	</t>
	</list>
	</t>
</section>

<section title="IPv6-DNS-Server-Address"> 

<t>  The IPv6-DNS-Server-Address Attribute contains the IPv6 address of a DNS server.
      This attribute MAY be included multiple times in 
      Access-Accept.</t>

<t>  The contnet of this attribute can be inserted in a Router Advertisemnt as specified in RFc5006 
	or mapped to the matching DHCPv6 option.</t>

<t>A summary of the IPv6-DNS-Server-Address Attribute format is given
   below.

<figure>
<artwork>
       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      |     Length    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      |                            Address                            |
      |                                                               |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

</artwork>
</figure>
<list style="hanging">
	<t hangText="Type">
	<vspace blankLines="1"/>
	TBA2  for IPv6-DNS-Server-Address
	</t>
	
	<t hangText="Length">
	<vspace blankLines="1"/>
	18
	</t>
	
	<t hangText="Address">
	<vspace blankLines="1"/>
	The 128-bit IPv6 address of a DNS server.
	</t>
</list>
</t>

</section>

<section title="IPv6-Prefix-Information"> 

<t>  This Attribute provides more specific prefix information to be advertised 
   to the user by the NAS, with the NAS interface as the intended next-hop.
   It is used in the Access-Accept packet and can appear multiple times.
</t>

<t>A summary of the IPv6-Prefix-Information Attribute format is shown below.
   


<figure>
<artwork>
       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      |    Length     |   Reserved    | Prefix-Length |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      .                        Prefix (variable)                      .
      .                                                               .
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

</artwork>
</figure>
<list style="hanging">
	<t hangText="Type">
	<vspace blankLines="1"/>
	TBA3  for IPv6-Prefix-Information
	</t>
	
	<t hangText="Length">
	<vspace blankLines="1"/>
	At least 4 and no larger than 20; typically 12 or less.
	</t>
	
	<t hangText="Prefix Length">
	<vspace blankLines="1"/>
	The length of the prefix, in bits; at least 0 and no more than
     128; typically 64 or less.


	</t>

	<t hangText="Prefix">
	<vspace blankLines="1"/>
	Variable-length field containing an IP address or a
      prefix of an IP address.  The Prefix Length field
      contains the number of valid leading bits in the prefix.
      The bits in the prefix after the prefix length (if any)
      are reserved and MUST be initialized to zero by the
      sender and ignored by the receiver.

	</t>
</list>
</t>


</section>



<section title="Table of attributes"> 

<t> The following table provides a guide to which attributes may be found
   in which kinds of packets, and in what quantity.</t>

<figure><artwork align="left"><![CDATA[
Request Accept Reject Challenge Accounting  #  Attribute
                                   Request 
0+      0+     0      0         0+        TBA1  IPv6-Address
0+      0+     0      0         0+        TBA2  IPv6-DNS-Server-Address
0       0+     0      0         0+        TBA3  IPv6-Prefix-Information
]]></artwork></figure> 


</section>

</section>

	<section title="Diameter Considerations">
		<t>
			Since the Attributes defined in this document are allocated from the standard RADIUS type space (see <xref target="IANA"/>), 
			no special handling is required by Diameter entities.
		</t>	
	</section>
	
<section title="Security Considerations">

<t>
TBD
</t>
</section>


<section anchor="IANA" title="IANA Considerations">

<t>  This document requires the assignment of three new RADIUS Attribute
Types in the "Radius Types" registry (currently located at
  http://www.iana.org/assignments/radius-types  for the following attributes:

	<list style="symbols">
		<t>
			IPv6-Address
		</t>
		<t>
			IPv6-DNS-Server-Address
		</t>

		<t>
			IPv6-Prefix-Information
		</t>	
	</list>

IANA should allocate these numbers from the standard RADIUS Attributes space using the "IETF Review" policy <xref target="RFC5226"/>. 
</t>
</section>

<section title="Acknowledgements">

   <t>The authors would like to thank Alfred HÎnes and TBD for their contributions and comments to
   this document.</t>

</section>

</middle>

<back>

<references title='Normative References'>
	&rfc2865;
</references>   

<references title='Informative References'>
	&rfc2472;
	&rfc4291;
	&rfc4213;
	&rfc2529;
	&rfc3056;
	&rfc2119;
	&rfc2866;
	&rfc2867;
	&rfc2868;
	&rfc2869;
	&rfc2460;
	&rfc5072;
	&rfc5172;
	&rfc5226;
	&rfc3162;
</references>

</back>

</rfc>
