[go: up one dir, main page]

CN100536425C - Network address translation system and method for supporting mobile IP operation in private network - Google Patents

Network address translation system and method for supporting mobile IP operation in private network Download PDF

Info

Publication number
CN100536425C
CN100536425C CNB2004100350800A CN200410035080A CN100536425C CN 100536425 C CN100536425 C CN 100536425C CN B2004100350800 A CNB2004100350800 A CN B2004100350800A CN 200410035080 A CN200410035080 A CN 200410035080A CN 100536425 C CN100536425 C CN 100536425C
Authority
CN
China
Prior art keywords
address
content
address field
registration
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100350800A
Other languages
Chinese (zh)
Other versions
CN1691638A (en
Inventor
范荣轩
曾建超
王俊杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial Technology Research Institute ITRI
Original Assignee
Industrial Technology Research Institute ITRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial Technology Research Institute ITRI filed Critical Industrial Technology Research Institute ITRI
Priority to CNB2004100350800A priority Critical patent/CN100536425C/en
Publication of CN1691638A publication Critical patent/CN1691638A/en
Application granted granted Critical
Publication of CN100536425C publication Critical patent/CN100536425C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention is a network address translation system and method for supporting mobile IP to run in private network, wherein, a mobile node moves from its home network to a foreign private network, and gets a temporary address from the private network, the mobile node sends a registration packet to the home agent of its home network, and the registration packet has a switching address field; the NAT device of private network exchanges the source address and exchange address of the register packet, and then converts the source address into the public address of NAT device to transmit the register packet to the local proxy; after receiving the registration packet, the home agent replies a registration response packet, which has a switch address field whose content includes the temporary address; the NAT device exchanges the destination address and the switching address of the registration response packet to transmit the registration response packet to the mobile node.

Description

用以支持行动IP运行于私有网路的网路位址转换系统及方法 Network address translation system and method for supporting mobile IP running in private network

技术领域 technical field

本发明是关于网路位址转换的技术领域,尤指一种用以支持行动IP(Mobile IP)运行于私有网路的网路位址转换系统及其方法。The present invention relates to the technical field of network address translation, in particular to a network address translation system and method for supporting mobile IP (Mobile IP) running on a private network.

背景技术 Background technique

在网际网路(Internet)中,网路协定(Internet Protocol,IP)位址被用来代表一台机器,而网路中封包的传送也利用IP位址来代表其传送的来源及目的。目前在网际网路中广泛使用的是IP技术中的版本四(IPv4),其特点为使用32位元长度的位址。然而由于网路上机器数量的快速成长,及受限于位址长度,所以可用的公有IP(public IP)位址有渐渐不足的趋势。In the Internet (Internet), the Internet Protocol (IP) address is used to represent a machine, and the transmission of packets in the network also uses the IP address to represent the source and destination of its transmission. Currently widely used in the Internet is version four (IPv4) of IP technology, which is characterized by the use of addresses with a length of 32 bits. However, due to the rapid growth of the number of machines on the network and the limitation of address length, the available public IP (public IP) addresses tend to be gradually insufficient.

为了解决此位址不足的问题,便有网路位址转换(Network AddressTranslation,NAT)装置的引入,其可减缓IP位址消耗的速率并可让短少IP位址的区域继续运行。然而随著NAT装置的引入,IP失去透明性(Transparency)的问题也随之而来,例如,NAT装置将导致行动IP(Mobile IP)协定无法正常运作,参照图1所示以Mobile IP协定运作于使用NAT装置14私有网路102的示意图,当一行动节点(MN)11由其本地网路101移动至一外地的私有网路102时,该行动节点11将由该私有网路102的动态主机配置协定(Dynamic Host Configuration Protocol,DHCP)伺服器13取得一暂时位址(Care of Address,CoA)(192.168.0.1),依据Mobile IP协定,该移动至外地的行动节点11在取得暂时位址后,会向其本地网路101的本地代理器(HA)12注册,如图所示,其所发出的注册封包15的标头来源(source)及目的(destination)分别为该暂时位址(192.168.0.1)及该本地代理器12的位址(120.105.1.1),而注册封包15的内容即包含有关此行动节点11目前所在的暂时位址(192.163.0.1)。此注册封包15经由该NAT装置14的处理而将标头的来源由该暂时位址(192.168.0.1)转换为NAT装置14的公有IP位址(140.113.1.1),继而将注册封包15递送至该本地代理器12。本地代理器12在收到此注册封包15后,解开其内容而得知该行动节点11目前处在该暂时位址(192.168.0.1),并回复一标头的来源(source)及目的(destination)分别为该本地代理器12的位址(120.105.1.1)及该NAT装置14的公有IP位址(140.113.1.1)的注册回应封包16,经由该NAT装置14将目的由公有IP位址(140.113.1.1)转为该暂时位址(192.168.0.1),而可正确地将注册回应封包16递送给该行动节点11,完成注册程序。之后,本地代理器12依注册所知该行动节点11的暂时位址(192.168.0.1)作为目的位址而传送资料封包17给该行动节点11,然由于该目的位址(暂时位址192.168.0.1)为一私有位址,而无法由本地网路101正确地递送到私有网路102,故而造成Mobile IP协定无法运行。In order to solve the problem of insufficient addresses, there is the introduction of Network Address Translation (NAT) devices, which can slow down the rate of IP address consumption and allow areas that lack IP addresses to continue to operate. However, with the introduction of NAT devices, the problem of IP loss of transparency (Transparency) also follows. For example, NAT devices will cause the mobile IP (Mobile IP) protocol to fail to operate normally. Refer to Figure 1 to operate with the Mobile IP protocol In the schematic diagram of the private network 102 using the NAT device 14, when a mobile node (MN) 11 moves from its local network 101 to a foreign private network 102, the mobile node 11 will be the dynamic host of the private network 102 Configuration protocol (Dynamic Host Configuration Protocol, DHCP) server 13 obtains a temporary address (Care of Address, CoA) (192.168.0.1), according to the Mobile IP agreement, the mobile node 11 that moves to the field after obtaining the temporary address , will register with the home agent (HA) 12 of its local network 101, as shown in the figure, the header source (source) and destination (destination) of the registration packet 15 sent by it are respectively the temporary address (192.168 .0.1) and the address (120.105.1.1) of the home agent 12, and the content of the registration packet 15 includes the temporary address (192.163.0.1) where the mobile node 11 is currently located. The registration packet 15 is processed by the NAT device 14 to convert the source of the header from the temporary address (192.168.0.1) to the public IP address (140.113.1.1) of the NAT device 14, and then the registration packet 15 is delivered to The home agent 12 . Home agent 12, after receiving this registration packet 15, unravels its content and learns that this action node 11 is in this temporary address (192.168.0.1) at present, and replies the source (source) of a header and purpose ( destination) are respectively the address (120.105.1.1) of the home agent 12 and the registration response packet 16 of the public IP address (140.113.1.1) of the NAT device 14, and the destination is changed from the public IP address through the NAT device 14 (140.113.1.1) is converted to the temporary address (192.168.0.1), and the registration response packet 16 can be delivered to the mobile node 11 correctly, and the registration procedure is completed. Afterwards, the home agent 12 transmits the data packet 17 to the mobile node 11 according to the temporary address (192.168. 0.1) is a private address, and cannot be correctly delivered from the local network 101 to the private network 102, thus causing the Mobile IP protocol to fail to operate.

为解决上述使用NAT装置14而导致Mobile IP协定无法正常运作的问题,一种直接的方式便是当本地代理器12在收到并解开注册封包15后,进一步判断其内容所含的行动节点11所在位址(暂时位址)是否与注册封包的来源位址相同,如果不同,表示此注册封包15已经过NAT转换,因此,在注册回应而完成注册后,本地代理器12依原注册封包15的来源位址作为目的位址而传送封包给该行动节点11,而非为由注册封包的内容所知该行动节点11的暂时位址,如此可将资料封包17正确地递送至该NAT装置14,以经过位址转换而进一步送至该行动节点11。然而,前述解决方案的前提是NAT装置14需将不同的行动装置11的暂时位址转换为不同的公有位址,如此NAT装置14才可区别出资料封包所要送达的行动装置11,此将造成未能节省任何公有位址的结果。In order to solve the problem that the above-mentioned use of the NAT device 14 causes the Mobile IP protocol to fail to operate normally, a direct way is to further determine the mobile node contained in the content after the home agent 12 receives and unpacks the registration packet 15 11 Whether the address (temporary address) is the same as the source address of the registration packet, if it is different, it means that the registration packet 15 has been converted through NAT. Therefore, after the registration is completed in response to the registration, the local agent 12 will use the original registration packet The source address of 15 is used as the destination address to send the packet to the mobile node 11, rather than the temporary address of the mobile node 11 known from the content of the registration packet, so that the data packet 17 can be correctly delivered to the NAT device 14, to be further sent to the mobile node 11 after address conversion. However, the premise of the foregoing solution is that the NAT device 14 needs to convert the temporary addresses of different mobile devices 11 into different public addresses, so that the NAT device 14 can distinguish the mobile device 11 to which the data packet is to be delivered, which will As a result of failing to save any public addresses.

发明内容 Contents of the invention

本发明的主要目的在于提供一种用以支持行动IP运行于私有网路的网路位址转换系统及其方法,其无需使用任何表格及接口号码,即可使行动IP运行于私有网路,且能与现有的网路位址转换技术相容。The main purpose of the present invention is to provide a network address translation system and method for supporting mobile IP running on a private network, which can make mobile IP running on a private network without using any tables and interface numbers, And it can be compatible with the existing network address translation technology.

依据本发明的一特色,提出一种用以支持行动IP运行于私有网路的方法,其中,一行动节点由其本地网路移动至一外地的私有网路,且该行动节点由该私有网路取得一暂时位址,该私有网路具有一NAT装置,于该方法中,该行动节点向其本地网路的本地代理器发出一注册封包,该注册封包的标头来源位址栏位及目的位址栏位分别为该暂时位址及该本地代理器的位址,且该注册封包具有一交换位址选用栏位;该NAT装置将该注册封包的来源位址栏位的内容与该交换位址栏位的内容交接,再依据NAT转换的规则,将来源位址栏位的内容转换为该NAT装置的公有位址,以将该注册封包传送至该本地代理器;该本地代理器在收到该注册封包后,回复一标头的来源位址栏位及目的位址栏位内容分别为该本地代理器的位址及该NAT装置的公有位址的注册回应封包,此注册回应封包具有一交换位址选用栏位,其内容包含该暂时位址;该NAT装置将该注册回应封包的目的位址栏位的内容与交换位址栏位的内容交换,以将此注册回应封包传送至行动节点。According to a feature of the present invention, a method for supporting mobile IP running on a private network is proposed, wherein a mobile node moves from its local network to a private network in a foreign country, and the mobile node is transferred from the private network The private network has a NAT device. In this method, the mobile node sends a registration packet to the local agent of its local network. The source address field of the header of the registration packet and The destination address field is respectively the address of the temporary address and the home agent, and the registration packet has an exchange address selection field; the NAT device combines the contents of the source address field of the registration packet with the The content of the exchange address field is handed over, and then according to the rules of NAT conversion, the content of the source address field is converted into the public address of the NAT device, so as to transmit the registration packet to the local agent; the local agent After receiving the registration packet, the contents of the source address field and the destination address field of a header are respectively the address of the local agent and the public address of the NAT device in the registration response packet, the registration response The packet has an exchange address selection field, and its content includes the temporary address; the NAT device exchanges the content of the destination address field of the registration response packet with the content of the exchange address field, so that the registration response packet Teleport to action node.

依据本发明的另一特色,提出一种用以支持行动IP运行于私有网路的系统,其包括:一本地代理器、至少一行动节点、及一NAT装置。该本地代理器设置于一本地网路中。该行动节点可由该本地网路移动至一外地的私有网路,且由该私有网路取得一暂时位址,该行动节点向该本地代理器发出一注册封包,该注册封包的标头来源位址栏位及目的位址栏位分别为该暂时位址及该本地代理器的位址,该注册封包具有一交换位址选用栏位。该NAT装置设置于该私有网路,其将该注册封包的来源位址栏位的内容与该交换位址栏位的内容交换,再依据NAT转换的规则,将来源位址栏位的内容转换为该NAT装置的公有位址,以将该注册封包传送至该本地代理器;或将一注册回应封包的目的位址栏位的内容与交换位址栏位的内容交换,以将该注册回应封包传送至该行动节点;该本地代理器于收到该注册封包后,回复该注册回应封包,该注册回应封包的标头来源位址栏位及目的位址栏位的内容分别为该本地代理器的位址及该NAT装置的公有位址,该注册回应封包具有交换位址选用栏位,其内容包含该暂时位址。According to another characteristic of the present invention, a system for supporting mobile IP running on a private network is proposed, which includes: a local agent, at least one mobile node, and a NAT device. The local agent is set in a local network. The mobile node can move from the local network to a foreign private network, and obtain a temporary address from the private network. The mobile node sends a registration packet to the local agent, and the header source bit of the registration packet is The address field and the destination address field are respectively the temporary address and the address of the home agent, and the registration packet has an exchange address selection field. The NAT device is installed on the private network, and it exchanges the content of the source address field of the registration packet with the content of the exchange address field, and then converts the content of the source address field according to the rules of NAT conversion For the public address of the NAT device, to send the registration packet to the home agent; or to exchange the content of the destination address field of a registration response packet with the content of the exchange address field, so that the registration response The packet is sent to the mobile node; after receiving the registration packet, the home agent replies to the registration response packet, and the contents of the header source address field and destination address field of the registration response packet are the home agent The address of the device and the public address of the NAT device, the registration response packet has an exchange address selection field, and its content includes the temporary address.

附图说明 Description of drawings

图1为公知以Mobile IP协定运作于使用NAT装置的私有网路的示意图。FIG. 1 is a schematic diagram of a known Mobile IP protocol operating on a private network using a NAT device.

图2显示一标准的封包标头的内容。Figure 2 shows the contents of a standard packet header.

图3为本发明用以支持行动IP运行于私有网路的NAT系统的架构图,其说明注册的过程。FIG. 3 is a structural diagram of the NAT system used to support mobile IP running on a private network according to the present invention, which illustrates the registration process.

图4为本发明的用以支持行动IP运行于私有网路的NAT系统的架构图,其说明传送资料封包的过程。FIG. 4 is a structural diagram of a NAT system for supporting mobile IP running on a private network according to the present invention, which illustrates the process of transmitting data packets.

具体实施方式 Detailed ways

为能更了解本发明的技术内容,特举较佳具体实施例说明如下。In order to better understand the technical content of the present invention, preferred specific embodiments are given as follows.

本发明的用以支持行动IP运行于私有网路的网路位址转换系统及其方法是将既有IP标头(Header)的选择性栏位新定义一交换位址选用栏位(Swap addtess option field),而提供一位址交换功能,据以实现支持MobileIP运行于私有网路的目的。The NAT system and method thereof for supporting mobile IP running on a private network of the present invention are to newly define an optional field of an existing IP header (Header)-exchange address optional field (Swap addtess) option field), and provide an address exchange function, so as to realize the purpose of supporting MobileIP to run on the private network.

