CN100536425C - NAT system and method for supporting mobile IP on private network - Google Patents
NAT system and method for supporting mobile IP on private network Download PDFInfo
- 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
- field
- exchange
- 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
Links
Images
Abstract
This invention concerns an address-conversion system and its method to support dynamic IP run on private router; wherein, a group dynamic nodes move from their router to out-of-town private router, the private router will obtain temporary address; the dynamic nodes send register packet to their router proxy, which has exchange address; NAT device of private router exchanges the source address and exchange address from register packet, changes source address into public address of NAT device and sends register packet to local agent; after receiving register packet, local agent replies a register reply packet which has exchange address contained temporary address; NAT device exchanges source address with exchange address in register reply packet and sends register reply packet to active nodes.
Description
Technical field
The invention relates to networking address conversion technology field, refer to a kind of especially in order to support action IP (Mobile IP) to run on the networking address converting system and the method thereof at privately owned networking.
Background technology
In Internet (Internet), and the networking agreement (Internet Protocol, IP) address is used to represent a machine, and the transmission of package also utilizes the IP address to represent the source and the purpose of its transmission in the networking.At present widely used in Internet is version four (IPv4) in the IP technology, and its characteristics are for using the address of 32 bit length.Yet because the quick growth of machine quantity on the networking, and be subject to address length, so available publicly-owned IP (public IP) address has not enough gradually trend.
In order to solve the problem of this address deficiency, networking address conversion is just arranged, and (it can slow down the speed of IP address consumption and can allow the zone of deficient IP address continue operation for Network AddressTranslation, NAT) Zhuan Zhi introducing.Yet introducing with work NAT device, the problem of IP devitrification (Transparency) is also following, for example, the NAT device will cause taking action IP (Mobile IP) agreement can't normal operation, operate on the schematic diagram that uses NAT device 14 privately owned networkings 102 with reference to shown in Figure 1 with Mobile IP agreement, when action node (MN) 11 moves to the privately owned networking 102 in an other places by its local networking 101, this action node 11 will be by Dynamic Host Configuration Protocol (the Dynamic Host Configuration Protocol at this privately owned networking 102, DHCP) server 13 is obtained a temporary transient address (Care of Address, CoA) (192.168.0.1), reach an agreement on according to Mobile IP, this action node 11 that moves to the other places is after obtaining temporary transient address, can be to Local proxy server (HA) 12 registrations at its local networking 101, as shown in the figure, the address (120.105.1.1) that the header source (source) of the registration package 15 that it sent and purpose (destination) are respectively this temporary transient address (192.168.0.1) and this Local proxy server 12, and the content of registration package 15 promptly comprises the temporary transient address (192.163.0.1) at relevant this action node 11 present places.This registration package 15 is converted to the publicly-owned IP address (140.113.1.1) of NAT device 14 with the source of header by this temporary transient address (192.168.0.1) via the processing of this NAT device 14, will register package 15 then and be delivered to this Local proxy server 12.Local proxy server 12 is after receiving this registration package 15, untie its content and learn that this action node 11 is in this temporary transient address (192.168.0.1) at present, and reply the registration response packet 16 of the publicly-owned IP address (140.113.1.1) of the source (source) of a header and address (120.105.1.1) that purpose (destination) is respectively this Local proxy server 12 and this NAT device 14, transfer purpose to this temporary transient address (192.168.0.1) by publicly-owned IP address (140.113.1.1) via this NAT device 14, and can correctly registration response packet 16 be delivered to this action node 11, finish accreditation process.Afterwards, Local proxy server 12 transmits Datagram 17 to this action node 11 according to the temporary transient address (192.168.0.1) of this action node 11 known to the registration as the purpose address, it is right because this purpose address (temporary transient address 192.168.0.1) is a privately owned address, and can't correctly be delivered to privately owned networking 102, so cause Mobile IP agreement to move by local networking 101.
Cause the problem that Mobile IP agreement can't normal operation for solving above-mentioned use NAT device 14, a kind of direct mode is after Local proxy server 12 is being received and untied registration package 15, judge further whether the contained action node of its content 11 place address (temporary transient address) are identical with the source address of registration package, if it is different, represent that this registration package 15 is through the NAT conversion, therefore, respond and after finishing registration in registration, the source address that Local proxy server 12 is conferred titles of nobility on bag 15 according to original annotation transmits package to this action node 11 as the purpose address, but not the temporary transient address of this action node 11 known to the content of the registration package of serving as reasons, so Datagram 17 correctly can be delivered to this NAT device 14, further to deliver to this action node 11 through the address conversion.Yet, the prerequisite of aforementioned solution is that NAT device 14 needs the temporary transient address of different running gear 11 is converted to different publicly-owned address, so NAT device 14 just can be distinguished out the running gear 11 that Datagram will be sent to, and this will cause the result who fails to save any publicly-owned address.
Summary of the invention
It is a kind of in order to support action IP to run on the networking address converting system and the method thereof at privately owned networking that main purpose of the present invention is to provide, it need not to use any form and interface number, can make action IP run on privately owned networking, and can be compatible with existing networking address switch technology.
According to a characteristic of the present invention, propose a kind of in order to support action IP to run on the method at privately owned networking, wherein, one action node is moved 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, in this method, this action node sends a registration package to the Local proxy server at its local networking, the header of this registration package source address field and purpose address field are respectively the address of this temporary transient address and this Local proxy server, and this registration package has one and exchanges address and select field for use; This NAT device will be registered the content of source address field of package and the content handing-over 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; This Local proxy server is after receiving this registration package, reply the registration response packet of the publicly-owned address of the source address field of a header and address that purpose address field content is respectively this Local proxy server and this NAT device, this registration response packet has an exchange address and selects field for use, and its content comprises this temporary transient address; 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.
According to another characteristic of the present invention, propose a kind ofly in order to support action IP to run on the system at privately owned networking, it comprises: a Local proxy server, at least one action node, reach a NAT device.This Local proxy server is arranged in the local networking.This action node 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 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, this registration package have an exchange address and select field for use.This NAT device is 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; This Local proxy server is after receiving this registration package, reply this registration response packet, the header source address field 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 the exchange address and selects field for use, and its content comprises this temporary transient address.
Description of drawings
Fig. 1 is the known schematic diagram that operates on the privately owned networking of using the NAT device with Mobile IP agreement.
Fig. 2 shows the content of the packet header of a standard.
Fig. 3 runs on the Organization Chart of the NAT system at privately owned networking, the process of its explanation registration for the present invention in order to support action IP.
In order to support action IP to run on the Organization Chart of the NAT system at privately owned networking, its explanation transmits the process of Datagram to Fig. 4 for of the present invention.
Embodiment
For more understanding technology contents of the present invention, be described as follows especially exemplified by preferred embodiment.
Of the present invention is to select the selectivity field redetermination one exchange address of existing IP header (Header) for use field (Swap addtess option field) in order to networking address converting system and the method thereof of supporting action IP to run on privately owned networking, and an address function of exchange is provided, realize according to this supporting MobileIP to run on the purpose at privately owned networking.
Fig. 2 shows the content of the packet header of a standard, wherein, after source address (Source address) field 21 and purpose address (Destinatioil address) field 22, can continue and select (Option) field 23 for use, in RFC 791, define several and selected the purposes of field 23 for use, for example, type (Type) field 232 is 0 * 07 o'clock, select for use field 23 to be used for writing down the router of package process, type field 232 is 0 * 44 o'clock, select for use field 23 to be used for writing time, type field 232 is 0 * 83 or 0 * 89 o'clock, select for use field 23 to be used for the router of specified packet process, the present invention selects for use field 23 to be defined as an exchange address with one to select field for use, type field 232 in field 23 is set to exchange address of the present invention and selects field for use (for example Type=0 * 2a), then the exchange address field 231 in the field 23 promptly writes down the employed exchange address of NAT system of the present invention.And the initial address of this exchange address field 231 is 0.0.0.0, uses for system and method for the present invention.
Fig. 3 is of the present invention in order to support action IP to run on the NAT system at privately owned networking and the system architecture diagram of method thereof for explanation, when action node (MN) 11 moves to the privately owned networking 102 in an other places by its local networking 101, this action node 11 will be obtained a temporary transient address (CoA) (192.168.0.1) by the Dynamic Host Configuration Protocol server 13 at this privately owned networking 20, reach an agreement on according to Mobile IP, this action node 11 that moves to the other places is after obtaining temporary transient address, can be to Local proxy server (HA) 12 registrations at its local networking 10, as shown in the figure, the header source (source) and the purpose (destination) of the registration package 15 that it sent are respectively this temporary transient address (192.168.0.1) and this Local proxy server 12 bit fields (120.105.1.1), and the content of registration package 15 promptly comprises the temporary transient address (192.168.0.1) at relevant this action node 11 present places, and registration package 15 comprises exchange address field, and its exchange address value is made as 0.0.0.0.0.This registration package 15 is via the processing of this NAT device 14, wherein, this registration package 15 of NAT device 14 detectings has exchange address field, the content (temporary transient address (192.163.0.1)) of address field of then will originating and content (address 0.0.0.0) exchange of exchange address field, make that the content of exchange address field is temporary transient address (192.168.0.1), and the content of source address field is address 0.0.0.0.According to the rule of NAT conversion, the address of will originating (address 0.0.0.0) is converted to the publicly-owned IP address (140.113.1.1) of this NAT device 14 to this NAT device 14 again.And this is registered the Local proxy server 12 that package 15 is sent to local networking 101.
After registration is finished, as action node 11 tendencies to develop that move to the privately owned networking 102 in other places send Datagram to give Local proxy server 12, as shown in Figure 4, the source address field of Datagram 17 is temporary transient address (192.168.0.1), purpose address field is the address (120.105.1.1) of Local proxy server 12, Datagram 17 does not comprise exchange address field, and NAT device 14 is according to general NAT conversion, the source address (temporary transient address (192.163.0.1)) of Datagram 17 is converted to the publicly-owned IP address (140.113.1.1) of NAT device 14, and Datagram 17 is delivered to this Local proxy server 12.
Send Datagram to move to the action node 11 at the privately owned networking 102 in other places as these Local proxy server 12 tendencies to develop to this, as shown in Figure 4, the source address field of Datagram 17 is the address (120.105.1.1) of Local proxy server 12, purpose address field is the publicly-owned IP address (140.113.1.1) of NAT device 14, Datagram will add exchange address field, and information according to previous registration, learn the temporary transient address (192.163.0.1) of action node 11, and this temporary transient address (192.168.0.1) is inserted the exchange address field of Datagram 17.
This Datagram is delivered to this NAT device 14 earlier, NAT device 14 these Datagrams 17 of detecting have exchange address field, and with the content (the publicly-owned address 140.113.1.1 of NAT) of purpose address field and content (the temporary transient address 192.168.0.1) exchange of exchange address field, make that the content of purpose address field is temporary transient address (192.168.0.1), and the content of exchange IP address field is the publicly-owned address 140.113.1.1 of NAT device 14.And this Datagram 17 correctly can be sent to action node 11.
By above explanation as can be known, the present invention by utilize existing packet header one select for use field be appointed as one the exchange address select field for use, and can provide an address function of exchange to preserve to move to the temporary transient address of action node at the privately owned networking in other places, it is compatible with the prior NAT conversion, and need not to use any form and interface number, the IP that can realize supporting taking action runs on the purpose at privately owned networking.
The foregoing description is only given an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100350800A CN100536425C (en) | 2004-04-23 | 2004-04-23 | NAT system and method for supporting mobile IP on private network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100350800A CN100536425C (en) | 2004-04-23 | 2004-04-23 | NAT system and method for supporting mobile IP on 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 | NAT system and method for supporting mobile IP on private network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100536425C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193130B (en) * | 2006-11-21 | 2010-05-12 | 中兴通讯股份有限公司 | Method for penetrating NAT in mobile IPv6 |
-
2004
- 2004-04-23 CN CNB2004100350800A patent/CN100536425C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1691638A (en) | 2005-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1139632B1 (en) | Method for packet communication with mobile node | |
US7657642B2 (en) | IP network node and middleware for establishing connectivity to both the IPv4 and IPv6 networks | |
JP4118909B2 (en) | IPv4-IPv6 conversion system and method using dual stack conversion mechanism | |
US7242689B2 (en) | Mobile IP communication terminal, mobile IP communication method, and computer product | |
US20110082941A1 (en) | Method of providing direct communication in internet protocol network | |
CN100505686C (en) | Method for implementing communication of mobile IPv6 node and IPv4 communication buddy | |
CN100413289C (en) | Method for realizing IPv6 high performance interconnection based on P2P on IPv4 | |
CN102859973A (en) | Method, apparatus and system for address resolution | |
US7764691B2 (en) | Allowing IPv4 clients to communicate using teredo addresses when both clients are behind a NAT | |
CN1929497B (en) | Method and system for obtaining moving nodes local proxy information | |
JP2003008585A (en) | Communication controller and communication control method, and communication apparatus and communication method | |
CN101150566B (en) | Device and method for realizing network address translation protocol under isomerous network system | |
CN109076082A (en) | Anonymous Identity in network and agreement towards identity | |
JP2003229856A (en) | Communication equipment and communication control method | |
CN102394947B (en) | Translation method, device and system and ALG device for IPv4 and IPv6 addresses | |
US8194683B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
TWI239173B (en) | NAT system supporting mobile IP in private networks and its method | |
CN101227408A (en) | Method for IPv4 internal private network to visit IPv6 network and router thereof | |
CN103227787A (en) | Automatic 4over6 tunnel establishment method based on ARP proxy | |
CN100576847C (en) | The method of set-up direct link tunnel for user terminal and communication means thereof and server | |
Chauhan et al. | A survey on next generation Internet Protocol: IPv6 | |
US7715386B2 (en) | Reducing network traffic to teredo server | |
US20150032898A1 (en) | Method for establishing a virtual community network connection and a system for implementing said method | |
Wang et al. | Internetworking between ZigBee/802.15. 4 and IPv6/802.3 network | |
CN1870633B (en) | Method for supporting mobile IPv4 by double-stack moible IPv6 node |
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 |
Granted publication date: 20090902 |
|
CF01 | Termination of patent right due to non-payment of annual fee |