NAME

HA_8_1_1 - Receiving MPS


TARGET

Router


TOPOLOGY

       NUT
        |
--------+-------+-------+-------+------- Link0
                |       |       |
                R0     MN0     CN0
                |
        --------+-------+--------------- 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
CN0 global 3ffe:501:ffff:100:<TnDef.Link0_addr>  
link-local fe80::<TnDef.Link0_addr>
ether <TnDef.Link0_addr>
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
Check home registration
  NUT
(Link0)   MN0X
   |       |
   | <---- | BU (A=1, lifetime=0x0010) (SPI=0x101)
   | ----> | BA (SPI=0x102)
   |       |

1. MN0X sends BU
2. MN0X receives BA
Check BCE
  NUT
(Link0)   MN0X
   |       |
   | <---- | Echo Request w/ HaO (SPI=0x105)
   | ----> | Echo Reply w/ RH (SPI=0x106)
   |       |

1. MN0X sends Echo Request w/ HaO
2. MN0X receives Echo Reply w/ RH
RS/RA exchange
  NUT
(Link0)   CN0
   |       |
   | <---- | RS
   | ----> | RA
   |       |

1. CN0 sends RS
2. CN0 receives RA


TEST PROCEDURE

Check MPD
  NUT
(Link0)   MN0X
   |       |
   | <---- | MPS (SPI=0x105)
   | ----> | MPA (SPI=0x106)
   |       |

1. MN0X sends MPS
    packet format is:
        ICMP_MPS_message_format_from_MN_to_HA_ESP.gif
2. MN0X receives MPA
    packet format is:
        ICMP_MPA_message_format_from_HA_to_MN_ESP.gif


JUDGEMENT

PASS: MN0X receives MPA


REFERENCE

10.6.2 Scheduling Prefix Deliveries
   The home agent uses the following algorithm to determine when to send
   prefix information to the mobile node.
   o  If a mobile node sends a solicitation, answer right away.
   o  If no Mobile Prefix Advertisement has been sent to the mobile node
      in the last MaxMobPfxAdvInterval (see Section 13) seconds, then
      ensure that a transmission is scheduled.  The actual transmission
      time is randomized as described below.
   o  If a prefix matching the mobile node's home registration is added
      on the home subnet interface, or if its information changes in any
      way that does not deprecate the mobile node's address, ensure that
      a transmission is scheduled.  The actual transmission time is
      randomized as described below.
   o  If a home registration expires, cancel any scheduled
      advertisements to the mobile node.
10.6.3 Sending Advertisements
   When sending a Mobile Prefix Advertisement to the mobile node, the
   home agent MUST construct the packet as follows:
   o  The Source Address in the packet's IPv6 header MUST be set to the
      home agent's IP address to which the mobile node addressed its
      current home registration, or its default global home agent
      address if no binding exists.
   o  If the advertisement was solicited, it MUST be destined to the
      source address of the solicitation.  If it was triggered by prefix
      changes or renumbering, the advertisement's destination will be
      the mobile node's home address in the binding which triggered the
      rule.
   o  A type 2 routing header MUST be included with the mobile node's
      home address.
   o  IPsec headers MUST be supported and SHOULD be used.
   o  The home agent MUST send the packet as it would any other unicast
      IPv6 packet that it originates.
   o  Set the Managed Address Configuration (M) flag if the
      corresponding flag has been set in any of the Router
      Advertisements from which the prefix information has been learned
      (including the ones sent by this home agent).
   o  Set the Other Stateful Configuration (O) flag if the corresponding
      flag has been set in any of the Router Advertisements from which
      the prefix information has been learned (including the ones sent
      by this home agent).