图2显示一标准的封包标头的内容,其中,在来源位址(Source address)栏位21及目的位址(Destinatioil address)栏位22之后可接续有选用(Option)栏位23,在RFC 791中定义了数种选用栏位23的用途,例如,类型(Type)栏位232为0×07时,选用栏位23用来记录封包经过的路由器,类型栏位232为0×44时,选用栏位23用来记录时间,类型栏位232为0×83或0×89时,选用栏位23用来指定封包经过的路由器,本发明是将一选用栏位23定义为一交换位址选用栏位,当栏位23中的类型栏位232被设定为本发明的交换位址选用栏位(例如Type=0×2a),则栏位23中的交换位址栏位231即记录本发明的NAT系统所使用的交换位址。而此交换位址栏位231的初始位址为0.0.0.0,以供本发明的系统及方法所使用。Fig. 2 shows the content of a standard packet header, wherein, after the source address (Source address) field 21 and the destination address (Destinatioil address) field 22, there may be an optional (Option) field 23, in RFC 791 defines the purposes of several optional fields 23. For example, when the type (Type) field 232 is 0×07, the optional field 23 is used to record the router through which the packet passes. When the type field 232 is 0×44, The optional field 23 is used to record time, and when the type field 232 is 0×83 or 0×89, the optional field 23 is used to specify the router through which the packet passes. The present invention defines an optional field 23 as an exchange address Select the field, when the type field 232 in the field 23 is set to the exchange address field of the present invention (such as Type=0 * 2a), then the exchange address field 231 in the field 23 is recorded The exchange address used by the NAT system of the present invention. The initial address of the exchange address field 231 is 0.0.0.0 for use by the system and method of the present invention.

