NAME

ADDRCONFSuccess - check if address is configured


TARGET

Host and Router


SYNOPSIS

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

  -tooloption   : v6eval tool option
  <packetdef>   : packet definition file (v6eval tool option)
  <addrconfname>: how to configure address on NUT; boot/manual+/ra
  <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 tests are prepared in this test package. See INDEX file.

Test for a Host

   ADDRCONF Success when NUT received Valid RA (Global address)
   ADDRCONF Success when NUT received Valid RA (Site-local address)
   NUT ignores prefixopt if ValidLifeTime is 0 (known prefix but without IPSEC authentication)

Test sequence

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

  Send Unsolicited RA to configure address of NUT (sequence parameter addrconf=ra)
  ==== Action #1: Unsolicited RA ===>
        name: usolra

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

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

  Check if NUT's address is configured.
  ==== Action #2: DAD NS ====>
        name: chkconf_dadns_to_NUT

  DAD NA come from NUT because NUT's address is configured.
  <=== Judgement #2: DAD NA come====
        name: chkconf_dadna_from_NUT (or chkconf_dadna_from_NUT_rf1 if NUT is a Router)


JUDGEMENT

Test for a Host

 ADDRCONF Success when NUT received Valid RA (Global address)
  -pkt GLOBAL0_valRA.def                        addrconf=ra init=DADSuccess_boot

   Action #1. Send Unsolicited RA to configure address of NUT
        name: usolra
        src: TN's Link-local address
        dst: allnodes multicast
        SLL option exists
        Prefix option
              PrefixLength: _GLOBAL0_UCAST_PRFXLEN (64)
              LFlag: 1
              AFlag: 1
              ValidLifetime: 10000
              PreferredLifetime: 10000
              Prefix: _GLOBAL0_UCAST_PRFX

   Judgement #1. DAD NS should come from NUT on Global address autoconfiguration.
                (This judgement is informational only.)
        name: dadns_from_NUT
        src: ::0
        dst: solnode[NUT's tentative _GLOBAL0_UCAST_PRFX + interface-id]
        TargetAddress: NUT's tentative _GLOBAL0_UCAST_PRFX + interface-id

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

   Judgement #2. DAD NA come from NUT because NUT's address is configured.
        name: chkconf_dadna_from_NUT (or chkconf_dadna_from_NUT_rf1 if NUT is a Router)
        src: NUT's Link-local address or _GLOBAL0_UCAST_PRFX + interface-id
        dst: allnodes multicast
        TargetAddress: NUT's _GLOBAL0_UCAST_PRFX + interface-id
        OFlag: 1
        RFlag: 0 ( if NUT is a Router then 1)

 ADDRCONF Success when NUT received Valid RA (Site-local address)
  -pkt SLOCAL0_valRA.def                        addrconf=ra init=DADSuccess_boot

   Action #1. Send Unsolicited RA to configure address of NUT
        name: usolra
        src: TN's Link-local address
        dst: allnodes multicast
        SLL option exists
        Prefix option
              PrefixLength: _SLOCAL0_UCAST_PRFXLEN (64)
              LFlag: 1
              AFlag: 1
              ValidLifetime: 10000
              PreferredLifetime: 10000
              Prefix: _SLOCAL0_UCAST_PRFX

   Judgement #1. DAD NS should come from NUT on Global address autoconfiguration.
                (This judgement is informational only.)
        name: dadns_from_NUT
        src: ::0
        dst: solnode[NUT's tentative _SLOCAL0_UCAST_PRFX + interface-id]
        TargetAddress: NUT's tentative _SLOCAL0_UCAST_PRFX + interface-id

   Action #2. Send DAD NS to check if NUT's address is configured
        name: chkconf_dadns_to_NUT
        src: ::0
        dst: solnode[NUT's _SLOCAL0_UCAST_PRFX + interface-id]
        TargetAddress: NUT's _SLOCAL0_UCAST_PRFX + interface-id

   Judgement #2. DAD NA come from NUT because NUT's address is configured.
        name: chkconf_dadna_from_NUT (or chkconf_dadna_from_NUT_rf1 if NUT is a Router)
        src: NUT's Link-local address or _SLOCAL0_UCAST_PRFX + interface-id
        dst: allnodes multicast
        TargetAddress: NUT's _SLOCAL0_UCAST_PRFX + interface-id
        OFlag: 1
        RFlag: 0 ( if NUT is a Router then 1)

 NUT ignores prefixopt if ValidLifeTime is 0 (known prefix but without IPSEC authentication)
  -pkt GLOBAL0_irregRA_prfxopt_ignore_VLT0.def  addrconf=ra init=DADSuccess_boot,ra

   Initialize NUT.
      Initialize Action #1. reboot NUT and autoconfigure Link-local address.
      Initialize Action #2. send Unsolicited RA from TN to NUT to configure address of NUT.
           name: usolra_init
           src: TN's Link-local address
           dst: allnodes multicast
           SLL option exists
           Prefix option
                 PrefixLength: _GLOBAL0_UCAST_PRFXLEN (64)
                 LFlag: 1
                 AFlag: 1
                 ValidLifetime: 10000
                 PreferredLifetime: 10000
                 Prefix: _GLOBAL0_UCAST_PRFX
        
   Action #1. Send strange Unsolicited RA to check if NUT ignore this.
              (ValidLifetime=0, PreferredLifetime=0.
               Prefix is same as the RA sending on the initialization phase.)
        name: usolra
        src: TN's Link-local address
        dst: allnodes multicast
        SLL option exists
        Prefix option
              PrefixLength: _GLOBAL0_UCAST_PRFXLEN (64)
              LFlag: 1
              AFlag: 1
              ValidLifetime: 0
              PreferredLifetime: 0
              Prefix: _GLOBAL0_UCAST_PRFX

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

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

   Judgement #2. DAD NA come from NUT because NUT's address is configured.
        name: chkconf_dadna_from_NUT (or chkconf_dadna_from_NUT_rf1 if NUT is a Router)
        src: NUT's Link-local address or _GLOBAL0_UCAST_PRFX + interface-id
        dst: allnodes multicast
        TargetAddress: NUT's _GLOBAL0_UCAST_PRFX + interface-id
        OFlag: 1
        RFlag: 0 ( if NUT is a Router then 1)


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.