NAME

CN-2-2-1-2 - Receiving CoTI - Invalid Mobility Option (Alternate Care-of Address option)


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(Alternate Care-of Address option)
        |       |       |       |       |
        |-------------->|-------------->| 9.HoTI
        |       |       |       |       |
        |<------------------------------| 10.CoT (*1)
        |       |       |       |       |
        |<--------------|<--------------| 11.HoT
        |       |       |       |       |
        |------------------------------>| 12.BU(Alternate Care-of Address option)
        |       |       |       |       |
        |<------------------------------| 13.BA(Status=0) (*2)
        |       |       |       |       |
        |------------------------------>| 14.Echo Request(Home Address option)
        |       |       |       |       |
        |<------------------------------| 15.Echo Reply(Type2 Routing Header) (*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(Alternate Care-of Address option).
9. Send Home Test Init.
10. Receive Care-of Test.
11. Receive Home Test.
12. Send Binding Update(Alternate Care-of Address option).
13. Receive Binding Acknowledgement(Status=0).
14. Send ICMP Echo Request(Home Address option).
15. Receive ICMP Echo Reply(Type2 Routing Header)
Packet Format
8. Care-of Test Init
      IPv6 header
      Mobility Header
         Care-of Test Init
            Alternate Care-of Address option
10. Care-of Test
12. Binding Update(Alternate Care-of Address option)
      IPv6 header
      Destination Options header
         Home Address option
      Mobility header
         Binding Update
            Alternate Care-of Address option
            Nonce Indices option
            Binding Authorization Data option
13. Binding Acknowledgement
14. ICMP_Echo Request(Home Address option)
15. ICMP Echo Reply(Type2 Routing Header)



JUDGEMENT


(*1) MN receives Care-of Test.
  - The Destination Address is set to the Source Address of the Care-of Test Init (MN care-of address).
  - Care-of Init Cookie matches the value in the Care-of Test Init.
(*2) MN receives Binding Acknowledgement. 
  (The Care-of Test message is issued to the MN care-of address, not to the alternate care-of address.)
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address).
  - 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.
(*3) MN receives ICMP Echo Reply. (Binding Cache entry is created.)
  - The Destination Address is set to the Source Address of the Binding Update (MN care-of address).
  - Type 2 Routing Header is included.
  - The Home Address field of Type 2 Routing Header is set to MN home address.



REFERENCE

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

6.1.4 Care-of Test Init Message
   Mobility Options
      Variable-length field of such length that the complete Mobility
      Header is an integer multiple of 8 octets long.  This field
      contains zero or more TLV-encoded mobility options.  The receiver
      MUST ignore and skip any options which it does not understand.
      This specification does not define any options valid for the
      Care-of Test Init message.