NAME

ADDRSTATE_sameprfxes_order - Probe PrefixOptions processing order of same prefix in one RA


TARGET

Host


SYNOPSIS

ADDRSTATE_sameprfxes_order.seq [-tooloption ...] -pkt <packetdef> [init=<initname>,<initname>...] [sd=<sdopt>]

  -tooloption   : v6eval tool option
  <packetdef>   : packet definition file (v6eval tool option)
  <initname>    : how to initialize NUT; DADSuccess_boot/DADFail_boot/ra
  <sdopt>       : debug options
 detail of v6eval tool option: see perldoc V6evalTool.pm, perldoc V6evalRemote.pm
 detail of parameters: see Test sequence for IPv6 Stateless Address Autoconfiguration.


INITIALIZATION

 detail of Initialization: see Test sequence for IPv6 Stateless Address Autoconfiguration.


TEST PROCEDURE

 The following test is prepared in this test package. See INDEX file.

Test for a Host

    Probe PrefixOptions processing order of same prefixes in one RA (Surprise test)

Test sequence

  TN(or X)                   NUT
  ------------------------------
  Initialize NUT (see ...)

  Send Unsolicited RA to configure address of NUT
  ==== Action #1: Unsolicited RA ===>
        name: usolra
        src: TN's Link-local address
        dst: allnodes multicast
        SLL option exists
        Prefix option
              PrefixLength: 64
              LFlag: 1
              AFlag: 1
              ValidLifetime: 60
              PreferredLifetime: 60
              Prefix: _GLOBAL0_UCAST_PRFX
        Prefix option
              PrefixLength: 64
              LFlag: 1
              AFlag: 1
              ValidLifetime: 180
              PreferredLifetime: 180
              Prefix: _GLOBAL0_UCAST_PRFX
        Prefix option
              PrefixLength: 64
              LFlag: 1
              AFlag: 1
              ValidLifetime: 120
              PreferredLifetime: 120
              Prefix: _GLOBAL0_UCAST_PRFX
        Prefix option
              PrefixLength: 64
              LFlag: 1
              AFlag: 1
              ValidLifetime: 20
              PreferredLifetime: 20
              Prefix: _GLOBAL0_UCAST_PRFX

  TN wait the DAD NS sends from NUT. (This judgement is informational only.)
  <=== Judgement #1: DAD NS ====
        name: dadns_from_NUT
        src: ::0
        dst: solnode[TargetAddress]
        TargetAddress: NUT's tentative _GLOBAL0_UCAST_PRFX + interface-id

  Wait for NUT to finish DAD. (sleep $RetransTimerSec=1 [sec])

  permanent loop {
      Wait 30 [sec] to spent NUT's address lifetime.
      Count up totoal wait [sec] to spent NUT's address lifetime.

      Check if NUT's address is configured.
      ==== Action #2: DAD NS ====>
        name: chkconf_dadns_to_NUT
        src: ::0
        dst: solnode[TargetAddress]
        TargetAddress: NUT's _GLOBAL0_UCAST_PRFX + interface-id

      Check if DAD NA come from NUT (check if NUT's address configured)
      if DAD NA doesn't come, exit the permanent loop.
      <=== Judgement #2: DAD NA come====
        name: chkconf_dadna_from_NUT (or chkconf_dadna_from_NUT_rf1 if NUT is a Router)
        src: NUT's Link-local address or TargetAddress
        dst: allnodes multicast
        TargetAddress: NUT's _GLOBAL0_UCAST_PRFX + interface-id
        OFlag: 1
        RFlag: 0 ( if NUT is a Router then 1)
  }


JUDGEMENT

Test for a Host

Probe PrefixOptions processing order of same prefixes in one RA (Surprise test)

  -pkt GLOBAL0_valRA_sameprfxes.def  init=DADSuccess_boot

  Judgement #1:
      TN wait the DAD NS sends from NUT. (This judgement is informational only.)

  Judgement #2:
      Check if DAD NA come from NUT (check if NUT's address configured)
      if DAD NA doesn't come, exit the permanent loop, and inform totoal count [sec]
      to wait for NUT's address be invalid.


SEE ALSO

 detail of v6eval tool option: see perldoc V6evalTool.pm, perldoc V6evalRemote.pm
 detail of parameters: see Test sequence for IPv6 Stateless Address Autoconfiguration.