CN1863171A - Method for implementing signalling across network address translation apparatus in mobile IP network - Google Patents
Method for implementing signalling across network address translation apparatus in mobile IP network Download PDFInfo
- Publication number
- CN1863171A CN1863171A CNA2005101054813A CN200510105481A CN1863171A CN 1863171 A CN1863171 A CN 1863171A CN A2005101054813 A CNA2005101054813 A CN A2005101054813A CN 200510105481 A CN200510105481 A CN 200510105481A CN 1863171 A CN1863171 A CN 1863171A
- Authority
- CN
- China
- Prior art keywords
- network
- mobile
- tunnel
- udp
- network address
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2514—Translation of Internet protocol [IP] addresses between local and global IP addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/256—NAT traversal
- H04L61/2564—NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/04—Network layer protocols, e.g. mobile IP [Internet Protocol]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for making signaling pass through network address conversion device in mobile IP network, mainly comprising: reinforcing UDP (user data protocol) tunnel of data between local and remote agents/mobile nodes in mobile IP network; using the reinforced UDP tunnel to make the signaling pass through the network address conversion device to be transmitted between local and remote agents/ mobile nodes. And it can solve the problem that the signaling between local and remote agents/mobile nodes pass through network address conversion device/network address port conversion device.
Description
Technical field
The present invention relates to field of network communication, relate in particular to the method that realizes the signaling passing through network address switching device in a kind of mobile IP network.
Background technology
Mobile IP is a kind of solution that locomotive function is provided to the user on Internet.Mobile IP can surmount the restriction of geographic range, has characteristics such as extensibility, reliability and fail safe.Mobile IP has expanded moving and roaming capacity of user, can make node still keep ongoing communication in the process of switching.
In mobile IP, MN (mobile node) can be connected on any link with permanent IP address.Mobile IP is providing the large-scale ambulant while to terminal, can also guarantee the IP address allocability and the accessibility of terminal.Mobile IP system mainly comprises MN, FA (Foreign Agent), HA (home agent) and CN (communication node).
In mobile IP, the transmittance process of the packet between MN and the CN is described according to RFC3344 and is realized, its schematic diagram as shown in Figure 1.Specifically describe as follows:
When MN moved to field network, the packet that CN sends to the MN on the field network will be routed to earlier on the HA of MN, then, was delivered to through the tunnel on the FA of MN, and is last, passes to MN by FA.MN sends to the packet of CN with being routed to earlier on the FA of MN, is directly passed to CN by this FA.
If for the safety that guarantees network or support privately owned address, usually place NAT/NAPT (network address translation/network address port conversion) equipment in the exit position of FA/MN, as shown in Figure 2, NAT/NAPT equipment can carry out the conversion of address, port.In this case, the transmittance process of above-mentioned packet can't normally move.
In situation shown in Figure 2, FA and MN are positioned at the NAT/NAPT equipment, are tunnel style between HA and FA, the MN (support co-located care-of address), and this tunnel style comprises IP in IP mode, GRE mode and minimum packaged type.Because these several tunnels generally can't passing through NAT/NAPT equipment.So CN sends to the packet of MN, can't normally be routed to MN.
At situation shown in Figure 2, RFC3519 has formulated the method for a kind of passing through NAT/NAPT equipment, and this method adopts UDP (User Datagram Protoco (UDP)) to realize passing through.Concrete processing procedure is:
When mobile node after succeeding in registration on the FA, by with HA timed sending KeepAlive (keep-alive) message, on NAT/NAPT equipment, set up the mapping table of an IP address, port.HA mails to the packet of MN by after the UDP tunnel encapsulation, sends to the end points (FA/MN) in tunnel by this port.
The shortcoming of the method for above-mentioned passing through NAT/NAPT equipment is:
This method has just solved the crossing problem of HA to the NAT/NAPT equipment of the packet of MN/FA.Can't solve the crossing problem of separating signaling protocols such as register command that comprises to MN/FA of initiating to by HA.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide the method that realizes the signaling passing through network address switching device in a kind of mobile IP network, thereby can solve the problem of the signaling passing through NAT/NAPT equipment between HA and the FA/MN.
The objective of the invention is to be achieved through the following technical solutions:
Realize the method for signaling passing through network address switching device in a kind of mobile IP network, comprising:
A, the User Datagram Protoco (UDP) UDP tunnel of home agent in the mobile IP network and the data between Foreign Agent/mobile node is strengthened;
B, utilize the UDP tunnel after the described enhancing, the signaling passing through network address switching device is transmitted between home agent and Foreign Agent/mobile node.
Described steps A specifically comprises:
A sign Foreign Agent/mobile node is set in the type the type field in UDP tunneled requests message whether supports the sign of the signalling path in UDP tunnel, the sign whether a sign home agent supports the signalling path in UDP tunnel is set in the type field in the UDP tunnel response message.
Described steps A specifically comprises:
When the value sign Foreign Agent/mobile node of the sign that is provided with in the type field in described UDP tunneled requests message is not supported the signalling path in UDP tunnel, ignore the value of the sign that is provided with in the type field in described UDP tunnel response message.
Described steps A specifically comprises:
The data type of a sign signaling protocol passage is set in the next head NextHead field in the channel data message header of the mobile IP system in described UDP tunnel, the field of the particular type of a sign signaling protocol is set in this channel data message header.
Described step B specifically comprises:
B1, according to the packaged type of the data in former UDP tunnel, in the tunnel packet in the UDP tunnel of signaling protocol data encapsulation after described enhancing that needs are transmitted;
B2, with described tunnel packet at home agent be hidden between the Foreign Agent/mobile node of network address translation apparatus/network address port conversion equipment back and transmit.
Described step B2 also comprises:
After having placed network address translation apparatus/network address port conversion equipment in the exit position of home agent, IP address of configuration on this equipment, and this IP address is mapped on the privately owned address of home agent statically, Foreign Agent/mobile node communicates by this IP address and home agent.
Described step B2 specifically comprises:
Foreign Agent/mobile node is determined the signaling protocol that is that transmits in the tunnel packet according to the content of Next Head field described in the tunnel packet that receives, determine the particular type of signaling protocol according to the value of the field of the particular type of described sign signaling protocol, from this tunnel packet, take out signaling protocol, and pass to corresponding upper-layer protocol.
Described IP network comprises IPv4 network and IPv6 network.
As seen from the above technical solution provided by the invention, the present invention is by expanding UDP tunneled requests, response message and MIP tunneling data tunneling in the login request message in the mobile IP network, thereby can solve the problem of the signaling passing through NAT/NAPT equipment between HA and the FA/MN by the signaling between transmission HA of the UDP tunnel after the expansion and the FA/MN.
Description of drawings
Fig. 1 is the transmittance process schematic diagram of the packet between MN and the CN in mobile IP;
Fig. 2 is a schematic diagram of placing NAT/NAPT equipment in the exit position of HA and FA, MN;
Fig. 3 is the concrete process chart of the method for the invention;
Fig. 4 is for being encapsulated into signaling data in the schematic diagram in the UDP tunnel;
Fig. 5 is the form schematic diagram that has increased the message of the MIP path message head after being provided with of the present invention;
Fig. 6 is the form schematic diagram that has increased the UDP tunneled requests message after the U field;
Fig. 7 is the form schematic diagram that has increased the UDP tunnel corresponding message after the U field;
Fig. 8 has placed the schematic diagram of NAT/NAPT equipment in the exit position of HA, FA/MN.
Embodiment
The invention provides the method that realizes the signaling passing through network address switching device in a kind of mobile IP network, core of the present invention is: the sign that sign FA/MN, HA support the signalling path in UDP tunnel is set in UDP tunneled requests, the response message in the login request message in mobile IP network, the field of sign signaling protocol type is set in MIP path message head, and the data type of sign signaling protocol is set in Next Head (next head) field.
Describe the method for the invention in detail below in conjunction with accompanying drawing, the concrete handling process of this method comprises the steps: as shown in Figure 3
Step 3-1, the signaling protocol data encapsulation in the UDP tunnel.
The present invention at first will need signaling protocol data encapsulation that passing through NAT/NAPT equipment transmits between HA and FA/MN to being used in the tunnel packet in UDP tunnel of Data transmission bag between original HA and the FA/MN.Can be on specific implementation according to the packaged type of the data in former UDP tunnel, concrete description is referring to RFC3519.Above-mentioned the schematic diagram of signaling protocol data encapsulation in the UDP tunnel as shown in Figure 4.
Step 3-2, the corresponding setting of increase in the UDP tunnel at signaling protocol.
Realizing with the signaling protocol data encapsulation that behind the UDP tunnel the present invention increases corresponding setting at signaling protocol at first at the situation of placing NAT/NAPT equipment in the exit position of FA/MN in the UDP tunnel.Concrete processing procedure is as follows:
The data type of sign signaling protocol is set in the Next Head field in the MIP path message head in the packet header, tunnel in former UDP tunnel.The original data type of Next Head field is: 4, represent the IP head; 47, represent GRE (general routing encapsulation) head; 55, represent minimum encapsulation header.The present invention increases a data type in this field: concrete numerical value is to be determined, and this numerical value represents that data carried by data is the signaling protocol data in the tunnel.
The present invention also increases a D field in above-mentioned MIP path message head, be used for identifying the particular type of signaling protocol.On specific implementation, can represent that signaling protocol type in the passage is for separating log-in protocol with 1.The specific descriptions of this agreement are seen RFC3543.
Increased the MIP path message head after above-mentioned the setting message form as shown in Figure 5.
Increase accordingly setting in the UDP tunneled requests of the present invention in also need the register requirement in mobile IP network, the response message at signaling protocol.Concrete processing procedure is as follows:
Increase field a: U in the type field in UDP tunneled requests message, be used for identifying the signalling path whether FA/MN supports the UDP tunnel.Representing that in the time can being 1 with the value when this field on the specific implementation FA/MN supports signalling path, is that 0 expression FA/MN does not support signalling path.
The form that has increased the UDP tunneled requests message after the U field as shown in Figure 6.
Increase field a: U in the type field in the UDP tunnel response message, be used for identifying the signalling path whether HA supports the UDP tunnel.Can be with being 1 to express support on specific implementation.0 expression is not supported.If the U field that increases in the UDP tunneled requests message is 0, but this field is 1, then ignores this field.
The form that has increased the UDP tunnel response message after the U field as shown in Figure 7.
Whether the outlet of step 3-3, HA is provided with NAT/NAPT equipment.
At the situation of placing NAT/NAPT equipment in the exit position of FA/MN, in the UDP tunnel, increased above-mentioned corresponding setting after, the present invention just judges in the exit position of HA whether place NAT/NAPT equipment, if, execution in step 3-4; Otherwise, execution in step 3-5.The situation of all having placed NAT/NAPT equipment in the exit position of HA, FA/MN as shown in Figure 8.
Step 3-4, in NAT/NAPT the IP address of privately owned address of a static mappings HA of configuration.
After NAT/NAPT equipment had been placed in the exit position of HA, the address of HA was generally privately owned address, in order to make MN/FA outside NAT/NAPT equipment, can visit HA normally, and the reverse address transition of the present invention's configuring static on NAT/NAPT equipment.Promptly in legal IP address of NAT/NAPT equipment disposition, this IP address is mapped to the privately owned address of HA statically.By this legal IP address, MN/FA just can communicate by letter normally with the HA after being hidden in NAT/NAPT equipment.
Step 3-5, utilize above-mentioned UDP tunnel, between HA and FA/MN, transmit signaling data.
Increased above-mentioned setting in UDP tunnel and NAT/NAPT equipment, and with after the signaling protocol data encapsulation is in the tunnel packet in UDP tunnel, just can utilize above-mentioned UDP tunnel, passing through NAT between HA and FA/MN/NAPT equipment transmits the signaling protocol data.Concrete processing procedure is described below:
When HA need be initiated to the signaling protocol of FA/MN, if misdirection information is not then built up in the UDP tunnel between FA/MN and the HA; Otherwise,, then directly packaged tunnel packet is mail to FA/MN by the UDP tunnel if do not place NAT/NAPT equipment in the exit position of HA; Otherwise, utilize the legal IP address of above-mentioned configuration, by the UDP tunnel packaged tunnel packet is mail to FA/MN.
After FA/MN receives the UDP tunnel packet that HA passes over, if the value of field Next Head is the value of protocol channel correspondence in the tunneling data message header of the MIP of this tunnel packet, illustrate that then this UDP tunnel packet is the signaling protocol bag, the value of the D field that is provided with in the tunneling data message header according to described MIP is determined concrete protocol type.Then, the tunnel head is removed, given upper-layer protocol inner IP bag and handle; If Next Head field contents is not to be designated protocol channel, illustrate that then this UDP tunnel packet is a packet, so, handle according to normal processing data packets mode.After FA/MN disposes,, return the response tunnel packet to HA by the UDP tunnel also according to above-mentioned packaged type.
The method of the invention is applicable to IPv4 network and IPv6 network.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.
Claims (8)
1, realize the method for signaling passing through network address switching device in a kind of mobile IP network, it is characterized in that, comprising:
A, the User Datagram Protoco (UDP) UDP tunnel of home agent in the mobile IP network and the data between Foreign Agent/mobile node is strengthened;
B, utilize the UDP tunnel after the described enhancing, the signaling passing through network address switching device is transmitted between home agent and Foreign Agent/mobile node.
2, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 1, it is characterized in that described steps A specifically comprises:
A sign Foreign Agent/mobile node is set in the type the type field in UDP tunneled requests message whether supports the sign of the signalling path in UDP tunnel, the sign whether a sign home agent supports the signalling path in UDP tunnel is set in the type field in the UDP tunnel response message.
3, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 2, it is characterized in that described steps A specifically comprises:
When the value sign Foreign Agent/mobile node of the sign that is provided with in the type field in described UDP tunneled requests message is not supported the signalling path in UDP tunnel, ignore the value of the sign that is provided with in the type field in described UDP tunnel response message.
4, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 2, it is characterized in that described steps A specifically comprises:
The data type of a sign signaling protocol passage is set in the next head NextHead field in the channel data message header of the mobile IP system in described UDP tunnel, the field of the particular type of a sign signaling protocol is set in this channel data message header.
5, according to the method that realizes the signaling passing through network address switching device in claim 1,2, the 3 or 4 described mobile IP networks, it is characterized in that described step B specifically comprises:
B1, according to the packaged type of the data in former UDP tunnel, in the tunnel packet in the UDP tunnel of signaling protocol data encapsulation after described enhancing that needs are transmitted;
B2, with described tunnel packet at home agent be hidden between the Foreign Agent/mobile node of network address translation apparatus/network address port conversion equipment back and transmit.
6, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 5, it is characterized in that described step B2 also comprises:
After having placed network address translation apparatus/network address port conversion equipment in the exit position of home agent, IP address of configuration on this equipment, and this IP address is mapped on the privately owned address of home agent statically, Foreign Agent/mobile node communicates by this IP address and home agent.
7, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 6, it is characterized in that described step B2 specifically comprises:
Foreign Agent/mobile node is determined the signaling protocol that is that transmits in the tunnel packet according to the content of Next Head field described in the tunnel packet that receives, determine the particular type of signaling protocol according to the value of the field of the particular type of described sign signaling protocol, from this tunnel packet, take out signaling protocol, and pass to corresponding upper-layer protocol.
8, according to the method that realizes the signaling passing through network address switching device in the described mobile IP network of claim 1, it is characterized in that described IP network comprises IPv4 network and IPv6 network.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510105481A CN100596120C (en) | 2005-09-28 | 2005-09-28 | Method for implementing signalling across network address translation apparatus in mobile IP network |
PCT/CN2006/002463 WO2007036140A1 (en) | 2005-09-28 | 2006-09-20 | A method for signaling to traverse nat in mobile ip network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510105481A CN100596120C (en) | 2005-09-28 | 2005-09-28 | Method for implementing signalling across network address translation apparatus in mobile IP network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1863171A true CN1863171A (en) | 2006-11-15 |
CN100596120C CN100596120C (en) | 2010-03-24 |
Family
ID=37390500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200510105481A Expired - Fee Related CN100596120C (en) | 2005-09-28 | 2005-09-28 | Method for implementing signalling across network address translation apparatus in mobile IP network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100596120C (en) |
WO (1) | WO2007036140A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101494558B (en) * | 2008-01-24 | 2012-10-31 | 佳能株式会社 | Network device management apparatus, control method therefor, network system |
CN112437467A (en) * | 2020-10-23 | 2021-03-02 | 中国人民解放军61062部队 | Ad hoc network tunnel communication method without home agent |
CN112751946A (en) * | 2019-10-31 | 2021-05-04 | 中国移动通信有限公司研究院 | Tunnel establishment method, device, equipment and computer readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7346770B2 (en) * | 2002-10-31 | 2008-03-18 | Microsoft Corporation | Method and apparatus for traversing a translation device with a security protocol |
CN100440850C (en) * | 2003-12-24 | 2008-12-03 | 华为技术有限公司 | Method of multimedia service NAT traversing and system thereof |
CN1295912C (en) * | 2004-06-25 | 2007-01-17 | 华为技术有限公司 | Method for voice signal to break through firewall and network address converter |
-
2005
- 2005-09-28 CN CN200510105481A patent/CN100596120C/en not_active Expired - Fee Related
-
2006
- 2006-09-20 WO PCT/CN2006/002463 patent/WO2007036140A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101494558B (en) * | 2008-01-24 | 2012-10-31 | 佳能株式会社 | Network device management apparatus, control method therefor, network system |
CN112751946A (en) * | 2019-10-31 | 2021-05-04 | 中国移动通信有限公司研究院 | Tunnel establishment method, device, equipment and computer readable storage medium |
CN112751946B (en) * | 2019-10-31 | 2023-11-24 | 中国移动通信有限公司研究院 | Tunnel establishment method, device, equipment and computer readable storage medium |
CN112437467A (en) * | 2020-10-23 | 2021-03-02 | 中国人民解放军61062部队 | Ad hoc network tunnel communication method without home agent |
Also Published As
Publication number | Publication date |
---|---|
CN100596120C (en) | 2010-03-24 |
WO2007036140A1 (en) | 2007-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102347993B (en) | Network communication method and equipment | |
CN1992667A (en) | ISATAP router for tunneling packets and method thereof | |
CN1761359A (en) | Mobile communication control method and communication control system | |
CN1468474A (en) | Methods and apparatus for implementing nat traversal in mobile ip | |
WO2010057386A1 (en) | Data package forwarding method, system and device | |
CN1848802A (en) | Method for realizing IPv6 high performance interconnection based on P2P on IPv4 | |
CA2468480A1 (en) | System for converting data based upon ipv4 into data based upon ipv6 to be transmitted over an ip switched network | |
CN102938736A (en) | Method and device for realizing IPv6 (Internet Protocol Version 6) network traversing of IPv4 message | |
CN102546407B (en) | File transmitting method and device | |
CN1758654A (en) | Method for set-up direct link tunnel for user terminal and its communication method and server | |
CN101030934A (en) | Method for spanning heterogeneous network mobile telecommunication based on two-way tunnel | |
CN101068189A (en) | Method for supporting IPv4 applied program utilizing intermain machine tunnel in IPV6 | |
CN1960316A (en) | Network address conversion method for segmented messages | |
CN1870633B (en) | Method for supporting mobile IPv4 by double-stack moible IPv6 node | |
CN1741502A (en) | IPv6 and IPv4 internetwork mutual communicating method based on 4over6 | |
CN1863171A (en) | Method for implementing signalling across network address translation apparatus in mobile IP network | |
CN1697421A (en) | Method for implementing tunnel relay in network for carrying out conversion of network address | |
CN1863150A (en) | Method and system for processing data based on between GGSN and external data network | |
CN1243437C (en) | An automatic tunnel method capable of traversing network address translation | |
CN1301607C (en) | Method for implementing supporting virtual local network fire wall | |
CN1711742A (en) | Method for processing data packets in a data network which has a mobile function | |
Tsao | Enhanced GTP: an efficient packet tunneling protocol for General Packet Radio Service | |
CN101047645A (en) | Double-stack support extension method of layer mobile IPv6 protocol | |
CN1886962A (en) | Method and system for handling context of data packet flows | |
CN1311674C (en) | Method for realizing moving node directly interview each other in same extending network domain |
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: 20100324 Termination date: 20170928 |
|
CF01 | Termination of patent right due to non-payment of annual fee |