IPv6 Conformance Test for DHCPv6(Tahi)


Test Program Version : DHCPv6_1_0



No. Title

Initialize
1 Initialization


DHCPv6 Server testcases



1 Server Message Format
2 UDP Port
3 Server/Client Message Format
4 Server/Relay agent (Relay-reply) Message Format

2 DHCP Unique Identifier (DUID)
5 DUID Based on Link-layer Address Plus Time [DUID-LLT]
6 The consistency of DUID-LLT(need reboot)
7 DUID Assigned by Vendor Based on Enterprise Number [DUID-EN]
8 The consistency of DUID-EN(need reboot)
9 DUID Based on Link-layer Address [DUID-LL]

3 Selecting Addresses for Assignment to an IA(TBD)

4 Basic Message Exchanges (not checking the options)
10 Solicit-Reply
11 Sol-Adv-Req-Rep
12 Confirm-Reply
13 Renew-Reply
14 Rebind-Reply
15 Information-request-Reply
16 Release-Reply
17 Decline-Reply

5 Message Validation

5.1 Use of Transaction IDs
18 The consistency of Transaction Id

5.2 Solicit Message
19 Processing Invalid Solicit Message (w/Server ID Option)
20 Processing Invalid Solicit Message (w/o Client ID Option)
21 Processing Invalid Solicit Message (w/Invalid Option)

5.3 Advertise Message
22 Processing Invalid Advertise Message

5.4 Request Message
23 Processing Invalid Request Message (w/o Server ID option)
24 Processing Invalid Request Message (DUID of Server ID option not matching )
25 Processing Invalid Request Message (w/o Client ID option)
26 Processing Invalid Request Message (w/Invalid Option)

5.5 Confirm Message
27 Processing Invalid Comfirm Message(w/Server ID option)
28 Processing Invalid Comfirm Message(w/o Client ID option)
29 Processing Invalid Confirm Message (w/Invalid Option)

5.6 Renew Message
30 Processing Invalid Renew Message(w/o Server ID option)
31 Processing Invalid Renew Message(DUID of Server ID option not matching )
32 Processing Invalid Renew Message(w/o Client ID option)
33 Processing Invalid Renew Message (w/Invalid Option)

5.7 Rebind Message
34 Processing Invalid Rebind Message(w/Server ID option)
35 Processing Invalid Rebind Message(w/o Client ID option)
36 Processing Invalid Rebind Message (w/Invalid Option)

5.8 Decline Messages
37 Processing Invalid Decline Message(w/o Server ID option)
38 Processing Invalid Decline Message(DUID of Server ID option not matching )
39 Processing Invalid Decline Message(w/o Client ID option)
40 Processing Invalid Decline Message (w/Invalid Option)

5.9 Release Message
41 Processing Invalid Release Message(w/o Server ID option)
42 Processing Invalid Release Message(DUID of Server ID option not matching )
43 Processing Invalid Release Message(w/o Client ID option)
44 Processing Invalid Release Message (w/Invalid Option)

5.10 Reply Message
45 Processing Invalid Reply Message
46 Reply message(w/o Client ID option)

5.12 Reconfigure Message
47 Processing Invalid Reconfigure Message

5.13 Information-request Message
48 Processing Invalid Information-request Message(w/IA)
49 Processing Invalid Information-request Message (w/Invalid Option)

5.14 Relay-reply Message
50 Processing Invalid Relay-reply Message

6 DHCP Server Solicitation

6.1 Receipt of Solicit Messages
51 Discard Invalid Solicit Message(unicast)
52 Receipt of Solicit Message(w/Rapid Commit option)
53 Receipt of Solicit Message(ignore w/Rapid Commit option)

6.2 Creation and Transmission of Advertise Messages
54 Creation and Transmission of Advertise Messages
55 Advertise Messages transmit by unicast
56 The default server preference value
57 Creation and Transmission of Advertise Message(w/Reconfigure Accept option)
58 Creation and Transmission of Advertise Message(w/OptionRequest option)
59 Creation and Transmission of Advertise Message(w/IA_NA option)
60 Creation and Transmission of Advertise Message(w/IA_TA option)
61 Creation and Transmission of Advertise Message(w/mutli IA_NA options)
62 Creation and Transmission of Advertise Message(return w/Status Code=NoAddrsAvail)
63 Creation and Transmission of Relay-reply Messages include Advertise Message

