NAME

  Test v6LC.2.2.10 - Router Solicitation Processing, Neighbor Cache (Routers Only)
  Part I: RS with SLLA unchanged, NCE PROBE


Purpose

   Verify that a router properly updates its Neighbor Cache upon receipt of a Router Solicitation.


References

  * [ND]  Sections 6.2.6 and 7.3.3


Resource Requirements

  * Packet generator
  * Monitor to capture packets


Test Setup

  No Common Test Setup is performed. Wait at least 3 seconds
  (MAX_MULTICAST_SOLICIT * RETRANS_TIMER) after any previous cleanup to make sure all
  previous NCE's are in state No NCE. The Common Test Cleanup procedure is performed after each
  part.
Router Solicitation A
IPv6 Header
Next Header: 58
Source Address: TN1's Link-local Address
Destination Address: All Router multicast address
Router Advertisement
Source Link-layer Option

Echo Request B
IPv6 Header
Next Header: 58
Source Address: TN1's link Address
Destination Address: HUT's Global Address
ICMPv6 Echo Request

Neighbor Advertisement C
IPv6 Header
Next Header: 58
Source Address: TR1's Link-local Address
Destination Address: RUT's Link-local Address
Neighbor Advertisement
Router flag: 0
Solicited flag: 1
Override flag: 1


Procedure

  Part I: RS with SLLA unchanged, NCE PROBE
   42. Repeat Steps 30 through 40, transmitting Router Solicitation A in Step 39 with the same Source
       Link-layer Address.
   43. Check the NCE of TN1 on the RUT and observe the packets transmitted by the RUT.


Observable Results

  Part I
   Step 31:
   The RUT should create a Neighbor Cache Entry for TN1 and set the state of the
   Entry to INCOMPLETE. The RUT should send a multicast Neighbor Solicitation to TN1.
   Step 33:
   The RUT should update the state of TN1's NCE to REACHABLE and record
   TN1's Link-layer Address. Because the RUT is in state REACHABLE, after receiving the
   earlier Echo Request from TN1, the RUT should send an Echo Reply using the received
   Link-Layer Address. After DELAY_FIRST_PROBE_TIME, the RUT should not send a
   unicast Neighbor Solicitation to TN1.
   Step 36:
   The RUT should update the state of TN1's NCE to STALE, send an Echo Reply to
   TN1 using the same Link-Layer address and enter state DELAY.
   Step 38:
   The RUT should update the state of TN1's NCE to PROBE by sending a unicast
   Neighbor Solicitation to TN1.
   Step 43:
   The RUT must not change the state of the TN1's NCE. The RUT must continue to
   be in state PROBE and send unicast Neighbor Solicitations to TN1 up to
   MAX_UNICAST_SOLICIT times.


Possible Problems

  * None.