NAME

sendUcastNS - Verify that NUT sends unicast NSs by the default config.


TARGET

Host and Router


SYNOPSIS

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


INITIALIZATION

  Clear NC state for TN.


TEST PROCEDURE

sendUcastNS verifies NUT send unicast NSs by the default rules:

  - MAX_MULTICAST_SOLICIT
  - RETRANS_TIMER
  TN		  NUT
  ---------------------

State: NONCE (for TN)
==== echo-request ===> src=TN's link-local dst=NUT's link-local
State: INCOMPLETE (for TN)
<=== Judgment #1: multicast NS === src=NUT's link-local dst=sol-node[TN's link-local] w/ SLLA timeout: RETRANS_TIMER * MAX_MULTICAST_SOLICIT
==== solicited NA ===> src=TN's link-local dst=NUT's link-local R=0, S=1, O=1 w/ TLLA
State: REACHABLE (for TN)
<=== Judgment #2: echo-reply ==== src=NUT's link-local dst=TN's link-local
Wait (REACHABLE_TIME * MAX_RANDOM_FACTOR)
State: STALE (for TN)
==== echo-request ===> src=TN's link-local dst=NUT's link-local
<=== Judgment #3: echo-reply ==== src=NUT's link-local dst=TN's link-local
State: DELAY (for TN)
Wait (DELAY_FIRST_PROBE_TIME)
State: PROBE (for TN)
<=== Judgment #4: unicast NS ==== src=NUT's link-local dst=TN's link-local w/ or w/o SLLA
<=== Judgment #4: unicast NS ==== src=NUT's link-local dst=TN's link-local w/ or w/o SLLA
<=== Judgment #4: unicast NS ==== src=NUT's link-local dst=TN's link-local w/ or w/o SLLA


JUDGMENT


  1. NUT must send at the least one multicast NS:
     src=NUT's link-local, dst=sol-node[TN's link-local], s/ SLLA

  2. NUT must send an echo-reply:
     src=NUT's link-local, dst=TN's link-local

  3. NUT must send an echo-reply:
     src=NUT's link-local, dst=TN's link-local

  4. NUT must send unicast NS:
     src=NUT's link-local, dst=TN's link-local, w/ or w/o SLLA

4.1. The number of the unicast NSs <= MAX_UNICAST_SOLICIT(3)
4.2. Intervals between the unicast NSs >= RETRANS_TIMER(1 sec.)


TERMINATION

  N/A


NOTE

  The test does not invoke any remote command.


SEE ALSO

  perldoc V6evalTool
  perldoc V6evalRemote