RFC3775:MIPv6

来源:互联网 发布:淘宝客服接待可以做吗 编辑:程序博客网 时间:2024/06/18 16:01

1.移动IPv6报头

把前一个报头的Next Header值设置为135用来标识移动扩展报头

 

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

有效负载协议

报头长度

MH类型

保留

校验和

报文

 

 

 

有效负载协议字段:相当于IPv6报头中的下一报头字段,值设置为59表示移动报头是包中的最后报头

MH类型:表示特定类型的移动报文

报文数据:包含一个移动报文

 

移动报文有不同的类型,同时移动报文还可以包含移动报文选项

 

 

 

2.路由优化模式

路由优化模式需要MN向CN发送BU消息来注册自己当前的绑定,因此CN知道MN的CoA,可以直接将数据包发送到MN的当前位置。CN采用HA类似的方法缓存和它进行通信的MN的绑定,这些绑定组成一个绑定缓存。

 

Type 2 Routing Header

类型2的路由报头

当CN发送IPv6数据包时,它首先检查绑定缓存中是否有HoA和数据包的目的地址相同的绑定,如果没有,数据包使用通常的路由方式发送;如果有,则在数据包中添加类型2寻路头标,其中存放HoA,并且将数据包的目的地址替换成相应绑定中指定的CoA,当数据包到达MN以后,MN将数据包的目的地址替换成包含在类型2寻路头标中的地址HoA。

 

Home Address Option for the Destination Options Header

目标选项报头中的家乡地址选项

MN发往CN的数据包将使用CoA作为源地址,但是添加了一个家乡地址信宿选项,其中包含了MN的HoA,当数据包到达CN以后,CN将数据包的源地址替换成包含在家乡地址信宿选项的地址HoA。因此,使用类型2寻路头标和家乡地址信宿选项可以使得CoA对于网络层以上的应用(例如TCP、UDP)来说是透明的,这些应用始终认为MN的地址为HoA,也就是说实现了MN在移动中保持IP通信。

 

3.ICMPv6报头

 

 

4.邻节点发现ND报文和选项的修改

 

 

5. Conceptual Data Structure Terminology

 

This document describes the Mobile IPv6 protocol in terms of the

following conceptual data structures:

 

Binding Cache

A cache of bindings for other nodes. This cache is maintained by home agents and correspondent nodes. The cache contains both "correspondent registration" entries (see Section 9.1) and "home registration" entries (see Section 10.1).

 

Binding Update List

This list is maintained by each mobile node. The list has an item for every binding that the mobile node has or is trying to establish with a specific other node. Both correspondent and home registrations are included in this list. Entries from the list are deleted as the lifetime of the binding expires. See Section 11.1.

 

Home Agents List

Home agents need to know which other home agents are on the same link. This information is stored in the Home Agents List, as described in more detail in Section 10.1. The list is used for informing mobile nodes during dynamic home agent address discovery.

 

 

6.返回可路由过程

移动IPv6使用IPsec来保护MN和HA之间的通信,因此也保证家乡绑定注册过程的可靠性。如果MN和CN之间使用路由优化模式进行通信,那么MN发送BU消息给CN之前,为了对BU消息进行认证,需要进行返回可路由过程来协商绑定管理密钥。返回可路由过程提供了一种强度比IPsec弱的认证方式,但是它对CN没有特殊的要求,因此很容易在网络中大规模实施。

原创粉丝点击