draft-ietf-dhc-dhcpv6-22.txt   draft-ietf-dhc-dhcpv6-23.txt 
Internet Engineering Task Force J. Bound Internet Engineering Task Force J. Bound
INTERNET DRAFT Compaq INTERNET DRAFT Compaq
DHC Working Group M. Carney DHC Working Group M. Carney
Obsoletes: draft-ietf-dhc-dhcpv6-21.txt Sun Microsystems, Inc Obsoletes: draft-ietf-dhc-dhcpv6-22.txt Sun Microsystems, Inc
C. Perkins C. Perkins
Nokia Research Center Nokia Research Center
Ted Lemon
Nominum
Bernie Volz
Ericsson
R. Droms(ed.) R. Droms(ed.)
Cisco Systems Cisco Systems
21 Dec 2001 1 Feb 2002
Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
draft-ietf-dhc-dhcpv6-22.txt draft-ietf-dhc-dhcpv6-23.txt
Status of This Memo Status of This Memo
This document is a submission by the Dynamic Host Configuration This document is a submission by the Dynamic Host Configuration
Working Group of the Internet Engineering Task Force (IETF). Comments Working Group of the Internet Engineering Task Force (IETF). Comments
should be submitted to the dhcwg@ietf.org mailing list. should be submitted to the dhcwg@ietf.org mailing list.
Distribution of this memo is unlimited. Distribution of this memo is unlimited.
This document is an Internet-Draft and is in full conformance with This document is an Internet-Draft and is in full conformance with
skipping to change at page 1, line 47 skipping to change at page 1, line 51
The list of Internet-Draft Shadow Directories can be accessed at: The list of Internet-Draft Shadow Directories can be accessed at:
http://www.ietf.org/shadow.html. http://www.ietf.org/shadow.html.
Abstract Abstract
The Dynamic Host Configuration Protocol for IPv6 (DHCP) enables The Dynamic Host Configuration Protocol for IPv6 (DHCP) enables
DHCP servers to pass configuration parameters such as IPv6 network DHCP servers to pass configuration parameters such as IPv6 network
addresses to IPv6 nodes. It offers the capability of automatic addresses to IPv6 nodes. It offers the capability of automatic
allocation of reusable network addresses and additional configuration allocation of reusable network addresses and additional configuration
flexibility. This protocol is a stateful counterpart to "IPv6 flexibility. This protocol is a stateful counterpart to "IPv6
Stateless Address Autoconfiguration" [23], and can be used separately Stateless Address Autoconfiguration" [21], and can be used separately
or concurrently with the latter to obtain configuration parameters. or concurrently with the latter to obtain configuration parameters.
Contents Contents
Status of This Memo i Status of This Memo i
Abstract i Abstract i
1. Introduction 1 1. Introduction 1
skipping to change at page 1, line 76 skipping to change at page 1, line 80
6. Terminology 4 6. Terminology 4
6.1. IPv6 Terminology . . . . . . . . . . . . . . . . . . . . 4 6.1. IPv6 Terminology . . . . . . . . . . . . . . . . . . . . 4
6.2. DHCP Terminology . . . . . . . . . . . . . . . . . . . . 5 6.2. DHCP Terminology . . . . . . . . . . . . . . . . . . . . 5
7. DHCP Constants 7 7. DHCP Constants 7
7.1. Multicast Addresses . . . . . . . . . . . . . . . . . . . 7 7.1. Multicast Addresses . . . . . . . . . . . . . . . . . . . 7
7.2. UDP ports . . . . . . . . . . . . . . . . . . . . . . . . 7 7.2. UDP ports . . . . . . . . . . . . . . . . . . . . . . . . 7
7.3. DHCP message types . . . . . . . . . . . . . . . . . . . 8 7.3. DHCP message types . . . . . . . . . . . . . . . . . . . 8
7.4. Status Codes . . . . . . . . . . . . . . . . . . . . . . 9 7.4. Status Codes . . . . . . . . . . . . . . . . . . . . . . 9
7.4.1. Generic Status Codes . . . . . . . . . . . . . . 9 7.4.1. Generic Status Codes . . . . . . . . . . . . . . 9
7.4.2. Server-specific Status Codes . . . . . . . . . . 11 7.4.2. Server-specific Status Codes . . . . . . . . . . 10
7.5. Configuration Variables . . . . . . . . . . . . . . . . . 11 7.5. Configuration Variables . . . . . . . . . . . . . . . . . 11
8. Message Formats 12 8. Message Formats 11
8.1. DHCP Solicit Message Format . . . . . . . . . . . . . . . 12 8.1. DHCP Solicit Message Format . . . . . . . . . . . . . . . 12
8.2. DHCP Advertise Message Format . . . . . . . . . . . . . . 12 8.2. DHCP Advertise Message Format . . . . . . . . . . . . . . 12
8.3. DHCP Request Message Format . . . . . . . . . . . . . . . 13 8.3. DHCP Request Message Format . . . . . . . . . . . . . . . 12
8.4. DHCP Confirm Message Format . . . . . . . . . . . . . . . 13 8.4. DHCP Confirm Message Format . . . . . . . . . . . . . . . 13
8.5. DHCP Renew Message Format . . . . . . . . . . . . . . . . 13 8.5. DHCP Renew Message Format . . . . . . . . . . . . . . . . 13
8.6. DHCP Rebind Message Format . . . . . . . . . . . . . . . 14 8.6. DHCP Rebind Message Format . . . . . . . . . . . . . . . 13
8.7. DHCP Reply Message Format . . . . . . . . . . . . . . . . 14 8.7. DHCP Reply Message Format . . . . . . . . . . . . . . . . 13
8.8. DHCP Release Message Format . . . . . . . . . . . . . . . 14 8.8. DHCP Release Message Format . . . . . . . . . . . . . . . 13
8.9. DHCP Decline Message Format . . . . . . . . . . . . . . . 14 8.9. DHCP Decline Message Format . . . . . . . . . . . . . . . 14
8.10. DHCP Reconfigure Message Format . . . . . . . . . . . . . 15 8.10. DHCP Reconfigure Message Format . . . . . . . . . . . . . 14
8.11. Information-Request Message Format . . . . . . . . . . . 15 8.11. Information-Request Message Format . . . . . . . . . . . 14
9. Relay messages 16 9. Relay messages 14
9.1. Relay-forward message . . . . . . . . . . . . . . . . . . 16 9.1. Relay-forward message . . . . . . . . . . . . . . . . . . 15
9.2. Relay-reply message . . . . . . . . . . . . . . . . . . . 17 9.2. Relay-reply message . . . . . . . . . . . . . . . . . . . 16
10. Representation and use of domain names 17 10. Representation and use of domain names 16
11. DHCP unique identifier (DUID) 17 11. DHCP unique identifier (DUID) 16
11.1. DUID contents . . . . . . . . . . . . . . . . . . . . . . 18 11.1. DUID contents . . . . . . . . . . . . . . . . . . . . . . 17
11.2. DUID based on link-layer address plus time . . . . . . . 18 11.2. DUID based on link-layer address plus time . . . . . . . 17
11.3. Vendor-assigned unique ID . . . . . . . . . . . . . . . . 19 11.3. Vendor-assigned unique ID (VUID) . . . . . . . . . . . . 18
11.4. Link-layer address . . . . . . . . . . . . . . . . . . . 20 11.4. Link-layer address . . . . . . . . . . . . . . . . . . . 19
12. Identity association 20 12. Identity association 20
13. Selecting addresses for assignment to an IA 21 13. Selecting addresses for assignment to an IA 21
14. Management of temporary addresses 22 14. Management of temporary addresses 22
15. Reliability of Client Initiated Message Exchanges 23 15. Reliability of Client Initiated Message Exchanges 23
16. Message validation 24 16. Message validation 24
16.1. Use of Transaction-ID field . . . . . . . . . . . . . . . 25 16.1. Use of Transaction-ID field . . . . . . . . . . . . . . . 24
16.2. Solicit message . . . . . . . . . . . . . . . . . . . . . 25 16.2. Solicit message . . . . . . . . . . . . . . . . . . . . . 25
16.3. Advertise message . . . . . . . . . . . . . . . . . . . . 25 16.3. Advertise message . . . . . . . . . . . . . . . . . . . . 25
16.4. Request message . . . . . . . . . . . . . . . . . . . . . 25 16.4. Request message . . . . . . . . . . . . . . . . . . . . . 25
16.5. Confirm message . . . . . . . . . . . . . . . . . . . . . 25 16.5. Confirm message . . . . . . . . . . . . . . . . . . . . . 25
16.6. Renew message . . . . . . . . . . . . . . . . . . . . . . 26 16.6. Renew message . . . . . . . . . . . . . . . . . . . . . . 26
16.7. Rebind message . . . . . . . . . . . . . . . . . . . . . 26 16.7. Rebind message . . . . . . . . . . . . . . . . . . . . . 26
16.8. Decline messages . . . . . . . . . . . . . . . . . . . . 26 16.8. Decline messages . . . . . . . . . . . . . . . . . . . . 26
16.9. Release message . . . . . . . . . . . . . . . . . . . . . 26 16.9. Release message . . . . . . . . . . . . . . . . . . . . . 27
16.10. Reply message . . . . . . . . . . . . . . . . . . . . . . 26 16.10. Reply message . . . . . . . . . . . . . . . . . . . . . . 27
16.11. Reconfigure message . . . . . . . . . . . . . . . . . . . 27 16.11. Reconfigure message . . . . . . . . . . . . . . . . . . . 27
16.12. Inform message . . . . . . . . . . . . . . . . . . . . . 27 16.12. Information-request message . . . . . . . . . . . . . . . 27
16.13. Relay-forward message . . . . . . . . . . . . . . . . . . 27 16.13. Relay-forward message . . . . . . . . . . . . . . . . . . 28
16.14. Relay-reply message . . . . . . . . . . . . . . . . . . . 27 16.14. Relay-reply message . . . . . . . . . . . . . . . . . . . 28
17. DHCP Server Solicitation 27 17. Client Source Address and Interface Selection 28
17.1. Client Behavior . . . . . . . . . . . . . . . . . . . . . 27
17.1.1. Creation of Solicit messages . . . . . . . . . . 28
17.1.2. Transmission of Solicit Messages . . . . . . . . 28
17.1.3. Receipt of Advertise messages . . . . . . . . . . 29
17.2. Server Behavior . . . . . . . . . . . . . . . . . . . . . 30
17.2.1. Receipt of Solicit messages . . . . . . . . . . . 30
17.2.2. Creation and transmission of Advertise messages . 30
18. DHCP Client-Initiated Configuration Exchange 31 18. DHCP Server Solicitation 28
18.1. Client Behavior . . . . . . . . . . . . . . . . . . . . . 31 18.1. Client Behavior . . . . . . . . . . . . . . . . . . . . . 29
18.1.1. Creation and transmission of Request messages . . 31 18.1.1. Creation of Solicit messages . . . . . . . . . . 29
18.1.2. Creation and transmission of Confirm messages . . 33 18.1.2. Transmission of Solicit Messages . . . . . . . . 29
18.1.3. Creation and transmission of Renew messages . . . 34 18.1.3. Receipt of Advertise messages . . . . . . . . . . 30
18.1.4. Creation and transmission of Rebind messages . . 35 18.2. Server Behavior . . . . . . . . . . . . . . . . . . . . . 31
18.1.5. Creation and Transmission of Inform messages . . 36 18.2.1. Receipt of Solicit messages . . . . . . . . . . . 31
18.1.6. Receipt of Reply message in response to a Request, 18.2.2. Creation and transmission of Advertise messages . 31
Confirm, Renew, Rebind or Inform message . 37
18.1.7. Creation and transmission of Release messages . . 39 19. DHCP Client-Initiated Configuration Exchange 32
18.1.8. Receipt of Reply message in response to a Release 19.1. Client Behavior . . . . . . . . . . . . . . . . . . . . . 33
message . . . . . . . . . . . . . . . . . 40 19.1.1. Creation and transmission of Request messages . . 33
18.1.9. Creation and transmission of Decline messages . . 40 19.1.2. Creation and transmission of Confirm messages . . 34
18.1.10. Receipt of Reply message in response to a Decline 19.1.3. Creation and transmission of Renew messages . . . 35
19.1.4. Creation and transmission of Rebind messages . . 37
19.1.5. Creation and Transmission of Information-request
messages . . . . . . . . . . . . . . . . . 38
19.1.6. Receipt of Reply message in response to a Request,
Confirm, Renew, Rebind or Information-request
message . . . . . . . . . . . . . . . . . 38
19.1.7. Creation and transmission of Release messages . . 40
19.1.8. Receipt of Reply message in response to a Release
message . . . . . . . . . . . . . . . . . 41 message . . . . . . . . . . . . . . . . . 41
18.2. Server Behavior . . . . . . . . . . . . . . . . . . . . . 41 19.1.9. Creation and transmission of Decline messages . . 41
18.2.1. Receipt of Request messages . . . . . . . . . . . 41 19.1.10. Receipt of Reply message in response to a Decline
18.2.2. Receipt of Confirm messages . . . . . . . . . . . 42 message . . . . . . . . . . . . . . . . . 42
18.2.3. Receipt of Renew messages . . . . . . . . . . . . 43 19.2. Server Behavior . . . . . . . . . . . . . . . . . . . . . 42
18.2.4. Receipt of Rebind messages . . . . . . . . . . . 44 19.2.1. Receipt of Request messages . . . . . . . . . . . 42
18.2.5. Receipt of Inform messages . . . . . . . . . . . 45 19.2.2. Receipt of Confirm messages . . . . . . . . . . . 43
18.2.6. Receipt of Release messages . . . . . . . . . . . 45 19.2.3. Receipt of Renew messages . . . . . . . . . . . . 44
18.2.7. Receipt of Decline messages . . . . . . . . . . . 46 19.2.4. Receipt of Rebind messages . . . . . . . . . . . 45
18.2.8. Receipt of Information-Request messages . . . . . 46 19.2.5. Receipt of Information-request messages . . . . . 46
18.2.9. Sending of Reply messages . . . . . . . . . . . . 46 19.2.6. Receipt of Release messages . . . . . . . . . . . 47
19.2.7. Receipt of Decline messages . . . . . . . . . . . 47
19.2.8. Transmission of Reply messages . . . . . . . . . 47
19. DHCP Server-Initiated Configuration Exchange 47 20. DHCP Server-Initiated Configuration Exchange 48
19.1. Server Behavior . . . . . . . . . . . . . . . . . . . . . 47 20.1. Server Behavior . . . . . . . . . . . . . . . . . . . . . 48
19.1.1. Creation and transmission of Reconfigure messages 47 20.1.1. Creation and transmission of Reconfigure messages 48
19.1.2. Time out and retransmission of Reconfigure 20.1.2. Time out and retransmission of Reconfigure
messages . . . . . . . . . . . . . . . . . 48 messages . . . . . . . . . . . . . . . . . 49
19.1.3. Receipt of Renew messages . . . . . . . . . . . . 48 20.1.3. Receipt of Renew messages . . . . . . . . . . . . 49
19.2. Receipt of Information-request messages . . . . . . . . . 48 20.2. Receipt of Information-request messages . . . . . . . . . 49
19.3. Client Behavior . . . . . . . . . . . . . . . . . . . . . 49 20.3. Client Behavior . . . . . . . . . . . . . . . . . . . . . 50
19.3.1. Receipt of Reconfigure messages . . . . . . . . . 49 20.3.1. Receipt of Reconfigure messages . . . . . . . . . 50
19.3.2. Creation and sending of Renew messages . . . . . 50 20.3.2. Creation and transmission of Renew messages . . . 51
19.3.3. Creation and sending of Renew messages . . . . . 50 20.3.3. Creation and transmission of Information-request
19.3.4. Time out and retransmission of Renew or messages . . . . . . . . . . . . . . . . . 51
Information-request messages . . . . . . . 50 20.3.4. Time out and retransmission of Renew or
19.3.5. Receipt of Reply messages . . . . . . . . . . . . 50 Information-request messages . . . . . . . 51
20.3.5. Receipt of Reply messages . . . . . . . . . . . . 51
20. Relay Behavior 50 21. Relay Behavior 52
20.1. Relaying of client messages . . . . . . . . . . . . . . . 50 21.1. Relaying of client messages . . . . . . . . . . . . . . . 52
20.2. Relaying of server messages . . . . . . . . . . . . . . . 51 21.2. Relaying of server messages . . . . . . . . . . . . . . . 52
21. Authentication of DHCP messages 51 22. Authentication of DHCP messages 53
21.1. DHCP threat model . . . . . . . . . . . . . . . . . . . . 52 22.1. DHCP threat model . . . . . . . . . . . . . . . . . . . . 53
21.2. Security of messages sent between servers and relay agents 52 22.2. Security of messages sent between servers and relay agents 54
21.3. Summary of DHCP authentication . . . . . . . . . . . . . 52 22.3. Summary of DHCP authentication . . . . . . . . . . . . . 54
21.4. Replay detection . . . . . . . . . . . . . . . . . . . . 53 22.4. Replay detection . . . . . . . . . . . . . . . . . . . . 54
21.5. Configuration token protocol . . . . . . . . . . . . . . 53 22.5. Configuration token protocol . . . . . . . . . . . . . . 54
21.6. Delayed authentication protocol . . . . . . . . . . . . . 54 22.6. Delayed authentication protocol . . . . . . . . . . . . . 55
21.6.1. Management issues in the delayed authentication 22.6.1. Management issues in the delayed authentication
protocol . . . . . . . . . . . . . . . . . 54 protocol . . . . . . . . . . . . . . . . . 55
21.6.2. Use of the Authentication option in the delayed 22.6.2. Use of the Authentication option in the delayed
authentication protocol . . . . . . . . . 54 authentication protocol . . . . . . . . . 55
21.6.3. Message validation . . . . . . . . . . . . . . . 55 22.6.3. Message validation . . . . . . . . . . . . . . . 56
21.6.4. Key utilization . . . . . . . . . . . . . . . . . 55 22.6.4. Key utilization . . . . . . . . . . . . . . . . . 57
21.6.5. Client considerations for delayed authentication 22.6.5. Client considerations for delayed authentication
protocol . . . . . . . . . . . . . . . . . 56 protocol . . . . . . . . . . . . . . . . . 57
21.6.6. Server considerations for delayed authentication 22.6.6. Server considerations for delayed authentication
protocol . . . . . . . . . . . . . . . . . 58 protocol . . . . . . . . . . . . . . . . . 59
22. DHCP options 58 23. DHCP options 60
22.1. Format of DHCP options . . . . . . . . . . . . . . . . . 59 23.1. Format of DHCP options . . . . . . . . . . . . . . . . . 60
22.2. DHCP unique identifier option . . . . . . . . . . . . . . 59 23.2. Client Identifier option . . . . . . . . . . . . . . . . 60
22.3. Identity association option . . . . . . . . . . . . . . . 60 23.3. Server Identifier option . . . . . . . . . . . . . . . . 61
22.4. IA Address option . . . . . . . . . . . . . . . . . . . . 62 23.4. Identity association option . . . . . . . . . . . . . . . 61
22.5. Requested Temporary Addresses (RTA) Option . . . . . . . 63 23.5. IA Address option . . . . . . . . . . . . . . . . . . . . 63
22.6. Option request option . . . . . . . . . . . . . . . . . . 64 23.6. Requested Temporary Addresses (RTA) Option . . . . . . . 65
22.7. Preference option . . . . . . . . . . . . . . . . . . . . 64 23.7. Option Request option . . . . . . . . . . . . . . . . . . 65
22.8. Elapsed Time . . . . . . . . . . . . . . . . . . . . . . 65 23.8. Preference option . . . . . . . . . . . . . . . . . . . . 66
22.9. Client message option . . . . . . . . . . . . . . . . . . 65 23.9. Elapsed Time . . . . . . . . . . . . . . . . . . . . . . 67
22.10. Server message option . . . . . . . . . . . . . . . . . . 66 23.10. Client message option . . . . . . . . . . . . . . . . . . 67
22.11. DSTM Global IPv4 Address Option . . . . . . . . . . . . . 66 23.11. Server message option . . . . . . . . . . . . . . . . . . 68
22.12. DSTM Tunnel EndPoint Option . . . . . . . . . . . . . . 67 23.12. Authentication option . . . . . . . . . . . . . . . . . . 68
22.13. Authentication option . . . . . . . . . . . . . . . . . . 67 23.13. Server unicast option . . . . . . . . . . . . . . . . . . 69
22.14. Server unicast option . . . . . . . . . . . . . . . . . . 68 23.14. Status Code Option . . . . . . . . . . . . . . . . . . . 70
22.15. Domain Search Option . . . . . . . . . . . . . . . . . . 69 23.15. User Class Option . . . . . . . . . . . . . . . . . . . . 70
22.16. Domain Name Server Option . . . . . . . . . . . . . . . . 70 23.16. Vendor Class Option . . . . . . . . . . . . . . . . . . . 71
22.17. Status Code Option . . . . . . . . . . . . . . . . . . . 70 23.17. Interface-Id Option . . . . . . . . . . . . . . . . . . . 72
22.18. Circuit-ID Option . . . . . . . . . . . . . . . . . . . . 71
22.19. User Class Option . . . . . . . . . . . . . . . . . . . . 72
22.20. Vendor Class Option . . . . . . . . . . . . . . . . . . . 72
22.21. SIP Servers Domain Name List . . . . . . . . . . . . . . 74
22.22. SIP Servers IPv6 Address List . . . . . . . . . . . . . . 74
23. Security Considerations 75 24. Security Considerations 73
24. Year 2000 considerations 75 25. Year 2000 considerations 73
25. IANA Considerations 75 26. IANA Considerations 74
25.1. Multicast addresses . . . . . . . . . . . . . . . . . . . 75 26.1. Multicast addresses . . . . . . . . . . . . . . . . . . . 74
25.2. DHCPv6 message types . . . . . . . . . . . . . . . . . . 75 26.2. DHCPv6 message types . . . . . . . . . . . . . . . . . . 74
25.3. DUID . . . . . . . . . . . . . . . . . . . . . . . . . . 76 26.3. DUID . . . . . . . . . . . . . . . . . . . . . . . . . . 74
25.4. DHCPv6 options . . . . . . . . . . . . . . . . . . . . . 76 26.4. DHCPv6 options . . . . . . . . . . . . . . . . . . . . . 74
25.5. Status codes . . . . . . . . . . . . . . . . . . . . . . 76 26.5. Status codes . . . . . . . . . . . . . . . . . . . . . . 74
25.6. Authentication option . . . . . . . . . . . . . . . . . . 76 26.6. Authentication option . . . . . . . . . . . . . . . . . . 75
26. Acknowledgments 76 27. Acknowledgments 75
A. Full Copyright Statement 77 References 75
B. Appearance of Options in Message Types 78 Chair's Address 77
C. Appearance of Options in the Options Field of DHCP Messages 79 Authors' Addresses 77
References 79 A. Appearance of Options in Message Types 79
Chair's Address 81 B. Appearance of Options in the Options Field of DHCP Messages 79
Authors' Addresses 82 C. Full Copyright Statement 80
1. Introduction 1. Introduction
This document describes DHCP for IPv6 (DHCP), a UDP [20] This document describes DHCP for IPv6 (DHCP), a UDP [19]
client/server protocol designed to reduce the cost of management client/server protocol designed to reduce the cost of management
of IPv6 nodes in environments where network managers require more of IPv6 nodes in environments where network managers require more
control over the allocation of IPv6 addresses and configuration control over the allocation of IPv6 addresses and configuration
of network stack parameters than that offered by "IPv6 Stateless of network stack parameters than that offered by "IPv6 Stateless
Address Autoconfiguration" [23]. DHCP is a stateful counterpart to Address Autoconfiguration" [21]. DHCP is a stateful counterpart to
stateless autoconfiguration. Note that both stateful and stateless stateless autoconfiguration. Note that both stateful and stateless
autoconfiguration can be used concurrently in the same environment, autoconfiguration can be used concurrently in the same environment,
leveraging the strengths of both mechanisms in order to reduce the leveraging the strengths of both mechanisms in order to reduce the
cost of ownership and management of network nodes. cost of ownership and management of network nodes.
DHCP reduces the cost of ownership by centralizing the management DHCP reduces the cost of ownership by centralizing the management
of network resources such as IP addresses, routing information, OS of network resources such as IP addresses, routing information, OS
installation information, directory service information, and other installation information, directory service information, and other
such information on a few DHCP servers, rather than distributing such such information on a few DHCP servers, rather than distributing such
information in local configuration files among all network node. information in local configuration files among all network node.
DHCP is designed to be easily extended to carry new configuration DHCP is designed to be easily extended to carry new configuration
parameters through the addition of new DHCP "options" defined to parameters through the addition of new DHCP "options" defined to
carry this information. carry this information.
Those readers familiar with DHCP for IPv4 [8] will find DHCP for Those readers familiar with DHCP for IPv4 [7] will find DHCP for
IPv6 provides a superset of the features of DHCP and benefits from IPv6 provides a superset of the features of DHCP and benefits from
the additional features of IPv6 and freedom from the constraints of the additional features of IPv6 and freedom from the constraints of
backward compatibility with BOOTP [6]. backward compatibility with BOOTP [4].
2. Requirements 2. Requirements
The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this
document, are to be interpreted as described in [4]. document, are to be interpreted as described in [2].
This document also makes use of internal conceptual variables This document also makes use of internal conceptual variables
to describe protocol behavior and external variables that an to describe protocol behavior and external variables that an
implementation must allow system administrators to change. The implementation must allow system administrators to change. The
specific variable names, how their values change, and how their specific variable names, how their values change, and how their
settings influence protocol behavior are provided to demonstrate settings influence protocol behavior are provided to demonstrate
protocol behavior. An implementation is not required to have them in protocol behavior. An implementation is not required to have them in
the exact form described here, so long as its external behavior is the exact form described here, so long as its external behavior is
consistent with that described in this document. consistent with that described in this document.
3. Background 3. Background
The IPv6 Specification provides the base architecture and design of The IPv6 Specification provides the base architecture and design of
IPv6. Related work in IPv6 that would best serve an implementor IPv6. Related work in IPv6 that would best serve an implementor
to study includes the IPv6 Specification [7], the IPv6 Addressing to study includes the IPv6 Specification [5], the IPv6 Addressing
Architecture [10], IPv6 Stateless Address Autoconfiguration [23], Architecture [9], IPv6 Stateless Address Autoconfiguration [21], IPv6
IPv6 Neighbor Discovery Processing [18], and Dynamic Updates to Neighbor Discovery Processing [17], and Dynamic Updates to DNS [22].
DNS [24]. These specifications enable DHCP to build upon the These specifications enable DHCP to build upon the IPv6 work to
IPv6 work to provide both robust stateful autoconfiguration and provide both robust stateful autoconfiguration and autoregistration
autoregistration of DNS Host Names. of DNS Host Names.
The IPv6 Addressing Architecture specification [10] defines the The IPv6 Addressing Architecture specification [9] defines the
address scope that can be used in an IPv6 implementation, and the address scope that can be used in an IPv6 implementation, and the
various configuration architecture guidelines for network designers various configuration architecture guidelines for network designers
of the IPv6 address space. Two advantages of IPv6 are that support of the IPv6 address space. Two advantages of IPv6 are that support
for multicast is required, and nodes can create link-local addresses for multicast is required, and nodes can create link-local addresses
during initialization. This means that a client can immediately use during initialization. This means that a client can immediately use
its link-local address and a well-known multicast address to begin its link-local address and a well-known multicast address to begin
communications to discover neighbors on the link. For instance, a communications to discover neighbors on the link. For instance, a
client can send a Solicit message and locate a server or relay. client can send a Solicit message and locate a server or relay.
IPv6 Stateless Address Autoconfiguration [23] specifies procedures IPv6 Stateless Address Autoconfiguration [21] specifies procedures
by which a node may autoconfigure addresses based on router by which a node may autoconfigure addresses based on router
advertisements [18], and the use of a valid lifetime to support advertisements [17], and the use of a valid lifetime to support
renumbering of addresses on the Internet. In addition the renumbering of addresses on the Internet. In addition the
protocol interaction by which a node begins stateless or stateful protocol interaction by which a node begins stateless or stateful
autoconfiguration is specified. DHCP is one vehicle to perform autoconfiguration is specified. DHCP is one vehicle to perform
stateful autoconfiguration. Compatibility with stateless address stateful autoconfiguration. Compatibility with stateless address
autoconfiguration is a design requirement of DHCP (see Section 4). autoconfiguration is a design requirement of DHCP (see Section 4).
IPv6 Neighbor Discovery [18] is the node discovery protocol in IPv6 IPv6 Neighbor Discovery [17] is the node discovery protocol in IPv6
which replaces and enhances functions of ARP [19]. To understand which replaces and enhances functions of ARP [18]. To understand
IPv6 and stateless address autoconfiguration it is strongly IPv6 and stateless address autoconfiguration it is strongly
recommended that implementors understand IPv6 Neighbor Discovery. recommended that implementors understand IPv6 Neighbor Discovery.
Dynamic Updates to DNS [24] is a specification that supports the Dynamic Updates to DNS [22] is a specification that supports the
dynamic update of DNS records for both IPv4 and IPv6. DHCP can use dynamic update of DNS records for both IPv4 and IPv6. DHCP can use
the dynamic updates to DNS to integrate addresses and name space to the dynamic updates to DNS to integrate addresses and name space to
not only support autoconfiguration, but also autoregistration in not only support autoconfiguration, but also autoregistration in
IPv6. IPv6.
4. Design Goals 4. Design Goals
- DHCP is a mechanism rather than a policy. Network administrators - DHCP is a mechanism rather than a policy. Network administrators
set their administrative policies through the configuration set their administrative policies through the configuration
parameters they place upon the DHCP servers in the DHCP domain parameters they place upon the DHCP servers in the DHCP domain
they're managing. DHCP is simply used to deliver parameters they're managing. DHCP is simply used to deliver parameters
according to that policy to each of the DHCP clients within the according to that policy to each of the DHCP clients within the
domain. domain.
- DHCP is compatible with IPv6 stateless address - DHCP is compatible with IPv6 stateless address
autoconfiguration [23], statically configured, non-participating autoconfiguration [21], statically configured, non-participating
nodes and with existing network protocol implementations. nodes and with existing network protocol implementations.
- DHCP does not require manual configuration of network parameters - DHCP does not require manual configuration of network parameters
on DHCP clients, except in cases where such configuration is on DHCP clients, except in cases where such configuration is
needed for security reasons. A node configuring itself using needed for security reasons. A node configuring itself using
DHCP should require no user intervention. DHCP should require no user intervention.
- DHCP does not require a server on each link. To allow for scale - DHCP does not require a server on each link. To allow for scale
and economy, DHCP must work across DHCP relays. and economy, DHCP must work across DHCP relays.
- DHCP clients can operate on a link without IPv6 routers present. - DHCP clients can operate on a link without IPv6 routers present.
- DHCP will provide the ability to renumber network(s) when - DHCP will provide the ability to renumber network(s) when
required by network administrators [5]. required by network administrators [3].
- A DHCP client can make multiple, different requests for - A DHCP client can make multiple, different requests for
configuration parameters when necessary from one or more DHCP configuration parameters when necessary from one or more DHCP
servers at any time. servers at any time.
- DHCP will contain the appropriate time out and retransmission - DHCP will contain the appropriate time out and retransmission
mechanisms to efficiently operate in environments with high mechanisms to efficiently operate in environments with high
latency and low bandwidth characteristics. latency and low bandwidth characteristics.
5. Non-Goals 5. Non-Goals
skipping to change at page 4, line 30 skipping to change at page 4, line 34
log. log.
6. Terminology 6. Terminology
This sections defines terminology specific to IPv6 and DHCP used in This sections defines terminology specific to IPv6 and DHCP used in
this document. this document.
6.1. IPv6 Terminology 6.1. IPv6 Terminology
IPv6 terminology relevant to this specification from the IPv6 IPv6 terminology relevant to this specification from the IPv6
Protocol [7], IPv6 Addressing Architecture [10], and IPv6 Stateless Protocol [5], IPv6 Addressing Architecture [9], and IPv6 Stateless
Address Autoconfiguration [23] is included below. Address Autoconfiguration [21] is included below.
address An IP layer identifier for an interface address An IP layer identifier for an interface
or a set of interfaces. or a set of interfaces.
unicast address An identifier for a single interface. unicast address An identifier for a single interface.
A packet sent to a unicast address is A packet sent to a unicast address is
delivered to the interface identified by delivered to the interface identified by
that address. that address.
multicast address An identifier for a set of interfaces multicast address An identifier for a set of interfaces
skipping to change at page 6, line 42 skipping to change at page 6, line 48
client(s). client(s).
DHCP relay (or relay) A node that acts as an intermediary to DHCP relay (or relay) A node that acts as an intermediary to
deliver DHCP messages between clients deliver DHCP messages between clients
and servers, and is on the same link as and servers, and is on the same link as
a client. a client.
DHCP agent (or agent) Either a DHCP server on the same link as DHCP agent (or agent) Either a DHCP server on the same link as
a client, or a DHCP relay. a client, or a DHCP relay.
DUID A DHCP Unique IDentifier for a client; DUID A DHCP Unique IDentifier for a DHCP
each DHCP client has exactly one DUID participant; each DHCP client and server
has exactly one DUID.
Identity association (IA) A collection of addresses assigned to Identity association (IA) A collection of addresses assigned to
a client. Each IA has an associated a client. Each IA has an associated
IAID. An IA may have 0 or more addresses IAID. An IA may have 0 or more addresses
associated with it. associated with it.
Identity association identifier (IAID) An identifier for an IA, Identity association identifier (IAID) An identifier for an IA,
chosen by the client. Each IA has an chosen by the client. Each IA has an
IAID, which is chosen to be unique among IAID, which is chosen to be unique among
all IAIDs for IAs belonging to that all IAIDs for IAs belonging to that
skipping to change at page 7, line 22 skipping to change at page 7, line 28
7. DHCP Constants 7. DHCP Constants
This section describes various program and networking constants used This section describes various program and networking constants used
by DHCP. by DHCP.
7.1. Multicast Addresses 7.1. Multicast Addresses
DHCP makes use of the following multicast addresses: DHCP makes use of the following multicast addresses:
All_DHCP_Agents address: FF02::1:2 This link-scoped multicast All_DHCP_Agents (FF02::1:2) This link-scoped multicast address
address is used by clients to communicate with the is used by clients to communicate with the
on-link agent(s) when they do not know the link-local on-link agent(s) when they do not know the
address(es) for those agents. All agents (servers and link-local address(es) for those agents. All
relays) are members of this multicast group. agents (servers and relays) are members of this
multicast group.
All_DHCP_Servers address: FF05::1:3 This site-scoped multicast All_DHCP_Servers (FF05::1:3) This site-scoped multicast address is
address is used by clients or relays to communicate used by clients or relays to communicate with
with server(s), either because they want to send server(s), either because they want to send
messages to all servers or because they do not know messages to all servers or because they do not
the server(s) unicast address(es). Note that in order know the server(s) unicast address(es). Note
for a client to use this address, it must have an that in order for a client to use this address,
address of sufficient scope to be reachable by the it must have an address of sufficient scope to
server(s). All servers within the site are members of be reachable by the server(s). All servers
this multicast group. within the site are members of this multicast
group.
7.2. UDP ports 7.2. UDP ports
DHCP uses the following destination UDP [20] port numbers. While DHCP uses the following destination UDP [19] port numbers. While
source ports MAY be arbitrary, client implementations SHOULD permit source ports MAY be arbitrary, client implementations SHOULD permit
their specification through a local configuration parameter to their specification through a local configuration parameter to
facilitate the use of DHCP through firewalls. facilitate the use of DHCP through firewalls.
546 Client port. Used by servers as the destination port 546 Client port. Used by servers as the destination port
for messages sent to clients and relays. Used by relay for messages sent to clients and relays. Used by relay
agents as the destination port for messages sent to agents as the destination port for messages sent to
clients. clients.
547 Agent port. Used as the destination port by clients 547 Agent port. Used as the destination port by clients
skipping to change at page 8, line 46 skipping to change at page 8, line 52
REBIND (6) The Rebind message is used by clients to extend REBIND (6) The Rebind message is used by clients to extend
the lifetimes of addresses assigned to an IA, the lifetimes of addresses assigned to an IA,
as well as the current configuration parameters as well as the current configuration parameters
assigned by the server to the client. A assigned by the server to the client. A
client sends a Rebind message to all available client sends a Rebind message to all available
DHCP servers at time T2 only after the client DHCP servers at time T2 only after the client
has been unable to contact the server that has been unable to contact the server that
originally populated the IA with a Renew originally populated the IA with a Renew
message. message.
REPLY (7) The Reply message is used by servers responding REPLY (7) The Reply message is used by servers
to Request, Confirm, Renew, Rebind, Release and responding to Request, Confirm, Renew, Rebind,
Decline messages. In the case of responding to Information-request, Release and Decline
a Request, Confirm, Renew or Rebind message, messages. In the case of responding to
the Reply contains configuration parameters a Request, Confirm, Information-request,
destined for the client. Renew or Rebind message, the Reply contains
configuration parameters destined for the
client.
RELEASE (8) The Release message is used by clients to RELEASE (8) The Release message is used by clients to
indicate to a server that the client will no indicate to a server that the client will no
longer use one or more addresses in an IA. longer use one or more addresses in an IA.
DECLINE (9) The Decline message is used by clients to DECLINE (9) The Decline message is used by clients to
indicate that the client has determined that indicate that the client has determined that
one or more addresses in an IA are already one or more addresses in an IA are already
in use on the link to which the client is in use on the link to which the client is
connected. connected.
RECONFIGURE (10) The Reconfigure message is sent by server(s) RECONFIGURE (10) The Reconfigure message is sent by a server
to inform client(s) that the server(s) has new to inform a client that the server has new or
or updated configuration parameters, and that updated configuration parameters, and that
the client(s) are to initiate a Request/Reply the client is to initiate a Renew/Reply or
transaction with the server(s) in order to Information-request/Reply transaction with
receive the updated information. the server in order to receive the updated
information.
INFORMATION-REQUEST (11) The Information-request message is sent INFORMATION-REQUEST (11) The Information-request message is sent
by clients to request configuration parameters by clients to request configuration parameters
without the assignment of any IP addresses to without the assignment of any IP addresses to
the client. the client.
RELAY-FORW (12) The Relay-forward message is used by relays to RELAY-FORW (12) The Relay-forward message is used by relays to
forward client messages to servers. The client forward client messages to servers. The client
message is encapsulated in an option in the message is encapsulated in an option in the
Relay-forward message. Relay-forward message.
skipping to change at page 11, line 45 skipping to change at page 11, line 26
REQ_TIMEOUT 250 msecs Initial Request timeout REQ_TIMEOUT 250 msecs Initial Request timeout
REQ_MAX_RT 30 secs Max Request timeout value REQ_MAX_RT 30 secs Max Request timeout value
REQ_MAX_RC 10 Max Request retry attempts REQ_MAX_RC 10 Max Request retry attempts
CNF_TIMEOUT 250 msecs Initial Confirm timeout CNF_TIMEOUT 250 msecs Initial Confirm timeout
CNF_MAX_RT 1 sec Max Confirm timeout CNF_MAX_RT 1 sec Max Confirm timeout
CNF_MAX_RD 10 secs Max Confirm duration CNF_MAX_RD 10 secs Max Confirm duration
REN_TIMEOUT 10 sec Initial Renew timeout REN_TIMEOUT 10 sec Initial Renew timeout
REN_MAX_RT 600 secs Max Renew timeout value REN_MAX_RT 600 secs Max Renew timeout value
REB_TIMEOUT 10 secs Initial Rebind timeout REB_TIMEOUT 10 secs Initial Rebind timeout
REB_MAX_RT 600 secs Max Rebind timeout value REB_MAX_RT 600 secs Max Rebind timeout value
INF_TIMEOUT 500 ms Initial Inform timeout INF_TIMEOUT 500 ms Initial Information-request timeout
INF_MAX_RT 30 secs Max Inform timeout value INF_MAX_RT 30 secs Max Information-request timeout value
REL_TIMEOUT 250 msecs Initial Release timeout REL_TIMEOUT 250 msecs Initial Release timeout
REL_MAX_RT 1 sec Max Release timeout REL_MAX_RT 1 sec Max Release timeout
REL_MAX_RC 5 MAX Release/Decline attempts REL_MAX_RC 5 MAX Release attempts
DEC_TIMEOUT 250 msecs Initial Release timeout DEC_TIMEOUT 250 msecs Initial Decline timeout
DEC_MAX_RT 1 sec Max Release timeout DEC_MAX_RT 1 sec Max Decline timeout
DEC_MAX_RC 5 MAX Release/Decline attempts DEC_MAX_RC 5 Max Decline attempts
8. Message Formats 8. Message Formats
All DHCP messages sent between clients and servers share an identical All DHCP messages sent between clients and servers share an identical
fixed format header and a variable format area for options. Not all fixed format header and a variable format area for options. Not all
fields in the header are used in every message. fields in the header are used in every message.
All values in the message header and in options are in network order. All values in the message header and in options are in network order.
The following diagram illustrates the format of DHCP messages sent The following diagram illustrates the format of DHCP messages sent
between clients and servers: between clients and servers:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| msg-type | transaction-ID | | msg-type | transaction-ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | |
| server-address |
| (16 octets) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. options . . options .
. (variable) . . (variable) .
| | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The following sections describe the use of the fields in the DHCP The following sections describe the use of the fields in the DHCP
message header in each of the DHCP messages. In these descriptions, message header in each of the DHCP messages. In these descriptions,
fields that are not used in a message are marked as "unused". All fields that are not used in a message are marked as "unused". All
unused fields in a message MUST be transmitted as zeroes and ignored unused fields in a message MUST be transmitted as zeroes and ignored
by the receiver of the message. by the receiver of the message.
8.1. DHCP Solicit Message Format 8.1. DHCP Solicit Message Format
msg-type SOLICIT msg-type SOLICIT
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Solicit message. to identify this Solicit message.
server-address (Unused) MUST be zero options See section 23.
options See section 22.
8.2. DHCP Advertise Message Format 8.2. DHCP Advertise Message Format
msg-type ADVERTISE msg-type ADVERTISE
transaction-ID An unsigned integer used to identify this transaction-ID An unsigned integer used to identify this
Advertise message. Copied from the Solicit Advertise message. Copied from the Solicit
message received from the client. message received from the client.
server-address The IP address of the server that generated this options See section 23.
message. The address must have sufficient scope
to be reachable from the client.
options See section 22.
8.3. DHCP Request Message Format 8.3. DHCP Request Message Format
msg-type REQUEST msg-type REQUEST
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Request message. to identify this Request message.
server-address The IP address of the server to which this options See section 23.
message is directed, copied from an Advertise
message.
options See section 22.
8.4. DHCP Confirm Message Format 8.4. DHCP Confirm Message Format
msg-type CONFIRM msg-type CONFIRM
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Confirm message. to identify this Confirm message.
server-address MUST be zero. options See section 23.
options See section 22.
8.5. DHCP Renew Message Format 8.5. DHCP Renew Message Format
msg-type RENEW msg-type RENEW
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Renew message. to identify this Renew message.
server-address The IP address of the server to which this Renew options See section 23.
message is directed, which MUST be the address
of the server from which the IAs in this message
were originally assigned.
options See section 22.
8.6. DHCP Rebind Message Format 8.6. DHCP Rebind Message Format
msg-type REBIND msg-type REBIND
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Rebind message. to identify this Rebind message.
server-address MUST be zero. options See section 23.
options See section 22.
8.7. DHCP Reply Message Format 8.7. DHCP Reply Message Format
msg-type REPLY msg-type REPLY
transaction-ID An unsigned integer used to identify this transaction-ID An unsigned integer used to identify this
Reply message. Copied from the client Request, Reply message. Copied from the client Request,
Confirm, Renew or Rebind message received from Confirm, Renew or Rebind message received from
the client. the client.
server-address The IP address of the server. options See section 23.
options See section 22.
8.8. DHCP Release Message Format 8.8. DHCP Release Message Format
msg-type RELEASE msg-type RELEASE
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Release message. to identify this Release message.
server-address The IP address of the server that assigned the options See section 23.
addresses.
options See section 22.
8.9. DHCP Decline Message Format 8.9. DHCP Decline Message Format
msg-type DECLINE msg-type DECLINE
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Decline message. to identify this Decline message.
server-address The IP address of the server that assigned the options See section 23.
addresses.
options See section 22.
8.10. DHCP Reconfigure Message Format 8.10. DHCP Reconfigure Message Format
msg-type RECONFIG msg-type RECONFIG
transaction-ID An unsigned integer generated by the server used transaction-ID An unsigned integer generated by the server used
to identify this Reconfigure message. to identify this Reconfigure message.
server-address The IP address of the DHCP server issuing the options See section 23.
Reconfigure message. The address must have
sufficient scope to be reachable from the client.
options See section 22.
8.11. Information-Request Message Format 8.11. Information-Request Message Format
msg-type INFORM msg-type INFORMATION-REQUEST
transaction-ID An unsigned integer generated by the client used transaction-ID An unsigned integer generated by the client used
to identify this Inform message. to identify this Information-request message.
server-address Contains IP address of server to which this
message is directed, or 0 if any server may
respond.
options See section 22. options See section 23.
9. Relay messages 9. Relay messages
Relay agents exchange messages with servers to forward messages Relay agents exchange messages with servers to forward messages
between clients and servers that are not connected to the same link. between clients and servers that are not connected to the same link.
There are two relay messages, which share the following format: There are two relay messages, which share the following format:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| msg-type | | | msg-type | |
+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+ |
| link-address | | link-address |
| | | |
| | | |
skipping to change at page 16, line 51 skipping to change at page 15, line 47
link-address An address with a prefix that is assigned link-address An address with a prefix that is assigned
to the link from which the client should to the link from which the client should
be assigned an address. be assigned an address.
client-return-address The IPv6 source address in which the client-return-address The IPv6 source address in which the
message from the client was received by message from the client was received by
the relay agent the relay agent
options MUST include a "Client message option"; options MUST include a "Client message option";
see section 22.9; MAY include other see section 23.10; MAY include other
options added by the relay agent options added by the relay agent
9.2. Relay-reply message 9.2. Relay-reply message
The following table defines the use of message fields in a The following table defines the use of message fields in a
Relay-reply message. Relay-reply message.
msg-type RELAY-REPL msg-type RELAY-REPL
link-address The link-address copied from the link-address The link-address copied from the
Relay-forward message; used by the relay Relay-forward message; used by the relay
agent to select the link on which the agent to select the link on which the
message is returned to the client message is returned to the client
client-return-address The source address from the IP datagram client-return-address The source address from the IP datagram
in which the message from the client was in which the message from the client was
received by the relay agent received by the relay agent
options MUST include a "Server message option"; options MUST include a "Server message option";
see section 22.10; MAY include other see section 23.11; MAY include other
options options
10. Representation and use of domain names 10. Representation and use of domain names
So that domain names may be encoded uniformly and compactly, a So that domain names may be encoded uniformly and compactly, a
domain name or a list of domain names is encoded using the technique domain name or a list of domain names is encoded using the technique
described in sections 3.1 and 4.1.4 of RFC1035 [15]. Section 4.1.4 described in sections 3.1 and 4.1.4 of RFC1035 [14]. Section 4.1.4
of RFC1035 describes how more than one domain name can be represented of RFC1035 describes how more than one domain name can be represented
in a list of domain names. For use in this specification, in a in a list of domain names. For use in this specification, in a
list of domain names, the compression pointer (see section 4.1.4 of list of domain names, the compression pointer (see section 4.1.4 of
RFC1035) refers to the offset within the list. RFC1035) refers to the offset within the list.
If a single domain name is being used by a vendor as a vendor If a single domain name is being used by a vendor as a vendor
identifier, then the vendor MUST ensure that the domain name has not identifier, then the vendor MUST ensure that the domain name has not
previously been used by a different vendor. previously been used by a different vendor.
11. DHCP unique identifier (DUID) 11. DHCP unique identifier (DUID)
Each DHCP client has a DUID. DHCP servers use DUIDs to identify Each DHCP client and server has a DUID. DHCP servers use DUIDs to
clients for the selection of configuration parameters and in identify clients for the selection of configuration parameters and
the association of IAs with clients. See section 22.2 for the in the association of IAs with clients. DHCP clients use DUIDs to
representation of a DUID in a DHCP message. identify a server in messages where a server needs to be identified.
See sections 23.3 and 23.2 for the representation of a DUID in a DHCP
message.
Servers MUST treat DUIDs as opaque values and MUST only compare DUIDs Clients and servers MUST treat DUIDs as opaque values and MUST only
for equality. Servers MUST NOT in any other way interpret DUIDs. compare DUIDs for equality. Clients and servers MUST NOT in any
Servers MUST NOT restrict DUIDs to the types defined in this document other way interpret DUIDs. Clients and servers MUST NOT restrict
as additional DUID types may be defined in the future. DUIDs to the types defined in this document as additional DUID types
may be defined in the future.
The DUID is carried in an option because it may be variable length The DUID is carried in an option because it may be variable length
and because it is not required in all DHCP options (e.g., messages and because it is not required in all DHCP options. The DUID is
sent by servers need not include a DUID). The DUID is designed to designed to be unique across all DHCP clients and servers, and
be unique across all DHCP clients, and consistent for any specific consistent for any specific client or server - that is, the DUID used
client - that is, the DUID used by a client SHOULD NOT change over by a client or server SHOULD NOT change over time, for example, as a
time, for example, as a result of network hardware reconfiguration. result of network hardware reconfiguration.
The motivation for having more than one type of DUID is that the DUID The motivation for having more than one type of DUID is that the DUID
must be globally unique, and must also be easy to generate. The sort must be globally unique, and must also be easy to generate. The sort
of globally-unique identifier that is easy to generate for any given of globally-unique identifier that is easy to generate for any given
device can differ quite widely. Also, some devices may not contain device can differ quite widely. Also, some devices may not contain
any persistent storage. Retaining a generated DUID in such a device any persistent storage. Retaining a generated DUID in such a device
is not possible, so the DUID scheme must accommodate such devices. is not possible, so the DUID scheme must accommodate such devices.
11.1. DUID contents 11.1. DUID contents
skipping to change at page 18, line 30 skipping to change at page 17, line 35
1 Link-layer address plus time 1 Link-layer address plus time
2 Vendor-assigned unique ID 2 Vendor-assigned unique ID
3 Link-layer address 3 Link-layer address
Formats for the variable field of the DUID for each of the above Formats for the variable field of the DUID for each of the above
types are shown below. types are shown below.
11.2. DUID based on link-layer address plus time 11.2. DUID based on link-layer address plus time
This type of DUID consists of four octets containing a time value, This type of DUID consists of a two octet type field containing the
followed by a two octet network hardware type code, followed by value 1, a two octet hardware type code, four octets containing
link-layer address of any one network interface that is connected a time value, followed by link-layer address of any one network
to the DHCP client device at the time that the DUID is generated. interface that is connected to the DHCP device at the time that the
The time value is the time that the DUID is generated represented DUID is generated. The time value is the time that the DUID is
in seconds since midnight (UTC), January 1, 2000, modulo 2^32. The generated represented in seconds since midnight (UTC), January 1,
hardware type MUST be a valid hardware type assigned by the IANA as 2000, modulo 2^32. The hardware type MUST be a valid hardware type
described in the section on ARP in RFC 826. Both the time and the assigned by the IANA as described in the section on ARP in RFC 826.
hardware type are stored in network order. Both the time and the hardware type are stored in network order.
The following diagram illustrates the format of a DUID based on
link-layer address plus time:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 1 | Hardware type (16 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time (32 bits) | | Time (32 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Hardware type (16 bits) | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
. . . .
. link-layer address (variable length) . . link-layer address (variable length) .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The choice of network interface can be completely arbitrary, as long The choice of network interface can be completely arbitrary, as long
as that interface provides a unique link-layer address, and the same as that interface provides a unique link-layer address, and the same
DUID should be used in configuring all network interfaces connected DUID should be used in configuring all network interfaces connected
to the device, regardless of which interface's link-layer address was to the device, regardless of which interface's link-layer address was
used to generate the DUID. used to generate the DUID.
DHCP clients using this type of DUID MUST store the DUID in stable Clients and servers using this type of DUID MUST store the DUID
storage, and MUST continue to use this DUID even if the network in stable storage, and MUST continue to use this DUID even if the
interface used to generate the DUID is removed. DHCP clients that do network interface used to generate the DUID is removed. Clients and
not have any stable storage MUST NOT use this type of DUID. servers that do not have any stable storage MUST NOT use this type of
DUID.
DHCP clients that use this DUID SHOULD attempt to configure the time Clients and servers that use this DUID SHOULD attempt to configure
prior to generating the DUID, if that is possible, and MUST use the time prior to generating the DUID, if that is possible, and MUST
some sort of time source (e.g., a real-time clock) in generating use some sort of time source (e.g., a real-time clock) in generating
the DUID, even if that time source could not be configured prior to the DUID, even if that time source could not be configured prior to
generating the DUID. The use of a time source makes it unlikely that generating the DUID. The use of a time source makes it unlikely that
two identical DUIDs will be generated if the network interface is two identical DUIDs will be generated if the network interface is
removed from the client and another client then uses the same network removed from the client and another client then uses the same network
interface to generate a DUID. A DUID collision is very unlikely even interface to generate a DUID. A DUID collision is very unlikely even
if the clocks haven't been configured prior to generating the DUID. if the clocks haven't been configured prior to generating the DUID.
This method of DUID generation is recommended for all general purpose This method of DUID generation is recommended for all general purpose
computing devices such as desktop computers and laptop computers, and computing devices such as desktop computers and laptop computers, and
also for devices such as printers, routers, and so on, that contain also for devices such as printers, routers, and so on, that contain
some form of writable non-volatile storage. some form of writable non-volatile storage.
11.3. Vendor-assigned unique ID 11.3. Vendor-assigned unique ID (VUID)
The vendor-assigned unique ID consists of an eight-octet The vendor-assigned unique ID consists of a two-octet value giving
vendor-unique identifier, followed by the vendor's registered domain the length of the identifier, the value of the idnetifier and the
name. vendor's registered domain name.
The following diagram summarizes the structure of a VUID:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| VUID (64 bits) | | 2 | identifier length |
| | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. identifier .
. (variable length) .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. . . .
. domain name (variable length) . . domain name (variable length) .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The structure of the VUID is left up to the vendor defining it, but The source of the identifier is left up to the vendor defining it,
each device containing such a VUID MUST be unique to each device but each identifier part of each VUID MUST be unique to the device
that is using it, and MUST be assigned to the device at the time of that is using it, and MUST be assigned to the device at the time of
manufacture and stored in some form of non-volatile storage. The manufacture and stored in some form of non-volatile storage. The
VUID SHOULD be recorded in non-erasable storage. The domain name VUID SHOULD be recorded in non-erasable storage. The domain name
is simply any domain name that has been legally registered by the is simply any domain name that has been legally registered by the
vendor in the domain name system [14], stored in the form described vendor in the domain name system [13], stored in the form described
in section 10. in section 10.
An example DUID of this type might look like this: An example DUID of this type might look like this:
+--+---+---+---+-+-+-+--+---+---+--+---+---+---+---+--+--+---+---+ +---+---+---+---+---+---+---+---+
|12|192|132|221|3|0|9|18|101|120|97|109|112|108|101|46|99|111|109| | 0 | 2 | 0 | 8 | 12|192|132|221|
+--+---+---+---+-+-+-+--+---+---+--+---+---+---+---+--+--+---+---+ +---+---+---+---+---+---+---+---+
| 3 | 0 | 9 | 18|101|120| 97|109|
+---+---+---+---+---+---+---+---+
|112|108|101| 46| 99|111|109|
+---+---+---+---+---+---+---+
This is eight octets of VUID data, followed by "example.com" This example includes the two-octet type of 2, the two-octet length
of 8, eight octets of identifier data, followed by "example.com"
represented in ASCII. represented in ASCII.
11.4. Link-layer address 11.4. Link-layer address
This type of DUID consists of a two octet network hardware type code, This type of DUID consists of two octets containing the DUID type 3,
followed by the link-layer address of any one network interface that a two octet network hardware type code, followed by the link-layer
is permanently connected to the DHCP client device and cannot be address of any one network interface that is permanently connected
removed. The hardware type MUST be a valid hardware type assigned by to the client or server device and cannot be removed. The hardware
the IANA as described in the section on ARP in RFC 826. The hardware type MUST be a valid hardware type assigned by the IANA as described
type is stored in network order. in the section on ARP in RFC 826. The hardware type is stored in
network order.
The following diagram illustrates the format of a DUID based on
link-layer address:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Hardware type (16 bits) | | | 3 | Hardware type (16 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. . . .
. link-layer address (variable length) . . link-layer address (variable length) .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The choice of network interface can be completely arbitrary, as The choice of network interface can be completely arbitrary, as
long as that interface provides a unique link-layer address and long as that interface provides a unique link-layer address and
is permanently attached to the device on which the DUID is being is permanently attached to the device on which the DUID is being
generated. The same DUID should be used in configuring all network generated. The same DUID should be used in configuring all network
interfaces connected to the device, regardless of which interface's interfaces connected to the device, regardless of which interface's
link-layer address was used to generate the DUID. link-layer address was used to generate the DUID.
This type of DUID is recommended for devices that have a This type of DUID is recommended for devices that have a
permanently-connected network interface with a link-layer address and permanently-connected network interface with a link-layer address and
do not have nonvolatile, writable stable storage. This type of DUID do not have nonvolatile, writable stable storage. This type of DUID
MUST NOT be used by DHCP clients that cannot tell whether or not a MUST NOT be used by DHCP clients or servers that cannot tell whether
network interface is permanently attached to the device on which the or not a network interface is permanently attached to the device on
DHCP client is running. which the DHCP client is running.
12. Identity association 12. Identity association
An "identity-association" (IA) is a construct through which a server An "identity-association" (IA) is a construct through which a server
and a client can identify, group and manage IPv6 addresses. Each IA and a client can identify, group and manage IPv6 addresses. Each IA
consists of an IAID and associated configuration information. consists of an IAID and associated configuration information.
A client must associate at least one distinct IA with each of A client must associate at least one distinct IA with each of
its network interfaces and uses that IA to obtain configuration its network interfaces and uses that IA to obtain configuration
information from a server for that interface. Other distinct IAs may information from a server for that interface. Other distinct IAs may
skipping to change at page 21, line 30 skipping to change at page 21, line 13
configuration changes. configuration changes.
The configuration information in an IA consists of one or more IPv6 The configuration information in an IA consists of one or more IPv6
addresses and other parameters. The parameters are specified as DHCP addresses and other parameters. The parameters are specified as DHCP
options within the IA, and are associated with the addresses in the options within the IA, and are associated with the addresses in the
IA and the interface to which the IA belongs. Other parameters that IA and the interface to which the IA belongs. Other parameters that
are not associated with a particular interface may be specified in are not associated with a particular interface may be specified in
the options section of a DHCP message, outside the scope of any IA. the options section of a DHCP message, outside the scope of any IA.
Each address in an IA has a preferred lifetime and a valid lifetime, Each address in an IA has a preferred lifetime and a valid lifetime,
as defined in RFC2462 [23]. The lifetimes are transmitted from the as defined in RFC2462 [21]. The lifetimes are transmitted from the
DHCP server to the client in the IA option. The lifetimes apply to DHCP server to the client in the IA option. The lifetimes apply to
the use of IPv6 addresses as described in section 5.5.4 of RFC2462. the use of IPv6 addresses as described in section 5.5.4 of RFC2462.
An address whose valid lifetime has expired MAY be discarded from the An address whose valid lifetime has expired MAY be discarded from the
IA. IA.
See section 22.3 for the representation of an IA in a DHCP message. See section 23.4 for the representation of an IA in a DHCP message.
13. Selecting addresses for assignment to an IA 13. Selecting addresses for assignment to an IA
A server selects addresses to be assigned to an IA according to the A server selects addresses to be assigned to an IA according to the
address assignment policies determined by the server administrator address assignment policies determined by the server administrator
and the specific information the server determines about the client and the specific information the server determines about the client
from the following sources: from the following sources:
- The link to which the client is attached: - The link to which the client is attached. The server determines
the link as follows:
* If the server receives the message directly from the client * If the server receives the message directly from the client
and the source address in the IP datagram in which the and the source address in the IP datagram in which the
message was received is a link-local address, then the client message was received is a link-local address, then the client
is on the same link to which the interface over which the is on the same link to which the interface over which the
message was received is attached message was received is attached
* If the server receives the message directly from the client
and the source address in the IP datagram in which the
message was received is not a link-local address, then the
client is on the link identified by the source address in the
IP datagram
* If the server receives the message from a forwarding relay * If the server receives the message from a forwarding relay
agent, then the client is on the same link as the one to agent, then the client is on the same link as the one to
which the interface identified by the link-address field in which the interface identified by the link-address field in
the message from the relay is attached the message from the relay is attached
- The DUID supplied by the client - The DUID supplied by the client
- Other information in options supplied by the client - Other information in options supplied by the client
- Other information in options supplied by the relay agent - Other information in options supplied by the relay agent
- If the server receives the message directly from the client and
the source address in the IP datagram in which the message was
received is not a link-local address, then the client is on the
link identified by the source address in the IP datagram (note
that this situation can occur only if the server has enabled the
use of unicast message delivery by the client and the client has
sent a message for which unicast delivery is allowed)
The addresses that the server selects for the client MUST be valid on The addresses that the server selects for the client MUST be valid on
the link to which the interface is attached, regardless of the way in the link to which the interface is attached, regardless of the way in
which the server selects the addresses. which the server selects the addresses.
14. Management of temporary addresses 14. Management of temporary addresses
A client may be assigned temporary addresses [17]. Clients and A client may be assigned temporary addresses [16]. Clients and
servers simply label addresses as "temporary". DHCPv6 handling servers simply label addresses as "temporary". DHCPv6 handling
of address lifetimes and lifetime extensions is no different for of address lifetimes and lifetime extensions is no different for
temporary addresses. DHCPv6 says nothing about details of temporary temporary addresses. DHCPv6 says nothing about details of temporary
addresses like lifetimes, lifetime extensions, how clients use addresses like lifetimes, lifetime extensions, how clients use
temporary addresses, rules for generating successive temporary temporary addresses, rules for generating successive temporary
addresses, etc. addresses, etc.
In DHCP, temporary addresses are identified with T-bit set in the IA In DHCP, temporary addresses are identified with T-bit set in the IA
Address Option(see section 22.4). A client may have zero or more Address Option(see section 23.5). A client may have zero or more
temporary addresses. Addresses with the T-bit set MUST be intended temporary addresses. Addresses with the T-bit set MUST be intended
for the client to use for the general purposes described in RFC3041. for the client to use for the general purposes described in RFC3041.
Addresses that otherwise have short lifetimes or are not intended to Addresses that otherwise have short lifetimes or are not intended to
be renewed by the server MUST NOT have the T-bit set. be renewed by the server MUST NOT have the T-bit set.
Clients ask for temporary addresses and servers assign them. When a Clients ask for temporary addresses and servers assign them. When
client sends an IA to a server, the client lists all of the temporary a client sends an IA to a server, the client lists all of the
addresses it knows about and optionally indicates how many additional temporary addresses it knows about and optionally indicates how many
temporary addresses it wants in the Requested Temporary Addresses additional temporary addresses it wants in the Requested Temporary
Option 22.5. The server compares the number of requested additional Addresses Option(see section 23.6). The server compares the number
temporary addresses against any previously allocated temporary of requested additional temporary addresses against any previously
addresses for the IA that were not reported by the client in the allocated temporary addresses for the IA that were not reported
IA but still have some reasonable preferred lifetime left. If the by the client in the IA but still have some reasonable preferred
number of temporary addresses is less than the requested number, the lifetime left. If the number of temporary addresses is less than the
server adds additional temporary addresses to the IA to satisfy the requested number, the server adds additional temporary addresses to
requested number (subject to server policy). the IA to satisfy the requested number (subject to server policy).
DISCUSSION: DISCUSSION:
It is important that the server include any allocated It is important that the server include any allocated
temporary addresses that were not reported by the client as temporary addresses that were not reported by the client as
it is possible the client never received an earlier Reply it is possible the client never received an earlier Reply
that contained these additional temporary addresses. If that contained these additional temporary addresses. If
the server did not consider these, a client that fails to the server did not consider these, a client that fails to
receive a server's reply might cause the server to allocate receive a server's reply might cause the server to allocate
many temporary addresses. many temporary addresses.
skipping to change at page 23, line 26 skipping to change at page 23, line 12
to install address(es) that it receives and did not request and can to install address(es) that it receives and did not request and can
release any addresses it does not want. release any addresses it does not want.
The server MAY update the DNS for a temporary address as described in The server MAY update the DNS for a temporary address as described in
section 4 of RFC3041, and MUST NOT update the DNS in any other way section 4 of RFC3041, and MUST NOT update the DNS in any other way
for a temporary address. for a temporary address.
15. Reliability of Client Initiated Message Exchanges 15. Reliability of Client Initiated Message Exchanges
DHCP clients are responsible for reliable delivery of messages in the DHCP clients are responsible for reliable delivery of messages in the
client-initiated message exchanges described in sections 17 and 18. client-initiated message exchanges described in sections 18 and 19.
If a DHCP client fails to receive an expected response from a server, If a DHCP client fails to receive an expected response from a server,
the client must retransmit its message. This section describes the the client must retransmit its message. This section describes the
retransmission strategy to be used by clients in client-initiated retransmission strategy to be used by clients in client-initiated
message exchanges. message exchanges.
Note that the procedure described in this section is slightly Note that the procedure described in this section is slightly
modified for use with the Solicit message (section 17.1.2). modified for use with the Solicit message (section 18.1.2).
The client begins the message exchange by transmitting a message to The client begins the message exchange by transmitting a message to
the server. The message exchange terminates when either the client the server. The message exchange terminates when either the client
successfully receives the appropriate response or responses from a successfully receives the appropriate response or responses from a
server or servers, or when the message exchange is considered to have server or servers, or when the message exchange is considered to have
failed according to the retransmission mechanism described below. failed according to the retransmission mechanism described below.
The client retransmission behavior is controlled and described by the The client retransmission behavior is controlled and described by the
following variables: following variables:
skipping to change at page 25, line 7 skipping to change at page 24, line 42
met. met.
16. Message validation 16. Message validation
Servers MUST discard any received messages that include Servers MUST discard any received messages that include
authentication information and fail the authentication check by the authentication information and fail the authentication check by the
server. server.
Clients MUST discard any received messages that include Clients MUST discard any received messages that include
authentication information and fail the authentication check by the authentication information and fail the authentication check by the
client, except as noted in section 21.6.5.2. client, except as noted in section 22.6.5.2.
16.1. Use of Transaction-ID field 16.1. Use of Transaction-ID field
The "transaction-ID" field holds a value used by clients and servers The "transaction-ID" field holds a value used by clients and servers
to synchronize server responses to client messages. A client SHOULD to synchronize server responses to client messages. A client SHOULD
choose a different transaction-ID for each new message it sends. A choose a different transaction-ID for each new message it sends. A
client MUST leave the transaction-ID unchanged in retransmissions of client MUST leave the transaction-ID unchanged in retransmissions of
a message. a message.
16.2. Solicit message 16.2. Solicit message
Clients MUST discard any received Solicit messages. Clients MUST discard any received Solicit messages.
Relay agents MUST discard any Solicit messages received through port Relay agents MUST discard any Solicit messages received through port
546. 546.
Servers MUST discard any Solicit messages that do not include a
Client Identifier option.
16.3. Advertise message 16.3. Advertise message
Clients MUST discard any received Advertise messages in which the Clients MUST discard any received Advertise messages that meet any of
"Transaction-ID" field value does not match the value the client used the following conditions:
in its Solicit message.
- the message does not include a Server Identifier option
- the message does not include a Client Identifier option
- the contents of the Client Identifier option does not match the
client's DUID
- the "Transaction-ID" field value does not match the value the
client used in its Solicit message
Servers and relay agents MUST discard any received Advertise Servers and relay agents MUST discard any received Advertise
messages. messages.
16.4. Request message 16.4. Request message
Clients MUST discard any received Request messages. Clients MUST discard any received Request messages.
Relay agents MUST discard any Request messages received through port Relay agents MUST discard any Request messages received through port
546. 546.
Servers MUST discard any received Request message in which the value Servers MUST discard any received Request message that meet any of
in the "server-address" field does not match any of the addresses the following conditions:
used by the server.
- the message does not include a Server Identifier option
- the contents of the Server Identifier option do not match the
server's identifier
- the message does not include a Client Identifier option
16.5. Confirm message 16.5. Confirm message
Clients MUST discard any received Confirm messages. Clients MUST discard any received Confirm messages.
Relay agents MUST discard any Confirm messages received through port Relay agents MUST discard any Confirm messages received through port
546. 546.
Servers MUST discard any Confirm messages received that do not
include a Client Identifier option.
16.6. Renew message 16.6. Renew message
Clients MUST discard any received Renew messages. Clients MUST discard any received Renew messages.
Relay agents MUST discard any Renew messages received through port Relay agents MUST discard any Renew messages received through port
546. 546.
Servers MUST discard any received Renew message in which the value in Servers MUST discard any received Renew message that meets any of the
the "server-address" field does not match any of the addresses used following conditions:
by the server.
- the message does not include a Server Identifier option
- the contents of the Server Identifier option do not match the
server's identifier
- the message does not include a Client Identifier option
16.7. Rebind message 16.7. Rebind message
Clients MUST discard any received Rebind messages. Clients MUST discard any received Rebind messages.
Relay agents MUST discard any Rebind messages received through port Relay agents MUST discard any Rebind messages received through port
546. 546.
Servers MUST discard any received Rebind message that does not
include a Client Identifier option.
16.8. Decline messages 16.8. Decline messages
Clients MUST discard any received Decline messages. Clients MUST discard any received Decline messages.
Relay agents MUST discard any Decline messages received through port Relay agents MUST discard any Decline messages received through port
546. 546.
Servers MUST discard any received Decline message in which the value Servers MUST discard any received Decline message that meets any of
in the "server-address" field does not match any of the addresses the following conditions:
used by the server.
- the message does not include a Server Identifier option
- the contents of the Server Identifier option do not match the
server's identifier
- the message does not include a Client Identifier option
16.9. Release message 16.9. Release message
Clients MUST discard any received Release messages. Clients MUST discard any received Release messages.
Relay agents MUST discard any Release messages received through port Relay agents MUST discard any Release messages received through port
546. 546.
Servers MUST discard any received Release message in which the value - the message does not include a Server Identifier option
in the "server-address" field does not match any of the addresses
used by the server. - the contents of the Server Identifier option do not match the
server's identifier
- the message does not include a Client Identifier option
16.10. Reply message 16.10. Reply message
Clients MUST discard any received Reply messages in which the Clients MUST discard any received Reply messages that meet any of the
"transaction-ID" field in the message does not match the value used following conditions:
in the original message.
- the message does not include a Server Identifier option
- the "transaction-ID" field in the message does not match the
value used in the original message
- the message does not include a Client Identifier option
- the contents of the Client Identifier option does not match the
DUID of the client
Servers and relay agents MUST discard any received Reply messages. Servers and relay agents MUST discard any received Reply messages.
16.11. Reconfigure message 16.11. Reconfigure message
Servers and relay agents MUST discard any received Reconfigure Servers and relay agents MUST discard any received Reconfigure
messages. messages.
Clients MUST discard any Reconfigure messages that do not contain an Clients MUST discard any Reconfigure messages that meet any of the
authentication option or that fail the authentication performed by following conditions:
the client.
16.12. Inform message - the message does not include a Server Identifier option
Clients MUST discard any received Inform messages. - the message does not contain an authentication option
Relay agents MUST discard any Inform messages received through port - the message fails the authentication validation performed by the
546. client
16.12. Information-request message
Clients MUST discard any received Information-request messages.
Relay agents MUST discard any Information-request messages received
through port 546.
Servers MAY choose to discard any received Information-request
messages that do not include a Client Identifier option.
Servers MUST discard any received Information-request message that
includes a Server Identifier option and the DUID in the option does
not match the server's DUID.
16.13. Relay-forward message 16.13. Relay-forward message
Clients MUST discard any received Relay-forward messages. Clients MUST discard any received Relay-forward messages.
16.14. Relay-reply message 16.14. Relay-reply message
Clients and servers MUST discard any received Relay-reply messages. Clients and servers MUST discard any received Relay-reply messages.
17. DHCP Server Solicitation 17. Client Source Address and Interface Selection
When a client sends a DHCP message to the All_DHCP_Agents multicast
address, it MUST use the IPv6 link-local address assigned to
the interface for which the client is interested in obtaining
configuration as the source address in the header of the IP datagram.
When a client sends a DHCP message directly to a server using unicast
(after receiving the Server Unicast option from that server), it
MUST use an address assigned to the interafce for which the client
is interested in obtaining configuration, which is suitable for use
by the server in responding to the client, as the source address in
the header of the IP datagram. See "Default Address Selection for
IPv6" [6] for more details.
The client MUST transmit the message on the link that the interface
for which configuration information is being obtained is attached
to. The client SHOULD send the message through that interface. The
client MAY send the message through another interface attached to the
same link if and only if the client is certain the two interface are
attached to the same link.
18. DHCP Server Solicitation
This section describes how a client locates servers that will assign This section describes how a client locates servers that will assign
addresses to IAs belonging to the client. addresses to IAs belonging to the client.
The client is responsible for creating IAs and requesting that a The client is responsible for creating IAs and requesting that a
server assign configuration information, including IPv6 addresses, server assign configuration information, including IPv6 addresses,
to the IA. The client first creates an IA and assigns it an IAID. to the IA. The client first creates an IA and assigns it an IAID.
The client then transmits a Solicit message containing an IA option The client then transmits a Solicit message containing an IA option
describing the IA. Servers that can assign configuration information describing the IA. Servers that can assign configuration information
to the IA respond to the client with an Advertise message. The to the IA respond to the client with an Advertise message. The
client then initiates a configuration exchange as described in client then initiates a configuration exchange as described in
section 18. section 19.
17.1. Client Behavior 18.1. Client Behavior
A client uses the Solicit message to discover DHCP servers configured A client uses the Solicit message to discover DHCP servers configured
to serve addresses on the link to which the client is attached. to serve addresses on the link to which the client is attached.
17.1.1. Creation of Solicit messages 18.1.1. Creation of Solicit messages
The client sets the "msg-type" field to SOLICIT. The client generates The client sets the "msg-type" field to SOLICIT. The client generates
a transaction ID and inserts this value in the "transaction-ID" a transaction ID and inserts this value in the "transaction-ID"
field. field.
The client MUST include a DUID option to identify itself to the The client MUST include a Client Identifier option to identify itself
server. The client MUST include one or more IA options for any IAs to the server. The client MUST include one or more IA options for
to which it wants the server to assign addresses. The client MAY any IAs to which it wants the server to assign addresses. The client
include addresses in the IAs as a hint to the server about addresses MAY include addresses in the IAs as a hint to the server about
for which the client has a preference. The client MAY include an addresses for which the client has a preference. The client MAY
Option Request Option in the Solicit message. The client MUST NOT include an Option Request Option in the Solicit message. The client
include any other options except those specifically allowed as MUST NOT include any other options except those specifically allowed
defined by specific options. as defined by specific options.
17.1.2. Transmission of Solicit Messages If the client chooses to request specific options from the server,
it does so by including an Option Request option (see section 23.7,
which MUST include all of the options the client is requesting. The
client MAY include options with data values as hints to the server
about parameter values the client would like to have returned.
The client sends the Solicit message to the All_DHCP_Agents 18.1.2. Transmission of Solicit Messages
multicast address. The client MUST use an IPv6 address assigned
to the interface for which the client is interested in obtaining
configuration information as the source address in the IP header of
the datagram carrying the Solicit message.
The Solicit message MUST be transmitted on the link that the The client sends the Solicit message to the All_DHCP_Agents multicast
interface for which configuration information is being obtained address.
is attached to. The client SHOULD send the message through that
interface. The client MAY send the message through another interface
attached to the same link if and only if the client is certain the
two interface are attached to the same link.
The first Solicit message from the client on the interface MUST The first Solicit message from the client on the interface MUST
be delayed by a random amount of time between MIN_SOL_DELAY and be delayed by a random amount of time between MIN_SOL_DELAY and
MAX_SOL_DELAY. This random delay desynchronizes clients which start MAX_SOL_DELAY. This random delay desynchronizes clients which start
at the same time (e.g., after a power outage). at the same time (e.g., after a power outage).
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT SOL_TIMEOUT IRT SOL_TIMEOUT
MRT SOL_MAX_RT MRT SOL_MAX_RT
MRC 0 MRC 0
MRD 0 MRD 0
The mechanism in section 15 is modified as follows for use in the The mechanism in section 15 is modified as follows for use in the
transmission of Solicit messages. The message exchange is not transmission of Solicit messages. The message exchange is not
terminated by the receipt of an Advertise before SOL_TIMEOUT has terminated by the receipt of an Advertise before IRT has elapsed.
elapsed. Rather, the client collects Advertise messages until Rather, the client collects Advertise messages until IRT has elapsed.
SOL_TIMEOUT has elapsed. Also, the first RT MUST be selected to be Also, the first RT MUST be selected to be strictly greater than IRT
strictly greater than SOL_TIMEOUT by choosing RAND to be strictly by choosing RAND to be strictly greater than 0.
greater than 0.
A client MUST collect Advertise messages for SOL_TIMEOUT seconds, A client MUST collect Advertise messages for IRT seconds, unless
unless it receives an Advertise message with a preference value it receives an Advertise message with a preference value of 255.
of 255. The preference value is carried in the Preference option The preference value is carried in the Preference option (section
(section 22.7). Any Solicit that does not include a Preference 23.8). Any Solicit that does not include a Preference option is
option is considered to have a preference value of 0. If the client considered to have a preference value of 0. If the client receives
receives an Advertise message with a preference value of 255, then an Advertise message with a preference value of 255, then the client
the client MAY act immediately on that Advertise message without MAY act immediately on that Advertise message without waiting for any
waiting for any additional Advertise messages. additional Advertise messages.
If the client does not receive any Advertise messages before IRT
has elapsed, it begins the retransmission mechanism described in
section 15. The client terminates the retransmission process as
soon as it recieves any Advertise message, and the client acts on
the received Advertise message without waiting for any additional
Advertise messages.
A DHCP client SHOULD choose MRC and MRD to be 0. If the DHCP client A DHCP client SHOULD choose MRC and MRD to be 0. If the DHCP client
is configured with either MRC or MRD set to a value other than is configured with either MRC or MRD set to a value other than
0, it MUST stop trying to configure the interface if the message 0, it MUST stop trying to configure the interface if the message
exchange fails. After the DHCP client stops trying to configure the exchange fails. After the DHCP client stops trying to configure the
interface, it SHOULD choose to restart the reconfiguration process interface, it SHOULD choose to restart the reconfiguration process
after some external event, such as user input, system restart, or after some external event, such as user input, system restart, or
when the client is attached to a new link. when the client is attached to a new link.
17.1.3. Receipt of Advertise messages 18.1.3. Receipt of Advertise messages
The client MUST ignore any Advertise message that includes a Status The client MUST ignore any Advertise message that includes a Status
Code option containing the value AddrUnavail, with the exception that Code option containing the value AddrUnavail, with the exception that
the client MAY display the associated status message to the user. the client MAY display the associated status message to the user.
Upon receipt of one or more valid Advertise messages, the client Upon receipt of one or more valid Advertise messages, the client
selects one or more Advertise messages based upon the following selects one or more Advertise messages based upon the following
criteria. criteria.
- Those Advertise messages with the highest server preference value - Those Advertise messages with the highest server preference value
skipping to change at page 30, line 9 skipping to change at page 31, line 35
preference value, addresses advertised, when the advertisement was preference value, addresses advertised, when the advertisement was
received, and so on. Depending on the requirements of the user that received, and so on. Depending on the requirements of the user that
invoked the DHCP client, the client MAY initiate a configuration invoked the DHCP client, the client MAY initiate a configuration
exchange with the server(s) immediately, or MAY defer this exchange exchange with the server(s) immediately, or MAY defer this exchange
until later. until later.
If the client needs to select an alternate server in the case that a If the client needs to select an alternate server in the case that a
chosen server does not respond, the client chooses the next server chosen server does not respond, the client chooses the next server
according to the criteria given above. according to the criteria given above.
17.2. Server Behavior 18.2. Server Behavior
A server sends an Advertise message in response to Solicit messages A server sends an Advertise message in response to Solicit messages
it receives to announce the availability of the server to the client. it receives to announce the availability of the server to the client.
17.2.1. Receipt of Solicit messages 18.2.1. Receipt of Solicit messages
The server determines the information about the client and its The server determines the information about the client and its
location as described in section 13. If administrative policy location as described in section 13. If administrative policy
permits the server to respond to the client, the server will generate permits the server to respond to the client, the server will generate
and send an Advertise message to the client. and send an Advertise message to the client.
17.2.2. Creation and transmission of Advertise messages 18.2.2. Creation and transmission of Advertise messages
The server sets the "msg-type" field to ADVERTISE and copies the The server sets the "msg-type" field to ADVERTISE and copies the
contents of the transaction-ID field from the Solicit message contents of the transaction-ID field from the Solicit message
received from the client to the Advertise message. The server received from the client to the Advertise message. The server
places one of its IP addresses in the "server-address" field of the includes its server identifier in a Server Identifier option.
Advertise message. The administrator must be able to configure the
address used in the "server-address" field. The server MAY add a
Preference option to carry the preference value for the Advertise
message.
The server implementation SHOULD allow the setting of a server The server MAY add a Preference option to carry the preference value
preference value by the administrator. The server preference value for the Advertise message. The server implementation SHOULD allow
MUST default to zero unless otherwise configured by the server the setting of a server preference value by the administrator.
administrator. The server preference value MUST default to zero unless otherwise
configured by the server administrator.
The server MUST include IA options in the Advertise message The server MUST include IA options in the Advertise message
containing any addresses that would be assigned to IAs contained in containing any addresses that would be assigned to IAs contained in
the Solicit message from the client. The server MAY include some or the Solicit message from the client. The server MAY include some or
all of the IA options from the client in the Advertise message. all of the IA options from the client in the Advertise message.
If the server will not assign any addresses to IAs in a subsequent If the server will not assign any addresses to IAs in a subsequent
Request from the client, the server SHOULD either send an Advertise Request from the client, the server SHOULD either send an Advertise
message to the client that includes only a status code option with message to the client that includes only a status code option with
the status code set to AddrUnavail and a status message for the user the status code set to AddrUnavail and a status message for the user
or not respond to the Solicit message. or not respond to the Solicit message.
The server may choose to assign fewer temporary addresses than
the client requested with an RTA option (see section 23.6) and
includes a status code of Success in the IA. If the server will
assign no temporary addresses, the server includes a status code of
AddrUnavail.
The server MAY include other options the server will return to the The server MAY include other options the server will return to the
client in a subsequent Reply message. The information in these client in a subsequent Reply message. The information in these
options will be used by the client in the selection of a server if options will be used by the client in the selection of a server if
the client receives more than one Advertise message. The server the client receives more than one Advertise message. The server
SHOULD include options specifying values for options requested by the SHOULD include options specifying values for options requested by the
client in an Option Request Option included in the Solicit message. client in an Option Request Option included in the Solicit message.
If the Solicit message was received directly by the server, the If the Solicit message was received directly by the server, the
server unicasts the Advertise message directly to the client using server unicasts the Advertise message directly to the client using
the address in the source address field from the IP datagram in the address in the source address field from the IP datagram in
skipping to change at page 31, line 19 skipping to change at page 32, line 49
be unicast through the interface on which the Solicit message was be unicast through the interface on which the Solicit message was
received. received.
If the Solicit message was received in a Relay-forward message, If the Solicit message was received in a Relay-forward message,
the server constructs a Relay-reply message with the Advertise the server constructs a Relay-reply message with the Advertise
message in the payload of a "server-message" option. The server message in the payload of a "server-message" option. The server
unicasts the Relay-reply message directly to the relay agent using unicasts the Relay-reply message directly to the relay agent using
the address in the source address field from the IP datagram in which the address in the source address field from the IP datagram in which
the Relay-forward message was received. the Relay-forward message was received.
18. DHCP Client-Initiated Configuration Exchange 19. DHCP Client-Initiated Configuration Exchange
A client initiates a message exchange with a server or servers to A client initiates a message exchange with a server or servers to
acquire or update configuration information of interest. The client acquire or update configuration information of interest. The client
may initiate the configuration exchange as part of the operating may initiate the configuration exchange as part of the operating
system configuration process or when requested to do so by the system configuration process or when requested to do so by the
application layer. application layer.
18.1. Client Behavior 19.1. Client Behavior
A client will use Request, Confirm, Renew, Rebind and Inform messages A client will use Request, Confirm, Renew, Rebind and
to acquire and confirm the validity of configuration information. Information-request messages to acquire and confirm the
The client uses the server address information and information about validity of configuration information. The client uses the server
IAs from previous Advertise messages for use in constructing Request identifier information and information about IAs from previous
messages. Note that a client may request configuration information Advertise messages for use in constructing Request messages. Note
from one or more servers at any time. that a client may request configuration information from one or more
servers at any time.
18.1.1. Creation and transmission of Request messages 19.1.1. Creation and transmission of Request messages
The client uses a Request message to populate IAs with addresses The client uses a Request message to populate IAs with addresses
and obtain other configuration information. The client includes and obtain other configuration information. The client includes
one or more IA options in the Request message, with addresses and one or more IA options in the Request message, with addresses and
information about the IAs that were obtained from the server in a information about the IAs that were obtained from the server in a
previous Advertise message. The server then returns addresses and previous Advertise message. The server then returns addresses and
other information about the IAs to the client in IA options in a other information about the IAs to the client in IA options in a
Reply message. Reply message.
The client generates a transaction ID and inserts this value in the The client generates a transaction ID and inserts this value in the
"transaction-ID" field. "transaction-ID" field.
The client places the address of the destination server in the The client places the identifier of the destination server in a
"server-address" field. Server Identifier option.
The client MUST include a DUID option to identify itself to the The client MUST include a Client Identifier option to identify itself
server. The client adds any other appropriate options, including to the server. The client adds any other appropriate options,
one or more IA options (if the client is requesting that the server including one or more IA options (if the client is requesting that
assign it some network addresses). The list of addresses in each the server assign it some network addresses). The list of addresses
included IA MUST include the addresses received by the client in a in each included IA MUST include the addresses received by the client
previous Advertise message. in a previous Advertise message.
If the client chooses to request specific options from the server,
it does so by including an Option Request option (see section 23.7,
which MUST include all of the options the client is requesting. The
client MAY include options with data values as hints to the server
about parameter values the client would like to have returned.
If the client has a source address of sufficient scope that can be If the client has a source address of sufficient scope that can be
used by the server as a return address and the client has received used by the server as a return address and the client has received
a Server Unicast option (section 22.14) from the server, the client a Server Unicast option (section 23.13) from the server, the client
SHOULD unicast the Request message to the server. Otherwise, the SHOULD unicast the Request message to the server. Otherwise, the
client MUST send the Request message to the All_DHCP_Agents multicast client MUST send the Request message to the All_DHCP_Agents multicast
address. The client MUST use an address assigned to the interface address.
for which the client is interested in obtaining configuration
information as the source address in the IP header of the datagram
carrying the Request message.
DISCUSSION: DISCUSSION:
Use of multicast and relay agents enables the inclusion of Use of multicast and relay agents enables the inclusion of
relay agent options in all messages sent by the client. The relay agent options in all messages sent by the client. The
server should enable the use of unicast only when relay server should enable the use of unicast only when relay
agent options will not be used. agent options will not be used.
If the client multicasts the Request message, the message MUST be
transmitted on the link that the interface for which configuration
information is being obtained is attached to. The client SHOULD send
the message through that interface. The client MAY send the message
through another interface attached to the same link if and only if
the client is certain the the two interface are attached to the same
link.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT REQ_TIMEOUT IRT REQ_TIMEOUT
MRT REQ_MAX_RT MRT REQ_MAX_RT
MRC REQ_MAX_RC MRC REQ_MAX_RC
MRD 0 MRD 0
If the message exchange fails, the client MAY choose one of the If the message exchange fails, the client MAY choose one of the
following actions: following actions:
- Select another server from a list of servers known to the client; - Select another server from a list of servers known to the client;
e. g., servers that responded with an Advertise message e. g., servers that responded with an Advertise message
- Initiate the server discovery process described in section 17 - Initiate the server discovery process described in section 18
- Terminate the configuration process and report failure - Terminate the configuration process and report failure
18.1.2. Creation and transmission of Confirm messages 19.1.2. Creation and transmission of Confirm messages
Whenever a client may have moved to a new link, its IPv6 addresses Whenever a client may have moved to a new link, its IPv6 addresses
and other configuration information may no longer be valid. Examples and other configuration information may no longer be valid. Examples
of times when a client may have moved to a new link include: of times when a client may have moved to a new link include:
o The client reboots o The client reboots
o The client is physically disconnected from a wired connection o The client is physically disconnected from a wired connection
o The client returns from sleep mode o The client returns from sleep mode
skipping to change at page 33, line 30 skipping to change at page 34, line 51
client MUST initiate a Confirm/Reply message exchange. The client client MUST initiate a Confirm/Reply message exchange. The client
includes any IAs, along with the addresses associated with those IAs, includes any IAs, along with the addresses associated with those IAs,
in its Confirm message. Any responding servers will indicate the in its Confirm message. Any responding servers will indicate the
acceptability of the addresses with the status in the Reply message acceptability of the addresses with the status in the Reply message
it returns to the client. it returns to the client.
The client sets the "msg-type" field to CONFIRM. The client generates The client sets the "msg-type" field to CONFIRM. The client generates
a transaction ID and inserts this value in the "transaction-ID" a transaction ID and inserts this value in the "transaction-ID"
field. field.
The client sets the "server-address" field to 0. The client MUST include a Client Identifier option to identify itself
to the server. The client adds any appropriate options, including
one or more IA options. The client MUST include the addresses the
client currently has associated with those IAs.
The client MUST include a DUID option to identify itself to the If the client chooses to request specific options from the server,
server. The client adds any appropriate options, including one or it does so by including an Option Request option (see section 23.7,
more IA options. The client MUST include the addresses the client which MUST include all of the options the client is requesting. The
currently has associated with those IAs. client MAY include options with data values as hints to the server
about parameter values the client would like to have returned.
The client sends the Confirm message to the All_DHCP_Agents multicast The client sends the Confirm message to the All_DHCP_Agents multicast
address. The client MUST use an IPv6 address that the client has address. The client MUST use an IPv6 address that the client has
confirmed to be valid on the link to which it is currently attached confirmed to be valid on the link to which it is currently attached
and that is assigned to the interface for which the client is and that is assigned to the interface for which the client is
interested in obtaining configuration information as the source interested in obtaining configuration information as the source
address in the IP header of the datagram carrying the Confirm address in the IP header of the datagram carrying the Confirm
message. message.
The Confirm message MUST be transmitted on the link that the
interface for which configuration information is being obtained
is attached to. The client SHOULD send the message through that
interface. The client MAY send the message through another interface
attached to the same link if and only if the client is certain the
the two interface are attached to the same link.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT CNF_TIMEOUT IRT CNF_TIMEOUT
MRT CNF_MAX_RT MRT CNF_MAX_RT
MRC 0 MRC 0
MRD CNF_MAX_RD MRD CNF_MAX_RD
If the client receives no responses before the message transmission If the client receives no responses before the message transmission
process as described in section 15 terminates, the client SHOULD process as described in section 15 terminates, the client SHOULD
continue to use any IP addresses, using the last known lifetimes for continue to use any IP addresses, using the last known lifetimes for
those addresses, and SHOULD continue to use any other previously those addresses, and SHOULD continue to use any other previously
obtained configuration parameters. obtained configuration parameters.
skipping to change at page 34, line 14 skipping to change at page 35, line 36
MRC 0 MRC 0
MRD CNF_MAX_RD MRD CNF_MAX_RD
If the client receives no responses before the message transmission If the client receives no responses before the message transmission
process as described in section 15 terminates, the client SHOULD process as described in section 15 terminates, the client SHOULD
continue to use any IP addresses, using the last known lifetimes for continue to use any IP addresses, using the last known lifetimes for
those addresses, and SHOULD continue to use any other previously those addresses, and SHOULD continue to use any other previously
obtained configuration parameters. obtained configuration parameters.
18.1.3. Creation and transmission of Renew messages 19.1.3. Creation and transmission of Renew messages
To extend the valid and preferred lifetimes associated with To extend the valid and preferred lifetimes associated with
addresses, the client sends a Renew message to the server containing addresses, the client sends a Renew message to the server containing
an "IA option" for the IA and its associated addresses. The server an "IA option" for the IA and its associated addresses. The server
determines new lifetimes for the addresses in the IA according to the determines new lifetimes for the addresses in the IA according to the
administrative configuration of the server. The server may also add administrative configuration of the server. The server may also add
new addresses to the IA. The server may remove addresses from the IA new addresses to the IA. The server may remove addresses from the IA
by setting the preferred and valid lifetimes of those addresses to by setting the preferred and valid lifetimes of those addresses to
zero. zero.
skipping to change at page 34, line 37 skipping to change at page 36, line 8
parameters assigned to an IA. parameters assigned to an IA.
At time T1 for an IA, the client initiates a Renew/Reply message At time T1 for an IA, the client initiates a Renew/Reply message
exchange to extend the lifetimes on any addresses in the IA. The exchange to extend the lifetimes on any addresses in the IA. The
client includes an IA option with all addresses currently assigned to client includes an IA option with all addresses currently assigned to
the IA in its Renew message. the IA in its Renew message.
The client sets the "msg-type" field to RENEW. The client generates a The client sets the "msg-type" field to RENEW. The client generates a
transaction ID and inserts this value in the "transaction-ID" field. transaction ID and inserts this value in the "transaction-ID" field.
The client places the address of the destination server in the The client places the identifier of the destination server in a
"server-address" field. Server Identifier option.
The client MUST include a DUID option to identify itself to the The client MUST include a Client Identifier option to identify
server. The client adds any appropriate options, including one or itself to the server. The client adds any appropriate options,
more IA options (if the client is requesting that the server extend including one or more IA options (if the client is requesting that
the lifetimes of the addresses assigned to those IAs; note that the the server extend the lifetimes of the addresses assigned to those
client may check the status of other configuration parameters without IAs; note that the client may check the status of other configuration
asking for lifetime extensions). The client MUST include the list parameters without asking for lifetime extensions). The client MUST
of addresses the client currently has associated with the IAs in the include the list of addresses the client currently has associated
Renew message. with the IAs in the Renew message.
If the client chooses to request specific options from the server,
it does so by including an Option Request option (see section 23.7,
which MUST include all of the options the client is requesting. The
client MAY include options with data values as hints to the server
about parameter values the client would like to have returned.
If the client has a source address of sufficient scope that can be If the client has a source address of sufficient scope that can be
used by the server as a return address and the client has received used by the server as a return address and the client has received
a Server Unicast option (section 22.14) from the server, the client a Server Unicast option (section 23.13) from the server, the client
SHOULD unicast the Renew message to the server. Otherwise, the SHOULD unicast the Renew message to the server. Otherwise, the
client sends the Renew message to the All_DHCP_Agents multicast client sends the Renew message to the All_DHCP_Agents multicast
address. The client MUST use an address assigned to the interface address.
for which the client is interested in obtaining configuration
information as the source address in the IP header of the datagram
carrying the Renew message.
If the Renew message is multicast, it MUST be transmitted on the DISCUSSION:
link that the interface for which configuration information is being
obtained is attached to. The client SHOULD send the message through Use of multicast and relay agents enables the inclusion of
that interface. The client MAY send the message through another relay agent options in all messages sent by the client. The
interface attached to the same link if and only if the client is server MUST NOT enable the use of unicast for a client when
certain the the two interface are attached to the same link. relay agent options are required for that client.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT REN_TIMEOUT IRT REN_TIMEOUT
MRT REP_MAX_RT MRT REP_MAX_RT
MRC 0 MRC 0
MRD 0 MRD 0
The mechanism in section 15 is modified as follows for use in the The mechanism in section 15 is modified as follows for use in the
transmission of Renew messages. The message exchange is terminated transmission of Renew messages. The message exchange is terminated
when time T2 is reached (see section 18.1.4), at which time the when time T2 is reached (see section 19.1.4), at which time the
client begins a Rebind message exchange. client begins a Rebind message exchange.
18.1.4. Creation and transmission of Rebind messages 19.1.4. Creation and transmission of Rebind messages
At time T2 for an IA (which will only be reached if the server to At time T2 for an IA (which will only be reached if the server to
which the Renew message was sent at time T1 has not responded), which the Renew message was sent at time T1 has not responded),
the client initiates a Rebind/Reply message exchange. The client the client initiates a Rebind/Reply message exchange. The client
includes an IA option with all addresses currently assigned to the includes an IA option with all addresses currently assigned to the
IA in its Rebind message. The client sends this message to the IA in its Rebind message. The client sends this message to the
All_DHCP_Agents multicast address. All_DHCP_Agents multicast address.
The client sets the "msg-type" field to REBIND. The client generates The client sets the "msg-type" field to REBIND. The client generates
a transaction ID and inserts this value in the "transaction-ID" a transaction ID and inserts this value in the "transaction-ID"
field. field.
The client sets the "server-address" field to 0. The client MUST include a Client Identifier option to identify
itself to the server. The client adds any appropriate options,
The client MUST include a DUID option to identify itself to the including one or more IA options. The client MUST include the list
server. The client adds any appropriate options, including one or of addresses the client currently has associated with the IAs in the
more IA options. The client MUST include the list of addresses the Rebind message.
client currently has associated with the IAs in the Rebind message.
The client sends the Rebind message to the All_DHCP_Agents If the client chooses to request specific options from the server,
multicast address. The client MUST use an IPv6 address assigned it does so by including an Option Request option (see section 23.7,
to the interface for which the client is interested in obtaining which MUST include all of the options the client is requesting. The
configuration information as the source address in the IP header of client MAY include options with data values as hints to the server
the datagram carrying the Rebind message. about parameter values the client would like to have returned.
The Rebind message MUST be transmitted on the link that the interface The client sends the Rebind message to the All_DHCP_Agents multicast
for which configuration information is being obtained is attached address.
to. The client SHOULD send the message through that interface. The
client MAY send the message through another interface attached to the
same link if and only if the client is certain the the two interface
are attached to the same link.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT REB_TIMEOUT IRT REB_TIMEOUT
MRT REB_MAX_RT MRT REB_MAX_RT
MRC 0 MRC 0
skipping to change at page 36, line 37 skipping to change at page 38, line 5
actions to choose from: actions to choose from:
- The client may choose to use a Solicit message to locate a new - The client may choose to use a Solicit message to locate a new
DHCP server and send a Request for the expired IA to the new DHCP server and send a Request for the expired IA to the new
server server
- The client may have other addresses in other IAs, so the client - The client may have other addresses in other IAs, so the client
may choose to discard the expired IA and use the addresses in the may choose to discard the expired IA and use the addresses in the
other IAs other IAs
18.1.5. Creation and Transmission of Inform messages 19.1.5. Creation and Transmission of Information-request messages
The client uses an Inform message to obtain configuration information
without having addresses assigned to it. The client sets the
"msg-type" field to INFORM. The client generates a transaction ID and
inserts this value in the "transaction-ID" field.
The client sets the "server-address" field to 0.
The client MUST include a DUID option to identify itself to the The client uses an Information-request message to obtain
server. The client adds any appropriate options such as an ORO to configuration information without having addresses assigned to it.
indicate to the server what configuration information the client is The client sets the "msg-type" field to INFORMATION-REQUEST. The
interested in obtaining. The client MUST NOT include any IA options. client generates a transaction ID and inserts this value in the
"transaction-ID" field.
The client MUST use an IPv6 address assigned to the interface for The client SHOULD include a Client Identifier option to identify
which the client is interested in obtaining configuration information itself to the server. If the client does not include a Client
as the source address in the IP header of the datagram carrying the Identifier option, the server will not be able to return any
Rebind message. client-specific options to the client.
If the client has an IPv6 address of sufficient scope, the client MAY If the client chooses to request specific options from the server,
choose to send the Inform message to the All_DHCP_Servers multicast it does so by including an Option Request option (see section 23.7,
address. Otherwise, the client MUST send the Inform message to the which MUST include all of the options the client is requesting. The
All_DHCP_Agents multicast address. client MAY include options with data values as hints to the server
about parameter values the client would like to have returned. The
client MUST NOT include any IA options.
The Inform message MUST be transmitted on the link that the interface If the client has an IPv6 address of sufficient scope, the
for which configuration information is being obtained is attached client MAY choose to send the Information-request message to the
to. The client SHOULD send the message through that interface. The All_DHCP_Servers multicast address. Otherwise, the client MUST send
client MAY send the message through another interface attached to the the Information-request message to the All_DHCP_Agents multicast
same link if and only if the client is certain the the two interface address.
are attached to the same link.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT INF_TIMEOUT IRT INF_TIMEOUT
MRT INF_MAX_RT MRT INF_MAX_RT
MRC 0 MRC 0
MRD 0 MRD 0
18.1.6. Receipt of Reply message in response to a Request, Confirm, 19.1.6. Receipt of Reply message in response to a Request, Confirm,
Renew, Rebind or Inform message Renew, Rebind or Information-request message
Upon the receipt of a valid Reply message in response to a Request, Upon the receipt of a valid Reply message in response to a Request,
Confirm, Renew, Rebind or Inform message, the client extracts the Confirm, Renew, Rebind or Information-request message, the client
configuration information contained in the Reply. The client MAY extracts the configuration information contained in the Reply. The
choose to report any status code or message from the status code client MAY choose to report any status code or message from the
option in the Reply message. status code option in the Reply message.
The client SHOULD perform duplicate address detection [23] on each The client SHOULD perform duplicate address detection [21] on each
of the addresses in any IAs it receives in the Reply message after of the addresses in any IAs it receives in the Reply message after
a Request message. If any of the addresses are found to be in use a Request message. If any of the addresses are found to be in use
on the link, the client sends a Decline message to the server as on the link, the client sends a Decline message to the server as
described in section 18.1.9. described in section 19.1.9.
The client records the T1 and T2 times for each IA in the Reply The client records the T1 and T2 times for each IA in the Reply
message. The client records any addresses included with IAs in message. The client records any addresses included with IAs in
the Reply message. The client updates the preferred and valid the Reply message. The client updates the preferred and valid
lifetimes for the addresses in the IA from the lifetime information lifetimes for the addresses in the IA from the lifetime information
in the IA option. The client leaves any addresses that the client in the IA option. The client leaves any addresses that the client
has associated with the IA that are not included in the IA option has associated with the IA that are not included in the IA option
unchanged. unchanged.
The client SHOULD respond to the server with a Release message for The client SHOULD respond to the server with a Release message for
any addresses in the Reply message that have a valid lifetime of 0. any addresses in the Reply message that have a valid lifetime of 0.
The client constructs and transmits this message as described in The client constructs and transmits this message as described in
section 18.1.7. section 19.1.7.
If the Reply was received in response to a Renew or Rebind message, If the Reply was received in response to a Renew or Rebind message,
the client must update the information in any IA option contained in the client must update the information in any IA option contained in
the Reply message. The client adds any new addresses from the IA the Reply message. The client adds any new addresses from the IA
option to the IA, updates lifetimes for existing addresses in the IA option to the IA, updates lifetimes for existing addresses in the IA
from the IA option and discards any addresses with a lifetime of zero from the IA option and discards any addresses with a lifetime of zero
in the IA option. in the IA option.
Management of the specific configuration information is detailed in Management of the specific configuration information is detailed in
the definition of each option, in section 22. the definition of each option, in section 23.
When the client receives a NoPrefixMatch status in an IA from the When the client receives a NoPrefixMatch status in an IA from the
server the client can assume it needs to send a Request to the server server the client can assume it needs to send a Request to the server
to obtain appropriate addresses for the IA. If the client receives to obtain appropriate addresses for the IA. If the client receives
any Reply messages that do not indicate a NoPrefixMatch status, the any Reply messages that do not indicate a NoPrefixMatch status, the
client can use the addresses in the IA and ignore any messages that client can use the addresses in the IA and ignore any messages that
do indicate a NoPrefixMatch status. do indicate a NoPrefixMatch status.
When the client receives an AddrUnavail status in an IA from the When the client receives an AddrUnavail status in an IA from the
server for a Request message the client will have to find a new server for a Request message the client will have to find a new
skipping to change at page 39, line 5 skipping to change at page 40, line 17
to reestablish an IA with the server or try another server. to reestablish an IA with the server or try another server.
When the client receives a RebdNoMatch status in an IA from the When the client receives a RebdNoMatch status in an IA from the
server for a Rebind message the client can assume it needs to send a server for a Rebind message the client can assume it needs to send a
Request to reestablish an IA with the server or try another server. Request to reestablish an IA with the server or try another server.
When the client receives an AddrUnavail status in an IA from the When the client receives an AddrUnavail status in an IA from the
server for a Rebind message the client can assume it needs to send a server for a Rebind message the client can assume it needs to send a
Request to reestablish an IA with the server or try another server. Request to reestablish an IA with the server or try another server.
18.1.7. Creation and transmission of Release messages 19.1.7. Creation and transmission of Release messages
The client sets the "msg-type" field to RELEASE. The client generates The client sets the "msg-type" field to RELEASE. The client generates
a transaction ID and places this value in the "transaction-ID" field. a transaction ID and places this value in the "transaction-ID" field.
The client places the IP address of the server that allocated the The client places the identifier of the server that allocated the
address(es) in the "server-address" field. address(es) a Server Identifier option.
The client MUST include a DUID option to identify itself to the The client MUST include a Client Identifier option to identify itself
server. The client includes options containing the IAs it is to the server. The client includes options containing the IAs it
releasing in the "options" field. The addresses to be released is releasing in the "options" field. The addresses to be released
MUST be included in the IAs. The client continues to use any other MUST be included in the IAs. The client continues to use any other
addresses in the IAs. The appropriate "status" field in the options addresses in the IAs. The appropriate "status" field in the options
MUST be set to indicate the reason for the release. MUST be set to indicate the reason for the release.
The client MUST NOT use any of the addresses in the IAs in the The client MUST NOT use any of the addresses in the IAs in the
message as the source address in the Release message or in any message as the source address in the Release message or in any
subsequently transmitted message. subsequently transmitted message.
If the client has a source address of sufficient scope that can be If the client has a source address of sufficient scope that can be
used by the server as a return address and the client has received used by the server as a return address and the client has received
a Server Unicast option (section 22.14) from the server, the client a Server Unicast option (section 23.13) from the server, the client
SHOULD unicast the Release message to the server. Otherwise, the SHOULD unicast the Release message to the server. Otherwise, the
client MUST send the Release message to the All_DHCP_Agents multicast client MUST send the Release message to the All_DHCP_Agents multicast
address. The client MUST use an address for the interface to which address.
the IAs in the Release message are assigned as the source address for
the Release message.
DISCUSSION: DISCUSSION:
Use of multicast and relay agents enables the inclusion of Use of multicast and relay agents enables the inclusion of
relay agent options in all messages sent by the client. The relay agent options in all messages sent by the client. The
server MUST NOT enable the use of unicast for a client when server MUST NOT enable the use of unicast for a client when
relay agent options are required for that client. relay agent options are required for that client.
If the Release message is multicast, it MUST be transmitted on the
link that the interface for which configuration information is being
obtained is attached to. The client SHOULD send the message through
that interface. The client MAY send the message through another
interface attached to the same link if and only if the client is
certain the the two interface are attached to the same link.
A client MAY choose to wait for a Reply message from the server in A client MAY choose to wait for a Reply message from the server in
response to the Release message. If the client does wait for a response to the Release message. If the client does wait for a
Reply, the client MAY choose to retransmit the Release message. Reply, the client MAY choose to retransmit the Release message.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT REL_TIMEOUT IRT REL_TIMEOUT
MRT 0 MRT 0
skipping to change at page 40, line 24 skipping to change at page 41, line 32
is lost, the client will retransmit the Release message, and the is lost, the client will retransmit the Release message, and the
server may respond with a Reply indicating a status of "Nobinding". server may respond with a Reply indicating a status of "Nobinding".
Therefore, the client does not treat a Reply message with a status Therefore, the client does not treat a Reply message with a status
of "Nobinding" in a Release message exchange as if it indicates an of "Nobinding" in a Release message exchange as if it indicates an
error. error.
Note that if the client fails to release the IA, the addresses Note that if the client fails to release the IA, the addresses
assigned to the IA will be reclaimed by the server when the lifetime assigned to the IA will be reclaimed by the server when the lifetime
of the address expires. of the address expires.
18.1.8. Receipt of Reply message in response to a Release message 19.1.8. Receipt of Reply message in response to a Release message
Upon receipt of a valid Reply message, the client can consider the Upon receipt of a valid Reply message, the client can consider the
Release event successful. Release event successful.
18.1.9. Creation and transmission of Decline messages 19.1.9. Creation and transmission of Decline messages
The client sets the "msg-type" field to DECLINE. The client generates The client sets the "msg-type" field to DECLINE. The client generates
a transaction ID and places this value in the "transaction-ID" field. a transaction ID and places this value in the "transaction-ID" field.
The client places the IP address of the server that allocated the The client places the identifier of the server that allocated the
address(es) in the "server-address" field. address(es) in a Server Identifier option.
The client MUST include a DUID option to identify itself to the The client MUST include a Client Identifier option to identify itself
server. The client includes options containing the IAs it is to the server. The client includes options containing the IAs it is
declining in the "options" field. The addresses to be declined MUST declining in the "options" field. The addresses to be declined MUST
be included in the IAs. The client continues to use other addresses be included in the IAs. The client continues to use other addresses
in the IAs. The appropriate "status" field in the options MUST be in the IAs. The appropriate "status" field in the options MUST be
set to indicate the reason for declining the address. set to indicate the reason for declining the address.
The client MUST NOT use any of the addresses in the IAs in the The client MUST NOT use any of the addresses in the IAs in the
message as the source address in the Decline message or in any message as the source address in the Decline message or in any
subsequently transmitted message. subsequently transmitted message.
If the client has a source address of sufficient scope that can be If the client has a source address of sufficient scope that can be
used by the server as a return address and the client has received used by the server as a return address and the client has received
a Server Unicast option (section 22.14) from the server, the client a Server Unicast option (section 23.13) from the server, the client
SHOULD unicast the Decline message to the server. Otherwise, the SHOULD unicast the Decline message to the server. Otherwise, the
client MUST send the Decline message to the All_DHCP_Agents multicast client MUST send the Decline message to the All_DHCP_Agents multicast
address. The client MUST use an IPv6 address for the interface to address.
which the IAs in the Decline message are assigned as the source
address for the Decline message.
DISCUSSION: DISCUSSION:
Use of multicast and relay agents enables the inclusion of Use of multicast and relay agents enables the inclusion of
relay agent options in all messages sent by the client. The relay agent options in all messages sent by the client. The
server MUST NOT enable the use of unicast for a client when server MUST NOT enable the use of unicast for a client when
relay agent options are required for that client. relay agent options are required for that client.
If the Decline message is multicast, it MUST be transmitted on the
link that the interface for which configuration information is being
obtained is attached to. The client SHOULD send the message through
that interface. The client MAY send the message through another
interface attached to the same link if and only if the client is
certain the the two interface are attached to the same link.
The client transmits the message according to section 15, using the The client transmits the message according to section 15, using the
following parameters: following parameters:
IRT DEC_TIMEOUT IRT DEC_TIMEOUT
MRT DEC_MAX_RT MRT DEC_MAX_RT
MRC DEC_MAX_RC MRC DEC_MAX_RC
MRD 0 MRD 0
The client MUST abandon the attempt to decline addresses if the The client MUST abandon the attempt to decline addresses if the
Decline message exchange fails. Decline message exchange fails.
18.1.10. Receipt of Reply message in response to a Decline message 19.1.10. Receipt of Reply message in response to a Decline message
Upon receipt of a valid Reply message, the client can consider the Upon receipt of a valid Reply message, the client can consider the
Decline event successful. Decline event successful.
18.2. Server Behavior 19.2. Server Behavior
For this discussion, the Server is assumed to have been configured in For this discussion, the Server is assumed to have been configured in
an implementation specific manner with configuration of interest to an implementation specific manner with configuration of interest to
clients. clients.
18.2.1. Receipt of Request messages 19.2.1. Receipt of Request messages
The server MAY choose to discard Request messages received via The server MAY choose to discard Request messages received via
unicast from a client to which the server has not sent a unicast unicast from a client to which the server has not sent a unicast
option. option.
When the server receives a Request the client is requesting the When the server receives a Request the client is requesting the
configuration of a new IA by the server. The server MUST take the configuration of a new IA by the server. The server MUST take the
IA from the client and associate a binding for that client in an IA from the client and associate a binding for that client in an
implementation-specific manner within the configuration parameter implementation-specific manner within the configuration parameter
database for DHCP clients managed by the server. database for DHCP clients managed by the server.
skipping to change at page 42, line 23 skipping to change at page 43, line 20
client. client.
The server SHOULD process each option for the client in an The server SHOULD process each option for the client in an
implementation-specific manner. The server MUST construct a Reply implementation-specific manner. The server MUST construct a Reply
message containing the following values: message containing the following values:
msg-type REPLY msg-type REPLY
transaction-ID The transaction-ID from the Request message. transaction-ID The transaction-ID from the Request message.
server address One of the IP addresses assigned to the interface The server MUST include a Server Identifier option containing the
through which the server received the message server's DUID in the Reply message.
from the client.
If the server finds that the prefix on one or more IP addresses in If the server finds that the prefix on one or more IP addresses in
any IA in the message from the client is not a valid prefix for the any IA in the message from the client is not a valid prefix for the
link to which the client is connected, the server MUST return the IA link to which the client is connected, the server MUST return the IA
to the client with the status field set to NoPrefixMatch. to the client with the status field set to NoPrefixMatch.
If the server cannot assign any addresses to any of the IAs in If the server cannot assign any addresses to any of the IAs in
the message from the client, the server SHOULD include the IAs in the message from the client, the server SHOULD include the IAs in
the Reply message with the status field set to AddrUnavail and no the Reply message with the status field set to AddrUnavail and no
addresses in the IA. addresses in the IA.
For any IAs to which the server can assign addresses, server includes For any IAs to which the server can assign addresses, server includes
the IA with addresses and other configuration parameters a status of the IA with addresses and other configuration parameters a status of
Success, and add the IA as a new client binding. Success, and add the IA as a new client binding.
The server may choose to assign fewer temporary addresses than
the client requested with an RTA option (see section 23.6) and
includes a status code of Success in the IA. If the server chooses to
assign no temporary addresses, the server includes a status code of
AddrUnavail.
The server adds options to the Reply message for any other The server adds options to the Reply message for any other
configuration information to be assigned to the client. configuration information to be assigned to the client.
18.2.2. Receipt of Confirm messages 19.2.2. Receipt of Confirm messages
When the server receives a Confirm message, the client is requesting When the server receives a Confirm message, the client is requesting
confirmation that the configuration information it will use is valid. confirmation that the configuration information it will use is valid.
The server SHOULD locate the binding for that client and compare the The server SHOULD locate the binding for that client and compare the
information in the Confirm message from the client to the information information in the Confirm message from the client to the information
associated with that client. associated with that client.
Upon the receipt of a valid Confirm message from a client the server Upon the receipt of a valid Confirm message from a client the server
can respond to, (implementation-specific administrative policy can respond to, (implementation-specific administrative policy
satisfied) the server scans the options field. satisfied) the server scans the options field.
skipping to change at page 43, line 29 skipping to change at page 44, line 29
containing a Status Code option with the value Success. containing a Status Code option with the value Success.
The server SHOULD process each option for the client in an The server SHOULD process each option for the client in an
implementation-specific manner. The server MUST construct a Reply implementation-specific manner. The server MUST construct a Reply
message containing the following values: message containing the following values:
msg-type REPLY msg-type REPLY
transaction-ID The transaction-ID from the Confirm message. transaction-ID The transaction-ID from the Confirm message.
server address One of the IP addresses assigned to the interface The server MUST include a Server Identifier option containing the
through which the server received the message server's DUID in the Reply message.
from the client.
The Reply message from the server MUST contain a Status Code option The Reply message from the server MUST contain a Status Code option
and MUST NOT include any other options. and MUST NOT include any other options.
18.2.3. Receipt of Renew messages 19.2.3. Receipt of Renew messages
The server MAY choose to discard Renew messages received via unicast The server MAY choose to discard Renew messages received via unicast
from a client to which the server has not sent a unicast option. from a client to which the server has not sent a unicast option.
Upon the receipt of a valid Renew message from a client the server Upon the receipt of a valid Renew message from a client the server
can respond to, (implementation-specific administrative policy can respond to, (implementation-specific administrative policy
satisfied) the server scans the options field. satisfied) the server scans the options field.
When the server receives a Renew and IA option from a client it When the server receives a Renew and IA option from a client it
SHOULD locate the clients binding and verify the information in the SHOULD locate the clients binding and verify the information in the
skipping to change at page 44, line 15 skipping to change at page 45, line 15
If the server cannot Renew addresses for the client it SHOULD send If the server cannot Renew addresses for the client it SHOULD send
back an IA containing no addresses to the client with the status back an IA containing no addresses to the client with the status
field set to AddrUnavail. field set to AddrUnavail.
If the server finds the addresses in the IA for the client then the If the server finds the addresses in the IA for the client then the
server SHOULD send back the IA to the client with new lifetimes and server SHOULD send back the IA to the client with new lifetimes and
T1/T2 times if the default is not being used, and set status to T1/T2 times if the default is not being used, and set status to
Success. The server may choose to change the list of addresses and Success. The server may choose to change the list of addresses and
the lifetimes of addresses in IAs that are returned to the client. the lifetimes of addresses in IAs that are returned to the client.
The server may choose to assign fewer temporary addresses than
the client requested with an RTA option (see section 23.6) and
includes a status code of Success in the IA. If the server chooses to
assign no temporary addresses, the server includes a status code of
AddrUnavail.
The server SHOULD process each option for the client in an The server SHOULD process each option for the client in an
implementation-specific manner. The server MUST construct a Reply implementation-specific manner. The server MUST construct a Reply
message containing the following values: message containing the following values:
msg-type REPLY msg-type REPLY
transaction-ID The transaction-ID from the Confirm message. transaction-ID The transaction-ID from the Confirm message.
server address One of the IP addresses assigned to the interface The server MUST include a Server Identifier option containing the
through which the server received the message server's DUID in the Reply message.
from the client.
18.2.4. Receipt of Rebind messages 19.2.4. Receipt of Rebind messages
Upon the receipt of a valid Rebind message from a client the server Upon the receipt of a valid Rebind message from a client the server
can respond to, (implementation-specific administrative policy can respond to, (implementation-specific administrative policy
satisfied) the server scans the options field. satisfied) the server scans the options field.
When the server receives a Rebind and IA option from a client it When the server receives a Rebind and IA option from a client it
SHOULD locate the clients binding and verify the information in the SHOULD locate the clients binding and verify the information in the
IA from the client matches the information stored for that client. IA from the client matches the information stored for that client.
If the server cannot find a client entry for this IA the server If the server cannot find a client entry for this IA the server
skipping to change at page 44, line 54 skipping to change at page 46, line 7
If the server cannot Rebind addresses for the client it SHOULD send If the server cannot Rebind addresses for the client it SHOULD send
back an IA containing no addresses to the client with the status back an IA containing no addresses to the client with the status
field set to AddrUnavail. field set to AddrUnavail.
If the server finds the addresses in the IA for the client then the If the server finds the addresses in the IA for the client then the
server SHOULD send back the IA to the client with new lifetimes and server SHOULD send back the IA to the client with new lifetimes and
T1/T2 times if the default is not being used, and set status to T1/T2 times if the default is not being used, and set status to
Success. Success.
The server may choose to assign fewer temporary addresses than
the client requested with an RTA option (see section 23.6) and
includes a status code of Success in the IA. If the server will
assign no temporary addresses, the server includes a status code of
AddrUnavail.
The server SHOULD process each option for the client in an The server SHOULD process each option for the client in an
implementation-specific manner. The server MUST construct a Reply implementation-specific manner. The server MUST construct a Reply
message containing the following values: message containing the following values:
msg-type REPLY msg-type REPLY
transaction-ID The transaction-ID from the Confirm message. transaction-ID The transaction-ID from the Confirm message.
server address One of the IP addresses assigned to the interface The server MUST include a Server Identifier option containing the
through which the server received the message server's DUID in the Reply message.
from the client.
18.2.5. Receipt of Inform messages 19.2.5. Receipt of Information-request messages
When the server receives an Inform message, the client is requesting When the server receives an Information-request message, the client
configuration information that does not include the assignment of any is requesting configuration information that does not include
addresses. The server SHOULD determine all configuration parameters the assignment of any addresses. The server SHOULD determine all
appropriate to the client, based on the server configuration policies configuration parameters appropriate to the client, based on the
known to the server. server configuration policies known to the server.
Upon the receipt of a valid Inform message from a client the server Upon the receipt of a valid Information-request message from a client
can respond to, (implementation-specific administrative policy the server can respond to, (implementation-specific administrative
satisfied) the server scans the options field. The server then policy satisfied) the server scans the options field. The server
constructs a Reply message and sends it to the client. then constructs a Reply message and sends it to the client.
The server SHOULD process each option for the client in an The server SHOULD process each option for the client in an
implementation-specific manner. The server MUST construct a Reply implementation-specific manner. The server MUST construct a Reply
message containing the following values: message containing the following values:
msg-type REPLY msg-type REPLY
transaction-ID The transaction-ID from the Confirm message. transaction-ID The transaction-ID from the Confirm message.
server address One of the IP addresses assigned to the interface The server MUST include a Server Identifier option containing the
through which the server received the message server's DUID in the Reply message.
from the client.
The server adds options to the Reply message for all of the The server adds options to the Reply message for all of the
configuration parameters to be returned to the client. configuration parameters to be returned to the client.
18.2.6. Receipt of Release messages 19.2.6. Receipt of Release messages
The server MAY choose to discard Release messages received via The server MAY choose to discard Release messages received via
unicast from a client to which the server has not sent a unicast unicast from a client to which the server has not sent a unicast
option. option.
Upon the receipt of a valid Release message, the server examines the Upon the receipt of a valid Release message, the server examines the
IAs and the addresses in the IAs for validity. If the IAs in the IAs and the addresses in the IAs for validity. If the IAs in the
message are in a binding for the client and the addresses in the IAs message are in a binding for the client and the addresses in the IAs
have been assigned by the server to those IAs, the server deletes have been assigned by the server to those IAs, the server deletes
the addresses from the IAs and makes the addresses available for the addresses from the IAs and makes the addresses available for
assignment to other clients. The server ignores invalid addresses assignment to other clients. The server ignores invalid addresses
(though it may choose to log an error if it finds an invalid (though it may choose to log an error if it finds an invalid
address). address).
After all the addresses have been processed, the server generates a After all the addresses have been processed, the server generates a
Reply message and includes a Status Code option with value Success. Reply message and includes a Status Code option with value Success
The server MUST NOT include any other options in the Reply message. and a Server Identifier option with the server's DUID. The server
MUST NOT include any other options in the Reply message.
A server is not required to (but may choose to as an implementation A server is not required to (but may choose to as an implementation
strategy) retain any record of an IA from which all of the addresses strategy) retain any record of an IA from which all of the addresses
have been released. have been released.
18.2.7. Receipt of Decline messages 19.2.7. Receipt of Decline messages
The server MAY choose to discard Decline messages received via The server MAY choose to discard Decline messages received via
unicast from a client to which the server has not sent a unicast unicast from a client to which the server has not sent a unicast
option. option.
Upon the receipt of a valid Decline message, the server examines the Upon the receipt of a valid Decline message, the server examines the
IAs and the addresses in the IAs for validity. If the IAs in the IAs and the addresses in the IAs for validity. If the IAs in the
message are in a binding for the client and the addresses in the IAs message are in a binding for the client and the addresses in the IAs
have been assigned by the server to those IA, the server deletes have been assigned by the server to those IA, the server deletes
the addresses from the IAs. The server SHOULD mark the addresses the addresses from the IAs. The server SHOULD mark the addresses
declined by the client so that those addresses are not assigned to declined by the client so that those addresses are not assigned to
other clients, and MAY choose to make a notification that addresses other clients, and MAY choose to make a notification that addresses
were declined. The server ignores invalid addresses (though it may were declined. The server ignores invalid addresses (though it may
choose to log an error if it finds an invalid address). choose to log an error if it finds an invalid address).
After all the address have been processed, the server generates a After all the address have been processed, the server generates a
Reply message and includes a Status Code option with value Success. Reply message and includes a Status Code option with value Success
The server MUST NOT include any other options in the Reply message. and a Server Identifier option with the server' DUID. The server MUST
NOT include any other options in the Reply message.
18.2.8. Receipt of Information-Request messages
Upon the receipt of a valid Inform message, the server determines the
appropriate configuration parameters and returns those parameters to
the client in a Reply message. The server MUST NOT include any IA
options in the Reply message.
18.2.9. Sending of Reply messages 19.2.8. Transmission of Reply messages
If the Request, Confirm, Renew, Rebind, Release, Decline or Inform If the Request, Confirm, Renew, Rebind, Release, Decline or
message from the client was originally received in a Relay-forward Information-request message from the client was originally received
message from a relay, the server places the Reply message in the in a Relay-forward message from a relay, the server places the
options field of a Relay-response message and copies the link-address Reply message in the options field of a Relay-response message and
and client-return-address fields from the Relay-forward message into copies the link-address and client-return-address fields from the
the Relay-response message. Relay-forward message into the Relay-response message.
The server then unicasts the Reply or Relay-reply to the source The server then unicasts the Reply or Relay-reply to the source
address from the IP datagram in which the original message was address from the IP datagram in which the original message was
received. received.
19. DHCP Server-Initiated Configuration Exchange 20. DHCP Server-Initiated Configuration Exchange
A server initiates a configuration exchange to cause DHCP clients A server initiates a configuration exchange to cause DHCP clients
to obtain new addresses and other configuration information. For to obtain new addresses and other configuration information. For
example, an administrator may use a server-initiated configuration example, an administrator may use a server-initiated configuration
exchange when links in the DHCP domain are to be renumbered. Other exchange when links in the DHCP domain are to be renumbered. Other
examples include changes in the location of directory servers, examples include changes in the location of directory servers,
addition of new services such as printing, and availability of new addition of new services such as printing, and availability of new
software (system or application). software (system or application).
19.1. Server Behavior 20.1. Server Behavior
A server sends a Reconfigure message to cause a client to initiate A server sends a Reconfigure message to cause a client to initiate
immediately a Renew/Reply or Information-request/Reply message immediately a Renew/Reply or Information-request/Reply message
exchange with the server. exchange with the server.
19.1.1. Creation and transmission of Reconfigure messages 20.1.1. Creation and transmission of Reconfigure messages
The server sets the "msg-type" field to RECONFIGURE. The server The server sets the "msg-type" field to RECONFIGURE. The server
generates a transaction-ID and inserts it in the "transaction-ID" generates a transaction-ID and inserts it in the "transaction-ID"
field. The server places its address (of appropriate scope) in the field. The server places its identifier in a Server Identifier
"server-address" field. option.
The server MAY include an ORO option to inform the client of what The server MAY include an Option Request option to inform the client
information has been changed or new information that has been added. of what information has been changed or new information that has been
In particular, the server specifies the IA option in the ORO if the added. In particular, the server specifies the IA option in the
server wants the client to obtain new address information. Option Request option if the server wants the client to obtain new
address information.
The server MUST include an authentication option with the appropriate The server MUST include an authentication option with the appropriate
settings and add that option as the last option in the "options" settings and add that option as the last option in the "options"
field of the Reconfigure message. field of the Reconfigure message.
The server MUST NOT include any other options in the Reconfigure The server MUST NOT include any other options in the Reconfigure
except as specifically allowed in the definition of individual except as specifically allowed in the definition of individual
options. options.
A server sends each Reconfigure message to a single DHCP client, A server sends each Reconfigure message to a single DHCP client,
skipping to change at page 48, line 8 skipping to change at page 49, line 17
of multiple clients concurrently; for example, a server may of multiple clients concurrently; for example, a server may
send a Reconfigure message to additional clients while previous send a Reconfigure message to additional clients while previous
reconfiguration message exchanges are still in progress. reconfiguration message exchanges are still in progress.
The Reconfigure message causes the client to initiate a Renew/Reply The Reconfigure message causes the client to initiate a Renew/Reply
or Information-request/Reply message exchange with the server. The or Information-request/Reply message exchange with the server. The
server interprets the receipt of a Renew or Information-request server interprets the receipt of a Renew or Information-request
message from the client as satisfying the Reconfigure message message from the client as satisfying the Reconfigure message
request. request.
19.1.2. Time out and retransmission of Reconfigure messages 20.1.2. Time out and retransmission of Reconfigure messages
If the server does not receive a Renew or Information-request message If the server does not receive a Renew or Information-request message
from the client in RECREP_MSG_TIMEOUT milliseconds, the server from the client in RECREP_MSG_TIMEOUT milliseconds, the server
retransmits the Reconfigure message, doubles the RECREP_MSG_TIMEOUT retransmits the Reconfigure message, doubles the RECREP_MSG_TIMEOUT
value and waits again. The server continues this process until value and waits again. The server continues this process until
REC_MSG_ATTEMPTS unsuccessful attempts have been made, at which point REC_MSG_ATTEMPTS unsuccessful attempts have been made, at which point
the server SHOULD abort the reconfigure process for that client. the server SHOULD abort the reconfigure process for that client.
Default and initial values for RECREP_MSG_TIMEOUT and Default and initial values for RECREP_MSG_TIMEOUT and
REC_MSG_ATTEMPTS are documented in section 7.5. REC_MSG_ATTEMPTS are documented in section 7.5.
19.1.3. Receipt of Renew messages 20.1.3. Receipt of Renew messages
The server generates and sends Reply message(s) to the client as The server generates and sends Reply message(s) to the client as
described in section 18.2.9, including in the "options" field new described in section 19.2.8, including in the "options" field new
values for configuration parameters. values for configuration parameters.
It is possible that the client may send a Renew message after the It is possible that the client may send a Renew message after the
server has sent a Reconfigure but before the Reconfigure is received server has sent a Reconfigure but before the Reconfigure is received
by the client. In this case, the Renew message from the client by the client. In this case, the Renew message from the client
may not include all of the IAs and requests for parameters to be may not include all of the IAs and requests for parameters to be
reconfigured by the server. To accommodate this scenario, the server reconfigured by the server. To accommodate this scenario, the server
MAY choose to send a Reply with the IAs and other parameters to be MAY choose to send a Reply with the IAs and other parameters to be
reconfigured, even if those IAs and parameters were not in the Renew reconfigured, even if those IAs and parameters were not in the Renew
message from the client. message from the client.
19.2. Receipt of Information-request messages 20.2. Receipt of Information-request messages
If the server has assigned addresses to one or more IAs that belong If the server has assigned addresses to one or more IAs that belong
to the responding client, the server MUST silently discard the to the responding client, the server MUST silently discard the
Information-request message. Information-request message.
If the client has requested options in an Option Request option that
the server is unable to provide to the client, the server MAY send
a Reply message with only those options it can provide. If the
server sends a Reply message that does not include all of the options
requested by the client, it MUST include a Status Code option with
code OptionUnavail.
The server generates and sends Reply message(s) to the client as The server generates and sends Reply message(s) to the client as
described in section 18.2.9, including in the "options" field new described in section 19.2.8, including in the "options" field new
values for configuration parameters. values for configuration parameters.
It is possible that the client may send an Information-request It is possible that the client may send an Information-request
message after the server has sent a Reconfigure but before message after the server has sent a Reconfigure but before
the Reconfigure is received by the client. In this case, the the Reconfigure is received by the client. In this case, the
Information-request message from the client may not include all of Information-request message from the client may not request all of
the IAs and requests for parameters to be reconfigured by the server. the parameters to be reconfigured by the server. To accommodate
To accommodate this scenario, the server MAY choose to send a Reply this scenario, the server MAY choose to send a Reply with the other
with the IAs and other parameters to be reconfigured, even if those parameters to be reconfigured, even if those parameters were not
IAs and parameters were not in the Information-request message from specified in the Information-request message from the client.
the client.
19.3. Client Behavior 20.3. Client Behavior
A client MUST always monitor UDP port 546 for Reconfigure messages A client MUST always monitor UDP port 546 for Reconfigure messages
on interfaces for which it has acquired DHCP parameters. Since the on interfaces for which it has acquired DHCP parameters. Since the
results of a reconfiguration event may affect application layer results of a reconfiguration event may affect application layer
programs, the client SHOULD log these events, and MAY notify these programs, the client SHOULD log these events, and MAY notify these
programs of the change through an implementation-specific interface. programs of the change through an implementation-specific interface.
19.3.1. Receipt of Reconfigure messages 20.3.1. Receipt of Reconfigure messages
Upon receipt of a valid Reconfigure message, the client initiates a Upon receipt of a valid Reconfigure message, the client initiates a
transaction with the server. While the transaction is in progress, transaction with the server. While the transaction is in progress,
the client silently discards any Reconfigure messages it receives. the client silently discards any Reconfigure messages it receives.
If the client has IAs with addresses that have been assigned by the If the client has IAs with addresses that have been assigned by the
server from which the Reconfigure message was received, the client server from which the Reconfigure message was received, the client
MUST respond with a Renew message. Otherwise, the client responds MUST respond with a Renew message. Otherwise, the client responds
with an Information-request message. with an Information-request message.
skipping to change at page 50, line 5 skipping to change at page 51, line 20
It might be possible for a duplicate or retransmitted It might be possible for a duplicate or retransmitted
Reconfigure to be sufficiently delayed (and delivered out of Reconfigure to be sufficiently delayed (and delivered out of
order) to arrive at the client after the exchange (initiated order) to arrive at the client after the exchange (initiated
by the original Reconfigure) has been completed. In this by the original Reconfigure) has been completed. In this
case, the client would initiate a redundant exchange. The case, the client would initiate a redundant exchange. The
likelihood of delayed and out of order delivery is small likelihood of delayed and out of order delivery is small
enough to be ignored. The consequence of the redundant enough to be ignored. The consequence of the redundant
exchange is inefficiency rather than incorrect operation. exchange is inefficiency rather than incorrect operation.
19.3.2. Creation and sending of Renew messages 20.3.2. Creation and transmission of Renew messages
When responding to a Reconfigure, the client creates and sends When responding to a Reconfigure, the client creates and sends
the Renew message in exactly the same manner as outlined in the Renew message in exactly the same manner as outlined in
section 18.1.3, with the exception: if the server included on ORO section 19.1.3, with the exception: if the server included on Option
option specifying the IA option, the client MUST include IA options Request option specifying the IA option, the client MUST include IA
containing the addresses the client currently has assigned to ALL IAs options containing the addresses the client currently has assigned to
for the interface through which the Reconfigure message was received. ALL IAs for the interface through which the Reconfigure message was
received.
19.3.3. Creation and sending of Renew messages 20.3.3. Creation and transmission of Information-request messages
When responding to a Reconfigure, the client creates and sends the When responding to a Reconfigure, the client creates and sends the
Information-request message in exactly the same manner as outlined in Information-request message in exactly the same manner as outlined in
section 18.1.5. section 19.1.5, with the exception that the client includes a Server
Identifier option with the identifier from the Reconfigure message to
which the client is responding.
19.3.4. Time out and retransmission of Renew or Information-request 20.3.4. Time out and retransmission of Renew or Information-request
messages messages
The client uses the same variables and retransmission algorithm as it The client uses the same variables and retransmission algorithm as
does with Rebind or Information-request messages generated as part it does with Renew or Information-request messages generated as part
of a client-initiated configuration exchange. See section 18.1.3 of a client-initiated configuration exchange. See sections 19.1.3
and 18.1.5 for details. and 19.1.5 for details.
19.3.5. Receipt of Reply messages 20.3.5. Receipt of Reply messages
Upon the receipt of a valid Reply message, the client extracts the Upon the receipt of a valid Reply message, the client extracts the
contents of the "options" field, and sets (or resets) configuration contents of the "options" field, and sets (or resets) configuration
parameters appropriately. The client records and updates the parameters appropriately. The client records and updates the
lifetimes for any addresses specified in IAs in the Reply message. lifetimes for any addresses specified in IAs in the Reply message.
If the configuration parameters changed were requested by the If the configuration parameters changed were requested by the
application layer, the client notifies the application layer of the application layer, the client notifies the application layer of the
changes using an implementation-specific interface. changes using an implementation-specific interface.
20. Relay Behavior 21. Relay Behavior
For this discussion, the Relay MAY be configured to use a list of For this discussion, the Relay MAY be configured to use a list of
server destination addresses, which MAY include unicast addresses, server destination addresses, which MAY include unicast addresses,
the All_DHCP_Servers multicast address, or other multicast addresses the All_DHCP_Servers multicast address, or other multicast addresses
selected by the network administrator. If the Relay has not been selected by the network administrator. If the Relay has not been
explicitly configured, it MUST use the All_DHCP_Servers multicast explicitly configured, it MUST use the All_DHCP_Servers multicast
address as the default. address as the default.
20.1. Relaying of client messages 21.1. Relaying of client messages
When a Relay receives a valid client message, it constructs a When a Relay receives a valid client message, it constructs a
Relay-forward message. The relay places an address with a prefix Relay-forward message. The relay places an address with a prefix
assigned to the link on which the client should be assigned an assigned to the link on which the client should be assigned an
address in the link-address field. This address will be used by the address in the link-address field. This address will be used by the
server to determine the link from which the client should be assigned server to determine the link from which the client should be assigned
an address and other configuration information. an address and other configuration information.
If the relay cannot use the address in the link-address field to If the relay cannot use the address in the link-address field to
identify the interface through which the response to the client identify the interface through which the response to the client will
will be forwarded, the relay MUST include a circuit-id option (see be forwarded, the relay MUST include an Interface-id option (see
section 22.18)in the Relay-forward message. The server will include section 23.17) in the Relay-forward message. The server will include
the circuit-id option in its Relay-reply message. the Interface-id option in its Relay-reply message.
The relay copies the source address from the IP datagram in which the The relay copies the source address from the IP datagram in which the
message was received from the client into the client-return-address message was received from the client into the client-return-address
field in the Relay-forward message. field in the Relay-forward message.
The relay constructs a "client-message" option 22.9 that contains The relay constructs a "client-message" option 23.10 that contains
the entire message from the client in the data field of the the entire message from the client in the data field of the
option. The relay places the "relay-message" option along with any option. The relay places the "relay-message" option along with any
"relay-specific" options in the options field of the Relay-forward "relay-specific" options in the options field of the Relay-forward
message. The Relay MUST send the Relay-forward message to the list message. The Relay MUST send the Relay-forward message to the list
of server destination addresses that it has been configured with and of server destination addresses with which it has been configured.
MUST NOT send the message just to the server (if present) identified
in the server-address field in the client message.
20.2. Relaying of server messages 21.2. Relaying of server messages
When the relay receives a Relay-reply message, it extracts the server When the relay receives a Relay-reply message, it extracts the server
message from the "server-message" option. If the Relay-reply message message from the "server-message" option. If the Relay-reply message
includes a circuit-id option, the relay forwards the message from the includes a Interface-id option, the relay forwards the message from
server to the client on the link identified by the circuit-id option. the server to the client on the link identified by the Interface-id
Otherwise, the relay forwards the message on the link identified option. Otherwise, the relay forwards the message on the link
by the link-address field. In either case, the relay forwards the identified by the link-address field. In either case, the relay
message to the address in the client-return-address field in the forwards the message to the address in the client-return-address
Relay-reply message. field in the Relay-reply message.
21. Authentication of DHCP messages 22. Authentication of DHCP messages
Some network administrators may wish to provide authentication of Some network administrators may wish to provide authentication of
the source and contents of DHCP messages. For example, clients may the source and contents of DHCP messages. For example, clients may
be subject to denial of service attacks through the use of bogus be subject to denial of service attacks through the use of bogus
DHCP servers, or may simply be misconfigured due to unintentionally DHCP servers, or may simply be misconfigured due to unintentionally
instantiated DHCP servers. Network administrators may wish to instantiated DHCP servers. Network administrators may wish to
constrain the allocation of addresses to authorized hosts to avoid constrain the allocation of addresses to authorized hosts to avoid
denial of service attacks in "hostile" environments where the network denial of service attacks in "hostile" environments where the network
medium is not physically secured, such as wireless networks or medium is not physically secured, such as wireless networks or
college residence halls. college residence halls.
Because of the risk of denial of service attacks against DHCP Because of the risk of denial of service attacks against DHCP
clients, the use of authentication is mandated in Reconfigure clients, the use of authentication is mandated in Reconfigure
messages. A DHCP server MUST include an authentication option in messages. A DHCP server MUST include an authentication option in
Reconfigure messages sent to clients. Reconfigure messages sent to clients.
The DHCP authentication mechanism is based on the design of The DHCP authentication mechanism is based on the design of
authentication for DHCP for IPv4 [9]. authentication for DHCP for IPv4 [8].
21.1. DHCP threat model 22.1. DHCP threat model
The threat to DHCP is inherently an insider threat (assuming a The threat to DHCP is inherently an insider threat (assuming a
properly configured network where DHCPv6 ports are blocked on the properly configured network where DHCPv6 ports are blocked on the
perimeter gateways of the enterprise). Regardless of the gateway perimeter gateways of the enterprise). Regardless of the gateway
configuration, however, the potential attacks by insiders and configuration, however, the potential attacks by insiders and
outsiders are the same. outsiders are the same.
The attack specific to a DHCP client is the possibility of the The attack specific to a DHCP client is the possibility of the
establishment of a "rogue" server with the intent of providing establishment of a "rogue" server with the intent of providing
incorrect configuration information to the client. The motivation incorrect configuration information to the client. The motivation
skipping to change at page 52, line 38 skipping to change at page 54, line 5
"theft of service", or to circumvent auditing for any number of "theft of service", or to circumvent auditing for any number of
nefarious purposes. nefarious purposes.
The threat common to both the client and the server is the resource The threat common to both the client and the server is the resource
"denial of service" (DoS) attack. These attacks typically involve "denial of service" (DoS) attack. These attacks typically involve
the exhaustion of valid addresses, or the exhaustion of CPU or the exhaustion of valid addresses, or the exhaustion of CPU or
network bandwidth, and are present anytime there is a shared network bandwidth, and are present anytime there is a shared
resource. In current practice, redundancy mitigates DoS attacks the resource. In current practice, redundancy mitigates DoS attacks the
best. best.
21.2. Security of messages sent between servers and relay agents 22.2. Security of messages sent between servers and relay agents
Relay agents and servers that choose to exchange messages securely Relay agents and servers that choose to exchange messages securely
use the IPsec mechanisms for IPv6 [11]. The way in which IPsec use the IPsec mechanisms for IPv6 [10]. The way in which IPsec
is employed by relay agents and servers is not specified in this is employed by relay agents and servers is not specified in this
document. document.
21.3. Summary of DHCP authentication 22.3. Summary of DHCP authentication
Authentication of DHCP messages is accomplished through the use of Authentication of DHCP messages is accomplished through the use of
the Authentication option. The authentication information carried the Authentication option. The authentication information carried
in the Authentication option can be used to reliably identify the in the Authentication option can be used to reliably identify the
source of a DHCP message and to confirm that the contents of the DHCP source of a DHCP message and to confirm that the contents of the DHCP
message have not been tampered with. message have not been tampered with.
The Authentication option provides a framework for multiple The Authentication option provides a framework for multiple
authentication protocols. Two such protocols are defined here. authentication protocols. Two such protocols are defined here.
Other protocols defined in the future will be specified in separate Other protocols defined in the future will be specified in separate
documents. documents.
The protocol field in the Authentication option identifies the The protocol field in the Authentication option identifies the
specific protocol used to generate the authentication information specific protocol used to generate the authentication information
carried in the option. The algorithm field identifies a specific carried in the option. The algorithm field identifies a specific
algorithm within the authentication protocol; for example, the algorithm within the authentication protocol; for example, the
algorithm field specifies the hash algorithm used to generate the algorithm field specifies the hash algorithm used to generate the
message authentication code (MAC) in the authentication option. The message authentication code (MAC) in the authentication option. The
replay detection method (RDM) field specifies the type of replay replay detection method (RDM) field specifies the type of replay
skipping to change at page 53, line 17 skipping to change at page 54, line 34
The protocol field in the Authentication option identifies the The protocol field in the Authentication option identifies the
specific protocol used to generate the authentication information specific protocol used to generate the authentication information
carried in the option. The algorithm field identifies a specific carried in the option. The algorithm field identifies a specific
algorithm within the authentication protocol; for example, the algorithm within the authentication protocol; for example, the
algorithm field specifies the hash algorithm used to generate the algorithm field specifies the hash algorithm used to generate the
message authentication code (MAC) in the authentication option. The message authentication code (MAC) in the authentication option. The
replay detection method (RDM) field specifies the type of replay replay detection method (RDM) field specifies the type of replay
detection used in the replay detection field. detection used in the replay detection field.
21.4. Replay detection 22.4. Replay detection
The Replay Detection Method (RDM) field determines the type of replay The Replay Detection Method (RDM) field determines the type of replay
detection used in the Replay Detection field. detection used in the Replay Detection field.
If the RDM field contains 0x00, the replay detection field MUST be If the RDM field contains 0x00, the replay detection field MUST be
set to the value of a monotonically increasing counter. Using a set to the value of a monotonically increasing counter. Using a
counter value such as the current time of day (e.g., an NTP-format counter value such as the current time of day (e.g., an NTP-format
timestamp [13]) can reduce the danger of replay attacks. This method timestamp [12]) can reduce the danger of replay attacks. This method
MUST be supported by all protocols. MUST be supported by all protocols.
21.5. Configuration token protocol 22.5. Configuration token protocol
If the protocol field is 0, the authentication information field If the protocol field is 0, the authentication information field
holds a simple configuration token. The configuration token is an holds a simple configuration token. The configuration token is an
opaque, unencoded value known to both the sender and receiver. The opaque, unencoded value known to both the sender and receiver. The
sender inserts the configuration token in the DHCP message and the sender inserts the configuration token in the DHCP message and the
receiver matches the token from the message to the shared token. If receiver matches the token from the message to the shared token. If
the configuration option is present and the token from the message the configuration option is present and the token from the message
does not match the shared token, the receiver MUST discard the does not match the shared token, the receiver MUST discard the
message. message.
skipping to change at page 54, line 5 skipping to change at page 55, line 18
protection against inadvertently instantiated DHCP servers. protection against inadvertently instantiated DHCP servers.
DISCUSSION: DISCUSSION:
The intent here is to pass a constant, non-computed token The intent here is to pass a constant, non-computed token
such as a plain-text password. Other types of entity such as a plain-text password. Other types of entity
authentication using computed tokens such as Kerberos authentication using computed tokens such as Kerberos
tickets or one-time passwords will be defined as separate tickets or one-time passwords will be defined as separate
protocols. protocols.
21.6. Delayed authentication protocol 22.6. Delayed authentication protocol
If the protocol field is 1, the message is using the "delayed If the protocol field is 1, the message is using the "delayed
authentication" mechanism. In delayed authentication, the client authentication" mechanism. In delayed authentication, the client
requests authentication in its Solicit message and the server replies requests authentication in its Solicit message and the server replies
with an Advertise message that includes authentication information. with an Advertise message that includes authentication information.
This authentication information contains a nonce value generated by This authentication information contains a nonce value generated by
the source as a message authentication code (MAC) to provide message the source as a message authentication code (MAC) to provide message
authentication and entity authentication. authentication and entity authentication.
The use of a particular technique based on the HMAC protocol [12] The use of a particular technique based on the HMAC protocol [11]
using the MD5 hash [21] is defined here. using the MD5 hash [20] is defined here.
21.6.1. Management issues in the delayed authentication protocol 22.6.1. Management issues in the delayed authentication protocol
The "delayed authentication" protocol does not attempt to address The "delayed authentication" protocol does not attempt to address
situations where a client may roam from one administrative domain situations where a client may roam from one administrative domain
to another, i.e. interdomain roaming. This protocol is focused on to another, i.e. interdomain roaming. This protocol is focused on
solving the intradomain problem where the out-of-band exchange of a solving the intradomain problem where the out-of-band exchange of a
shared secret is feasible. shared secret is feasible.
21.6.2. Use of the Authentication option in the delayed authentication 22.6.2. Use of the Authentication option in the delayed authentication
protocol protocol
In a Solicit message, the Authentication option carries the Protocol, In a Solicit message, the Authentication option carries the Protocol,
Algorithm, RDM and Replay detection fields, but no Authentication Algorithm, RDM and Replay detection fields, but no Authentication
information. information.
In an Advertise, Request, Renew, Rebind, Confirm, Decline, Release In an Advertise, Request, Renew, Rebind, Confirm, Decline, Release
or Information-request message, the Authentication option carries or Information-request message, the Authentication option carries
the Protocol, Algorithm, RDM and Replay detection fields and the Protocol, Algorithm, RDM and Replay detection fields and
Authentication information. The format of the Authentication Authentication information.
information is:
The format of the Authentication information is:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Secret ID (32 bits) | | Secret ID (32 bits) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | |
| HMAC-MD5 (128 bits) | | HMAC-MD5 (128 bits) |
| | | |
| | | |
skipping to change at page 55, line 15 skipping to change at page 56, line 29
authentication information for delayed authentication, algorithm 1: authentication information for delayed authentication, algorithm 1:
Replay Detection - as defined by the RDM field Replay Detection - as defined by the RDM field
K - a secret value shared between the source and K - a secret value shared between the source and
destination of the message; each secret has a destination of the message; each secret has a
unique identifier (secret ID) unique identifier (secret ID)
secret ID - the unique identifier for the secret value secret ID - the unique identifier for the secret value
used to generate the MAC for this message used to generate the MAC for this message
HMAC-MD5 - the MAC generating function. HMAC-MD5 - the MAC generating function.
The sender computes the MAC using the HMAC generation algorithm [12] The sender computes the MAC using the HMAC generation algorithm [11]
and the MD5 hash function [21]. The entire DHCP message (except and the MD5 hash function [20]. The entire DHCP message (except
the MAC field of the authentication option itself), including the the MAC field of the authentication option itself), including the
DHCP message header and the options field, is used as input to the DHCP message header and the options field, is used as input to the
HMAC-MD5 computation function. The 'secret ID' field MUST be set to HMAC-MD5 computation function. The 'secret ID' field MUST be set to
the identifier of the secret used to generate the MAC. the identifier of the secret used to generate the MAC.
DISCUSSION: DISCUSSION:
Algorithm 1 specifies the use of HMAC-MD5. Use of a Algorithm 1 specifies the use of HMAC-MD5. Use of a
different technique, such as HMAC-SHA, will be specified as different technique, such as HMAC-SHA, will be specified as
a separate protocol. a separate protocol.
Delayed authentication requires a shared secret key for each Delayed authentication requires a shared secret key for each
client on each DHCP server with which that client may wish client on each DHCP server with which that client may wish
to use the DHCP protocol. Each secret key has a unique to use the DHCP protocol. Each secret key has a unique
identifier that can be used by a receiver to determine which identifier that can be used by a receiver to determine which
secret was used to generate the MAC in the DHCP message. secret was used to generate the MAC in the DHCP message.
Therefore, delayed authentication may not scale well in an Therefore, delayed authentication may not scale well in an
architecture in which a DHCP client connects to multiple architecture in which a DHCP client connects to multiple
administrative domains. administrative domains.
21.6.3. Message validation 22.6.3. Message validation
To validate an incoming message, the receiver first checks that To validate an incoming message, the receiver first checks that
the value in the replay detection field is acceptable according the value in the replay detection field is acceptable according
to the replay detection method specified by the RDM field. Next, to the replay detection method specified by the RDM field. Next,
the receiver computes the MAC as described in [12]. The receiver the receiver computes the MAC as described in [11]. The receiver
MUST set the 'MAC' field of the authentication option to all 0s for MUST set the 'MAC' field of the authentication option to all 0s for
computation of the MAC. If the MAC computed by the receiver does not computation of the MAC. If the MAC computed by the receiver does not
match the MAC contained in the authentication option, the receiver match the MAC contained in the authentication option, the receiver
MUST discard the DHCP message. MUST discard the DHCP message.
21.6.4. Key utilization 22.6.4. Key utilization
Each DHCP client has a key, K. The client uses its key to encode Each DHCP client has a key, K. The client uses its key to encode
any messages it sends to the server and to authenticate and verify any messages it sends to the server and to authenticate and verify
any messages it receives from the server. The client's key SHOULD any messages it receives from the server. The client's key SHOULD
be initially distributed to the client through some out-of-band be initially distributed to the client through some out-of-band
mechanism, and SHOULD be stored locally on the client for use in all mechanism, and SHOULD be stored locally on the client for use in all
authenticated DHCP messages. Once the client has been given its key, authenticated DHCP messages. Once the client has been given its key,
it SHOULD use that key for all transactions even if the client's it SHOULD use that key for all transactions even if the client's
configuration changes; e.g., if the client is assigned a new network configuration changes; e.g., if the client is assigned a new network
address. address.
Each DHCP server MUST know, or be able to obtain in a secure manner, Each DHCP server MUST know, or be able to obtain in a secure manner,
the keys for all authorized clients. If all clients use the same the keys for all authorized clients. If all clients use the same
key, clients can perform both entity and message authentication for key, clients can perform both entity and message authentication for
all messages received from servers. However, the sharing of keys all messages received from servers. However, the sharing of keys
is strongly discouraged as it allows for unauthorized clients to is strongly discouraged as it allows for unauthorized clients to
masquerade as authorized clients by obtaining a copy of the shared masquerade as authorized clients by obtaining a copy of the shared
key. To authenticate the identity of individual clients, each client key. To authenticate the identity of individual clients, each client
MUST be configured with a unique key. MUST be configured with a unique key.
21.6.5. Client considerations for delayed authentication protocol 22.6.5. Client considerations for delayed authentication protocol
21.6.5.1. Sending Solicit messages 22.6.5.1. Sending Solicit messages
When the client sends a Solicit message and wishes to use When the client sends a Solicit message and wishes to use
authentication, it includes an Authentication option with the desired authentication, it includes an Authentication option with the desired
protocol, algorithm, RDM and replay detection field as described protocol, algorithm, RDM and replay detection field as described
in section 21.6. The client does not include any authentication in section 22.6. The client does not include any authentication
information in the Authentication option. information in the Authentication option.
21.6.5.2. Receiving Advertise messages 22.6.5.2. Receiving Advertise messages
The client validates any Advertise messages containing an The client validates any Advertise messages containing an
Authentication option specifying the delayed authentication protocol Authentication option specifying the delayed authentication protocol
using the validation test described in section 21.6.3. using the validation test described in section 22.6.3.
Client behavior if no Advertise messages include authentication Client behavior if no Advertise messages include authentication
information or pass the validation test is controlled by local policy information or pass the validation test is controlled by local policy
on the client. According to client policy, the client MAY choose to on the client. According to client policy, the client MAY choose to
respond to a Advertise message that has not been authenticated. respond to a Advertise message that has not been authenticated.
The decision to set local policy to accept unauthenticated messages The decision to set local policy to accept unauthenticated messages
should be made with care. Accepting an unauthenticated Advertise should be made with care. Accepting an unauthenticated Advertise
message can make the client vulnerable to spoofing and other message can make the client vulnerable to spoofing and other
attacks. If local users are not explicitly informed that the client attacks. If local users are not explicitly informed that the client
skipping to change at page 57, line 7 skipping to change at page 58, line 23
A client MUST be configurable to discard unauthenticated messages, A client MUST be configurable to discard unauthenticated messages,
and SHOULD be configured by default to discard unauthenticated and SHOULD be configured by default to discard unauthenticated
messages. A client MAY choose to differentiate between Advertise messages. A client MAY choose to differentiate between Advertise
messages with no authentication information and Advertise messages messages with no authentication information and Advertise messages
that do not pass the validation test; for example, a client might that do not pass the validation test; for example, a client might
accept the former and discard the latter. If a client does accept an accept the former and discard the latter. If a client does accept an
unauthenticated message, the client SHOULD inform any local users and unauthenticated message, the client SHOULD inform any local users and
SHOULD log the event. SHOULD log the event.
21.6.5.3. Sending Request, Confirm, Renew, Rebind, Decline or Release 22.6.5.3. Sending Request, Confirm, Renew, Rebind, Decline or Release
messages messages
If the client authenticated the Advertise message through which the If the client authenticated the Advertise message through which the
client selected the server, the client MUST generate authentication client selected the server, the client MUST generate authentication
information for subsequent Request, Confirm, Renew, Rebind or Release information for subsequent Request, Confirm, Renew, Rebind or Release
messages sent to the server as described in section 21.6. When the messages sent to the server as described in section 22.6. When the
client sends a subsequent message, it MUST use the same secret used client sends a subsequent message, it MUST use the same secret used
by the server to generate the authentication information. by the server to generate the authentication information.
21.6.5.4. Sending Information-request messages 22.6.5.4. Sending Information-request messages
If the client has negotiated a secret with the server through a If the client has negotiated a secret with the server through a
previous message exchange, the client MUST use the same secret used previous message exchange, the client MUST use the same secret used
by the server to generate the authentication information. If the by the server to generate the authentication information. If the
client has not negotiated a secret with the server, the client MUST client has not negotiated a secret with the server, the client MUST
use a secret that has been selected for the client through some use a secret that has been selected for the client through some
external mechanism. external mechanism.
21.6.5.5. Receiving Reply messages 22.6.5.5. Receiving Reply messages
If the client authenticated the Advertise it accepted, the client If the client authenticated the Advertise it accepted, the client
MUST validate the associated Reply message from the server. The MUST validate the associated Reply message from the server. The
client MUST discard the Reply if the message fails to pass validation client MUST discard the Reply if the message fails to pass validation
and MAY log the validation failure. If the Reply fails to pass and MAY log the validation failure. If the Reply fails to pass
validation, the client MUST restart the DHCP configuration process by validation, the client MUST restart the DHCP configuration process by
sending a Solicit message. The client MAY choose to remember which sending a Solicit message. The client MAY choose to remember which
server replied with a Reply message that failed to pass validation server replied with a Reply message that failed to pass validation
and discard subsequent messages from that server. and discard subsequent messages from that server.
If the client accepted an Advertise message that did not include If the client accepted an Advertise message that did not include
authentication information or did not pass the validation test, the authentication information or did not pass the validation test, the
client MAY accept an unauthenticated Reply message from the server. client MAY accept an unauthenticated Reply message from the server.
21.6.5.6. Receiving Reconfigure messages 22.6.5.6. Receiving Reconfigure messages
The client MUST validate the Reconfigure message from the server. The client MUST validate the Reconfigure message from the server.
The client MUST discard the Reconfigure if the message fails to pass The client MUST discard the Reconfigure if the message fails to pass
validation and MAY log the validation failure. validation and MAY log the validation failure.
21.6.6. Server considerations for delayed authentication protocol 22.6.6. Server considerations for delayed authentication protocol
21.6.6.1. Receiving Solicit messages and Sending Advertise messages 22.6.6.1. Receiving Solicit messages and Sending Advertise messages
The server selects a secret for the client and includes The server selects a secret for the client and includes
authentication information in the Advertise message returned to the authentication information in the Advertise message returned to the
client as specified in section 21.6. The server MUST record the client as specified in section 22.6. The server MUST record the
identifier of the secret selected for the client and use that same identifier of the secret selected for the client and use that same
secret for validating subsequent messages with the client. secret for validating subsequent messages with the client.
21.6.6.2. Receiving Request, Confirm, Renew, Rebind or Release messages 22.6.6.2. Receiving Request, Confirm, Renew, Rebind or Release messages
and Sending Reply messages and Sending Reply messages
The server uses the secret identified in the message and validates The server uses the secret identified in the message and validates
the message as specified in section 21.6.3. If the message fails to the message as specified in section 22.6.3. If the message fails to
pass validation or the server does not know the secret identified by pass validation or the server does not know the secret identified by
the 'secret ID' field, the server MUST discard the message and MAY the 'secret ID' field, the server MUST discard the message and MAY
choose to log the validation failure. choose to log the validation failure.
If the message passes the validation procedure, the server responds If the message passes the validation procedure, the server responds
to the specific message as described in section 18.2. The server to the specific message as described in section 19.2. The server
MUST include authentication information generated using the secret MUST include authentication information generated using the secret
identified in the received message as specified in section 21.6. identified in the received message as specified in section 22.6.
21.6.6.3. Sending Reconfigure messages 22.6.6.3. Sending Reconfigure messages
The server MUST include authentication information in a Reconfigure The server MUST include authentication information in a Reconfigure
message, generated as specified in section 21.6 using the secret the message, generated as specified in section 22.6 using the secret the
server initially negotiated with the client to which the Reconfigure server initially negotiated with the client to which the Reconfigure
message is to be sent. message is to be sent.
If the server has not previously negotiated a secret with the client, If the server has not previously negotiated a secret with the client,
the server MUST use a secret that has been selected for the client the server MUST use a secret that has been selected for the client
through some external mechanism. through some external mechanism.
22. DHCP options 23. DHCP options
Options are used to carry additional information and parameters Options are used to carry additional information and parameters
in DHCP messages. Every option shares a common base format, as in DHCP messages. Every option shares a common base format, as
described in section 22.1. All values in options is represented in described in section 23.1. All values in options is represented in
network order. network order.
This document describes the DHCP options defined as part of the base This document describes the DHCP options defined as part of the base
DHCP specification. Other options may be defined in the future in a DHCP specification. Other options may be defined in the future in a
separate document. separate document.
22.1. Format of DHCP options 23.1. Format of DHCP options
0 1 2 3 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 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-code | option-len | | option-code | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-data | | option-data |
| (option-len octets) | | (option-len octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
skipping to change at page 59, line 28 skipping to change at page 60, line 39
option-len An unsigned integer giving the length of the option-len An unsigned integer giving the length of the
option-data field in this option in octets. option-data field in this option in octets.
option-data The data for the option; the format of this data option-data The data for the option; the format of this data
depends on the definition of the option. depends on the definition of the option.
DHCPv6 options are scoped by using encapsulation. Some options apply DHCPv6 options are scoped by using encapsulation. Some options apply
generally to the client, some are specific to an IA, and some are generally to the client, some are specific to an IA, and some are
specific to the addresses within an IA. These latter two cases are specific to the addresses within an IA. These latter two cases are
discussed in sections 22.3 and 22.4. discussed in sections 23.4 and 23.5.
22.2. DHCP unique identifier option 23.2. Client Identifier option
The DHCP unique identifier option is used to carry a DUID. The format The Client Identifier option is used to carry a DUID identifying a
for the DUID is keyed to mark the type of identifier and is of client between a client and a server. The Client Identifier option
variable length. The format of the DUID option is: MUST appear before any IA options in the DHCP message. The format of
the DUID option is:
0 1 2 3 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 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 DUID | option-len | | OPTION_CLIENTID | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| DUID type | DUID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |
. DUID (cont.) .
. . . .
. DUID .
. (variable length) .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
22.3. Identity association option option-code OPTION_CLIENTID (TBD)
option-len Length of DUID in octets
option-data The DUID for the client
23.3. Server Identifier option
The Server Identifier option is used to carry a DUID identifying
a server between a client and a server. The format of the Server
Identifier option is:
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_SERVERID | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. DUID .
. (variable length) .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_SERVERID (TBD)
option-len Length of DUID in octets
option-data The DUID for the server
23.4. Identity association option
The identity association option is used to carry an identity The identity association option is used to carry an identity
association, the parameters associated with the IA and the addresses association, the parameters associated with the IA and the addresses
assigned to the IA. assigned to the IA.
The format of the IA option is: The format of the IA option is:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
skipping to change at page 60, line 32 skipping to change at page 62, line 26
| T2 | | T2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IA Status | | | IA Status | |
+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+ |
. Options . . Options .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_IA (TBD) option-code OPTION_IA (TBD)
option-len See section 22. option-len See section 23.
IAID The unique identifier for this IA. IAID The unique identifier for this IA.
T1 The time at which the client contacts the T1 The time at which the client contacts the
server from which the addresses in the IA server from which the addresses in the IA
were obtained to extend the lifetimes of the were obtained to extend the lifetimes of the
addresses assigned to the IA. addresses assigned to the IA.
T2 The time at which the client contacts any T2 The time at which the client contacts any
available server to extend the lifetimes of available server to extend the lifetimes of
skipping to change at page 62, line 5 skipping to change at page 63, line 26
extension process by sending a Renew message to the server that extension process by sending a Renew message to the server that
originally assigned the addresses to the IA. T2 is the time at which originally assigned the addresses to the IA. T2 is the time at which
the client SHOULD start sending a Rebind message to any server. A the client SHOULD start sending a Rebind message to any server. A
client MAY begin the lifetime extension process prior to T1 if it client MAY begin the lifetime extension process prior to T1 if it
needs additional addresses for some reason. needs additional addresses for some reason.
T1 and T2 are specified as unsigned integers that specify the time T1 and T2 are specified as unsigned integers that specify the time
in seconds relative to the time at which the messages containing the in seconds relative to the time at which the messages containing the
option is received. option is received.
22.4. IA Address option 23.5. IA Address option
The IA Address option is used to specify IPv6 addresses associated The IA Address option is used to specify IPv6 addresses associated
with an IA. The IA Address option must be encapsulated in the with an IA. The IA Address option must be encapsulated in the
Options field of an Identity Association option. The Options field Options field of an Identity Association option. The Options field
encapsulates those options that are specific to this address. encapsulates those options that are specific to this address.
The format of the IA Address option is: The format of the IA Address option is:
0 1 2 3 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 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
skipping to change at page 62, line 37 skipping to change at page 64, line 30
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| valid lifetime (cont.) | | | valid lifetime (cont.) | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
. . . .
. Options . . Options .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_IADDR (TBD) option-code OPTION_IADDR (TBD)
option-len See section 22. option-len See section 23.
T When set to 1, indicates that this address is a T When set to 1, indicates that this address is a
"temporary address" [17]; when set to 0, the address "temporary address" [16]; when set to 0, the address
is not a temporary address. is not a temporary address.
addr status Status of this address in this IA. addr status Status of this address in this IA.
prefix length Prefix length for this address. prefix length Prefix length for this address.
IPv6 address An IPv6 address IPv6 address An IPv6 address
preferred lifetime The preferred lifetime for the IPv6 address in preferred lifetime The preferred lifetime for the IPv6 address in
the option. the option.
skipping to change at page 63, line 17 skipping to change at page 65, line 10
and valid lifetime fields indicate the client's preference for those and valid lifetime fields indicate the client's preference for those
parameters. The client may send 0 if it has no preference for the parameters. The client may send 0 if it has no preference for the
preferred and valid lifetimes. In a message sent by a server to a preferred and valid lifetimes. In a message sent by a server to a
client, the client MUST use the values in the preferred and valid client, the client MUST use the values in the preferred and valid
lifetime fields for the preferred and valid lifetimes. The values in lifetime fields for the preferred and valid lifetimes. The values in
the preferred and valid lifetimes are the number of seconds remaining the preferred and valid lifetimes are the number of seconds remaining
in each lifetime. in each lifetime.
One or more IA Address Options can appear anywhere in an IA option. One or more IA Address Options can appear anywhere in an IA option.
22.5. Requested Temporary Addresses (RTA) Option 23.6. Requested Temporary Addresses (RTA) Option
The Requested Temporary Addresses (RTA) option is used by a client to The Requested Temporary Addresses (RTA) option is used by a client to
request a server to assign additional temporary addresses to an IA. request a server to assign additional temporary addresses to an IA.
0 1 2 3 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 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_RTA | option-len | | OPTION_RTA | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| num-requested | | num-requested |
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
option-code OPTION_RTA (TBD) option-code OPTION_RTA (TBD)
option-len See section 22. option-len See section 23.
num-requested The number of additional temporary addresses the num-requested The number of additional temporary addresses the
client is requesting. This is an unsigned value. client is requesting. This is an unsigned value.
This option MUST only be sent by a client and only in a Solicit, This option MUST only be sent by a client and only in a Solicit,
Request, Renew, or Rebind message. It MUST only appear encapsulated Request, Renew, or Rebind message. It MUST only appear encapsulated
within an Identity association option. A client that does not need within an Identity association option. A client MUST only include
any additional temporary addresses does not need to include this this option when it wants to have additional temporary address
option. allocated; a client SHOULD NOT send this option if 'num-requested' is
0.
22.6. Option request option 23.7. Option Request option
The Option Request option is used to identify a list of options in a
message between a client and a server.
The format of the Option Request option is:
0 1 2 3 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 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_ORO | option-len | | OPTION_ORO | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| requested-option-code-1 | requested-option-code-2 | | requested-option-code-1 | requested-option-code-2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_ORO (TBD) option-code OPTION_ORO (TBD)
option-len See section 22. option-len See section 23.
requested-option-code-n The option code for an option requested by requested-option-code-n The option code for an option requested by
the client. the client.
A client MAY include an Option Request option in a Solicit, Request, A client MAY include an Option Request option in a Solicit, Request,
Renew, Rebind or Confirm message to inform the server about options Renew, Rebind, Confirm or Information-request message to inform the
the client wants the server to send to the client. server about options the client wants the server to send to the
client.
22.7. Preference option 23.8. Preference option
0 1 2 3 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 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_PREFERENCE | option-len | | OPTION_PREFERENCE | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| pref value | | pref value |
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+
option-code OPTION_PREFERENCE (TBD) option-code OPTION_PREFERENCE (TBD)
option-len See section 22. option-len See section 23.
pref value The preference value for the server in this message. pref value The preference value for the server in this message.
A server MAY include a Preference option in an Advertise message to A server MAY include a Preference option in an Advertise message to
control the selection of a server by the client. See section 17.1.3 control the selection of a server by the client. See section 18.1.3
for the use of the Preference option by the client and the for the use of the Preference option by the client and the
interpretation of Preference option data value. interpretation of Preference option data value.
22.8. Elapsed Time 23.9. Elapsed Time
0 1 2 3 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 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_ELAPSED_TIME | option-len | | OPTION_ELAPSED_TIME | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| elapsed time | | elapsed time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_ELAPSED_TIME (TBD) option-code OPTION_ELAPSED_TIME (TBD)
option-len See section 22. option-len See section 23.
elapsed time The amount of time since the client began its elapsed time The amount of time since the client began its
current DHCP transaction. This time is expressed in current DHCP transaction. This time is expressed in
hundredths of a second (10^-2 seconds). hundredths of a second (10^-2 seconds).
A client MAY include an Elapsed Time option in messages to indicate A client MAY include an Elapsed Time option in messages to indicate
how long the client has been trying to complete a DHCP transaction. how long the client has been trying to complete a DHCP transaction.
Servers and Relay Agents MAY use the data value in this option Servers and Relay Agents MAY use the data value in this option
as input to policy controlling how a server responds to a client as input to policy controlling how a server responds to a client
message. message.
22.9. Client message option 23.10. Client message option
0 1 2 3 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 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_CLIENT_MSG | option-len | | OPTION_CLIENT_MSG | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | |
. DHCP client message . . DHCP client message .
. . . .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_CLIENT_MSG (TBD) option-code OPTION_CLIENT_MSG (TBD)
option-len See section 22. option-len See section 23.
DHCP client message The message received from the client; DHCP client message The message received from the client;
forwarded verbatim to the server. forwarded verbatim to the server.
A relay agent forwards a message from a client to a server as the A relay agent forwards a message from a client to a server as the
contents of a Client Message option in a Relay-forward message. contents of a Client Message option in a Relay-forward message.
22.10. Server message option 23.11. Server message option
0 1 2 3 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 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_SERVER_MSG | option-len | | OPTION_SERVER_MSG | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | |
. DHCP server message . . DHCP server message .
. . . .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_SERVER_MSG (TBD) option-code OPTION_SERVER_MSG (TBD)
option-len See section 22. option-len See section 23.
DHCP server message The message received from the server; DHCP server message The message received from the server;
forwarded verbatim to the client. forwarded verbatim to the client.
A server sends a DHCP message to be forwarded to a client by a relay A server sends a DHCP message to be forwarded to a client by a relay
agent as the contents of a Server Message option in a Relay-reply agent as the contents of a Server Message option in a Relay-reply
message. message.
22.11. DSTM Global IPv4 Address Option 23.12. Authentication option
The DSTM Global IPv4 Address Option informs a client or server that
the Identity Association Option (IA) encapsulated in this option
contains or requests an IPv4-Mapped IPv6 Address [10], as used in the
``Dual Stack Transition Mechanism'' (DSTM) [3].
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_DSTM | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. options .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_DSTM (TBD)
option-len See section 22.
options Options associated with DSTM.
One Identity Association Option MUST always be encapsulated within
the DSTM Global IPv4 Address Option options field and that Identity
Association MUST only be used for IPv4-Mapped IPv6 Addresses.
A DSTM Tunnel End Point Option MAY be encapsulated within the DSTM
Global IPv4 Address Option to specify one or more tunnel endpoints.
DISCUSSION:
By encapsulation the Identity Association Option within
the DSTM Global IPv4 Address Option, a server that does
not support the address type will simply ignore the entire
option and therefore not improperly allocate any addresses
to the Identity Association. This technique of using an
address typing option, SHOULD be used for other address
types that may be needed in the future.
22.12. DSTM Tunnel EndPoint Option
A DSTM Tunnel EndPoint Option can be used to provide a set of IPv6
addresses to be used as the Tunnel Endpoint (TEP) to encapsulate an
IPv6 packet within IPv6.
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_DSTM_TEP | option-length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Tunnel End Point (TEP) |
| (16 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_DSTM_TEP (TBD)
option-len See section 22.
tunnel end point IPv6 address or addresses.
A DSTM Tunnel EndPoint Option MUST NOT be used except when
encapsulated in a DSTM Global IPv4 Address option.
22.13. Authentication option
The Authentication option carries authentication information to The Authentication option carries authentication information to
authenticate the identity and contents of DHCP messages. The use of authenticate the identity and contents of DHCP messages. The use of
the Authentication option is described in section 21. the Authentication option is described in section 22. If present,
the Authentication option MUST appear as the first option in the DHCP
message.
The format of the Authentication option is: The format of the Authentication option is:
0 1 2 3 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 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_AUTH | option-len | | OPTION_AUTH | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Protocol | Algorithm | RDM | Replay detect.| | Protocol | Algorithm | RDM | Replay detect.|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
skipping to change at page 68, line 25 skipping to change at page 69, line 25
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Replay cont. | Auth. Info | | Replay cont. | Auth. Info |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | |
| Authentication Information | | Authentication Information |
| | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_AUTH (TBD) option-code OPTION_AUTH (TBD)
option-len See section 22. option-len See section 23.
protocol The authentication protocol used in protocol The authentication protocol used in
this authentication option this authentication option
algorithm The algorithm used in the algorithm The algorithm used in the
authentication protocol authentication protocol
RDM The replay detection method used in RDM The replay detection method used in
this authentication option this authentication option
Replay detection The replay detection information for Replay detection The replay detection information for
the RDM the RDM
Authentication information The authentication information, Authentication information The authentication information,
as specified by the protocol and as specified by the protocol and
algorithm used in this authentication algorithm used in this authentication
option option
22.14. Server unicast option 23.13. Server unicast option
The server MAY send this option to a client to indicate to the client The server MAY send this option to a client to indicate to the client
that is allowed to unicast messages to the server. When a client that is allowed to unicast messages to the server. The server
receives this option, where permissible, the client MAY send messages specifies the IPv6 address to which the client is to send unicast
to the server using the IPv6 address that the server specifies in the messages in the server-address field. When a client receives this
server address field in this option. option, where permissible, the client MAY send messages directly to
the server using the IPv6 address specified in the server-address
field of the option.
Details about when the client may send messages to the server using Details about when the client may send messages to the server using
unicast are in section 18. unicast are in section 19.
0 1 2 3 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 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_UNICAST | option-len | | OPTION_UNICAST | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_UNICAST (TBD)
option-len See section 22.
22.15. Domain Search Option
This option provides a list of domain names a client can use to
resolve DNS names.
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_DOMAIN_SEARCH_LIST | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Domain Search List |
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_DOMAIN_SEARCH_LIST (TBD)
option-len See section 22.
Domain Search List The DNS domain search list the client
should use to resolve names.
The domain search list is stored in the option according to
section 10.
22.16. Domain Name Server Option
This option provides a list of one or more IP addresses of DNS
servers to which a client's DNS resolver MAY send DNS [14] queries.
The DNS servers are listed in the order of preference for use by the
client resolver.
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_DNS_SERVERS | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| DNS server (IP address) |
| | | |
| | | server-address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| DNS server (IP address) |
| | | |
| | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_DNS_SERVERS (11) option-code OPTION_UNICAST (TBD)
option-len See section 22. option-len See section 23.
DNS server IPv6 address of a DNS name server for the server-address The IP address to which the client should send
client to use. messages delivered using unicast
22.17. Status Code Option 23.14. Status Code Option
This option returns a status indication related to the DHCP message This option returns a status indication related to the DHCP message
in which it appears. in which it appears.
0 1 2 3 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 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_STATUS_CODE | option-len | | OPTION_STATUS_CODE | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| status-code | status-message | | status-code | status-message |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_STATUS_CODE (TBD) option-code OPTION_STATUS_CODE (TBD)
option-len See section 22.
option-len See section 23.
status-code The numeric code for the status encoded in status-code The numeric code for the status encoded in
this option. The status codes are defined in this option. The status codes are defined in
section 7.4. section 7.4.
status-message A UTF-8 encoded text string, which MUST NOT status-message A UTF-8 encoded text string, which MUST NOT
be null-terminated. be null-terminated.
22.18. Circuit-ID Option 23.15. User Class Option
The relay agent MAY send the Circuit-ID option to identify the
circuit-id on which the client message was received.
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_CIRCUIT_ID | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Circuit-ID |
. .
. .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_CIRCUIT_ID (TBD)
option-len See section 22.
Circuit-ID An opaque value of arbitrary length generated
by the relay agent.
The server MUST copy the Circuit-ID option from the Relay-Forward
message into the Relay-Reply message the server sends to the relay
agent in response to the Relay-Forward message. This option MUST NOT
appear in any message except a Relay-Forward or Relay-Reply message.
22.19. User Class Option
This option is used by a client to identify the type or category of This option is used by a client to identify the type or category of
user or applications it represents. The information contained in user or applications it represents. The information contained in the
this option is an opaque field that represents the user class of data area of this option is contained in one or more opaque fields
which the client is a member. The user class information carried in that represent the user class or classes of which the client is a
this option MUST be configurable on the client. member. The user class information carried in this option MUST be
configurable on the client.
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 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_USER_CLASS | option-len | | OPTION_USER_CLASS | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| user class data | | user class data |
| . . . | | . . . |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code TBD option-code TBD
option-len See section 22. option-len See section 23.
user class data The user classes carried by the client. user class data The user classes carried by the client.
The user class option MUST contain one or more instances of user The data area of the user class option MUST contain one or more
class data. Each instance of the user class data is formatted as instances of user class data. Each instance of the user class data
follows: is formatted as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
| user class len | user class data | | user class len | user class data |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
The user class len is two octets long and specifies the length of the The user class len is two octets long and specifies the length of the
opaque user class data in network order. opaque user class data in network order.
Servers can interpret the meanings of multiple class specifications Servers can interpret the meanings of multiple class specifications
in an implementation dependent or configuration dependent manner, in an implementation dependent or configuration dependent manner,
and so the use of multiple classes by a DHCP client should be based and so the use of multiple classes by a DHCP client should be based
on the specific server implementation and configuration which will on the specific server implementation and configuration which will
be used to process that User class option. Servers not equipped to be used to process that User class option. Servers not equipped to
interpret the user class information sent by a client MUST ignore it interpret the user class information sent by a client MUST ignore it
(although it may be reported). (although it may be reported).
22.20. Vendor Class Option 23.16. Vendor Class Option
This option is used by clients and servers to exchange This option is used by clients and servers to exchange
vendor-specific information. The definition of this information vendor-specific information. The definition of this information
is vendor specific. The vendor is indicated in the vendor is vendor specific. The vendor is indicated in the vendor
class identifier option. Servers not equipped to interpret class identifier option. Servers not equipped to interpret
the vendor-specific information sent by a client MUST ignore it the vendor-specific information sent by a client MUST ignore it
(although it may be reported). Clients which do not receive desired (although it may be reported). Clients which do not receive desired
vendor-specific information SHOULD make an attempt to operate without vendor-specific information SHOULD make an attempt to operate without
it, although they may do so (and announce they are doing so) in a it, although they may do so (and announce they are doing so) in a
degraded mode. degraded mode.
skipping to change at page 73, line 22 skipping to change at page 72, line 20
. . . .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-data | | option-data |
. . . .
. . . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code TBD option-code TBD
option-len See section 22. option-len See section 23.
vendor-id A domain name belonging to the vendor used to vendor-id A domain name belonging to the vendor used to
identify the vendor that defined this vendor identify the vendor that defined this vendor
class option. class option.
option-data An opaque object of option-len octets, option-data An opaque object of option-len octets,
presumably interpreted by vendor-specific presumably interpreted by vendor-specific
code on the clients and servers code on the clients and servers
The vendor-id must adhere to the rules in section 10. The vendor-id must adhere to the rules in section 10.
skipping to change at page 73, line 49 skipping to change at page 72, line 47
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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| opt-code | option-len | | opt-code | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-data | | option-data |
| . . . | | . . . |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
opt-code The code for the encapsulated option opt-code The code for the encapsulated option
option-len See section 22. option-len See section 23.
option-data The data area for the encapsulated option option-data The data area for the encapsulated option
22.21. SIP Servers Domain Name List 23.17. Interface-Id Option
This option specifies a list of fully-qualified domain names
to be used by the SIP client to locate a SIP server (see
<draft-ietf-sip-srv-02.txt> [22] for more details.
The option MAY contain multiple domain names, but these SHOULD refer The relay agent MAY send the Interface-id option to identify the
to different SRV records, rather than different A records. Domain interface on which the client message was received. If a relay
names SHOULD be listed in order of preference. receives a Relay-reply message with an Interface-id option, the relay
forwards the message to the client through the interface identified
by the option
0 1 2 3 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 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_SIP_SERVER_D | option-len | | OPTION_INTERFACE_ID | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SIP Server Domain Name List | | |
| ... | | Interface-Id |
. .
. .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_SIP_SERVER_D (TBD) option-code OPTION_INTERFACE_ID (TBD)
option-len See section 22.
SIP Server Domain List The list of SIP servers the client
should use (see section 10 for
encoding details).
22.22. SIP Servers IPv6 Address List
This option specifies a list of IPv6 addresses indicating option-len See section 23.
SIP outbound proxy servers available to the client (see
<draft-ietf-sip-srv-02.txt> [22] for more details. Servers SHOULD be
listed in order of preference.
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 Interface-Id An opaque value of arbitrary length generated
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ by the relay agent to identify one of the
| OPTION_SIP_SERVER_A | option-len | relay agent's interfaces
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| SIP Server (IP address) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| SIP Server (IP address) |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_SIP_SERVER_A (TBD)
option-len See section 22. The server MUST copy the Interface-Id option from the Relay-Forward
message into the Relay-Reply message the server sends to the relay
agent in response to the Relay-Forward message. This option MUST NOT
appear in any message except a Relay-Forward or Relay-Reply message.
SIP Server IPv6 address of a SIP server for the client to use. Servers MAY use the Interface-ID for parameter assignment policies.
The servers are listed in the order of preference for The Interface-ID SHOULD be considered an opaque value, with policies
use by the client. based on exact string match only; that is, the Interface-ID SHOULD
NOT be internally parsed by the server.
23. Security Considerations 24. Security Considerations
Section 21 describes a threat model and an option that provides an Section 22 describes a threat model and an option that provides an
authentication framework to defend against that threat model. authentication framework to defend against that threat model.
24. Year 2000 considerations 25. Year 2000 considerations
Since all times are relative to the current time of the transaction, Since all times are relative to the current time of the transaction,
there is no problem within the DHCPv6 protocol related to any there is no problem within the DHCPv6 protocol related to any
hardcoded dates or two-digit representation of the current year. hardcoded dates or two-digit representation of the current year.
25. IANA Considerations 26. IANA Considerations
This document defines several new name spaces associated with DHCPv6 This document defines several new name spaces associated with DHCPv6
and DHCPv6 options. IANA is requested to manage the allocation of and DHCPv6 options. IANA is requested to manage the allocation of
values from these name spaces, which are described in the remainder values from these name spaces, which are described in the remainder
of this section. These name spaces are all to be managed separately of this section. These name spaces are all to be managed separately
from the name spaces defined for DHCPv4 [8, 2]. from the name spaces defined for DHCPv4 [7, 1].
New values in each of these name spaces should be approved by the New values in each of these name spaces should be approved by the
process of IETF consensus [16]. process of IETF consensus [15].
25.1. Multicast addresses 26.1. Multicast addresses
Section 7.1 defines the following multicast addresses, which have Section 7.1 defines the following multicast addresses, which have
been assigned by IANA for use by DHCPv6: been assigned by IANA for use by DHCPv6:
All_DHCP_Agents address: FF02::1:2 All_DHCP_Agents address: FF02::1:2
All_DHCP_Servers address: FF05::1:3 All_DHCP_Servers address: FF05::1:3
IANA is requested to manage definition of additional multicast IANA is requested to manage definition of additional multicast
addresses in the future. addresses in the future.
25.2. DHCPv6 message types 26.2. DHCPv6 message types
IANA is requested to record the message types defined in section 7.3. IANA is requested to record the message types defined in section 7.3.
IANA is requested to manage definition of additional message types in IANA is requested to manage definition of additional message types in
the future. the future.
25.3. DUID 26.3. DUID
IANA is requested to record the DUID types defined in section 11.1. IANA is requested to record the DUID types defined in section 11.1.
IANA is requested to manage definition of additional DUID types in IANA is requested to manage definition of additional DUID types in
the future. the future.
25.4. DHCPv6 options 26.4. DHCPv6 options
IANA is requested to assign option-codes to the options defined IANA is requested to assign option-codes to the options defined in
in section 22.1. IANA is requested to manage the definition of section 23. IANA is requested to manage the definition of additional
additional DHCPv6 option-codes in the future. DHCPv6 option-codes in the future.
25.5. Status codes 26.5. Status codes
IANA is requested to record the status codes defined in section 7.4. IANA is requested to record the status codes defined in section 7.4.
IANA is requested to manage the definition of additional status codes IANA is requested to manage the definition of additional status codes
in the future. in the future.
25.6. Authentication option 26.6. Authentication option
Section 21 defines three new name spaces associated with the Section 22 defines three new name spaces associated with the
Authentication Option (section 22.13), which are to be created and Authentication Option (section 23.12), which are to be created and
maintained by IANA: Protocol, Algorithm and RDM. maintained by IANA: Protocol, Algorithm and RDM.
Initial values assigned from the Protocol name space are 0 (for the Initial values assigned from the Protocol name space are 0 (for the
configuration token Protocol in section 21.5) and 1 (for the delayed configuration token Protocol in section 22.5) and 1 (for the delayed
authentication Protocol in section 21.6). Additional protocols may authentication Protocol in section 22.6). Additional protocols may
be defined in the future. be defined in the future.
The Algorithm name space is specific to individual Protocols. That The Algorithm name space is specific to individual Protocols. That
is, each Protocol has its own Algorithm name space. The guidelines is, each Protocol has its own Algorithm name space. The guidelines
for assigning Algorithm name space values for a particular protocol for assigning Algorithm name space values for a particular protocol
should be specified along with the definition of a new Protocol. should be specified along with the definition of a new Protocol.
For the configuration token Protocol, the Algorithm field MUST be For the configuration token Protocol, the Algorithm field MUST be
0, as described in section 21.5. For the delayed authentication 0, as described in section 22.5. For the delayed authentication
Protocol, the Algorithm value 1 is assigned to the HMAC-MD5 Protocol, the Algorithm value 1 is assigned to the HMAC-MD5
generating function as defined in section 21.6. Additional generating function as defined in section 22.6. Additional
algorithms for the delayed authentication protocol may be defined in algorithms for the delayed authentication protocol may be defined in
the future. the future.
The initial value of 0 from the RDM name space is assigned to the The initial value of 0 from the RDM name space is assigned to the
use of a monotonically increasing value as defined in section 21.4. use of a monotonically increasing value as defined in section 22.4.
Additional replay detection methods may be defined in the future. Additional replay detection methods may be defined in the future.
26. Acknowledgments 27. Acknowledgments
Thanks to the DHC Working Group for their time and input into Thanks to the DHC Working Group for their time and input into the
the specification. In particular, thanks also for the consistent specification. In particular, thanks also for the consistent input,
input, ideas, and review by (in alphabetical order) Brian Carpenter, ideas, and review by (in alphabetical order) Thirumalesh Bhat,
Matt Crawford, Francis Dupont, Ted Lemon, Josh Littlefield, Gerald Vijayabhaskar, Brian Carpenter, Matt Crawford, Francis Dupont,
Maguire, Jack McCann, Thomas Narten, Erik Nordmark, Yakov Rekhter, Josh Littlefield, Gerald Maguire, Jack McCann, Thomas Narten, Erik
Mark Stapp, Matt Thomas, Sue Thomson, Bernie Volz and Phil Wells. Nordmark, Yakov Rekhter, Mark Stapp, Matt Thomas, Sue Thomson, and
Phil Wells.
Thanks to Steve Deering and Bob Hinden, who have consistently Thanks to Steve Deering and Bob Hinden, who have consistently
taken the time to discuss the more complex parts of the IPv6 taken the time to discuss the more complex parts of the IPv6
specifications. specifications.
Bill Arbaugh reviewed the authentication mechanism described in Bill Arbaugh reviewed the authentication mechanism described in
section 21. section 22.
The Domain Search option described in section 22.15 is based on the
DHCPv4 domain search option, [1], and was reviewed by Bernard Aboba.
And, thanks to Steve Deering for pointing out at IETF 51 in London And, thanks to Steve Deering for pointing out at IETF 51 in London
that the DHCPv6 specification has (at least currently) the highest that the DHCPv6 specification has the highest revision number of any
revision number of any Internet Draft. Internet Draft.
A. Full Copyright Statement
Copyright (C) The Internet Society (2001). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph
are included on all such copies and derivative works. However,
this document itself may not be modified in any way, such as by
removing the copyright notice or references to the Internet Society
or other Internet organizations, except as needed for the purpose
of developing Internet standards in which case the procedures
for copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS 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.
B. Appearance of Options in Message Types
The following table indicates with a "*" the options are allowed in
each DHCP message type:
DUID IA RTA ORO Pref Time Client Server DSTM DSTM
Forw. Forw. Addr Tunn
Solicit * * * *
Advert. * * * * * * *
Request * * * *
Confirm * * * *
Renew * * * *
Rebind * * * *
Decline * * * *
Release * * * *
Reply * * * * * * *
Reconf. * *
Inform. * *
R-forw. * *
R-repl. * *
Auth Server Domain Domain Status Circ. User Vendor
Unica. Search Server Code ID Class Class
Solicit * * *
Advert. * * *
Request * * *
Confirm * * *
Renew * * *
Rebind * * *
Decline * * * *
Release * * * *
Reply * * * * *
Reconf. *
Inform. * * *
R-forw. * *
R-repl. * *
C. Appearance of Options in the Options Field of DHCP Messages
The following table indicates with a "*" where options can appear in
the options field or encapsulated in other options:
Option IA IAADDR RTA DSTM Client Server
Field Addr Forw. Forw.
Client msg. * *
Server msg. * *
DUID *
IA * *
IAADDR *
RTA *
ORO *
Pref *
Time *
Client Forw. *
Server Forw. *
DSTM Addr. *
DSTM Tunnel *
Authentic. *
Server Uni. *
Dom. Srch. *
Dom. Server *
Status Cod. * * *
Circ. ID * *
User Class *
Vend. Class *
References References
[1] B. Aboba. DHCP Domain Search Option. Internet Draft, Internet [1] S. Alexander and R. Droms. DHCP Options and BOOTP Vendor
Engineering Task Force, December 2000. Work in progress.
[2] S. Alexander and R. Droms. DHCP Options and BOOTP Vendor
Extensions, March 1997. RFC 2132. Extensions, March 1997. RFC 2132.
[3] J. Bound, L. Toutain, F. Dupont, O. Medina, A. Hossam, and [2] S. Bradner. Key words for use in RFCs to Indicate Requirement
A. Durand. Dual Stack Transition Mechanism (DSTM). Internet
Draft, Internet Engineering Task Force, November 2001. Work in
progress.
[4] S. Bradner. Key words for use in RFCs to Indicate Requirement
Levels, March 1997. RFC 2119. Levels, March 1997. RFC 2119.
[5] S. Bradner and A. Mankin. The Recommendation for the IP Next [3] S. Bradner and A. Mankin. The Recommendation for the IP Next
Generation Protocol, January 1995. RFC 1752. Generation Protocol, January 1995. RFC 1752.
[6] W.J. Croft and J. Gilmore. Bootstrap Protocol, September 1985. [4] W.J. Croft and J. Gilmore. Bootstrap Protocol, September 1985.
RFC 951. RFC 951.
[7] S. Deering and R. Hinden. Internet Protocol, Version 6 (IPv6) [5] S. Deering and R. Hinden. Internet Protocol, Version 6 (IPv6)
Specification, December 1998. RFC 2460. Specification, December 1998. RFC 2460.
[8] R. Droms. Dynamic Host Configuration Protocol, March 1997. RFC [6] R. Draves. Default Address Selection for IPv6, September 2001.
work in progress.
[7] R. Droms. Dynamic Host Configuration Protocol, March 1997. RFC
2131. 2131.
[9] R. Droms, Editor, W. Arbaugh, and Editor. Authentication for [8] R. Droms, Editor, W. Arbaugh, and Editor. Authentication for
DHCP Messages, June 2001. RFC 3118. DHCP Messages, June 2001. RFC 3118.
[10] R. Hinden and S. Deering. IP Version 6 Addressing Architecture, [9] R. Hinden and S. Deering. IP Version 6 Addressing Architecture,
July 1998. RFC 2373. July 1998. RFC 2373.
[11] S. Kent and R. Atkinson. Security Architecture for the Internet [10] S. Kent and R. Atkinson. Security Architecture for the Internet
Protocol, November 1998. RFC 2401. Protocol, November 1998. RFC 2401.
[12] H. Krawczyk, M. Bellare, and R. Canetti. HMAC: Keyed-Hashing [11] H. Krawczyk, M. Bellare, and R. Canetti. HMAC: Keyed-Hashing
for Message Authentication, February 1997. RFC 2104. for Message Authentication, February 1997. RFC 2104.
[13] David L. Mills. Network Time Protocol (Version 3) [12] David L. Mills. Network Time Protocol (Version 3)
Specification, Implementation, March 1992. RFC 1305. Specification, Implementation, March 1992. RFC 1305.
[14] P.V. Mockapetris. Domain names - concepts and facilities, [13] P.V. Mockapetris. Domain names - concepts and facilities,
November 1987. RFC 1034. November 1987. RFC 1034.
[15] P.V. Mockapetris. Domain names - implementation and [14] P.V. Mockapetris. Domain names - implementation and
specification, November 1987. RFC 1035. specification, November 1987. RFC 1035.
[16] T. Narten and H. Alvestrand. Guidelines for Writing an IANA [15] T. Narten and H. Alvestrand. Guidelines for Writing an IANA
Considerations Section in RFCs, October 1998. RFC 2434. Considerations Section in RFCs, October 1998. RFC 2434.
[17] T. Narten and R. Draves. Privacy Extensions for Stateless [16] T. Narten and R. Draves. Privacy Extensions for Stateless
Address Autoconfiguration in IPv6, January 2001. RFC 3041. Address Autoconfiguration in IPv6, January 2001. RFC 3041.
[18] T. Narten, E. Nordmark, and W. Simpson. Neighbor Discovery for [17] T. Narten, E. Nordmark, and W. Simpson. Neighbor Discovery for
IP Version 6 (IPv6), December 1998. RFC 2461. IP Version 6 (IPv6), December 1998. RFC 2461.
[19] D.C. Plummer. Ethernet Address Resolution Protocol: Or [18] D.C. Plummer. Ethernet Address Resolution Protocol: Or
converting network protocol addresses to 48.bit Ethernet address converting network protocol addresses to 48.bit Ethernet address
for transmission on Ethernet hardware, November 1982. RFC 826. for transmission on Ethernet hardware, November 1982. RFC 826.
[20] J. Postel. User Datagram Protocol, August 1980. RFC 768. [19] J. Postel. User Datagram Protocol, August 1980. RFC 768.
[21] R. Rivest. The MD5 Message-Digest Algorithm, April 1992. RFC [20] R. Rivest. The MD5 Message-Digest Algorithm, April 1992. RFC
1321. 1321.
[22] H. Schulzrinne and J. Rosenberg. SIP: Session Initiation [21] S. Thomson and T. Narten. IPv6 Stateless Address
Protocol -- Locating SIP Servers. Internet Draft, Internet
Engineering Task Force, March 2001. Work in progress.
[23] S. Thomson and T. Narten. IPv6 Stateless Address
Autoconfiguration, December 1998. RFC 2462. Autoconfiguration, December 1998. RFC 2462.
[24] P. Vixie, Ed., S. Thomson, Y. Rekhter, and J. Bound. Dynamic [22] P. Vixie, Ed., S. Thomson, Y. Rekhter, and J. Bound. Dynamic
Updates in the Domain Name System (DNS UPDATE), April 1997. RFC Updates in the Domain Name System (DNS UPDATE), April 1997. RFC
2136. 2136.
Chair's Address Chair's Address
The working group can be contacted via the current chair: The working group can be contacted via the current chair:
Ralph Droms Ralph Droms
Cisco Systems Cisco Systems
300 Apollo Drive 300 Apollo Drive
skipping to change at page 82, line 15 skipping to change at page 78, line 11
Authors' Addresses Authors' Addresses
Questions about this memo can be directed to: Questions about this memo can be directed to:
Jim Bound Jim Bound
Compaq Computer Corporation Compaq Computer Corporation
ZK3-3/W20 ZK3-3/W20
110 Spit Brook Road 110 Spit Brook Road
Nashua, NH 03062-2698 Nashua, NH 03062-2698
USA USA
Phone: +1 603 884 0062 Voice: +1 603 884 0062
Email: Jim.Bound@compaq.com E-mail: Jim.Bound@compaq.com
Mike Carney Mike Carney
Sun Microsystems, Inc Sun Microsystems, Inc
Mail Stop: UMPK17-202 Mail Stop: UMPK17-202
901 San Antonio Road 901 San Antonio Road
Palo Alto, CA 94303-4900 Palo Alto, CA 94303-4900
USA USA
Phone: +1-650-786-4171 Voice: +1-650-786-4171
Email: mwc@eng.sun.com E-mail: mwc@eng.sun.com
Charles E. Perkins Charles E. Perkins
Communications Systems Lab Communications Systems Lab
Nokia Research Center Nokia Research Center
313 Fairchild Drive 313 Fairchild Drive
Mountain View, California 94043 Mountain View, California 94043
USA USA
Phone: +1-650 625-2986 Voice: +1-650 625-2986
Email: charliep@iprg.nokia.com E-mail: charliep@iprg.nokia.com
Fax: +1 650 625-2502 Fax: +1 650 625-2502
Ted Lemon
Nominum, Inc.
950 Charter Street
Redwood City, CA 94043
E-mail: Ted.Lemon@nominum.com
Bernie Volz
Ericsson
959 Concord St
Framingham, MA 01701
Voice: +1-508-875-3162
Fax: +1-508-875-3018
E-mail: bernie.volz@ericsson.com
Ralph Droms Ralph Droms
Cisco Systems Cisco Systems
300 Apollo Drive 300 Apollo Drive
Chelmsford, MA 01824 Chelmsford, MA 01824
USA USA
Phone: +1 978 244 4733 Voice: +1 978 479 4733
Email: rdroms@cisco.com E-mail: rdroms@cisco.com
A. Appearance of Options in Message Types
The following table indicates with a "*" the options are allowed in
each DHCP message type:
Client Server IA RTA Option Pref Time Client Server
ID ID Request Forw. Forw.
Solicit * * * *
Advert. * * * * * *
Request * * * * *
Confirm * * * *
Renew * * * * *
Rebind * * * *
Decline * * * * *
Release * * * * *
Reply * * * * * *
Reconf. * * *
Inform. * (see note) *
R-forw. * *
R-repl. * *
NOTE:
Only included in Information-Request messages that are sent
in response to a Reconfigure (see section 20.3.3).
Auth Server Status User Vendor
Unica. Code Class Class
Solicit * * *
Advert. * * *
Request * * *
Confirm * * *
Renew * * *
Rebind * * *
Decline * * * *
Release * * * *
Reply * * *
Reconf. *
Inform. * * *
R-forw. * *
R-repl. * *
B. Appearance of Options in the Options Field of DHCP Messages
The following table indicates with a "*" where options can appear in
the options field or encapsulated in other options:
Option IA IAADDR RTA Client Server
Field Forw. Forw.
Client msg. * *
Server msg. * *
DUID *
IA *
IAADDR *
RTA *
ORO *
Pref *
Time *
Client Forw. *
Server Forw. *
DSTM Addr. *
DSTM Tunnel *
Authentic. *
Server Uni. *
Dom. Srch. *
Dom. Server *
Status Cod. * * *
Circ. ID * *
User Class *
Vend. Class *
C. Full Copyright Statement
Copyright (C) The Internet Society (2001). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph
are included on all such copies and derivative works. However,
this document itself may not be modified in any way, such as by
removing the copyright notice or references to the Internet Society
or other Internet organizations, except as needed for the purpose
of developing Internet standards in which case the procedures
for copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS 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.
 End of changes. 

This html diff was produced by rfcdiff 1.23, available from http://www.levkowetz.com/ietf/tools/rfcdiff/