CN-1-3 - Normal Test - Route Optimization
Host
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
Reboot NUT (reboot.rmt)
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,Type2 Routing Header)
| | | | |
|-------------->|-------------->| 14.Echo Request
| | | | |
|<------------------------------| 15.Echo Reply(Type2 Routing Header) (*1)
| | | | |
|------------------------------>| 16.Echo Request(Home Address option)
| | | | |
|<------------------------------| 17.Echo Reply(Type2 Routing Header) (*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(Status=0,Type2 Routing Header). 14. Send ICMP Echo Request. 15. Receive ICMP Echo Reply(Type2 Routing Header). 16. Send ICMP Echo Request(Home Address option). 17. Receive ICMP Echo Reply(Type2 Routing Header).
Packet Format 14. ICMP Echo Request 15. ICMP Echo Reply(Type2 Routing Header) 16. ICMP_Echo Request(Home Address option) 17. ICMP Echo Reply(Type2 Routing Header)
(*1) 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. - The Home Address field of Type 2 Routing Header is set to MN home address.
(*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. - The Home Address field of Type 2 Routing Header is set to MN home address.
(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.
9.3.2 Sending Packets to a Mobile Node
Before sending any packet, the sending node SHOULD examine its Binding Cache for an entry for the destination address to which the packet is being sent. If the sending node has a Binding Cache entry for this address, the sending node SHOULD use a type 2 routing header to route the packet to this mobile node (the destination node) by way of its care-of address. However, the mobile node MUST not do this in the following cases: