RFC 4580
Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Relay Agent Subscriber-ID Option
Network Working Group Request for Comments 4580 π
Written by: Bernard Volz, Cisco Systems, Inc. Category: Standards Track π Date: June 2006 πΈ
Bestie, this one is all about a brand-new Relay Agent Subscriber-ID option for DHCPv6 (the protocol that hands IPv6 addresses and config to clients) β¨
Status of This Memo π§
This document is an Internet standards track protocol for the Internet community, and it's asking for discussion and suggestions for improvements. For the standardization state and status of this protocol, check the current edition of the "Internet Official Protocol Standards" (STD 1). Distribution of this memo is unlimited π
Copyright Notice π
Copyright (C) The Internet Society (2006).
Abstract π¦
This memo defines a new Relay Agent Subscriber-ID option for DHCPv6. The option lets a DHCPv6 relay agent attach a stable "Subscriber-ID" to client messages, and it's independent of both the client and the physical network infrastructure underneath. It's giving stable and independent, iykyk π«Ά
Table of Contents π
1. Introduction ....................................................2
2. The Relay Agent Subscriber-ID Option ............................2
3. DHCPv6 Relay Agent Behavior .....................................3
4. DHCPv6 Server Behavior ..........................................3
5. Security Considerations .........................................4
6. IANA Considerations .............................................4
7. Acknowledgements ................................................4
8. References ......................................................4
8.1. Normative References .......................................4
8.2. Informative References .....................................4
1. Introduction πΈ
Okay so DHCPv6 [1] gives IP addresses and config info to IPv6 clients π§ It has a relay agent capability, where processes inside the network infrastructure catch multicast messages from clients and relay them over to DHCPv6 servers. In some network environments, it's really useful for the relay agent to add info to the DHCPv6 message before it gets relayed. Main character energy for the relay agent π
The info relay agents supply can also help the server decide which addresses, delegated prefixes [2], and config parameters the client gets. Slay π
In a lot of service-provider environments, people think it's a good idea to attach some provider-specific info to a client's DHCPv6 messages. That info should be independent of the physical network setup, and the relay agent learned it some other way, which is outside the scope of this memo π¦
2. The Relay Agent Subscriber-ID Option π
In complex service-provider environments, there's a real need to connect a customer's DHCPv6 config with the customer's administrative info. The Relay Agent Subscriber-ID option carries a value that can be independent of the physical network the subscriber connects through π«Ά This value complements the network-based info, and it might totally be used alongside it β¨ The "subscriber-id" the provider assigns is meant to stay stable as customers connect through different paths and as the network changes π₯
The subscriber-id lets the service provider switch on subscriber-specific actions. Think assigning specific IP addresses, prefixes, or DNS config, triggering accounting, and so on π Because this option is decoupled from the access network's physical structure, a subscriber who moves from one access point to another, for example, wouldn't need reconfiguration at the provider's DHCPv6 servers. Literally seamless π§
The subscriber-id info is only meant for use within a single administrative domain, and it's only exchanged between the relay agents and DHCPv6 servers in that domain π So the format and encoding of the data in the option is not standardized, and this spec doesn't set any semantic requirements on the data. This spec only defines the option for carrying this info from relay agents to DHCPv6 servers π
Now here's the plot twist. The DHCPv4 Subscriber-ID suboption [3] specifies that its data is encoded in Network Virtual Terminal (NVT) American Standard Code for Information Interchange (ASCII) [4]. So in environments where both DHCPv4 [5] and DHCPv6 are in use, it may be beneficial to use that same encoding π
The format of the DHCPv6 Relay Agent Subscriber-ID option looks like this:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_SUBSCRIBER_ID | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. subscriber-id .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Here's what each field means π
option-code:OPTION_SUBSCRIBER_ID (38)option-len: the length, in octets, of the subscriber-id field. The minimum length is 1 octet.subscriber-id: the subscriber's identity.
3. DHCPv6 Relay Agent Behavior π¦
DHCPv6 relay agents may be configured to include a Subscriber-ID option in relayed (RELAY-FORW) DHCPv6 messages. How the subscriber-id gets assigned, and the mechanisms used to configure it, are outside the scope of this memo π«Ά
4. DHCPv6 Server Behavior π₯
This option gives the DHCPv6 server extra info π The server can use it, if it's available, alongside other relay agent option data, other options in the DHCPv6 client messages, and physical network topology info. It can use all of that to assign IP addresses, delegate prefixes, and/or set other config parameters for the client. There's no special extra processing for this option π
There's no requirement that a server return this option and its data in a RELAY-REPLY message π
5. Security Considerations π
Since the subscriber-id option is only exchanged between relay agents and DHCPv6 servers, [1], Section 21.1, explains how to secure DHCPv6 messages sent between servers and relay agents. [1], Section 23, covers general DHCPv6 security considerations. Read both, no skipping π
6. IANA Considerations π
IANA has assigned DHCPv6 option code 38 to the Relay Agent Subscriber-ID Option β¨
7. Acknowledgements π«Ά
Thank you to Richard Johnson, Theyn Palaniappan, and Mark Stapp, since this document is essentially an edited version of their memo [3] π
8. References π
8.1. Normative References
[1] Droms, R., Bound, J., Volz, B., Lemon, T., Perkins, C., and M. Carney, "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)", RFC 3315, July 2003.
8.2. Informative References
[2] Troan, O. and R. Droms, "IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) version 6", RFC 3633, December 2003.
[3] Johnson, R., Palaniappan, T., and M. Stapp, "Subscriber-ID Suboption for the Dynamic Host Configuration Protocol (DHCP) Relay Agent Option", RFC 3993, March 2005.
[4] Postel, J. and J. Reynolds, "Telnet Protocol Specification", STD 8, RFC 854, May 1983.
[5] Droms, R., "Dynamic Host Configuration Protocol", RFC 2131, March 1997.
Author's Address π
Bernard Volz
Cisco Systems, Inc.
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Phone: +1 978 936 0382
EMail: volz@cisco.com
Full Copyright Statement β
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions contained in BCP 78. Except as set forth there, the authors keep all their rights.
This document and the information in it are provided on an "AS IS" basis, and the following disclaim all warranties, express or implied:
THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY
(IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE
DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE
ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
Intellectual Property π₯
The IETF takes no position on the validity or scope of any Intellectual Property Rights or other rights that might be claimed to apply to implementing or using the technology described here. It also doesn't say whether any license under those rights might be available, and it hasn't made any independent effort to find such rights. You can find info on the procedures for rights in RFC documents in BCP 78 and BCP 79 π
Copies of IPR disclosures made to the IETF Secretariat, and any assurances of licenses to be made available, or the result of an attempt to get a general license or permission for implementers or users to use these proprietary rights, can be found in the IETF online IPR repository at http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology needed to implement this standard. Send that info to the IETF at ietf-ipr@ietf.org π
Acknowledgement π·
Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). Thank you, IASA π«Ά
π¦ where this page comes from
- ietf: rfc4580 2006-06
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms