SrcSelectExample10.seq - Source Address Selection Examples in RFC check #10(Prefer public addresses)
Rule 7: Prefer public addresses. If SA is a public address and SB is a temporary address, then prefer SA.
Source addresses used for this test are "temporary address" and "public address".
Host
SrcSelectExample10.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. Set privacy extention setting in NUT 1.3. Add Candidate Source Addresses (temporary / public ) in NUT * temporary address is added by RA (TN->NUT) 1.4. 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 : if (recive packet's Destination & Source Addresses) = (expected Destination & Source Addresses), Check pass 4. Cleanup : 4.1. Delete Candidate Source Addresses in NUT 4.2. Clear prefix list & NCE & default router list in NUT 4.3. Remove privacy extention setting in NUT
NUT TN Default Router Destination | | | | ======(INITIALIZE)========= | | | | |<-<-<-+ | | Set IPv6 Default Route |<-<-<-+ | | Set privacy extention setting |<-<-<-+ | | Add Candidate Source Addresses | | | | |<------------+ | RA | | | | |<------------+ | Echo Request to Candidate Source Addresses 1 +------------>| | Echo Reply | | | | |<------------+ | Echo Request to Candidate Source Addresses 2 +------------>| | Echo Reply | | | | ======(INITIALIZE)========= | | | | |<-<-<-+ | | Excute ping6 command | | | | +------------------------>| Echo Request | | | |
LLA(Link Local Address)
Check 01: Destination: 2001::d5e3:0:0:1 Candidate Source Addresses: 2001::2 or 2001::random(temporary) Result: 2001::2 * Use 2001::random instead of 2001::d5e3:7953:13eb:22e8
Check 01: PASS: Receive Echo Request & source address = 2001::2
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