Hi all,
That there is one point in dhcpv6 test case confused me for a long
time.
For rfc3646
4 Part A: Returning of DNS Recurisive Name Server option.
5 Part B: Returning of DNS Recurisive Name Server option and Domain
Search List Option.
The two test cases send the same Solicit message.
which in my test environment is
Solicit Message
DHCPv6 Option
Values
Opt_DHCPv6_OptionRequest
OptionCode = 23 OPTION_DNS_SERVERS
OptionCode = 24 OPTION_DOMAIN_LIST
Identifier
Identifier = 100
Opt_DHCPv6_CID
DUID-LLT HardwareType = 1
DUID-LLT MAC = 00:00:00:00:a2:a2
DUID-LLT TIME = 300000
Opt_DHCPv6_ElapsedTime
Time = 0
Opt_DHCPv6_IA_NA
Option 1
Identifier= 101010
T1= 50
T2= 80
But what they expect is different.
part A need a advertise message with only Name server
Part B need a advertise message with both name server and search list.
I think it's impossible to let a server reply two different advertise
message to a same solicit message.These two cases can not been passed in
one time.
Whatever I do. There is only one test case can pass.
This also happen in
rfc3736
19 Part A: Returning of DNS Recurisive Name Server option
20 Part B: Returning of DNS Recurisive Name Server option and Domain
Search List Option
Is there someone can turn on the light for me. Thanks :)
--
Yang Ren