NAME

CN-5-2-3 - Lifetime - Over 106, No existing entry


TARGET

Host


TOPOLOGY

       HA----------R2----------R1----------R0
       |           |           |           |
       |           |           |           |
       |----       |----       |----MN     |----CN(NUT)
       |           |           |           |
       |           |           |           |
   Home Link     Link2       Link1       Link0
               (Foreign)   (Foreign)
Link0 3ffe:501:ffff:100::/64  
Link1 3ffe:501:ffff:101::/64 Foreign Link
Link2 3ffe:501:ffff:102::/64 Foreign Link 2
Home Link 3ffe:501:ffff:104::/64 Home Link
CN(NUT) 3ffe:501:ffff:100::X
Auto Configuration (InterfaceID)
 
MN(in Link1) 3ffe:501:ffff:101::Y
Increased in each test (InterfaceID)
MN care-of address
MN(in Home Link) 3ffe:501:ffff:104::Y
Increased in each test (InterfaceID)
MN home address
R0(Link0) 3ffe:501:ffff:100::1  
R1(Link1) 3ffe:501:ffff:101::1  
R2(Link2) 3ffe:501:ffff:102::1  
HA(Home Link) 3ffe:501:ffff:104::1  


INITIALIZATION


Reboot NUT (reboot.rmt)



TEST PROCEDURE

       MN      R1      HA      R0     CN(NUT) 
        |       |       |       |       |
        |       |       |       |------>| 1.RA
        |       |       |       |       |
        |       |       |       |------>| 2.NS
        |       |       |       |       |
        |       |       |       |<------| 3.NA
        |       |       |       |       |
        |-------------->|-------------->| 4.Echo Request
        |       |       |       |       |
        |<--------------|<--------------| 5.Echo Reply
        |       |       |       |       |
        |------------------------------>| 6.Echo Request(Home Address option)
        |       |       |       |       |
        |<------------------------------| 7.BE(Status=1)
        |       |       |       |       |
        |------------------------------>| 8.CoTI
        |       |       |       |       |
        |-------------->|-------------->| 9.HoTI
        |       |       |       |       |
        |<------------------------------| 10.CoT
        |       |       |       |       |
        |<--------------|<--------------| 11.HoT
        |       |       |       |       |
        |------------------------------>| 12.BU(Lifetime=106)
        |       |       |       |       |
        |<------------------------------| 13.BA(Status=0,Lifetime=105) (*1)
        |       |       |       |       |
        |------------------------------>| 14.Echo Request(Home Address option)
        |       |       |       |       |
        |       |       |       |       | Expire 410s
        |       |       |       |       |
        |<------------------------------| 15.Echo Reply(Type2 Routing Header) (*2)
        |       |       |       |       |
        |       |       |       |       | Expire 422s
        |       |       |       |       |
        |------------------------------>| 16.Echo Request(Home Address option)
        |       |       |       |       |
        |<------------------------------| 17.BE(Status=1) (*3)
        |       |       |       |       |
1. Send Router Advertisement.
2. Send Neighbor Solicitation.
3. Receive Neighbor Advertisement.
4. Send ICMP Echo Request.
5. Receive ICMP Echo Reply.
6. Send ICMP Echo Request(Home Address option).
7. Receive Binding Error(Status=1).
8. Send Care-of Test Init.
9. Send Home Test Init.
10. Receive Care-of Test.
11. Receive Home Test.
12. Send Binding Update(Lifetime=10).
13. Receive Binding Acknowledgement(Status=0,Lifetime=10).
   *Expire 410s
14. Send ICMP Echo Request(Home Address option).
15. Receive ICMP Echo Reply(Type2 Routing Header).
   *Expire 422s
16. Send ICMP Echo Request(Home Address option).
17. Receive Binding Error(Status=1).
Packet Format
12. Binding Update
13. Binding Acknowledgement
14. ICMP_Echo Request(Home Address option)
15. ICMP Echo Reply(Type2 Routing Header)
16. ICMP_Echo Request(Home Address option)
17. Binding Error



JUDGEMENT


(*1) MN receives Binding Acknowledgement.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address).
  - The Status field is set to 0.
  - The Lifetime field is set to 105.
(*2) MN receives ICMP Echo Reply.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address).
  - Type 2 Routing Header is included.
(*3) MN receives Binding Error. (Lifetime expires.)
  - The Destination Address is set to the Source Address of ICMP Echo Request (MN care-of address).
  - The Status field is set to 1.



REFERENCE

(draft-ietf-mobileip-ipv6-24.txt)

9.5.2 Requests to Cache a Binding
   In this case, the receiving node SHOULD create a new entry in its
   Binding Cache for this home address, or update its existing Binding
   Cache entry for this home address, if such an entry already exists.
   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 its lifetime.
5.2.6 Authorizing Binding Management Messages
   Bindings established with correspondent nodes using keys created by
   way of the return routability procedure MUST NOT exceed
   MAX_RR_BINDING_LIFETIME seconds (see Section 12).
12. Protocol Constants
    MAX_RR_BINDING_LIFETIME         420 seconds
6.1.8 Binding Acknowledgement Message
   Lifetime
      The granted lifetime, in time units of 4 seconds, for which this
      node SHOULD retain the entry for this mobile node in its Binding
      Cache.