图3为说明本发明的用以支持行动IP运行于私有网路的NAT系统及其方法的系统架构图,当一行动节点(MN)11由其本地网路101移动至一外地的私有网路102时,该行动节点11将由该私有网路20的动态主机配置协定伺服器13取得一暂时位址(CoA)(192.168.0.1),依据Mobile IP协定,该移动至外地的行动节点11在取得暂时位址后,会向其本地网路10的本地代理器(HA)12注册,如图所示,其所发出的注册封包15的标头来源(source)及目的(destination)分别为该暂时位址(192.168.0.1)及该本地代理器12位栏(120.105.1.1),而注册封包15的内容即包含有关此行动节点11目前所在的暂时位址(192.168.0.1),且注册封包15包含交换位址栏位,其交换位址值设为0.0.0.0.0。此注册封包15经由该NAT装置14的处理,其中,NAT装置14侦测此注册封包15带有交换位址栏位,则将来源位址栏位的内容(暂时位址(192.163.0.1))与交换位址栏位的内容(位址0.0.0.0)交换,使得交换位址栏位的内容为暂时位址(192.168.0.1),而来源位址栏位的内容为位址0.0.0.0。该NAT装置14再依据NAT转换的规则,将来源位址(位址0.0.0.0)转换为该NAT装置14的公有IP位址(140.113.1.1)。而将此注册封包15传送至本地网路101的本地代理器12。FIG. 3 is a system architecture diagram illustrating the NAT system and method thereof for supporting mobile IP operation in a private network of the present invention. When a mobile node (MN) 11 moves from its local network 101 to a private network in a foreign country At 102, the mobile node 11 will obtain a temporary address (CoA) (192.168.0.1) from the dynamic host configuration agreement server 13 of the private network 20. According to the Mobile IP agreement, the mobile node 11 that moves to the field will obtain After the temporary address, it will register with the home agent (HA) 12 of its local network 10. As shown in the figure, the header source (source) and destination (destination) of the registration packet 15 sent by it are respectively the temporary Address (192.168.0.1) and this home agent 12 field (120.105.1.1), and the content of registering packet 15 promptly comprises the temporary address (192.168.0.1) where this action node 11 is at present, and registering packet 15 Contains the Exchange Address field with the Exchange Address value set to 0.0.0.0.0. The registration packet 15 is processed by the NAT device 14, wherein the NAT device 14 detects that the registration packet 15 has an exchange address field, and then sends the content of the source address field (temporary address (192.163.0.1)) Swap with the content of the exchange address field (address 0.0.0.0), so that the content of the exchange address field is the temporary address (192.168.0.1), and the content of the source address field is address 0.0.0.0. The NAT device 14 then converts the source address (address 0.0.0.0) into the public IP address (140.113.1.1) of the NAT device 14 according to the NAT conversion rules. The registration packet 15 is sent to the home agent 12 of the local network 101 .

