S_RFC3315_22.6_IAAddressOP_NA.seq - Checking IA Address Option in the IA_NA option
Server
S_RFC3315_22.6_IAAddressOP_NA.seq [-tooloption ...] -pkt S_RFC3315_22.6_IAAddressOP_NA.def -tooloption: v6eval tool option See Also DHCPv6.def
TN(Client1)
|
Link0 -------+-----------+--------------- 3ffe:501:ffff:100::/64
|
NUT(Server1)
The IA Address option must be encapsulated in the Options field of an IA_NA or IA_TA option.
Advertise Message Format
The format of the IA Address 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_IAADDR | option-len | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | IPv6 address | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | preferred-lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | valid-lifetime | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . IAaddr-options . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code OPTION_IAADDR (5).
option-len 24 + length of IAaddr-options field.
IPv6 address An IPv6 address.
preferred-lifetime The preferred lifetime for the IPv6 address in the option, expressed in units of seconds.
valid-lifetime The valid lifetime for the IPv6 address in the option, expressed in units of seconds.
IAaddr-options Options associated with this address.
Device Name Device Type I/F Assigned Prefix Link Local Addr MAC Addr Server1 NUT Link0 3ffe:501:ffff:100::/64 NUT's Linklocal address NUT's MAC address Client1 TN Link0 3ffe:501:ffff:100::/64 fe80::200:ff:fe00:a2a2 00:00:00:00:a2:a2
NUT TN
| |
| | initialize NUT (as a DHCPv6 Server)
| |
| <---- | Solicit (w/ IA_NA,IA Address)
| ----> | Advertise (w/ IA_NA,IA Address) (*1)
| |
(*1) PASS: The Advertise message must include IA Address option in IA_NA option.
And the option's format must be based on the RFC's description.
(see the above Verification Points )
see also RFC3315 22.6. IA Address Option