MN-4-1-1-2-001 - Sending the packets via HA
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
- Route Optimization support : NO
2. Position of Mobile Node
- none.
HA0 NUT0 R1 R2 CN0
| | | | |
| ----> | | | | 1.Router Advertisement
| | | | |
| NUTX | | |
| | | | |
| | <---- | | | 2.Router Advertisement
| | | | |
| <---- | | | | 3.Neighbor Solicitations
| | | | | 4.(no reply:3 seconds)
| | | | |
| <---- | | | | 5.Binding Update
| ----> | | | | 6.Binding Acknowledgement
| | | | |
| | | | |
| ====> | <--------------------- | 7.ICMP Echo Request
| <==== | ---------------------> | 8.ICMP Echo Reply (*1)
| | | | |
1. Send Router Advertisement. (HA0 -> HA0_allnode_multi)
2. Send Router Advertisement. (R1 -> R1_allnode_multi)
3. Receive Neighbor Solicitations. (NUT0 -> HA0)
4. (no reply)
# Wait during a maximum of 3 seconds(RFC2461).
5. Receive Binding Update to HA0. (NUTX -> HA0)
6. Send Binding Acknowledgement. (HA0 -> NUTX)
7. Send ICMP Echo Request. (out: HA0 -> NUTX, in: CN0 -> NUT0)
8. Receive ICMP Echo Reply. (out: NUTX -> HA0, in: NUT0 -> CN0)
Packet Format is:
8.ICMP Echo Reply Data is:
IPv6 header (source = care-of address,
destination = home agent)
ESP header
IPv6 header (source = home address,
destination = correspondent node)
ICMPv6 Echo Reply
(*1) PASS: CN0 receives ICMP Echo Reply by reverse tunneling.
Then, check whether this packet fills all of the following.
- The Destination Address(outer) is set to HA address.
- The Source Address(outer) is set to care-of address.
- The Destination Address(inner) is set to CN address.
- The Source Address(inner) is set to home address.
- Home Address destination option is not included.
(draft-ietf-mobileip-ipv6-24.txt)
11.3.1 Sending Packets While Away from Home
(snip)
Reverse Tunneling
This is the mechanism which tunnels the packets via the home
agent. It is not as efficient as the above mechanism, but is
needed if there is no binding yet with the correspondent node.
This mechanism is used for packets that have the mobile node's
home address as the Source Address in the IPv6 header, or with
multicast control protocol packets as described in Section 11.3.4.
Specifically:
* The packet is sent to the home agent using IPv6 encapsulation
[15].
* The Source Address in the tunnel packet is the primary care-of
address as registered with the home agent.
* The Destination Address in the tunnel packet is the home
agent's address.
Then, the home agent will pass the encapsulated packet to the
correspondent node.
9.3.1 Receiving Packets with Home Address Option
(snip)
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.