SrcSelectRule5.seq - Source Address Selection
check Rule 5(Prefer outgoing interface.)
Rule 5: Prefer outgoing interface.
If SA is assigned to the interface that will be used to send to D
and SB is assigned to a different interface, then prefer SA.
Source addresses used for this test are "preferred address".
Host and Router
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 (Link0)
|<-<-<-+ | | Add Candidate Source Addresses (Link1)
| | | |
|<------------+ | Echo Request to Candidate Source Addresses 1 (Liunk0)
+------------>| | Echo Reply (Liunk0)
| | | |
|<------------+ | Echo Request to Candidate Source Addresses 2 (Liunk0)
+------------>| | Echo Reply (Liunk0)
| | | |
|<------------+ | Echo Request to Candidate Source Addresses (Liunk1)
+------------>| | Echo Reply (Liunk1)
| | | |
======(INITIALIZE)=========
| | | |
|<-<-<-+ | | Excute ping6 command
| | | |
+------------------------>| Echo Request (Liunk0)
| | | |
LLA(Link Local Address)
* default route face to Link0
*Following address grouup does not match Rule 1-4
Check 01:
Destination: 3fff::2
Candidate Source Addresses: 3ffe::1(Link0) or 3ffd::1(Link1) or fec0::1(Link0) or LLA(Link0)
Result: 3ffe::1(Link0)
Check 02:
Destination: ff08::2
Candidate Source Addresses: 3ffe::1(Link0) or 3ffd::1(Link1) or fec0::1(Link0) or LLA(Link0)
Result: 3ffe::1(Link0)
Check 03:
Destination: fec0::2
Candidate Source Addresses: 3ffe::1(Link0) or 3ffd::1(Link1) or LLA(Link0)
Result: 3ffe::1(Link0)
Check 01:
PASS: Receive Echo Request & source address = 3ffe::1
Check 02:
PASS: Receive Echo Request & source address = 3ffe::1
Check 03:
PASS: Receive Echo Request & source address = 3ffe::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