本地代理器12在收到此注册封包15后,解开其资料内容而得知该行动节点11目前处在该暂时位址(192.168.0.1)。本地代理器12回复一标头来源(source)及目的(destination)分别为该本地代理器12的位址(120.105.1.1)及该NAT装置14的公有IP位址(140.113.1.1)的注册回应封包16,此注册回应封包16亦包含交换位址栏位,并依据注册所知行动节点11的暂时位址(192.163.0.1),而将此暂时位址(192.168.0.1)填入注册回应封包16的交换位址栏位,此注册回应封包16经由该NAT装置14的处理,其中,NAT装置14侦测此注册回应封包16带有交换位址栏位,而将目的位址栏位的内容(NAT装置14的公有位址140.113.1.1)与交换位址栏位的内容(暂时位址192.168.0.1)交换,使得目的位址栏位的内容为暂时位址(192.168.0.1),而交换位址栏位的内容为NAT的公有位址(140.113.1.1)。故能将此注册回应封包16传送至行动节点11,以完成注册。After receiving the registration packet 15, the home agent 12 unpacks its data content and learns that the mobile node 11 is currently at the temporary address (192.168.0.1). The home agent 12 replies with a registration response whose header source (source) and destination (destination) are respectively the address (120.105.1.1) of the home agent 12 and the public IP address (140.113.1.1) of the NAT device 14 Packet 16, the registration response packet 16 also includes an exchange address field, and fills the temporary address (192.168.0.1) into the registration response packet according to the temporary address (192.163.0.1) of the mobile node 11 known by the registration 16 exchange address field, this registration response packet 16 is processed by the NAT device 14, wherein, the NAT device 14 detects that this registration response packet 16 has an exchange address field, and the content of the destination address field (the public address 140.113.1.1 of the NAT device 14) is exchanged with the content of the exchange address column (temporary address 192.168.0.1), so that the content of the destination address column is the temporary address (192.168.0.1), and the exchange The content of the address field is the public address of NAT (140.113.1.1). Therefore, the registration response packet 16 can be sent to the mobile node 11 to complete the registration.

