MN-3-4-1-1-001 - Sending NA (Target Address = link-layer address)
Host
|
R CN0
| |
-----+-------+--------+---------------- LinkZ
|
R2 NUTY
| |
-----+-------+-----------------+------- LinkY
|
R1 NUTX
| |
-----+-------+-----------------+------- LinkX
|
HA0 Node0 NUT0
| | |
----------------------+---------------+---------+------- Link0
| Link0 |
3ffe:501:ffff:100::/64 |
home link |
| LinkX |
3ffe:501:ffff:102::/64 |
|
| LinkY |
3ffe:501:ffff:103::/64 |
|
| LinkZ |
3ffe:501:ffff:104::/64 |
|
| HA0(Link0) |
3ffe:501:ffff:100:200:ff:fe00:a0a0 |
|
| Node0(Link0) |
3ffe:501:ffff:100:200:ff:fe00:a3a3 |
|
| R1(LinkX) |
3ffe:501:ffff:102:200:ff:fe00:a4a4 |
|
| R2(LinkY) |
3ffe:501:ffff:103:200:ff:fe00:a6a6 |
|
| CN0(LinkZ) |
3ffe:501:ffff:104:200:ff:fe00:a8a8 |
|
1. Selection Option
- none
2. Position of Mobile Node
HA0 NUT0 R1 R2 CN0
| | | | |
| ----> | | | | 1.Router Advertisement
| | | | |
| NUTX | | |
| | | | |
| | <---- | | | 2.Router Advertisement
| | | | |
| <---- | | | | 3.Neighbor Solicitations(NUD)
| | | | | 4.(no reply)
| | | | |
| <---- | | | | 5.Binding Update
| ----> | | | | 6.Binding Acknowledgement
| | | | |
1. Send Router Advertisement. (HA0 -> HA0_allnode_multi)
2. Send Router Advertisement. (R1 -> R1_allnode_multi)
3. Receive Neighbor Solicitations(NUD). (NUT0 -> HA0)
4. (no reply)
# Wait during a maximum of 3 seconds(RFC2461).
5. Receive Binding Update. (NUTX -> HA0)
6. Send Binding Acknowledgement. (HA0 -> NUTX)
HA0 NUTX R1 R2 CN
| | | | |
| | <---- | | | 1.Router Advertisement
| | | | |
| NUT0 | | |
| | | | |
| ----> | | | | 2.Router Advertisement
| | | | |
| | ----> | | | 3.Neighbor Solicitations(NUD)
| | | | | 4.(no reply)
| | | | |
| <---- | | | | 5.Binding Update
| ----> | | | | 6.Binding Acknowledgement
| | | | |
| <---- | | | | 7.Neighbor Advertisement (*1)
| | | | |
1. Send Router Advertisement. (R1 -> R1_allnode_multi)
2. Send Router Advertisement. (HA0 -> HA0_allnode_multi)
3. Receive Neighbor Solicitations(NUD). (NUTX -> R1)
4. (no reply)
# Wait during a maximum of 3 seconds(RFC2461).
5. Receive Binding Update. (NUT0 -> HA0)
6. Send Binding Acknowledgement. (HA0 -> NUT0)
7. Receive Neighbor Advertisement. (NUT0(Unspecified) -> HA0_allnode_multi)
Packet Format is:
7.Neighbor Advertisement Data is:
IPv6 header (source = unspecified address,
destination = unsolicited-node multicast)
ICMP Neighbor Advertisement
Type = 136
Code = 0
Checksum = (auto)
R = 0
S = 0
O = 1
Reserved = 0
Target Address = link-layer address
(*1) PASS: HA0 receives Neighbor Advertisement.
Then, check whether this packet fills all of the following.
- The target address is set to the home address.
- The Solicited flag is cleared.
- The Override flag is set to ON.
- The Target Link-layer Address option is set to self link-layer address.
(draft-ietf-mobileip-ipv6-24.txt)
11.5.4 Returning Home
(snip)
After receiving the Binding Acknowledgement for its Binding Update to
its home agent, the mobile node MUST multicast onto the home link (to
the all-nodes multicast address) a Neighbor Advertisement [12], to
advertise the mobile node's own link-layer address for its own home
address. The Target Address in this Neighbor Advertisement MUST be
set to the mobile node's home address, and the Advertisement MUST
include a Target Link-layer Address option specifying the mobile
node's link-layer address. The mobile node MUST multicast such a
Neighbor Advertisement for each of its home addresses, as defined by
the current on-link prefixes, including its link-local address and
site-local address. The Solicited Flag (S) in these Advertisements
MUST NOT be set, since they were not solicited by any Neighbor
Solicitation. The Override Flag (O) in these Advertisements MUST be
set, indicating that the Advertisements SHOULD override any existing
Neighbor Cache entries at any node receiving them.