RA_wPXLLA - check the process when NUT receives invalid RA which contains
one Link-local prefix(PX=LLA)(NOT Re-assigning Link-local
address)
All Node
Reboot NUT or Initialize interface of NUT or Initialize IPv6 stack of NUT.
The following tests are prepared in this test package. See INDEX file.
Test for all node
When NUT receives invalid RA which contains Link-local Prefix, NUT MUST NOT assign autoconfigured address.
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_LLA
X<== Judgement #3: DAD NS =======
name: DADNS_from_NUT
Wait for 5+DupAddrDetectTransmits*(RetransTimer/1000)[sec]
Check if NUT's address is configured
==== Action #2: SOL NS =========>
name: SOLNS_from_TN_SameTgt
<=== Judgement #4: SOL NA =======
name: NA_from_NUT, NA_from_NUT_woTLL
Test for all NODE
NUT performs Stateless Address Autoconfiguration 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 Link-local Prefix.
name: RA_LLA
src: TN's Link-local
dst: allnode
PXOPT: Link-local
Judgement #3. NUT MUST NOT transmit DAD NS for its autoconfigured Link-local address in this timing.
name: DADNS_from_NUT
src: ::0
dst: solnode[NUT's tentative Link-local]
TargetAddress: NUT's tentative Link-local
Action #2. TN transmits SOL NS to check if NUT's Link-local address is still available.
name: SOLNS_from_TN_SameTgt
src: TN's Link-local
dst: solnode[NUT's Link-local]
TargetAddress: NUT's Link-local
Judgement #4. NUT MUST transmit SOL NA for its autoconfigured Link-local address.
name: NA_from_NUT, NA_from_NUT_woTLL
src: NUT's Link-local
dst: TN's Link-local
TargetAddress: NUT's Link-local
RFlag: 0
SFlag: 1
OFlag: 1
RFC2462
5.5.3. Router Advertisement Processing
(omit) For each Prefix-Information option in the Router Advertisement:
a) If the Autonomous flag is not set, silently ignore the Prefix Information option.
b) If the prefix is the link-local prefix, silently ignore the Prefix Information option.
c) If the preferred lifetime is greater than the valid lifetime, silently ignore the Prefix Information option. A node MAY wish to log a system management error in this case.
d) If the prefix advertised does not match the prefix of an address already in the list, and the Valid Lifetime is not 0, form an address (and add it to the list) by combining the advertised prefix with the link's interface identifier as follows: (omit)
detail of v6eval tool option: see perldoc V6evalTool.pm, perldoc V6evalRemote.pm