NAME

CN-6-2-2 - Check of Home Address and Care-of Address against BCE - The entry exists


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'(MN in Link2) 3ffe:501:ffff:102::Y
Increased in each test (InterfaceID)
MN care-of address 2
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'     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
        |       |       |       |       |       |
        |       |<------------------------------| 13.BA
        |       |       |       |       |       |
        |       |------------------------------>| 14.Echo Request(Home Address option)
        |       |       |       |       |       |
        |       |<------------------------------| 15.Echo Reply(Type2 Routing Header)
        |       |       |       |       |       |
        |       |------------------------------>| 16.Echo Request(Source Address=Link1-COA,Home Address!=home address)
        |       |       |       |       |       |
        |       |<------------------------------| 17.BE(Status=1) (*1)
        |       |       |       |       |       |
        |-------------------------------------->| 18.Echo Request(Home Address option, Source Address=Link2-COA)
        |       |       |       |       |       |
        |<--------------------------------------| 19.BE(Status=1) (*2)
        |       |       |       |       |       |
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.
13. Receive Binding Acknowledgement.
14. Send ICMP Echo Request(Home Address option).
15. Receive ICMP Echo Reply(Type2 Routing Header).
16. Send ICMP Echo Request(Source Address=Link1-COA,Home Address!=home address)
17. Receive Binding Error(Status=1).
18. Send ICMP Echo Request(Home Address option, Source Address=Link2-COA)
19. Receive Binding Error(Status=1).
Packet Format
16. ICMP_Echo Request(Home Address option)
17. Binding Error
18. ICMP_Echo Request(Home Address option)
19. Binding Error



JUDGEMENT


(*1) MN receives Binding Error.
  - The Destination Address is set to the Source Address of ICMP Echo Request (MN care-of address 1).
  - The Status field is set to 1.
  - The Home Address field is set to the value in the Home Address option in the ICMP Echo Request (Invalid MN home address).
(*2) MN' receives Binding Error.
  - The Destination Address is set to the Source Address of ICMP Echo Request (MN care-of address 2).
  - The Status field is set to 1.
  - The Home Address field is set to the value in the Home Address option in the ICMP Echo Request (MN home address).



REFERENCE

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

9.3.1 Receiving Packets with Home Address Option
   Mobile nodes can include a Home Address destination option in a
   packet if they believe the correspondent node has a Binding Cache
   entry for the home address of a mobile node.  Packets containing a
   Home Address option MUST be dropped if there is no corresponding
   Binding Cache entry.  A corresponding Binding Cache entry MUST have
   the same home address as appears in the Home Address destination
   option, and the currently registered care-of address MUST be equal to
   the source address of the packet.  These tests MUST NOT be done for
   packets that contain a Home Address option and a Binding Update.
   If the packet is dropped due the above tests, the correspondent node
   MUST send the Binding Error message as described in Section 9.3.3.
   The Status field in this message should be set to 1 (unknown binding
   for Home Address destination option).
9.3.3 Sending Binding Error Messages
   A Binding Error message is sent directly to the address that appeared
   in the IPv6 Source Address field of the offending packet.  If the
   Source Address field does not contain a unicast address, the Binding
   Error message MUST NOT be sent.