NAME

CN-5-4-2 - BU Creating Circular Reference


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 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(Status=0)
        |       |       |       |       |       |
        |       |------------------------------>| 14.Echo Request(Home Address option)
        |       |       |       |       |       |
        |       |<------------------------------| 15.Echo Reply(Type2 Routing Header)
        |       |       |       |       |       |
        |       |------------------------------>| 16.HoTI
        |       |       |       |       |       |
        |       |-------------->|-------------->| 17.CoTI
        |       |       |       |       |       |
        |       |<------------------------------| 18.HoT
        |       |       |       |       |       |
        |       |<--------------|<--------------| 19.CoT
        |       |       |       |       |       |
        |-------------------------------------->| 20.BU (Home Address=CoA)
        |       |       |       |       |       |
        |       |       |       |       |       | (*1)
        |       |       |       |       |       |
        |-------------------------------------->| 21.Echo Request(Home Address=CoA)
        |       |       |       |       |       |
        |<--------------------------------------| 22.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 Home Test Init.
17. Send Care-of Test Init.
18. Receive Home Test.
19. Receive Care-of Test.
20. Send Binding Update(Home Address=CoA).
   *Expire BA timer.
21. Send ICMP Echo Request.
22. Receive Binding Error(Status=1).
Packet Format
20. Binding Update
21. ICMP_Echo Request(Home Address option)
22. Binding Error



JUDGEMENT


(*1) MN and MN' does not receive Binding Acknowledgement.
(*2) MN' receives Binding Error.(Binding Cache entry is not created.)
  - The Destination Address is set to the Source Address of ICMP Echo Request (MN home address).
  - 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 care-of address).



REFERENCE

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

6.1.7 Binding Update Message
   The care-of address is specified either by the Source Address field
   in the IPv6 header or by the Alternate Care-of Address option, if
   present.  The care-of address MUST be a unicast routable address.
   IPv6 Source Address MUST be a topologically correct source address.
   Binding Updates for a care-of address which is not a unicast routable
   address MUST be silently discarded.  Similarly, the Binding Update
   MUST be silently discarded if the care-of address appears as a home
   address in an existing Binding Cache entry, with its current location
   creating a circular reference back to the home address specified in
   the Binding Update (possibly through additional entries).