6.3 Creation and Transmission of Reply Messages
64 Creation and Transmission of Reply Message
65 Creation and Transmission of Reply Message(w/Reconfigure Accept option)

7 DHCP Client-Initiated Configuration Exchange
66 Reply Message's ID option
67 Reply Client Message(w/Option Request option)

7.1 Receipt of Request Messages
68 Processing Invalid Request Messages(unicast)
69 Receipt of Request Message
70 Respond when not appropriate for link(return w/Status Code=NotOnLink)
71 Respond when any address can't be assigned (return w/Status Code=NoAddrsAvail)
72 Resent Request Message

7.2 Receipt of Confirm Messages
73 Receipt of Confirm Messages(return w/Status Code= Success)
74 Receipt of Confirm Messages(return w/Status Code= NotOnLink)
75 No any Reply when Receipt of Confirm Messages
76 Ignore T1&T2 and lifetimes

7.3 Receipt of Renew Messages
77 Processing Invalid Renew Messages
78 Receipt of Renew Messages
79 Receipt of Renew Messages(return w/Status Code= NoBinding)
80 Server return lifetimes=0
81 Reply when Receipt of Renew Messages

7.4 Receipt of Rebind Messages
82 Check the new values of time fields
83 Processing Invalid Rebind Message
84 Reply when Receipt of Rebind Messages

7.5 Receipt of Information-request Messages
85 Receipt of Information-request Messages
86 Receipt of Information-request Messages(w/o Client Identifier)

7.6 Receipt of Release Messages
87 Processing Invalid Release Message
88 Receipt of Release Messages(return w/Status Code=Success)
89 Receipt of Release Messages(return w/Status Code=NoBinding)

7.7 Receipt of Decline Messages
90 Processing Invalid Decline Message
91 Receipt of Decline Messages(return w/Status Code=Success)
92 Receipt of Decline Messages(return w/Status Code=NoBinding)

7.8 Transmission of Reply Messages
93 Transmission of Reply Messages(Unicast)

7.9 Construction of Relay-reply Messages
94 Relay the Relay-reply Message through same relay agent
95 The format of Relay-reply Message when it passes through multi relay agent

8 DHCP Server-Initiated Configuration Exchange(*A)

9 Authentication of DHCP Messages(*A)

10 DHCP options
96 Server Identifier Option
97 IA_NA Option
98 IA_NA Option(Ignore T1&T2)
99 IA_TA Option
100 IA Address Option(IA_NA)
101 IA Address Option(IA_TA)
102 The Same Temp Address(w/ Same DUID)
103 IA Address Option(Ignore Lifetime)
104 Preference Option
105 Relay Message Option
106 Server Unicast Option
107 Server Unicast Option(w/Relay Agent)
108 Status Code Option
109 Rapid Commit Option
110 Interface-Id Option
111 Processing Invalid Interface-Id Option

11 DNS options
112 Format of DNS Recursive Name Server option
113 Format of Domain Search List option
114 Message validation of DNS Recursive Name Server option
115 Message validation of Domain Search List option

12 IPv6 Prefix Options (Delegating router) test cases

12.1 Basic Message Exchange
116 Basic Message Exchange

12.2 Identity Association for Prefix Delegation Option
117 Format of IA_PD Option
118 Set T1 and T2 to 0
119 Ignore T1 and T2 when they greater than preferred time
120 Processing Invalid T1 and T2

12.3 IA_PD Prefix option
121 Format of IA_PD Prefix option
122 Ignore Lifetime in IA_PD Prefix option
123 Mulit IA_PD Prefix options in 1 IA_PD option
124 Mulit IA_PD options (/w Prefix option)

12.4 Delegating Router Solicitation
125 Advertise Message exchange
126 Processing when assign prefix failed(return w/Status Code= NoPrefixAvail)

