NAME

  Test v6LC.2.1.1 - On-link Determination
  Part B: Global Address, On-link Prefix covers TN1


Purpose

   Verify that a node correctly determines that a destination is on-link.


References

  * [IPv6-ARCH]  Section 2.4
  * [ND]  Section 5.2


Resource Requirements

  * Packet generator
  * Monitor to capture packets


Test Setup

  No Common Test Setup is performed. If the NUT is a router, configure a default route
  with TR1 as next hop. The Common Test Cleanup is performed after each part.
Packet A
IPv6 Header
Next Header: 58
Source Address: TN1's Link-local Address
ICMPv6 Echo Request
Packet B
IPv6 Header
Next Header: 58
Source Address: TN1's Global Address
ICMPv6 Echo Request

Router Advertisement
IPv6 Header
Next Header: 58
Router Advertisement
Prefix Length: 64
L Bit: 1 (on-link)
Prefix: TN1's Global Prefix

Packet C
IPv6 Header
Next Header: 58
Source Address: TN2's
Global Address
Destination Address: NUT's Global Address
ICMPv6 Echo Request


Procedure

  Part B: Global Address, On-link Prefix covers TN1
   3. If the NUT is a host, TR1 transmits the Router Advertisement. The Prefix Advertisement covers
      TN1's global address.
   4. TN1 transmits Packet B, an Echo Request with TN1's global source address.
   5. Observe the packets transmitted by the NUT.


Observable Results

  Part B
   Step 5:
   TN1's global address is covered by the on-link prefix. Hence, the NUT should
   consider TN1's global address as on-link. The NUT should send a Neighbor Solicitation with
   Target Address equal to TN1's global address, indicating that the NUT has successfully
   determined that TN1 was on-link.


Possible Problems

  * None.