NAME

HA_2_2_1 - Receiving Invalid BU A=1 (Not home subnet)


TARGET

Router


TOPOLOGY

       NUT
        |
--------+-------+----------------------- Link0
                |
                R0
                |
        --------+-------+-------+------- Link0X
                        |       |
                       R0X     MN0X
                        |
                --------+-------+------- Link0Y
                                |
                               MN0Y
Link0 global 3ffe:501:ffff:100::/64  
Link0X global 3ffe:501:ffff:1100::/64 foreign link
Link0Y global 3ffe:501:ffff:2100::/64 home link
R0 (Link0) global 3ffe:501:ffff:100::a0a0  
ether 00:00:00:00:a0:a0
MN0X global 3ffe:501:ffff:1100:200:ff:fe00:a2a2 care-of address
MN0Y global 3ffe:501:ffff:2100:200:ff:fe00:a2a2 home 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, lifetime=0x0010) (SPI=0x101)
   | ----> | BA (status=132) (SPI=0x102) (*1)
   |       |

1. MN0X sends BU
    packet format is:
        Binding_Update_message_format_from_MN_to_HA_ESP.gif
2. MN0X receives BA (*1)
    packet format is:
        Binding_Acknowledgement_message_format_from_HA_toMN_ESP.gif
Check BCE
  NUT
(Link0)   MN0X
   |       |
   | <---- | Echo Request w/ HaO
   | ----> | BE (status=1) (*2)
   |       |

1. MN0X sends Echo Request w/ HaO
2. MN0X receives BE (*2)
    packet format is:
        Binding_Error_message_from_HA_to_MN.gif


JUDGEMENT

(*1) PASS: MN0X receives BA
(*2) PASS: MN0X receives BE


REFERENCE

10.3.1 Primary Care-of Address Registration
   To begin processing the Binding Update, the home agent MUST perform
   the following sequence of tests:
   o  If the node implements only correspondent node functionality, or
      has not been configured to act as a home agent, then the node MUST
      reject the Binding Update.  The node MUST then also return a
      Binding Acknowledgement to the mobile node, in which the Status
      field is set to 131 (home registration not supported).
   o  Else, if the home address for the binding (the Home Address field
      in the packet's Home Address option) is not an on-link IPv6
      address with respect to the home agent's current Prefix List, then
      the home agent MUST reject the Binding Update and SHOULD return a
      Binding Acknowledgement to the mobile node, in which the Status
      field is set to 132 (not home subnet).