NAME
C_RFC3315_22_9_ElapTimeOpt_RelMsg.seq - Test the format of Elapsed Time option
TARGET
Client
SYNOPSIS
C_RFC3315_22_9_ElapTimeOpt_RelMsg.seq [-tooloption...]
-pkt C_RFC3315_22_9_ElapTimeOpt_RelMsg.def
-tooloption : v6eval tool option
See Also DHCPv6.def
INITIALIZATION
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.
- 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 |
TEST PROCEDURE
NUT TN
| |
| |Initialize NUT(as a DHCPv6 client)
| ----> |Solicit (1*)
| |
JUDGEMENT
(1*)PASS: NUT transmits Solicit message with Elapsed time option.
TERMINATION
N/A
REFERENCE
Also see RFC3315
22.9. Elapsed Time Option
SEE ALSO
perldoc V6evalTool