NAME

CN-5-4-3 - Separate Binding Cache for each of unicast routable addresses


TARGET

Host


TOPOLOGY

       HA----------R2----------R1----------R0
       |           |           |           |
       |           |           |           |
       |----       |----MN'    |----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 Link2) 3ffe:501:ffff:102::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
MN'(in Home Link) 3ffe:501:ffff:104::Y+1 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      MN'     R1      R2      HA       R0     CN(NUT) 
        |       |       |       |       |       |       |
        |       |       |       |       |       |------>| 1.RA
        |       |       |       |       |       |       |
        |       |       |       |       |       |------>| 2.NS
        |       |       |       |       |       |       |
        |       |       |       |       |       |<------| 3.NA
        |               |               |       |       |
        |------------------------------>|-------------->| 1-4.Echo Request
        |               |               |       |       |
        |<------------------------------|<--------------| 1-5.Echo Reply
        |               |               |       |       |
        |---------------------------------------------->| 1-6.Echo Request(Home Address option)
        |               |               |       |       |
        |<----------------------------------------------| 1-7.BE(Status=1)
        |               |               |       |       |
        |---------------------------------------------->| 1-8.CoTI
        |               |               |       |       |
        |------------------------------>|-------------->| 1-9.HoTI
        |               |               |       |       |
        |<----------------------------------------------| 1-10.CoT
        |               |               |       |       |
        |<------------------------------|<--------------| 1-11.HoT
        |               |               |       |       |
        |---------------------------------------------->| 1-12.BU(Source Address=Link1)
        |               |               |       |       |
        |<----------------------------------------------| 1-13.BA(Status=0) (*1)
        |               |               |       |       |
                |---------------------->|-------------->| 2-4.Echo Request
                |              |        |       |       |
                |<----------------------|<--------------| 2-5.Echo Reply
                |              |        |       |       |
                |-------------------------------------->| 2-6.Echo Request(Home Address option)
                |              |        |       |       |
                |<--------------------------------------| 2-7.BE(Status=1)
                |              |        |       |       |
                |-------------------------------------->| 2-8.CoTI
                |              |        |       |       |
                |---------------------->|-------------->| 2-9.HoTI
                |              |        |       |       |
                |<--------------------------------------| 2-10.CoT
                |              |        |       |       |
                |<----------------------|<--------------| 2-11.HoT
                |              |        |       |       |
                |-------------------------------------->| 2-12.BU(Source Address=Link2)
                |              |        |       |       |
                |<--------------------------------------| 2-13.BA(Status=0) (*2)
                |              |        |       |       |
        |---------------------------------------------->| 1-14.Echo Request(Home Address option,Source Address=Link1)
        |               |               |       |       |
        |<----------------------------------------------| 1-15.Echo Reply(Type2 Routing Header) (*3)
        |               |               |       |       |
                |-------------------------------------->| 2-14.Echo Request(Home Address option,Source Address=Link2)
                |              |        |       |       |
                |<--------------------------------------| 2-15.Echo Reply(Type2 Routing Header) (*4)
                |              |        |       |       |
1. Send Router Advertisement.
2. Send Neighbor Solicitation.
3. Receive Neighbor Advertisement.
1-4. Send ICMP Echo Request.
1-5. Receive ICMP Echo Reply.
1-6. Send ICMP Echo Request(Home Address option).
1-7. Receive Binding Error(Status=1).
1-8. Send Care-of Test Init.
1-9. Send Home Test Init.
1-10. Receive Care-of Test.
1-11. Receive Home Test.
1-12. Send Binding Update(Source Address=Link1).
1-13. Receive Binding Acknowledgement(Status=0).
2-4. Send ICMP Echo Request.
2-5. Receive ICMP Echo Reply.
2-6. Send ICMP Echo Request(Home Address option).
2-7. Receive Binding Error(Status=1).
2-8. Send Care-of Test Init.
2-9. Send Home Test Init.
2-10. Receive Care-of Test.
2-11. Receive Home Test.
2-12. Send Binding Update(Source Address=Link2).
2-13. Receive Binding Acknowledgement(Status=0).
1-14. Send ICMP Echo Request(Home Address option,Source Address=Link1).
1-15. Receive ICMP Echo Reply(Type2 Routing Header).
2-14. Send ICMP Echo Request(Home Address option,Source Address=Link2).
2-15. Receive ICMP Echo Reply(Type2 Routing Header).
From 1-4 to 1-15 :User1(HoA1,CoA1)
From 2-4 to 2-15 :User2(HoA2,CoA2)
Packet Format
1-12. Binding Update
1-13. Binding Acknowledgement
2-12. Binding Update
2-13. Binding Acknowledgement
1-14. ICMP_Echo Request(Home Address option)
1-15. ICMP Echo Reply(Type2 Routing Header)
2-14. ICMP_Echo Request(Home Address option)
2-15. ICMP Echo Reply(Type2 Routing Header)



JUDGEMENT


(*1) MN1 receives Binding Acknowledgement.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address 1).
  - The Status field is set to 0.
  - Binding Authorization Data option is included.
  - Authenticator field of Binding Authorization Data option has the valid value.
  - Type 2 Routing Header is included.
  - The Home Address field of Type 2 Routing Header is set to MN home address 1.
(*2) MN2 receives Binding Acknowledgement.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address 2).
  - The Status field is set to 0.
  - Binding Authorization Data option is included.
  - Authenticator field of Binding Authorization Data option has the valid value.
  - Type 2 Routing Header is included.
  - The Home Address field of Type 2 Routing Header is set to MN home address 2.
(*3) MN1 receives ICMP Echo Reply.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address 1).
  - Type 2 Routing Header is included.
  - The Home Address field of Type 2 Routing Header is set to MN home address 1.
(*4) MN2 receives ICMP Echo Reply.
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address 2).
  - Type 2 Routing Header is included.
  - The Home Address field of Type 2 Routing Header is set to MN home address 2.



REFERENCE

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

9.1 Conceptual Data Structures
   IPv6 nodes with route optimization support maintain a Binding Cache
   of bindings for other nodes.  A separate Binding Cache SHOULD be
   maintained by each IPv6 node for each of its unicast routable
   addresses.  The Binding Cache MAY be implemented in any manner
   consistent with the external behavior described in this document, for
   example by being combined with the node's Destination Cache as
   maintained by Neighbor Discovery [12].  When sending a packet, the
   Binding Cache is searched before the Neighbor Discovery conceptual
   Destination Cache [12].