在注册完成后,如移动至外地的私有网路102的行动节点11欲传送资料封包给本地代理器12,如图4所示,资料封包17的来源位址栏位为暂时位址(192.168.0.1)、目的位址栏位为本地代理器12的位址(120.105.1.1),资料封包17并不包含交换位址栏位,而NAT装置14依一般的NAT转换,将资料封包17的来源位址(暂时位址(192.163.0.1))转换为NAT装置14的公有IP位址(140.113.1.1),而将资料封包17递送至该本地代理器12。After the registration is completed, if the mobile node 11 of the private network 102 moving to the other place intends to send a data packet to the home agent 12, as shown in Figure 4, the source address field of the data packet 17 is a temporary address (192.168. 0.1), the destination address field is the address (120.105.1.1) of the local agent 12, the data packet 17 does not include the exchange address field, and the NAT device 14 converts the source of the data packet 17 according to the general NAT conversion The address (temporary address (192.163.0.1)) is converted to the public IP address (140.113.1.1) of the NAT device 14, and the data packet 17 is delivered to the home agent 12.

如该本地代理器12欲传送资料封包给该移动至外地的私有网路102的行动节点11,如图4所示,资料封包17的来源位址栏位为本地代理器12的位址(120.105.1.1),目的位址栏位为NAT装置14的公有IP位址(140.113.1.1),资料封包将加上交换位址栏位,且依据先前注册的资讯,得知行动节点11的暂时位址(192.163.0.1),而将此暂时位址(192.168.0.1)填入资料封包17的交换位址栏位。If this home agent 12 intends to send a data packet to the mobile node 11 of the private network 102 that moves to the outside, as shown in Figure 4, the source address field of the data packet 17 is the address of the home agent 12 (120.105 .1.1), the destination address field is the public IP address (140.113.1.1) of the NAT device 14, the data packet will add the exchange address field, and according to the previously registered information, the temporary address of the mobile node 11 is known address (192.163.0.1), and fill this temporary address (192.168.0.1) into the exchange address field of the data packet 17.

