NAME

HA_2_3_1 - DAD Succeeded L=0


TARGET

Router


TOPOLOGY

       NUT
        |
--------+-------+-------+------- Link0
                |       |
                R0     MN0
                |
        --------+-------+------- Link0X
                        |
                       MN0X
Link0 global 3ffe:501:ffff:100::/64 home link
Link0X global 3ffe:501:ffff:1100::/64 foreign link
R0 (Link0) global 3ffe:501:ffff:100::a0a0  
ether 00:00:00:00:a0:a0
MN0 global 3ffe:501:ffff:100:200:ff:fe00:a2a2 home address
MN0X global 3ffe:501:ffff:1100:200:ff:fe00:a2a2 care-of address


INITIALIZATION

Check Link0 routing table
  NUT
(Link0)   MN0X
   |       |
   | <---- | Echo Request
   | ----> | Echo Reply
   |       |

1. MN0X sends Echo Request
2. MN0X receives Echo Reply


TEST PROCEDURE

Check home registration
  NUT
(Link0)   MN0X
   |       |
   | <---- | BU (A=1, L=0, lifetime=0x0010) (SPI=0x101)
   | -->   | DAD (target=global) (*1)
   | ----> | BA (SPI=0x102) (*2)
   |       |

1. MN0X sends BU
    packet format is:
        Binding_Update_message_format_from_MN_to_HA_ESP.gif
2. Receive DAD (target=global) (*1)
3. MN0X receives BA (*2)
    packet format is:
        Binding_Acknowledgement_message_format_from_HA_toMN_ESP.gif
Check BCE
  NUT
(Link0)   MN0X
   |       |
   | <---- | Echo Request w/ HaO
   | ----> | Echo Reply w/ RH (*3)
   |       |

1. MN0X sends Echo Request w/ HaO
2. MN0X receives Echo Reply w/ RH (*3)


JUDGEMENT

(*1) PASS: Receive DAD (target=global)
(*2) PASS: MN0X receives BA
(*3) PASS: MN0X receives Echo Reply w/ RH


REFERENCE

10.3.1 Primary Care-of Address Registration
   Unless this home agent already has a binding for the given home
   address, the home agent MUST perform Duplicate Address Detection [13]
   on the mobile node's home link before returning the Binding
   Acknowledgement.  This ensures that no other node on the home link
   was using the mobile node's home address when the Binding Update
   arrived.  If this Duplicate Address Detection fails for the given
   home address or an associated link local address, then the home agent
   MUST reject the complete Binding Update and MUST return a Binding
   Acknowledgement to the mobile node, in which the Status field is set
   to 134 (Duplicate Address Detection failed).  When the home agent
   sends a successful Binding Acknowledgement to the mobile node, the
   home agent assures to the mobile node that its address(es) will
   continue to be kept unique by the home agent at least as long as the
   lifetime granted for the binding is not over.
   The specific addresses which are to be tested before accepting the
   Binding Update, and later to be defended by performing Duplicate
   Address Detection, depend on the setting of the Link-Local Address
   Compatibility (L) bit, as follows:
   o  L=0: Defend only the given address.  Do not derive a link-local
      address.
   o  L=1: Defend both the given non link-local unicast (home) address
      and the derived link-local.  The link-local address is derived by
      replacing the subnet prefix in the mobile node's home address with
      the link-local prefix.