NAME

  Test v6LC.2.1.17 - Neighbor Advertisement Processing, NCE State INCOMPLETE
  Part B: Receiving NA with S = 1 and O = 0


Purpose

  Verify that a node properly updates its Neighbor Cache from the INCOMPLETE state upon
  receipt of a Neighbor Advertisement.


References

  * [ND]  Section 7.2.5
Solicited flag Override flag New State Update Link-Layer Address
set set REACHABLE yes
set clear REACHABLE yes
clear set STALE yes
clear clear STALE yes


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.
Packet A
IPv6 Header
Next Header: 58
Source Address: TN1's local Address
Destination Address: NUT's Link-local Address
ICMPv6 Echo Request


Neighbor Adv. B
IPv6 Header
Next Header: 58
Neighbor Adv.
Solicited flag: 1
Override flag: 1
Neighbor Adv. C
IPv6 Header
Next Header: 58
Neighbor Adv.
Solicited flag: 1
Override flag: 0
Neighbor Adv. D
IPv6 Header
Next Header: 58
Neighbor Adv.
Solicited flag: 0
Override flag: 1
Neighbor Adv. E
IPv6 Header
Next Header: 58
Neighbor Adv.
Solicited flag: 0
Override flag: 0


Procedure

  Part B: Receiving NA with S = 1 and O = 0
   7. TN1 transmits Packet A.
   8. Observe the packets transmitted by the NUT.
   9. TN1 transmits Neighbor Advertisement C.
   10. Observe the packets transmitted by the NUT and the NCE of TN1 on the NUT.
   11. TN1 transmits an Echo Request.
   12. Observe the packets transmitted by the NUT and the NCE of TN1 on the NUT.


Observable Results

  Part B
   Step 8:
   After receiving the Echo Request from TN1, the NUT should create a Neighbor
   Cache Entry for TN1 and set the state of the Entry to INCOMPLETE. The NUT should
   send a multicast Neighbor Solicitation to TN1.
   Step 10:
   After receiving the Neighbor Advertisement from TN1, the NUT should send the
   queued Echo Reply to TN1 and update its NCE of TN1 with the received Target Link-layer
   Address and change the state of the NCE to REACHABLE.
   Step 12:
   Because the NUT is in state REACHABLE, after receiving the Echo Request from
   TN1, the NUT should send an Echo Reply. After DELAY_FIRST_PROBE_TIME, the NUT
   should not send a unicast Neighbor Solicitation to TN1.


Possible Problems

  * None.