NAME

  Test v6LC.2.2.16 - Router Advertisement Processing, Neighbor Cache (Hosts Only)
  Part C: RA with SLLA changed, NCE REACHABLE


Purpose

  Verify that a host properly updates its Neighbor Cache upon receipt of a Router
  Advertisement.


References

  * [ND]  Sections 6.3.4 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: TR1's Link-local Address
Router Advertisement
Router Lifetime: 0 seconds
Reachable Time: 10 seconds
Retransmit Interval: 1 second
Source Link-layer Option

Echo Request B
IPv6 Header
Next Header: 58
Source Address: TR1's link-local Address
Destination Address: HUT's link-local Address
ICMPv6 Echo Request

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


Procedure

  Part C: RA with SLLA changed, NCE REACHABLE
   8. TR1 transmits Echo Request B. TR1 does not respond to any Neighbor Solicitations from the
      HUT.
   9. Observe the packets transmitted by the HUT and check the NCE of TR1 on the HUT.
  10. TR1 transmits Neighbor Advertisement C.
  11. Check the NCE of TR1 on the HUT and observe the packets transmitted by the HUT.
  12. TR1 transmits Router Advertisement A with a different Source Link-layer Address.
  13. TR1 transmits an Echo Request to the HUT.
  14. Check the NCE of TR1 on the HUT and observe the packets transmitted by the HUT.


Observable Results

  Part C
   Step 9:
   The HUT should create a Neighbor Cache Entry for TR1 and set the state of the
   Entry to INCOMPLETE. The HUT should send a multicast Neighbor Solicitation to TR1.
   Step 11:
   The HUT should update the state of TR1's NCE to REACHABLE and record
   TR1's Link-layer Address. Because the HUT is in state REACHABLE, after receiving the
   earlier Echo Request from TR1, the HUT should send an Echo Reply using the received
   Link-Layer Address. After DELAY_FIRST_PROBE_TIME, the HUT should not send a
   unicast Neighbor Solicitation to TR1.
   Step 14:
   The HUT must change the state of the TR1's NCE to STALE and update its Link-
   layer Address according to the Router Advertisement received in Step 12. Because the
   HUT's NCE for TR1 is in state STALE, the HUT should send an Echo Reply to TR1 using
   the new Link-Layer address and enter state DELAY. After DELAY_FIRST_PROBE_TIME,
   the HUT should send a unicast Neighbor Solicitation to TR1.


Possible Problems

  * None.