12.5 Requesting router initiated prefix delegation
127 Request-Reply message exchange
128 Renew-Reply message exchange
129 Rebind-Reply message exchange
130 Renew-Reply message exchange(Lifetime=0)
131 Renew-Reply message exchange(return w/NoBinding)

12.6 Prefix delegation reconfiguration(*A)

12.7 Security Considerations(*A)

13 Stateless Dynamic Host Configuration Protocol (DHCP) Service for IPv6

13.1 Basic message exchange
132 Basic message exchange(InfoReq-Reply)

13.2 Messages Required for Stateless DHCP Service
133 Format of Reply messages
134 Format of Relay-reply messages

13.3 Options Required for Stateless DHCP Service
135 Server ID Option
136 Interface-id Option
137 Relay Message Option

13.4 Options Used for Configuration Information
138 DNS Recursive Name Servers Option
139 DNS search list Option
140 SIP servers Option

13.5 Other Options Used in Stateless DHCP(TBD)

13.6 Interaction with DHCP for Address Assignment
141 Processing Invalid Solicit Messages
142 Processing Invalid Request Messages
143 Processing Invalid Confirm Messages
144 Processing Invalid Rebind Messages
145 Processing Invalid Renew Messages
146 Processing Invalid Release Messages
147 Processing Invalid Decline Messages


DHCPv6 Client testcases



Initialization
148 Initialization of Client

1 Client Basic Test
149 Usage of UDP port
150 Basic DHCPv6 message format of Client
151 Destination IP address of Client DHCPv6 message

2 Basic Message Exchange
152 Solicit-Reply Exchange
153 Solicit-Advertise-Request-Reply Exchange
154 Confirm-Reply Exchange
155 Renew-Reply Exchange
156 Rebind-Reply Exchange
157 Decline-Reply Exchange
158 Release-Reply Exchange

3 Client DUID Format
159 Format of Client DUID_LLT
160 Consistence of Client DUID_LLT after reboot
161 Format of Client DUID_EN
162 Consistence of Client DUID_EN after reboot
163 Format of Client DUID_LL

4 Client IAID Format
164 Consistence of Client IAID after reboot

5 Reliability of Client Initiated Message Exchanges
165 Retransmission of DHCPv6 message
166 First RT of DHCPv6 message

6 Invalid Message Test
167 Receiving Advertise (W/Option request option)
168 Receiving Advertise (W/Elapsed time option)
169 Receiving Advertise (W/Relay message option)
170 Receiving Advertise (W/Server unicast option)
171 Receiving Advertise (W/Rapid commit option)
172 Receiving Advertise (W/Interface-Id option)
173 Receiving Advertise (W/Reconfigure message option)
174 Receiving Reply (W/Option request option)
175 Receiving Reply (W/Elapsed time option)
176 Receiving Reply (W/Relay message option)
177 Receiving Reply (W/Interface-Id option)
178 Receiving Reply (W/Reconfigure message option)
179 Synchronizing between Server and Client by Using transaction-id
180 Consistence of transaction-id during retransmission
181 Receiving Solicit Message
182 Receiving Advertise (W/O Server identifier option)
183 Receiving Advertise (W/O Client identifier option)
184 Receiving Advertise with a DUID not matching that of Client
185 Receiving Advertise with transaction-id not matching that of Solicit
186 Receiving Request Message
187 Receiving Confirm Message
188 Receiving Renew Message
189 Receiving Rebind Message
190 Receiving Decline Message
191 Receiving Release Message
192 Receiving Reply (W/O Server identifier option)
193 Receiving Reply with erroneous transaction-id
194 Receiving Information-request Message
195 Receiving Relay-forward Message
196 Receiving Relay-reply Message

7 Client Source Address and Interface Selection
197 Message Source Address is Link-local Address

8 DHCP Server Solicitation

8.1 Client Behavior

8.1.1 Creation of Solicit Messages
198 Format of the basic Solicit

8.1.2 Transmission of Solicit Messages
199 IRT of Solicit
200 MRT of Solicit
201 Format of Solicit (W/ Rapid-commit option)
202 Wait after transmitting Solicit (W/O Rapid-commit option)
203 No wait after transmitting Solicit (W/O Rapid-commit option)
204 Receiving all Advertises without preference value of 255
205 Test if not receiving Advertise

