NAME

sendMcastNS2 - Verify that NUT sends multicast NS by the configured rules


TARGET

Host and Router

Host only


SYNOPSIS

  sendMcastNS2.seq [-tooloption ...] -p sendMcastNS2.def


INITIALIZATION


A CASE OF A HOST

  1. Send RA with RetransTimer=3sec to initiate NUT's retrans time.
  2. Clear NC state for TN.

  TN                   NUT
  ------------------------
  ==== unsolicited RA ===>
        src=X's link-local
        dst=all-node
        M=0, O=0
        Lifetime=600, ReachableTime=0, RetransTimer=3000


A CASE OF A ROUTER

  Clear NC state for TN.


TEST PROCEDURE

sendMcastNS verifies NUT send multicast NSs by the rules that are configured by a RA(in host cast) or manual (in router cast).

  TN                           NUT
  --------------------------------

State: NONCE (for TN)
==== echo-request ===> src=TN's link-local dst=NUT's link-local
State: INCOMPLETE (for TN)
Wait (3 sec. * MAX_MULTICAST_SOLICIT)
<=== Judgment #1: multicast NS === src=NUT's link-local dst=solicited-node[TN's link-local] w/ SLLA
<=== Judgment #1: multicast NS === src=NUT's link-local dst=solicited-node[TN's link-local] w/ SLLA
<=== Judgment #1: multicast NS === src=NUT's link-local dst=solicited-node[TN's link-local] w/ SLLA


JUDGMENT

  1. NUT sends the following multicast NSs:
     src=NUT's link-local, dst=colicited-node[TN's link-local], w/ SLLA
     
     1.1. A Number of the multicast NSs <= MAX_MULTICAST_SOLICIT(3)

     1.2. Intervals between the multicast NSs >= 3.0 sec.


TERMINATION


A CASE OF A HOST

  1. Set NUT's retrans time to the default (1 sec) with RA with RetransTimer=1sec.
  2. Send RA with RouterLifetime=0 to flush the Default Router List.

  X                    NUT
  ------------------------
  ==== unsolicited RA ===>
        src=X's link-local
        dst=all-node
        M=0, O=0
        Lifetime=600, ReachableTime=0, RetransTimer=1000

  ==== unsolicited RA ===>
        src=X's link-local
        dst=all-node
        M=0, O=0
        Lifetime=0, ReachableTime=0, RetransTimer=0


A CASE OF A ROUTER

  N/A


NOTE

  The test does not invoke any remote command.


SEE ALSO

  perldoc V6evalTool
  perldoc V6evalRemote