NAME

CN_LifetimeExpire - Lifetime expires


TARGET

Host and Router


SYNOPSIS

CN_LifetimeExpire.seq [-tooloption ...] -pkt CN_LifetimeExpire.def
-tooloption: v6eval tool option


TOPOLOGY

                                                      MN'
                                                      |
                                      --------+-------+------- LinkY
                                              |
                                              R2      MN
                                              |       |
Link1 --------+-------        --------+-------+-------+------- LinkX
              |                       |
             NUT                      R1
              |                       |
Link0 --------+-----------------------+-----------------------
Link0 3ffe:501:ffff:100::/64  
Link1 3ffe:501:ffff:101::/64  
LinkX 3ffe:501:ffff:102::/64 home link
LinkY 3ffe:501:ffff:103::/64 foreign link
R1(Link0) 3ffe:501:ffff:100:200:ff:fe00:a0a0  
MN 3ffe:501:ffff:102:200:ff:fe00:0010 home address
MN' 3ffe:501:ffff:103:200:ff:fe00:0010 care-of address


TEST PROCEDURE

       NUT      R1      MN      MN'
        |       |       |       |
        | <---- |       |       | RA
        |       |       |       |
        | <-------------------- | Echo Request
        | ----> |       |       | NS
        | <---- |       |       | NA
        | --------------------> | Echo Reply (*1)
        |       |       |       |
        | <---- |       |       | NA
        |       |       |       |
        | <-------------------- | Binding Update (Lifetime is 10 sec.)
        |       |       |       |
        |       |       |       | Wait 5 sec.
        |       |       |       |
        | <-------------------- | Echo Request (Home Address Option)
        | --------------------> | Echo Reply (*2)
        |       |       |       |
        |       |       |       | Wait 10 sec.
        |       |       |       |
        | <-------------------- | Echo Request (Home Address Option)
        | ------------> |       | Echo Reply (*3)
        |       |       |       |

1. check routing table - LinkY
	1.1. Host
		1.1.1. R1 sends RA
		1.1.2. MN' sends Echo Request
		1.2.3. Wait Echo Reply
		1.1.4. Receive Echo Reply
	1.2. Router
		1.2.1. MN' sends Echo Request
		1.2.2. Wait Echo Reply or NS
		1.2.3. If NS received then send NA, and wait Echo Reply again
		1.2.4. Receive Echo Reply
2. overwrite NCE on NUT
	2.1. R1 sends NA
3. check Binding Cache entry operation
	3.1. MN' sends Binding Update (Lifetime is 10 sec.)
	3.2. Wait 5 sec.
	3.3. MN' sends Echo Request including Home Address Option
	3.4. Wait Echo Reply
	3.5. MN' receives Echo Reply
	3.6. Wait 10 sec.
	3.7. MN' sends Echo Request including Home Address Option
	3.8. Wait Echo Reply
	3.9. MN receives Echo Reply


JUDGEMENT

(*1) PASS: MN' receives Echo Reply
(*2) PASS: MN' receives Echo Reply including Routing Header
     WARN: MN receives Echo Reply
(*3) PASS: MN receives Echo Reply


REFERENCE

<draft-ietf-mobileip-ipv6-15.txt>
8.3. Requests to Cache a Binding
   In this case, the receiving node SHOULD create a new entry in its
   Binding Cache for this mobile node (or update its existing Binding
   Cache entry for this mobile node, if such an entry already exists).
   The new Binding Cache entry records the association between this
   home address and the care-of address for the binding.  The lifetime
   for the Binding Cache entry is initialized from the Lifetime field
   specified in the Binding Update, although this lifetime MAY be
   reduced by the node caching the binding; the lifetime for the Binding
   Cache entry MUST NOT be greater than the Lifetime value specified in
   the Binding Update.  Any Binding Cache entry MUST be deleted after
   the expiration of this lifetime in the Binding Cache entry.


SEE ALSO

CN_Common.def