8.1.3 Receipt of Advertise Messages
206 Receiving Advertise (W/status code/NoAddrAvail)
207 Accepting Advertises from multiple Servers

8.1.4 Receipt of Reply Message
208 Receiving Reply (W/O Rapid-commit option)
209 Receiving Reply (W/ Rapid-commit option)
210 Receiving Advertise (W/O Rapid-commit option)
211 Receiving succeeded Reply (W/ Rapid-commit option)

9 DHCP Client-Initiated Configuration Exchange

9.1 Client Behavior
212 Transmit DHCP using Unicast Address

9.1.1 Creation and Transmission of Request Messages
213 Format of Request with more than one IA
214 Format of Request
215 First RT of Request
216 MRT of Request
217 MRC of Request

9.1.2 Creation and Transmission of Confirm Messages
218 Format of Confirm
219 First RT of Confirm
220 MRT of Confirm
221 MRD of Confirm
222 Reservation of Information during Confirm-Reply exchange

9.1.3 Creation and Transmission of Renew Messages
223 Format of Renew
224 First RT of Renew
225 MRT of Renew
226 MRD of Renew

9.1.4 Creation and Transmission of Rebind Messages
227 Format of Rebind
228 First RT of Rebind
229 MRT of Rebind
230 MRD of Rebind
231 When Rebind-Reply exchange Fail

9.1.5 Creation and Transmission of Information-request Messages
232 Format of Information-request
233 First RT of Information-request
234 MRT of Information-request

9.1.6 Creation and Transmission of Release Messages
235 Format of Release
236 Error use of IP address after Release
237 First RT of Release
238 MRC of Release
239 Receiving Reply (W/Status Code/NoBinding)

9.1.7 Creation and Transmission of Decline Messages
240 Format of Decline
241 Erroneous use after Decline
242 First RT of Decline
243 MRC of Decline
244 Receiving Reply (W/Status Code/NoBinding)

9.1.8 Receipt of Reply Messages
245 Using T1 and T2 within Reply
246 Using newly-assigned address within Reply
247 Updated lifetime of originally-assigned address within Reply
248 Receiving Reply containing Status of UnspecFail
249 Receiving Reply containing Status of UseMulticast
250 Receiving Reply to Confirm containing Status of NotOnLink
251 Receiving Reply to Confirm with IA options not containing status of NotOnLink
252 Receiving Reply to Request containing Status of NotOnLink
253 Receiving Reply with IA not containing Status of NoAddrAvail
254 Receiving Reply with all IAs containing Status of NoAddrAvail
255 Receiving Reply to Renew with IA containing Status of NoBinding
256 Receiving Reply to Rebind with IA contained Status of NoBinding
257 Receiving Reply to Renew without wanted IA
258 Receiving Reply to Rebind without wanted IA
259 Receiving Reply to Release with Status of NoBinding
260 Receiving Reply to Decline with Status of NoBinding

10 DHCP Server-Initiated Configuration Exchange

10.4 Client Behavior

10.4.1 Receipt of Reconfigure Messages

10.4.2 Creation and Transmission of Renew Messages

10.4.3 Creation and Transmission of Information-request Messages

10.4.4 Time Out and Retransmission of Renew or Information-request Messages

10.4.5 Receipt of Reply Messages

11 Authentication of DHCP Messages

11.4 Delayed Authentication Protocol

11.4.1 Use of the Authentication Option in the Delayed Authentication Protocol

11.4.2 Message Validation

11.4.3 Key Utilization

11.4.4 Client Considerations for Delayed Authentication Protocol

11.4.4.1 Sending Solicit Messages

11.4.4.2 Receiving Advertise Messages

11.4.4.3 Sending Request, Confirm, Renew, Rebind, Decline or Release Messages

11.4.4.4 Sending Information-request Messages

11.4.4.5 Receiving Reply Messages

11.4.4.6 Receiving Reconfigure Messages

11.5 Reconfigure Key Authentication Protocol

11.5.1 Use of the Authentication Option in the Reconfigure Key Authentication Protocol

11.5.2 Server considerations for Reconfigure Key protocol

