# NAME

Delete_LT0_FOREIGN - Delete a Binding A=1 (Lifetime=0 & CoA!=HoA)

# TARGET

    Host/Router

# SYNOPSIS

    Delete_LT0_FOREIGN.seq [-tooloption ...] -pkt Delete_LT0_FOREIGN.def

>     -tooloption: v6eval tool option

# TOPOLOGY

>                                     MN'
>                                     |
>                     --------+-------+------- LinkY
>                             |
>                             R1      MN
>                             |       |
>             --------+-------+-------+------- LinkX
>                     |
>            NUT      R0
>             |       |
>     --------+-------+----------------------- Link0

> `Link0` | `global` | `3ffe:501:ffff:100::/64` | ``
> `LinkX` | `global` | `3ffe:501:ffff:102::/64` | `home link`
> `LinkY` | `global` | `3ffe:501:ffff:103::/64` | `foreign link`
> `R0(Link0)` | `global` | `3ffe:501:ffff:100::a0a0` | ``
> `link-local` | `fe80::200:ff:fe00:a0a0`
> `ether` | `00:00:00:00:a0:a0`
> `MN` | `global` | `3ffe:501:ffff:102:200:ff:fe00:7` | `home address`
> `MN'` | `global` | `3ffe:501:ffff:103:200:ff:fe00:7` | `care-of address`

# INITIALIZATION

>     NUT      MN      MN'
>      |       |       |
>      | <---- |       | Echo Request
>      | ----> |       | Echo Reply
>      |       |       |
>      | <---- |       | HoTI
>      | <------------ | CoTI
>      | ----> |       | HoT
>      | ------------> | CoT
>      |       |       |
>      | <------------ | BU
>      | --X   |       | no response
>      |       |       |
>      | <------------ | Echo Request w/ HaO
>      | ------------> | Echo Reply w/ RH
>      |       |       |

     1. Send Echo Request
     2. Wait Echo Reply
     3. Receive Echo Reply
     4. Send HoTI & CoTI
     5. Wait HoT & CoT
     6. Receive HoT & CoT
     7. Send BU
     8. No response
     9. Send Echo Request w/ HaO
    10. Wait Echo Reply w/ RH
    11. Receive Echo Reply w/ RH

# TEST PROCEDURE

>     NUT      MN      MN'
>      |       |       |
>      | <---- |       | HoTI
>      | <------------ | CoTI
>      | ----> |       | HoT (*1)
>      | ------------> | CoT (*2)
>      |       |       |
>      | <------------ | BU
>      | ------------> | BA (*3)
>      |       |       |
>      | <------------ | Echo Request w/ HaO
>      | ------------> | BE (*4)
>      |       |       |

    1. Send HoTI & CoTI
    2. Wait HoT & CoT
    3. Receive HoT & CoT (*1) (*2)
    4. Send BU
    5. Wait BA
    6. Receive BA (*3)
    7. Send Echo Request w/ HaO
    8. Wait BE
    9. Receive BE (*4)

# JUDGEMENT

    (*1) PASS: MN receives HoT
    (*2) PASS: MN' receives CoT
    (*3) PASS: MN' receives BA
    (*4) PASS: MN' receives BE
         WARN: no response
         FAIL: Recv unexpect packets

# REFERENCE

    <draft-ietf-mobileip-ipv6-19.txt>
    9.5.1. Receiving Binding Updates
    ----------------------------------------------------------------
        -  If the Lifetime specified in the Binding Update is zero or the
           specified care-of address matches the home address for the
           binding, then this is a request to delete the mobile node's
           cached binding.  The update MUST include a valid home nonce index
           (the care-of nonce index MUST be ignored by the correspondent
           node).  In this case, generation of the binding management key
           depends exclusively on the home keygen token (Section 5.2.5).  If
           the Home Registration (H) bit is set in the Binding Update, the
           Binding Update is processed according to the procedure specified
           in Section 10.3.2; otherwise, it is processed according to the
           procedure specified in Section 9.5.3.
    ----------------------------------------------------------------

    <draft-ietf-mobileip-ipv6-19.txt>
    9.5.4. Sending Binding Acknowledgements
    ----------------------------------------------------------------
       If the Source Address is the home address of the mobile node, i.e.,
       the Binding Update did not contain a Home Address destination option,
       then the Binding Acknowledgement MUST be sent to that address,
       and the routing header MUST NOT be used.  Otherwise, the Binding
       Acknowledgement MUST be sent using a type 2 routing header which
       contains the mobile node's home address.
    ----------------------------------------------------------------

# SEE ALSO

    MIP6.pm
    MIP6.def