CN-4-9-1 - Home and Care-of Nonce Index error - Registration from the foreign link
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.CoT
| | | | |
|-------------->|-------------->| 10.HoTI
| | | | |
|<--------------|<--------------| 11.HoT
| | | | |
|------------------------------>| 12.BU(Home Nonce Index=0xffff, Care-of Nonce Index=0xffff)
| | | | |
|<------------------------------| 13.BA(Status=138) (*1)
| | | | |
|------------------------------>| 14.Echo Request(Home Address option)
| | | | |
|<------------------------------| 15.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. Receive Care-of Test. 10. Send Home Test Init. 11. Receive Home Test. 12. Send Binding Update(Home Nonce Index=0xffff, Care-of Nonce Index=0xffff). 13. Receive Binding Acknowledgement(Status=138). 14. Send ICMP Echo Request(Home Address option). 15. Receive Binding Error(Status=1).
Packet Format
12. Binding Update
13. Binding Acknowledgement(No Binding Authorization Data option)
IPv6 header
Routing header (type 2)
home address
Mobility header
Binding Acknowledgement
(Not include Binding Authorization Data option)
14. ICMP_Echo Request(Home Address option)
15. Binding Error
(*1) MN receives Binding Acknowledgement. - The Destination Address is set to the Source Address of the Binding Update (MN care-of address). - The Status field is set to 138. - Binding Authorization Data option is not included.
(*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 care-of address). - The Status field is set to 1.
(draft-ietf-mobileip-ipv6-24.txt)
9.5.1 Receiving Binding Updates
If the receiving node no longer recognizes the Home Nonce Index value, Care-of Nonce Index value, or both values from the Binding Update, then the receiving node MUST send back a Binding Acknowledgement with status code 136, 137, or 138, respectively.
9.5.4 Sending Binding Acknowledgements
If the Status field in the Binding Acknowledgement contains the value 136 (expired home nonce index), 137 (expired care-of nonce index), or 138 (expired nonces) then the message MUST NOT include the Binding Authorization Data mobility option. Otherwise, the Binding Authorization Data mobility option MUST be included, and MUST meet the specific authentication requirements for Binding Acknowledgements as defined in Section 5.2.