11.5.3 Client considerations for Reconfigure Key protocol

12 DHCP Options
261 Format of Client Identifier Option
262 Format of Server Identifier Option
263 Format of IANA Option
264 Discarding IANA Option with invalid lifetime
265 Format of IATA Option
266 Requesting New IA_TA
267 Format of IA Address Option
268 Use of Life time within IA Address Option
269 IA Address option with Preferred-lifetime greater than valid-lifetime
270 Format of Elapsed Time Option

13 IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) version 6

13.7 Overview of DHCP with Prefix Delegation

13.8 Interface Selection
271 Use of upstream address when sends DHCP message

13.9 Identity Association for Prefix Delegation Option
272 Format of message with IA_PD option
273 Format of message with IA_PD option with T1 and T2 for preference

13.10 IA_PD Prefix option
274 Format of IA_PD Prefix option within the IA_PD option
275 Receiving prefixes with preferred lifetime more than valid lifetime
276 Single IA_PD option with more than one IA_PD prefix

13.11 Delegating Router Solicitation

13.11.1 Requesting router behavior
277 Solicit (W/ IA_PD option)
278 Receiving Advertise (W/ Status Code/ NoPrefixAvail)

13.12 Requesting router initiated prefix delegation

13.12.1 Requesting router behavior
279 Format of Request (W/ multiple IA_PD option)
280 Format of Request with All prefix options
281 Format of Rebind (W/ prefix option)
282 Using Renew to extend lifetime of prefix
283 Using Rebind to extend lifetime of prefix
284 Format of Release (W/ prefix option)
285 Receiving invalid Confirm (W/ IA_PD option)
286 Receiving invalid Decline (W/ IA_PD option)

13.13 Prefix Delegation reconfiguration

13.13.2 Requesting Router behavior

13.15 Security Considerations

14 DNS Configuration options for Dynamic Host Configuration Protocol for IPv6 (DHCPv6)

14.3 DNS Recursive Name Server option
287 Format of DNS Recursive Name Server option

14.4 Domain Search List option
288 Format of Domain Search List option

14.5 Appearance of these options
289 Confirm must not include DNS Recursive Name Server option
290 Decline must not include DNS Recursive Name Server option
291 Release must not include DNS Recursive Name Server option
292 Confirm must not include Domain Search List option
293 Decline must not include Domain Search List option
294 Release must not include Domain Search List option

14.6 Security Considerations

15 Stateless Dynamic Host Configuration Protocol (DHCP) Service for IPv6

15.5 Implementation of Stateless DHCP

15.5.1 Messages Required for Stateless DHCP Service

15.5.2 Options Required for Stateless DHCP Service
295 Information-request (W/Option Request option)

15.5.3 Options Used for Configuration Information
296 Request DNS Recursive Name Servers
297 Receving Reply to Information-request that request DNS Recursive Name Servers
298 Request DNS Search List
299 Request SIP Server List

Initialize
300 Initialization


DHCPv6 Relay agent testcases



1 Relay agent Message format
301 UDP Port
302 Relay-forward Message

2 Message validation
303 Processing Invalid Advertise Message
304 Processing Invalid Reply Message
305 Processing Invalid Reconfigure Message

3 Relay agent Behavior
306 Using of Multicast Address

3.1 Relaying a Client Message or a Relay-forward Message

3.1.1 Relaying a Message from a Client
307 Relaying a Client Message

3.1.2 Relaying a Message from a Relay Agent
308 Relaying a Relay-forward Message
309 Relaying a Relay-forward Message(w/ Interface-id option)
310 Processing a Invalid Relay-forward Message

3.2 Relaying a Relay-reply Message
311 Relaying a Relay-reply Message
312 Relaying a Relay-reply Message to another Relay agent
313 Relaying a Relay-reply Message(w/ Interface-id option option)

4 Relay agent Option
314 Relay Message Option
315 Interface-Id Option

5 Prefix Options for DHCP v6
316 Relay messages obtaining Prefix Options

6 Stateless DHCP service
317 Relay-forward message
318 The content of relay messages

This Report was generated by TAHI IPv6 Conformance Test Suite