此资料封包先递送至该NAT装置14,NAT装置14侦测此资料封包17带有交换位址栏位,而将目的位址栏位的内容(NAT的公有位址140.113.1.1)与交换位址栏位的内容(暂时位址192.168.0.1)交换,使得目的位址栏位的内容为暂时位址(192.168.0.1),而交换IP位址栏位的内容为NAT装置14的公有位址140.113.1.1。而可将此资料封包17正确地传送至行动节点11。This data packet is delivered to the NAT device 14 first, and the NAT device 14 detects that this data packet 17 has an exchange address field, and the content of the destination address field (the public address 140.113.1.1 of NAT) and the exchange bit The content of the address field (temporary address 192.168.0.1) is exchanged, so that the content of the destination address field is the temporary address (192.168.0.1), and the content of the exchanged IP address field is the public address of the NAT device 14 140.113.1.1. And the data packet 17 can be sent to the mobile node 11 correctly.

由以上说明可知,本发明由利用既有封包标头的一选用栏位指定为一交换位址选用栏位,而可提供一位址交换功能来保存移动至外地的私有网路的行动节点的暂时位址,其与现有的NAT转换相容,且无需使用任何表格及接口号码,即可实现支持行动IP运行于私有网路的目的。As can be seen from the above description, the present invention is designated as an exchange address selection field by utilizing an optional field of the existing packet header, and an address exchange function can be provided to preserve the mobile node's address of the private network that moves to the field. Temporary address, which is compatible with the existing NAT conversion, and does not need to use any tables and interface numbers, it can realize the purpose of supporting mobile IP to run on the private network.

上述实施例仅为了方便说明而举例而已,本发明所主张的权利范围自应以申请专利范围所述为准,而非仅限于上述实施例。The above-mentioned embodiments are only examples for convenience of description, and the scope of rights claimed by the present invention should be based on the scope of the patent application, rather than limited to the above-mentioned embodiments.

Claims (20)

