");
dhcpExitFail;
}
my $optcode = lookup_OptRequestCode(\%sol,23);
if($optcode != 0){
vLogHTML('requested-option-code is not DNS Recursive Name Server option!
');
dhcpExitFail;
}
#if($sol{$optionCode} != 23){
# vLogHTML('requested-option-code is not DNS Recursive Name Server option
');
# dhcpExitFail;
#}
vClear($IF0);
vStop($IF0);
dhcpExitPass;
###############################################################################
__END__
=head1 NAME
C_RFC3646_3_DnsSvrOpt.seq - Check the format of DNS Recursive Name Server option
=head1 TARGET
Client
=head1 SYNOPSIS
=begin html
C_RFC3646_3_DnsSvrOpt.seq [-tooloption...]
-pkt C_RFC3646_3_DnsSvrOpt.def
-tooloption : v6eval tool option
See Also DHCPv6.def
=end html
=head1 INITIALIZATION
=begin html
NUT(Client)
|
|
Link0 --+--------+------------------------ 3ffe:501:ffff:100::/64
|
|
TN(Server)
The format of the Option Request 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_ORO | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| requested-option-code-1 | requested-option-code-2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_ORO (6).
option-len 2 * number of requested options.
requested-option-code-n The option code for an option requested by
the client.
- Configurations
| Device Name |
Device Type |
Interface |
Assigned Prefix |
Link Local Addr |
MAC Addr |
| Client |
NUT |
Link0 |
3ffe:501:ffff:100::/64 |
NUT's Linklocal address |
NUT's MAC address |
| Server |
TN |
Link0 |
3ffe:501:ffff:100::/64 |
fe80::200:ff:fe00:a1a1 |
00:00:00:00:a1:a1 |
=end html
=head1 TEST PROCEDURE
=begin html
NUT TN
| |
| |Initialize NUT(as a DHCPv6 Client)
| ----> |Solicit w/ORO(DNS Recursive Name Server option) (1*)
| |
| |
=end html
=head1 JUDGEMENT
=begin html
(1*)PASS: NUT transmits Solicit message with ORO(DNS Recursive Name Server option).
=end html
=head1 TERMINATION
=begin html
N/A
=end html
=head1 REFERENCE
=begin html
Also see RFC3646
3. DNS Recursive Name Server option
=end html
=head1 SEE ALSO
=begin html
perldoc V6evalTool
=end html