");
dhcpExitFail;
}
vClear($IF0);
vStop($IF0);
dhcpExitPass;
#NEED
###############################################################################
__END__
=head1 NAME
C_RFC3315_22_9_ElapTimeOpt_maxtime.seq - Maximum Elapsed Time in elapsed-time field
=head1 TARGET
Client
=head1 SYNOPSIS
=begin html
C_RFC3315_22_9_ElapTimeOpt_maxtime.seq [-tooloption...]
-pkt C_RFC3315_22_9_ElapTimeOpt_maxtime.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 Elapsed Time 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_ELAPSED_TIME | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| elapsed-time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_ELAPSED_TIME (8).
option-len 2.
elapsed-time The amount of time since the client began its
current DHCP transaction. This time is expressed in
hundredths of a second (10^-2 seconds).
A client MUST include an Elapsed Time option in messages to indicate
how long the client has been trying to complete a DHCP message
exchange.
The elapsed time value is an
unsigned, 16 bit integer. The client uses the value 0xffff to
represent any elapsed time values greater than the largest time value
that can be represented in the Elapsed Time option.
- 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
| <---- |Reply w/IA_NA option(T1=660,T2=1056)
| |
| <---- |Echo Request
| ----> |Echo Reply
| |
| | Wait T1 time expire
| |
| ----> |Renew (7*)
| |
=end html
=head1 JUDGEMENT
=begin html
(7*)PASS: NUT transmits Renew message with Elapsed time option with elapsed-time field set to 0xffff.
=end html
=head1 TERMINATION
=begin html
N/A
=end html
=head1 REFERENCE
=begin html
Also see RFC3315
22.9. Elapsed Time Option
=end html
=head1 SEE ALSO
=begin html
perldoc V6evalTool
=end html