1. one kind in order to support action IP to run on the method at privately owned networking, wherein, an action node moves to the privately owned networking in an other places by its local networking, and this action node is obtained a temporary transient address by this privately owned networking, this privately owned networking has a NAT device, and this method comprises:
One registration package transfer step, this action node sends a registration package to the Local proxy server at its local networking, the address that the header source address field of this registration package and purpose address field are respectively this temporary transient address and this Local proxy server, and this registration package has an exchange address field;
One the one NAT switch process, this NAT device will be registered the content of source address field of package and the content exchange of this exchange address field, again according to the rule of NAT conversion, the content of source address field is converted to the publicly-owned address of this NAT device, was sent to this Local proxy server should register package;
One registration response packet transfer step, this Local proxy server is after receiving this registration package, reply header source address field and purpose address field content and be respectively the registration response packet of the publicly-owned address of the address of this Local proxy server and this NAT device, this registration response packet has an exchange address field, and its content comprises this temporary transient address; And
One the 2nd NAT switch process, this NAT device will be registered the content and the content exchange that exchanges the address field of the purpose address field of response packet, so that this registration response packet is sent to action node.
2. the method for claim 1, it is characterized in that, in this registration package transfer step, the content of registration package comprises the temporary transient address at the present place of this action node, in this registration response packet transfer step, this Local proxy server is untied the content of this registration package and is learnt that this action node is in this temporary transient address at present.
3. the method for claim 1 is characterized in that, in this registration package transfer step, the content of this exchange address field is made as 0.0.0.0.
4. the method for claim 1, it is characterized in that, in this registration package transfer step, the exchange address field of this registration package is defined in selecting for use in the field of its header, in this registration response packet transfer step, the exchange address field of this registration response packet is defined in selecting for use in the field of its header.
5. method as claimed in claim 4 is characterized in that, the exchange address field of this registration package and registration response packet is set by setting the selecting the type field in the field for use of its header.
6. the method for claim 1 is characterized in that, also comprises after above-mentioned steps:
One first Datagram transfer step transmits one first Datagram by this action node and gives this Local proxy server, and the content of the source address field of this first Datagram is the address of the content of this temporary transient address, purpose address field for this Local proxy server; And
One the 3rd NAT switch process, this NAT device is converted to the publicly-owned address of this NAT device with the content of the source address field of this first Datagram, and this first Datagram is delivered to this Local proxy server.
7. method as claimed in claim 6 is characterized in that, also comprises after registration is finished:
One second Datagram transfer step, transmit second Datagram by this Local proxy server and give this action node, the content of the source address field of this second Datagram is the address of this Local proxy server, the content of purpose address field is the publicly-owned address of this NAT device, this second Datagram has an exchange address field, and its content comprises this temporary transient address; And
One the 4th NAT switch process, this NAT device is with the content of the purpose address field of this second Datagram and the content exchange of this exchange address field, so that this second Datagram is sent to this action node.
8. method as claimed in claim 7 is characterized in that, in this second Datagram transfer step, learns the temporary transient address of this action node according to previous registration, will this temporary transient address to insert the exchange address field of this second Datagram.
9. method as claimed in claim 7 is characterized in that, in this second Datagram transfer step, the exchange address field of this second Datagram is defined in selecting for use in the field of its header.
10. method as claimed in claim 9 is characterized in that, the exchange address field of this second Datagram is set by setting the selecting the type field in the field for use of its header.
11. a system that runs on privately owned networking in order to support action IP comprises:
One Local proxy server is arranged at a local networking;
At least one action node, it can be moved to the privately owned networking in an other places by this networking, this locality, and obtain a temporary transient address by this privately owned networking, this action node sends a registration package to this Local proxy server, the source address field of the header of this registration package and purpose address field are respectively the address of this temporary transient address and this Local proxy server, and this registration package has an exchange address field; And
One NAT device, be arranged at this privately owned networking, it will register the content of source address field of package and the content exchange of this exchange address field, again according to the rule of NAT conversion, the content of source address field is converted to the publicly-owned address of this NAT device, was sent to this Local proxy server should register package; Or, be sent to this action node should register response packet with the content of the purpose address field of a registration response packet and the content exchange of exchange address field;
Wherein, this Local proxy server is after receiving this registration package, reply this registration response packet, the source address field of the header of this registration response packet and the content of purpose address field are respectively the address of this Local proxy server and the publicly-owned address of this NAT device, this registration response packet has exchange address field, and its content comprises this temporary transient address.
12. system as claimed in claim 11, it is characterized in that, the content of the registration package that this action node is sent comprises the temporary transient address at the present place of this action node, and this Local proxy server is annotated this and conferred titles of nobility on the content of bag and learn that this action node is in this temporary transient address at present by untiing this.
13. system as claimed in claim 11 is characterized in that, the content of this exchange address field of the registration package that this action node is sent is made as 0.0.0.0.
14. system as claimed in claim 11 is characterized in that, the exchange address field of this registration package and registration response packet is defined in selecting for use in the field of its header.
15. system as claimed in claim 13 is characterized in that, the exchange address field of this registration package and registration response packet is defined by setting the selecting the type field in the field for use of its header.
16. system as claimed in claim 11, it is characterized in that, after registration was finished, this action node transmitted one first Datagram and gives this Local proxy server, and the source address field content of this first Datagram is that this temporary transient address, purpose address field content are the address of this Local proxy server; This NAT device is converted to the publicly-owned address of this NAT device with the source address field content of this first Datagram, and this first Datagram is delivered to this Local proxy server.
17. system as claimed in claim 11, it is characterized in that, after registration is finished, this Local proxy server transmits one second Datagram and gives this action node, the source address field content of this second Datagram is the address of this Local proxy server, purpose address field content is the publicly-owned address of this NAT device, and this second Datagram has an exchange address field, and its content comprises this temporary transient address; This NAT device is with purpose address field content and this exchange address field content exchange of this second Datagram, so that this second Datagram is sent to this action node.
18. system as claimed in claim 17 is characterized in that, this Local proxy server is learnt the temporary transient address of this action node according to previous registration, will this temporary transient address to insert the exchange address field of this second Datagram.
19. system as claimed in claim 17 is characterized in that, the exchange address field of this second Datagram is to be defined in its header to select for use in the field.
20. system as claimed in claim 19 is characterized in that, the exchange address field of this second Datagram is selected the type field in the field for use by its header of setting and is defined.
CNB2004100350800A 2004-04-23 2004-04-23 Network address translation system and method for supporting mobile IP operation in private network Expired - Fee Related CN100536425C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100350800A CN100536425C (en) 2004-04-23 2004-04-23 Network address translation system and method for supporting mobile IP operation in private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100350800A CN100536425C (en) 2004-04-23 2004-04-23 Network address translation system and method for supporting mobile IP operation in private network

