NAME

hostSendRsAfterUnsolicitedRa - Verifying NUT send RSs after receiving unsolicited RAs


TARGET

Host only


SYNOPSIS

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


INITIALIZATION

Reboot NUT.


TEST PROCEDURE

hostSendRsAfterUnsolicitedRa verifies that NUT send RSs After receiving unsolicited RAs.


TN NUT --------------------------
==== Unsolicited RA ===> valid RA: src=TN's link-local dst=all-node w/ or w/o SLL invalid RA:
: : A) TN sends unsolicited RAs repeatedly : until receiving an RS. : B) TN discards NSs for DAD: : src=unspecified, dst=solicited-node[NUT's link-local] : target=NUT's link-local : w/o SLLA :
<=== Judgment #2: RS ==== src=unspecified or NUT's link-local dst=all-router w/o or w/ SLLA
<=== Judgment #2: RS ==== src=unspecified or NUT's link-local dst=all-router w/o or w/ SLLA
<=== Judgment #2: RS ==== src=unspecified or NUT's link-local dst=all-router w/o or w/ SLLA


JUDGMENT

1. Sending RSs

6.3.7. Sending Router Solicitations
Once the host sends a Router Solicitation, and receives a valid Router Advertisement with a non-zero Router Lifetime, the host MUST desist from sending additional solicitations on that interface, until the next time one of the above events occurs. Moreover, a host SHOULD send at least one solicitation in the case where an advertisement is received prior to having sent a solicitation. Unsolicited Router Advertisements may be incomplete (see Section 6.2.3); solicited advertisements are expected to contain complete information.
TABLE.1 Received unsolicited RA vs. Send-gin RS =============================================================+========= Received unsolicited RA by NUT | Send RS -----------+----------+-------+-------------------+----------+ by the Src | Dst | SLLA | Other | Validity | NUT ? ===========+==========+=======+===================+==========+========= link-local | all-node | none | | valid | yes -----------+----------+-------+-------------------+----------+--------- link-local | all-node | exist | | valid | yes -----------+----------+-------+-------------------+----------+--------- *global | all-node | none | | invalid | yes -----------+----------+-------+-------------------+----------+--------- link-local | all-node | none | *hop limit=2 | invalid | yes -----------+----------+-------+-------------------+----------+--------- link-local | all-node | none | *invalid checksum | invalid | yes -----------+----------+-------+-------------------+----------+--------- link-local | all-node | none | *icmp code=1 | invalid | yes ===========+==========+=======+===================+==========+=========
2. NUT sends the following RSs.
2.1. The RSs are valid: A) src=unspecified, dst=all-router, w/o SLLA B) src=NUT's link-local, dst=all-router, w/o SLLA C) src=NUT's link-local, dst=all-router, w/ SLLA
2.2. A number of the RSs <= MAX_RTR_SOLICITATIONS(3)
2.3. Intervals between the RSs >= MAX_SOLICITATION_INTERVAL(1 sec.)


TERMINATION

  Send RA with RouterLifetime=0 to clear the Default Router List.


NOTE

  The test invokes the following command:
  - reboot


SEE ALSO

  perldoc V6evalTool
  perldoc V6evalRemote