SrcSelectRule6.seq - Source Address Selection
Check Rule 6(Prefer matching label)
Rule 6: Prefer matching label.
If Label(SA) = Label(D) and Label(SB) <> Label(D), then prefer SA.
Source addresses used for this test are "preferred address".
Host and Router
SrcSelectRule6.seq [-tooloption ...] -pkt ADDR_SELECT.def
-tooloption : v6eval tool option
None
This TEST performs the following Check procedures for
every address group defined by Check 01 - *.
*Check procedure
1. Initialize :
1.1. Set IPv6 Default Route in NUT
(Default Router address = <TN-Link0-LinkLocalAddress>)
1.2. Add Candidate Source Addresses in NUT
1.3. Check Candidate Source Addresses by Ping6 (TN->NUT)
2. Send Ping6 from NUT to Destination
2.1. NUT send ICMPv6 echo request (NUT->TN)
3. Judgment : don't recive packet & check ping6 result
4. Cleanup :
4.1. Delete Candidate Source Addresses in NUT
4.2. Clear prefix list & NCE & default router list in NUT
NUT TN Default Router Destination
| | | |
======(INITIALIZE)=========
| | | |
|<-<-<-+ | | Set IPv6 Default Route
|<-<-<-+ | | Add Candidate Source Addresses
| | | |
|<------------+ | Echo Request to Candidate Source Addresses 1
+------------>| | Echo Reply
| | | |
|<------------+ | Echo Request to Candidate Source Addresses 2
+------------>| | Echo Reply
| | | |
|<------------+ | Echo Request to Candidate Source Addresses 3
+------------>| | Echo Reply
| | | |
======(INITIALIZE)=========
| | | |
|<-<-<-+ | | Excute ping6 command
| | | |
+------------------------>| Echo Request
| | | |
LLA(Link Local Address)
*This test expected default policy table
*Following address grouup does not match Rule 1-5
Check 01:
Destination: 2002:c0a8:2::2
Candidate Source Addresses: 2002:c0a8:1::1 or 3ffe::1 or fec0::1 or LLA
Result: 2002:c0a8:1::1
If Label(2002:c0a8:1::1) = Label(2002:c0a8:2::2) and Label(3ffe::1) <> Label(2002:c0a8:2::2), then prefer 2002:c0a8:1::1.
If Label(2002:c0a8:1::1) = Label(2002:c0a8:2::2) and Label(fec0::1) <> Label(2002:c0a8:2::2), then prefer 2002:c0a8:1::1.
Check 01:
PASS: Receive Echo Request & source address = 2002:c0a8:1::1
TEST
PASS: All Check = PASS
perldoc V6evalTool
ADDR_SELECT.html "Default Address Selection for IPv6" Test Common Utility
das_rules.html "Default Address Selection for IPv6" Rules