Publications (2)

Publication Number Publication Date
CN1691638A CN1691638A (en) 2005-11-02
CN100536425C true CN100536425C (en) 2009-09-02

Family

ID=35346773

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100350800A Expired - Fee Related CN100536425C (en) 2004-04-23 2004-04-23 Network address translation system and method for supporting mobile IP operation in private network

Country Status (1)

Country Link
CN (1) CN100536425C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193130B (en) * 2006-11-21 2010-05-12 中兴通讯股份有限公司 Method for penetrating NAT in mobile IPv6

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1386339A (en) * 2000-08-05 2002-12-18 三星电子株式会社 Packet transmission method for mobile internet
US6636498B1 (en) * 1999-01-08 2003-10-21 Cisco Technology, Inc. Mobile IP mobile router
CN1468474A (en) * 2001-12-28 2004-01-14 ƽ Methods and apparatus for implementing nat traversal in mobile ip

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636498B1 (en) * 1999-01-08 2003-10-21 Cisco Technology, Inc. Mobile IP mobile router
CN1386339A (en) * 2000-08-05 2002-12-18 三星电子株式会社 Packet transmission method for mobile internet
CN1468474A (en) * 2001-12-28 2004-01-14 ƽ Methods and apparatus for implementing nat traversal in mobile ip

Also Published As

Publication number Publication date
CN1691638A (en) 2005-11-02

Similar Documents

Publication Publication Date Title
US6862274B1 (en) Method and system capable of providing mobility support for IPv4/IPv6 inter-networking
US7657642B2 (en) IP network node and middleware for establishing connectivity to both the IPv4 and IPv6 networks
CN100469038C (en) ISATAP router and method for tunneling packets
CN100433674C (en) Internetwork protocol and method for setting main machine address and selecting source address
JP3556885B2 (en) Method for use at the packet endpoint
US7486670B2 (en) Method for packet communication and computer program stored on computer readable medium
AU2004244296B2 (en) Arrangement for traversing an IPv4 network by IPv6 mobile nodes
JP4505168B2 (en) Packet network interfacing
US7639686B2 (en) Access network clusterhead for providing local mobility management of a roaming IPv4 node
US20110082941A1 (en) Method of providing direct communication in internet protocol network
JP2008079304A (en) Automatic tunneling method and system using NAT
JP4118909B2 (en) IPv4-IPv6 conversion system and method using dual stack conversion mechanism
US8194683B2 (en) Teredo connectivity between clients behind symmetric NATs
US20120177049A1 (en) Method and system for implementing network intercommunication
TWI239173B (en) NAT system supporting mobile IP in private networks and its method
CN1875573B (en) Method, node and server for providing tunnel service capable of data communication between different types of networks
JP2006087039A (en) Mobile IP communication terminal apparatus and mobile IP communication method
JP2006050626A (en) Network address conversion method and apparatus
US20060193320A1 (en) Data transmission method having improved network address translation method in home gateway and a system thereof
CN100413289C (en) The Method of Realizing IPv6 High Performance Interconnection Based on P2P on IPv4
CN100459566C (en) Method for implementing tunnel relay in network for carrying out conversion of network address
CN102523312B (en) Method for optimal tunnel selection in 4over6 scene
CN100505686C (en) Method for realizing communication between mobile IPv6 node and IPv4 communication partner
US7693091B2 (en) Teredo connectivity between clients behind symmetric NATs
CN100479457C (en) Implementation method for transferring data in virtual private network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090902