");
$pretime = $nextime;
$rc++;
if(($rc > $MRC)){
print "\n rc = $rc : $MRC ";
vLogHTML('Cannnt reach REQ_MAX_RT
');
dhcpExitFail;
}
}
$ret = compare_message(\%req1,\%req2);
if($ret != 0){
vLogHTML('Message has been changed!
');
dhcpExitFail;
};
dhcpExitPass;
###############################################################################
__END__
=head1 NAME
C_RFC3315_18_1_1_ReqRetransMRT.seq - Test for MRT of Request
=head1 TARGET
Client
=head1 SYNOPSIS
=begin html
C_RFC3315_18_1_1_ReqRetransMRT.seq [-tooloption...]
-pkt C_RFC3315_18_1_1_ReqRetransMRT.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 client transmits the message according using the following
parameters:
IRT REQ_TIMEOUT
MRT REQ_MAX_RT
MRC REQ_MAX_RC
MRD 0
Each retransmission is based on the previous RT value
RT = 2*RTprev + RAND*RTprev
until RT > MRT.
After that, Each retransmission is based on MRT value
RT = MRT + RAND*MRT
- 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
| <---- |Advertise
| ----> |Request
| |
. .Waiting for retransmission until RT = MRT + RAND*MRT
| |
| ----> |Request (4*)
| |
=end html
=head1 JUDGEMENT
=begin html
(4*)PASS: TN receives retransmitted Request.
And RT conforms to Verification Points.
=end html
=head1 TERMINATION
=begin html
N/A
=end html
=head1 REFERENCE
=begin html
Also see RFC3315
18.1.1. Creation and Transmission of Request Messages
=end html
=head1 SEE ALSO
=begin html
perldoc V6evalTool
=end html