");
$ret =(($interval le $IRT) or ( $interval ge ($IRT + $RAND*$IRT)));
if($ret != 0){
dhcpExitFail;
}
#--------------------------------------------------------------#
#3. response with Advertise
#--------------------------------------------------------------#
$SID_OPTION = "opt_SID_LLT_server1";
$IA_NA_OPTION = "opt_IA_NA_Addr_woStatus";
my ($retadv, %adv) = send_advertise($IF0, "advertise_server1_to_nut", \%sol1, "");
if($retadv != 0){
dhcpExitFail;
}
#--------------------------------------------------------------#
#4. receive Request
#--------------------------------------------------------------#
my ($retreq,%req) = wait_for_request($IF0,30);
if($retreq != 0){
dhcpExitFail;
}
vStop($IF0);
dhcpExitPass;
##NEED
###############################################################################
__END__
=head1 NAME
C_RFC3315_17_1_2_SolNoAdvRT.seq - Test response to Solicit Message after retransmission
=head1 TARGET
Client
=head1 SYNOPSIS
=begin html
C_RFC3315_17_1_2_SolNoAdvRT.seq [-tooloption...]
-pkt C_RFC3315_17_1_2_SolNoAdvRT.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)
If the client does not receive any Advertise messages before the
first RT has elapsed, it begins the retransmission. The client
terminates the retransmission process as soon as it receives any
Advertise message, and the client acts on the received Advertise
message without waiting for any additional Advertise messages.
- 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(1*)
| |
| |waiting for retransmitted message
| |
| ----> |Solicit(2*)
| |
| <---- |Advertise
| |
| ----> |Request(4*)
| |
=end html
=head1 JUDGEMENT
=begin html
(1*)PASS: TN receives Solicit from NUT.
(2*)PASS: TN receives the retransmitted Solicit, and IRT<= RT <= IRT + RADN*IRT.
(4*)PASS: TN receives Request from NUT.
=end html
=head1 TERMINATION
=begin html
N/A
=end html
=head1 REFERENCE
=begin html
Also see RFC3315
17.1.2. Transmission of Solicit Messages
=end html
=head1 SEE ALSO
=begin html
perldoc V6evalTool
=end html