NAME

  Test v6LC.2.2.10 - Router Solicitation Processing, Neighbor Cache (Routers Only)
  Part H: RS with SLLA changed, 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 H: RS with SLLA changed, NCE PROBE
   30. TN1 transmits Echo Request B. TN1 does not respond to any Neighbor Solicitations from the
       RUT.
   31. Observe the packets transmitted by the RUT and check the NCE of TN1 on the RUT.
   32. TN1 transmits Neighbor Advertisement C.
   33. Check the NCE of TN1 on the RUT and observe the packets transmitted by the RUT.
   34. Wait (REACHABLE_TIME * MAX_RANDOM_FACTOR) seconds.
   35. TN1 transmits Echo Request B.
   36. Check the NCE of TN1 on the RUT and observe the packets transmitted by the RUT.
   37. Wait (DELAY_FIRST_PROBE_TIME) seconds.
   38. Check the NCE of TN1 on the RUT and observe the packets transmitted by the RUT.
   39. TN1 transmits Router Solicitation A with a different Source Link-layer Address.
   40. TN1 transmits an Echo Request to the RUT.
   41. Check the NCE of TN1 on the RUT and observe the packets transmitted by the RUT.


Observable Results

  Part H
   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 41:
   The RUT must change the state of the TN1's NCE to STALE and update TN1's
   Link-Layer Address according to the received Router Solicitation. Because the RUT's NCE
   for TN1 is in state STALE, the RUT should send an Echo Reply to TN1 using the new Link-
   Layer Address and enter state DELAY. After DELAY_FIRST_PROBE_TIME, the RUT
   should send a unicast Neighbor Solicitation to TN1.


Possible Problems

  * None.