RA_mGA_sRAmPXsRTdVLT - Router Advertisement with multiple Prefix Options
Host Only
RA_mGA_sRAmPXsRTVLT.seq [-tooloption ...] -pkt <packetdef> [addrconf=<addrconfname>]
-tooloption : v6eval tool option <packetdef> : packet definition file (v6eval tool option) <addrconfname>: how to configure address on NUT; boot/reboot
detail of v6eval tool option: see perldoc V6evalTool.pm, perldoc V6evalRemote.pm
Reboot NUT or Initialize interface of NUT or Initialize IPv6 stack of NUT.
Verify that a host properly processes the Prefix Information Option in the Router Advertisement.
The following tests are prepared in this test package. See INDEX file.
Test for host only
When NUT receives RA which contains two Global Prefixes with different prefix lifetime, NUT assignes autoconfigured addresses. NUT must perform DAD for its Global addresses prior to assigning them.
Test sequence
TN NUT --------------------------------- Initialize NUT
Configure address of NUT (reboot or interface initialization etc...)
TN wait the DAD NS sent from NUT
<=== Judgement #1: DAD NS =======
name: DADNS_from_NUT
<=== Judgement #2: RS ===========
name: RS_from_NUT, RS_from_NUT_wSLL
==== Action #1: RA =============>
name: RA_GA0GA1_dVLT
<=== Judgement #3: DAD NS =======
name: DADNS_from_NUT_GA0Tgt
<=== Judgement #4: DAD NS =======
name: DADNS_from_NUT_GA1Tgt
Wait for 5+DupAddrDetectTransmits*(RetransTimer/1000)[sec]
Check if NUT's address is configured
==== Action #2: SOL NS =========>
name: SOLNS_from_TN_GA0Tgt
<=== Judgement #5: SOL NA =======
name:
NA_from_NUT_GA0Tgt,
NA_from_NUT_GA0Tgt_woTLL,
NA_from_GA0NUT_GA0Tgt,
NA_from_GA0NUT_GA0Tgt_woTLL,
NA_from_GA1NUT_GA0Tgt,
NA_from_GA1NUT_GA0Tgt_woTLL
==== Action #3: SOL NS =========>
name: SOLNS_from_TN_GA1Tgt
<=== Judgement #6: SOL NA =======
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
Wait until 2[sec] after expiration of VLT1
Check if NUT's address is configured
==== Action #4: SOL NS =========>
name: SOLNS_from_TN_GA0Tgt
X<=== Judgement #7: SOL NA ======
name:
NA_from_NUT_GA0Tgt,
NA_from_NUT_GA0Tgt_woTLL,
NA_from_GA0NUT_GA0Tgt,
NA_from_GA0NUT_GA0Tgt_woTLL,
NA_from_GA1NUT_GA0Tgt,
NA_from_GA1NUT_GA0Tgt_woTLL
==== Action #5: SOL NS =========>
name: SOLNS_from_TN_GA1Tgt
<=== Judgement #8: SOL NA =======
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
Wait until 2[sec] after expiration of VLT1
Check if NUT's address is configured
==== Action #6: SOL NS =========>
name: SOLNS_from_TN_GA1Tgt
X<=== Judgement #9: SOL NA ======
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
Test for host only
NUT performs Stateless Address Autoconfiguration(2 Global) on its interface
Judgement #1. NUT MUST transmit DAD NS for its autoconfigured Link-local address.
name: DADNS_from_NUT
src: ::0
dst: solnode[NUT's tentative Link-local]
TargetAddress: NUT's tentative Link-local
Judgement #2. NUT SHOULD transmit RS.
name: RS_from_NUT
src: NUT's Link-local
dst: allrouter
Action #1. TN transmits RA which contains 2 Global Prefixes.
name: RA_GA0GA1_dVLT
src: TN's Link-local
dst: allnode
PXOPT: GA0
PXOPT: GA1
Judgement #3. NUT MUST transmit DAD NS for its autoconfigured Global address.
(* If the address is consisits of EUI64, as same as Link-local
address, This DAD MAY be omitted.)
name: DADNS_from_NUT_GA0Tgt
src: ::0
dst: solnode[NUT's tentative Global0]
TargetAddress: NUT's tentative Global0
Judgement #4. NUT MUST transmit DAD NS for its autoconfigured Global address.
(* If the address is consisits of EUI64, as same as Link-local
address, This DAD MAY be omitted.)
name: DADNS_from_NUT_GA1Tgt
src: ::0
dst: solnode[NUT's tentative Global1]
TargetAddress: NUT's tentative Global1
Action #2. TN transmits SOL NS to check if NUT's address is configured.
name: SOLNS_from_TN_GA0Tgt
src: TN's Link-local
dst: solnode[NUT's Global0]
TargetAddress: NUT's Global0
Judgement #5. NUT MUST transmit SOL NA for its autoconfigured Global address.
name:
NA_from_NUT_GA0Tgt,
NA_from_NUT_GA0Tgt_woTLL,
NA_from_GA0NUT_GA0Tgt,
NA_from_GA0NUT_GA0Tgt_woTLL,
NA_from_GA1NUT_GA0Tgt,
NA_from_GA1NUT_GA0Tgt_woTLL
src: NUT's any Unicast Address
dst: TN's Link-local
TargetAddress: NUT's Global0
RFlag: 0
SFlag: 1
OFlag: 1
TLLOPT: NUT's MAC address
(* TLLOPT may be omitted)
Action #3. TN transmits SOL NS to check if NUT's address is configured.
name: SOLNS_from_TN_GA1Tgt
src: TN's Link-local
dst: solnode[NUT's Global1]
TargetAddress: NUT's Global1
Judgement #6. NUT MUST transmit SOL NA for its autoconfigured Global address.
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
src: NUT's any Unicast Address
dst: TN's Link-local
TargetAddress: NUT's Global1
RFlag: 0
SFlag: 1
OFlag: 1
TLLOPT: NUT's MAC address
(* TLLOPT may be omitted)
Action #4. TN transmits SOL NS to check if NUT's address is configured.
name: SOLNS_from_TN_GA0Tgt
src: TN's Link-local
dst: solnode[NUT's Global0]
TargetAddress: NUT's Global0
Judgement #7. NUT MUST NOT transmit SOL NA for its autoconfigured Global address.
name:
NA_from_NUT_GA0Tgt,
NA_from_NUT_GA0Tgt_woTLL,
NA_from_GA0NUT_GA0Tgt,
NA_from_GA0NUT_GA0Tgt_woTLL,
NA_from_GA1NUT_GA0Tgt,
NA_from_GA1NUT_GA0Tgt_woTLL
src: NUT's any Unicast Address
dst: TN's Link-local
TargetAddress: NUT's Global0
RFlag: 0
SFlag: 1
OFlag: 1
TLLOPT: NUT's MAC address
(* TLLOPT may be omitted)
Action #5. TN transmits SOL NS to check if NUT's address is configured.
name: SOLNS_from_TN_GA1Tgt
src: TN's Link-local
dst: solnode[NUT's Global1]
TargetAddress: NUT's Global1
Judgement #8. NUT MUST transmit SOL NA for its autoconfigured Global address.
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
src: NUT's any Unicast Address
dst: TN's Link-local
TargetAddress: NUT's Global1
RFlag: 0
SFlag: 1
OFlag: 1
TLLOPT: NUT's MAC address
(* TLLOPT may be omitted)
Action #6. TN transmits SOL NS to check if NUT's address is configured.
name: SOLNS_from_TN_GA1Tgt
src: TN's Link-local
dst: solnode[NUT's Global1]
TargetAddress: NUT's Global1
Judgement #9. NUT MUST NOT transmit SOL NA for its autoconfigured Global address.
name:
NA_from_GA0NUT_GA1Tgt,
NA_from_GA0NUT_GA1Tgt_woTLL,
NA_from_NUT_GA1Tgt,
NA_from_NUT_GA1Tgt_woTLL,
NA_from_GA1NUT_GA1Tgt,
NA_from_GA1NUT_GA1Tgt_woTLL
src: NUT's any Unicast Address
dst: TN's Link-local
TargetAddress: NUT's Global1
RFlag: 0
SFlag: 1
OFlag: 1
TLLOPT: NUT's MAC address
(* TLLOPT may be omitted)
NONE
RFC 4862 - IPv6 Stateless Address Autoconfiguration
detail of v6eval tool option: see perldoc V6evalTool.pm, perldoc V6evalRemote.pm