CN103457850A - Site communication method, RTR (re-encapsulating tunnel router) and tunnel router - Google Patents

Site communication method, RTR (re-encapsulating tunnel router) and tunnel router Download PDF

Info

Publication number
CN103457850A
CN103457850A CN2012101702055A CN201210170205A CN103457850A CN 103457850 A CN103457850 A CN 103457850A CN 2012101702055 A CN2012101702055 A CN 2012101702055A CN 201210170205 A CN201210170205 A CN 201210170205A CN 103457850 A CN103457850 A CN 103457850A
Authority
CN
China
Prior art keywords
message
rtr
website
tunnel router
itr
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
Application number
CN2012101702055A
Other languages
Chinese (zh)
Other versions
CN103457850B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210170205.5A priority Critical patent/CN103457850B/en
Priority to PCT/CN2013/075529 priority patent/WO2013178014A1/en
Publication of CN103457850A publication Critical patent/CN103457850A/en
Application granted granted Critical
Publication of CN103457850B publication Critical patent/CN103457850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2546Arrangements for avoiding unnecessary translation

Abstract

The invention provides a site communication method, an RTR (re-encapsulating tunnel router) and a tunnel router. The site communication method includes that after receiving a data packet, a re-encapsulating tunnel router (RTR) judges whether a source node and a target node of the data packet are positioned behind same network address transformation (NAT) equipment or not; after determining that the source node and the target node are positioned on the same NAT equipment, the RTR sends an information notification message to a tunnel router (xTR) of a site where the source node or the target node is positioned, and the information notification message includes opposite-end site information; the RTR receives an information notification response message returned by the xTR. By the site communication method, mutual communication of multiple LISP (locator/ID separation protocol) sites or LISP mobile nodes positioned behind the same NAT equipment can be realized, and transmission along an optimized path can be realized, routing circuity caused by the fact that the data packet is forwarded to the RTR outside the NAT equipment for re-encapsulating is avoided, and burden of RTR equipment is reduced.

Description

The communication means of website, RTR and tunnel router
Technical field
The present invention relates to field of mobile communication and internet arena, relate in particular to a kind of communication means of website, heavy encapsulation tunnel router (RTR) and tunnel router.
Background technology
The problem constantly enlarged in order to solve the routing table scale, meet the demand of user to technology such as mobility support, the deployment of many home network and traffic engineering deployment better, and the network architecture design that identity is separated with position becomes the focus that industry is paid close attention to.
Position and identity separated protocol (Locator/ID Separation Protocol, LISP) technology is exactly a kind of comparatively popular solution of separating with the position of host machine sign based on the host identities sign, as shown in Figure 1, be the basic logic framework of LISP network, its implementation is as follows:
Station network (being often referred to user network) separates with transmission network (being often referred to carrier network), address space is divided into end points identify label (Endpoint Identifier, EID, mean the address in station network) address space and route station location marker (Routing Locator, RLOC, mean the accessibility in the border router network) address space.The routing iinformation of the station network inside in network, it is the EID address information, be not published in transmission network, two station networks are by entrance tunnel router (Ingress Tunnel Router, ITR) setting up the tunnel that passes through transmission network and between exit tunnel router (Egress Tunnel Router, ETR) is connected.Station network is realized the maintenance of EID to the map information of RLOC by an independent mapped system.
As shown in Figure 1, the LISP network architecture comprises datum plane and mapping plane.
Datum plane is realized forwarding and the transmission of packet.As shown in Figure 1, in the LISP website source node of generated data bag by Packet Generation the entrance tunnel router ITR to the place website.ITR according to buffer memory or search the destination node EID address that obtains to the mapping relations between the RLOC address of destination node place website ETR by the mapping plane, packet is carried out to the LISP encapsulation, then the ETR to the purpose website by the Packet Generation of encapsulation.After ETR removes the outer LISP encapsulation of packet, according to packet rs destination EID address by package forward to the destination node in website.
The mapping plane can help ITR to find website ETR corresponding to destination node, obtains map information.As shown in Figure 1, ETR is registered to mapping server (Mapping Server, MS) by EID in website to the map information of RLOC.When the ITR in the LISP website need search the destination node map information, will shine upon request message by the mapping plane and be forwarded to MS, thereby further find corresponding purpose website ETR.After the map information of ITR buffer memory MS or purpose website ETR response, the encapsulate forwarded of executing data bag.
When if the LISP site deployment in private network, is positioned at after network address translation (NAT) equipment, this website is called to website after NAT.According to the basic procedure of LISP mapping registration, after NAT, the ETR of website can be upper to MS by the privately owned RLOC address registration got, because this RLOC address is private address, external node can't with this website in node communicate.For solving the problem communicated through NAT device, introduced heavy encapsulation tunnel router (Re-encapsulating Tunnel Router, RTR) in LISP mechanism, as shown in Figure 2.
The chain of command angle, RTR receives the encapsulation mapping logon message that website ETR sends after NAT, the relevant information in the buffer memory logon message, then will shine upon after logon message heavily encapsulates and send to MS.After correspondent node is searched NAT, during the map information of site nodes, MS or website ETR are to the RLOC address of Correspondent Node response RTR.
The data surface angle, RTR as NAT after the website trunking of communicating by letter with outside opposite end.When outside opposite end sends message to the node in website after NAT, outside opposite end gets the RLOC address of pointing to RTR by Map Searching, RTR receives packet, after the packet decapsulation, according to website relevant information after the NAT preserved, executing data is sealed dress and is forwarded; When after NAT, website outwards sends message, after NAT, website ITR no longer carries out the opposite end map information and searches, but directly the message encapsulation is sent to RTR equipment, by RTR, searches the opposite end map information, again carries out the packet encapsulation forwarding.
Relaying encapsulate forwarded based on RTR equipment, can solve well the problem of website and outside public network intercommunication after NAT, but this forwarding process may cause unnecessary route detour problem in some special screnes.
As shown in Figure 3, after website (Site) 1 is positioned at same NAT device with Site2, and two websites are by same RTR facility registration.Based on prior art, in Site1, source node is when destination node in Site2 sends packet, the ITR of Site1 needs first packet encapsulation to be sent to RTR, after packet arrives RTR through NAT device, RTR stores the relevant information of Site2 website according to self, packet is heavily encapsulated, then the packet after encapsulation is sent to the ETR in Site2 through NAT.Under this mechanism, ITR does not carry out map information and searches, and can't know the RLOC information of ETR in Site2, so can't directly packet encapsulation be sent or be transmitted to ETR by NAT device, thereby cause route roundabout.
Further, as shown in Figure 4, if disposed multi-level NAT in network topology, after NAT2 (secondary NAT device) and Site1 all are positioned at NAT1 (one-level NAT device), and after Site2 is positioned at NAT2.In this scene, according to current mechanism, when Site1 and Site2 communicate, packets need is carried out encapsulate forwarded after arriving RTR through NAT1 again, then arrives Site2 through NAT1 and NAT2, and this scene exists route roundabout equally.After also may existing in addition Source Site to be positioned at multi-level NAT equipment, after the purpose website is positioned at the one-level NAT device, or two websites the scene such as are positioned at after multi-level NAT equipment simultaneously, and existing problems are similar with Fig. 4 scene.
It should be noted that, LISP mobile node (LISP mobile node, LISP MN) can be regarded a LISP website as, and MN carries out the function of ITR and ETR simultaneously.Therefore, there is the roundabout special screne of route also to comprise to be positioned at the intercommunication of two LISP MN after same NAT device, or the intercommunication of LISP website and LISP MN after same NAT device.
Summary of the invention
The embodiment of the present invention provides a kind of communication means, RTR and tunnel router of website, to solve that the factor data bag is forwarded to that the outer RTR of NAT device weighs encapsulate forwarded and the route detour problem that causes.
The embodiment of the present invention provides a kind of communication means of website, and the method comprises:
After heavy encapsulation tunnel router (RTR) receives packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
After described RTR determines that described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
Described RTR receives the information announcement response message that described xTR returns.
Preferably, described RTR comprises to the xTR transmission information announcement message of described source node or described destination node place website:
Described RTR sends described information announcement message to the entrance tunnel router (ITR) of described source node place website; Perhaps,
Described RTR sends described information announcement message to the exit tunnel router (ETR) of described destination node place website.
Preferably, described distance station dot information comprises: the local routing station location marker (RLOC) of this opposite end website xTR, local port number, overall RLOC, global port numbers and end points identify label (EID) address prefix information.
Preferably, after described RTR receives the information announcement response message that described xTR returns, described method also comprises:
Described RTR arranges a time interval, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
The embodiment of the present invention also provides a kind of communication means of website, and the method comprises:
The tunnel router (xTR) of source node or destination node place website receives the information announcement message that comprises the distance station dot information that heavy encapsulation tunnel router (RTR) sends;
Described xTR obtains described distance station dot information from described information announcement message, according to described distance station dot information, determines that the opposite end website can reach, and directly to described opposite end website, sends packet.
Preferably, the xTR of described source node place website is entrance tunnel router (ITR), and the xTR of described destination node place website is exit tunnel router (ETR).
Preferably, described xTR determines according to described distance station dot information that the opposite end website can reach and comprises:
Described ITR sends and detects message to described ETR, receives the probe response message that described ETR returns; Perhaps
Described ETR sends and detects message to described ITR, receives described ITR and is receiving the described mapping request message sent after detecting message, and return to the mapping response message to described ITR.
Preferably, after described xTR determines that according to described distance station dot information the opposite end website can reach, described method also comprises:
Described xTR sends packet by network address translation (NAT) to described opposite end website.
Preferably, described xTR determines according to described distance station dot information that the opposite end website can reach and comprises:
Described ITR sends and detects message to described ETR by described NAT device, and receives the probe response message that described ETR returns by described NAT device; Perhaps
Described ETR sends and detects message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and, return to the mapping response message by described NAT device to described ITR.
The embodiment of the present invention separately provides a kind of heavy encapsulation tunnel router (RTR), and this RTR comprises:
Judge module, after receiving packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
Announcement module, after determining that for described judge module described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
Receiver module, the information announcement response message returned for receiving described xTR.
Preferably, described announcement module, specifically for:
Entrance tunnel router (ITR) to described source node place website sends described information announcement message; Perhaps,
Exit tunnel router (ETR) to described destination node place website sends described information announcement message.
Preferably, described distance station dot information comprises: the local routing station location marker (RLOC) of this opposite end website xTR, local port number, overall RLOC, global port numbers and end points identify label (EID) address prefix information.
Preferably, described RTR also comprises:
Module is set, after receiving for described receiver module the information announcement response message that described xTR returns, one time interval is set, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
The embodiment of the present invention provides again a kind of tunnel router, and this tunnel router comprises:
Transceiver module, the information announcement message that comprises the distance station dot information sent for receiving heavy encapsulation tunnel router (RTR), and to described RTR return information announce response message;
Data processing module, for from described information announcement message, obtaining described distance station dot information, determine that according to described distance station dot information the opposite end website can reach, and directly to described opposite end website, sends packet.
Preferably, described tunnel router is entrance tunnel router (ITR) or exit tunnel router (ETR).
Preferably, described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR, receive the probe response message that described ETR returns, or, receive that described ETR sends detect message after, send the mapping request message, and receive the mapping response message that described ETR returns; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR, and receive described ITR and receiving the described mapping request message sent after detecting message, and return to the mapping response message to described ITR, perhaps, receive the described message of detecting that described ITR sends, to described ITR, return to described probe response message.
Preferably, described data processing module, also for: after according to described distance station dot information, determining that the opposite end website can reach, by network address translation (NAT), to described opposite end website, send packet.
Preferably, described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR by described NAT device, receive the probe response message that described ETR returns by described NAT device, or, receive that described ETR sends by described NAT device detect message after, send the mapping request message, and receive the mapping response message that described ETR returns by described NAT device; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and return to the mapping response message by described NAT device to described ITR, perhaps, receive the described message of detecting that described ITR sends by described NAT device, and return to described probe response message by described NAT device to described ITR.
The embodiment of the present invention, in the time of can realizing being positioned at a plurality of LISP websites after same NAT device or LISP mobile node and intercom mutually, can transmit along path optimizing, avoid the RTR of package forward outside NAT device to weigh the route that encapsulate forwarded causes roundabout, alleviate the burden of RTR equipment.
The accompanying drawing explanation
Fig. 1 is existing LISP network architecture diagram;
Fig. 2 is that in the existing LISP network architecture, NAT passes through the deployment schematic diagram;
Fig. 3 be in the existing LISP network architecture after NAT multi-site or many LISP MN dispose schematic diagram;
Fig. 4 is that in the existing LISP network architecture, multi-level NAT is disposed schematic diagram;
Fig. 5 is the signaling process figure of website communication means embodiment mono-after the NAT that optimizes of the present invention;
Fig. 6 is the signaling process figure of website communication means embodiment bis-after the NAT that optimizes of the present invention;
Fig. 7 is the signaling process figure of website communication means embodiment tri-after the NAT that optimizes of the present invention;
Fig. 8 is the structural representation of RTR embodiment of the present invention;
Fig. 9 is the structural representation of tunnel router embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that do not conflict, the embodiment in the application and the feature in embodiment be combination in any mutually.
In order more clearly to describe the content of the embodiment of the present invention, the related notion related in embodiment is done to following regulation:
Website after NAT: the LISP site deployment, in private network, after being positioned at NAT device, claims that this website is website after NAT.During private network after LISP MN access NAT device, this LISP MN also can regard website after NAT as.
Local RLOC address: website xTR after NAT (comprising ITR and ETR) gets the private net address as RLOC, claims that this address is local RLOC address.
Overall situation RLOC address: the packet that after NAT, website xTR sends is through NAT device the time, NAT device can be replaced packet external source address and port numbers, to replace with as the local RLOC address of source address the ,Cheng Gai address, address of route to be overall RLOC address in public network.
The embodiment of the present invention provides a kind of communication means of website, and this embodiment is described from the RTR angle, and the method comprises:
After step 11, heavy encapsulation tunnel router (RTR) receive packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
After step 12, RTR determine that described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
In this step 12, RTR can comprise to the xTR transmission information announcement message of described source node or described destination node place website: described RTR sends described information announcement message to the entrance tunnel router (ITR) of described source node place website; Perhaps, described RTR sends described information announcement message to the exit tunnel router (ETR) of described destination node place website;
Step 13, RTR receive the information announcement response message that described xTR returns.
After this step 13, described method can also comprise: RTR arranges a time interval, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
Above-mentioned communication means, by send the information of opposite end website to tunnel router, transmit along path optimizing for realizing packet, avoids that route is roundabout lays a good foundation.
Correspondingly, the embodiment of the present invention also provides a kind of communication means of website, and this embodiment is described from the xTR angle, and the method comprises:
The tunnel router (xTR) of step 21, source node or destination node place website receives the information announcement message that comprises the distance station dot information that heavy encapsulation tunnel router (RTR) sends;
Wherein, the xTR of described source node place website is entrance tunnel router (ITR), and the xTR of described destination node place website is exit tunnel router (ETR);
Step 22, xTR obtain described distance station dot information from described information announcement message, according to described distance station dot information, determine that the opposite end website can reach, and directly to described opposite end website, send packet.
This xTR determines according to described distance station dot information that the opposite end website can reach and comprises: described ITR sends and detects message to described ETR, and receives the probe response message that described ETR returns; Perhaps, described ETR sends and detects message to described ITR, and receives described ITR and receiving the described mapping request message sent after detecting message, and returns to the mapping response message to described ITR.
In addition, in order to overcome the path detour problem occurred under scene shown in Fig. 4, after this xTR determines that according to described distance station dot information the opposite end website can reach, the method can also comprise: xTR sends packet by network address translation (NAT) to described opposite end website.
And in this case, described xTR determines according to described distance station dot information that the opposite end website can reach and comprises:
Described ITR sends and detects message to described ETR by described NAT device, and receives the probe response message that described ETR returns by described NAT device; Perhaps
Described ETR sends and detects message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and, return to the mapping response message by described NAT device to described ITR.
Based on said method, when communicating between a plurality of LISP websites after same NAT device or LISP MN, do not need that all packets are mail to RTR and carry out encapsulate forwarded, avoided the route in the Packet Generation process roundabout, and alleviated the burden of RTR.
Below from RTR and the mutual angle of xTR, the embodiment of the present invention is described in detail:
Embodiment mono-
As shown in Figure 5, the signaling process figure of website communication means embodiment mono-after the NAT that optimizes of the present invention, Site1 and Site2 that the present embodiment is applicable to after same NAT device carry out the map information registration by same RTR, when described RTR forwards the packet of communicating by letter between two websites, to two website announcement opposite end website relevant informations; Specifically comprise the following steps:
In step 501, Site1 ITR encapsulation transmission Site1, source node mails to the packet of destination node in Site2.Packet after encapsulation, internal layer head source address is source node EID, destination address is destination node EID in Site2; The local RLOC address that outer head source address is ITR, the RLOC address that destination address is RTR;
When step 502, NAT device receive this packet, the information of address conversion of preserving according to this locality, replace with by the source address of the outside of packet and port numbers overall RLOC address and the global port numbers that ITR is corresponding;
Packet Generation after step 503, NAT device will be replaced is to RTR;
Step 501-503 is prior art;
After whether the Source Site that step 504, RTR send packet according to Site1 and the judgement of the relevant information on Site2 of local cache is positioned at same NAT device with the purpose website, determine be positioned at same NAT device after, the execution subsequent step;
Described relevant information, at least should comprise two website xTR and the RTR EID address prefix information etc. that connects in used local RLOC, local port number, overall RLOC, global port numbers, website;
Further, if set up corresponding relation between NAT device corresponding to website and RTR, on RTR, also may be cached with the type information of the NAT device that website is corresponding, and the relevant informations such as overall RLOC address pool that configure on NAT device;
It should be noted that, whether RTR judges whether Source Site and purpose website are positioned at same NAT device can be identical or approximate by the overall RLOC address of two site registrations relatively.Further, if the upper buffer memory of RTR the overall RLOC address pool information of NAT device, the overall RLOC address pool that can whether belong to same NAT device by two websites overall situation RLOC addresses is relatively judged;
Step 505a, RTR send the information announcement message to Site1 website ITR, the relevant information that comprises the Site2 website in this message, at least should comprise local RLOC, local port number, overall RLOC, global port numbers and the website EID address prefix information of Site2 website ETR in this information;
Step 505b, RTR send the information announcement message to Site2 website ETR, the relevant information that comprises the Site1 website in this message, at least should comprise local RLOC, local port number, overall RLOC, global port numbers and the website EID address prefix information of Site1 website ITR in this information;
It should be noted that, RTR equipment can perform step one of them step in 505a and 505b, also can two steps all carry out.If carry out above-mentioned two steps, the step execution sequence in no particular order, also can be carried out simultaneously.
After step 506a, Site1ITR receive the information announcement message of RTR, to RTR, send the information announcement response;
After step 506b, Site2ETR receive the information announcement message of RTR, to RTR, send the information announcement response;
It should be noted that, RTR equipment, after the information announcement response received from Site1ITR and Site2ETR, can be set a time value.Within this effective time, when RTR equipment receives while by Site1ITR, mailing to the packet of Site2ETR again, an executing data is sealed dress and is forwarded, and does not need to two websites to send the information announcement messages;
After step 507, RTR receive packet, search the relevant information of the Site2 website of local cache, packet is carried out to Reseal, the RLOC address that the outer source address of packet is RTR, the overall RLOC address that destination address is Site2 website ETR;
Packet Generation after step 508, RTR will heavily encapsulate is to NAT, after NAT device replaces with the local RLOC and port numbers of Site2 website ETR by the outer destination address of packet and destination slogan, by Packet Generation to ETR in Site2.
It should be noted that, step 507,508 is prior art, and step 504,505a and/or 505b and step 507,508 execution sequence in no particular order, also can be carried out simultaneously.
Based on said process, after RTR judgement communication two websites are positioned at same NAT device, opposite end website relevant information can be communicated to website after NAT.
Embodiment bis-
As shown in Figure 6, be the signaling process figure of website communication means embodiment bis-after the NAT that optimizes of the present invention, the present embodiment is applicable to the associative operation after Source Site Site1ITR receives the purpose website relevant information that RTR sends; Specifically comprise the following steps:
In step 601, Source Site Site1, ITR receives in the purpose website Site2 that RTR sends after relevant information, usings the local RLOC of ETR in Site2 as destination address, to Site2ETR, sends and detects message;
It should be noted that, defined the data exploration message in existing LISP mechanism, the accessibility of detectable Correspondent Node RLOC address, in step 601, Site1ITR can select to adopt available data to detect message, detects the accessibility of the corresponding local RLOC of ETR in Site2;
Step 602, Site2ETR receive that Site1ITR sends detect message after, send the probe response message to Site1ITR, can comprise in Site2ETR the EID address prefix in this message to the map information of local RLOC;
After step 603, Site1ITR receive the probe response message of Site2ETR, when follow-up transmission packet, use the destination address of the local RLOC of Site2ETR as the outer encapsulation of packet, directly Packet Generation is arrived to Site2ETR;
If after Site1ITR execution step 601, in setting-up time, do not receive the probe response message of Site2ETR or by Site2ETR, initiatively sent detect message, can select to carry out following steps:
In step 604, Source Site Site1, ITR is usingd the overall RLOC of ETR in Site2 as destination address, to Site2ETR, sends and detects message;
Step 605, this detects message routing to NAT device, NAT device finds that the message destination address is for self distributing to the overall RLOC address of certain equipment after NAT, if NAT device is supported hair clip conversion (Hairpin translation) function, NAT device is replaced source address, source port number, destination address, the destination slogan of packet;
The message of detecting after step 606, NAT device are replaced address, port numbers sends to Site2ETR;
Step 607, Site2ETR receive that Site1ITR sends detect message after, using Site1ITR overall situation RLOC as destination address, send the probe response message to Site1ITR, comprise in Site2ETR the EID address prefix in this message to the map information of local RLOC;
Step 608, NAT device are carried out address, the port numbers of probe response message and are replaced;
Probe response message after step 609, NAT device are replaced address, port numbers sends to Site1ITR;
After step 610, Site1ITR receive the probe response message of Site2ETR, when follow-up transmission packet, use the destination address of the overall RLOC of Site2ETR as the outer encapsulation of packet;
Address, the port numbers of step 611, NAT device replacement data bag;
Step 612, NAT device arrive Site2ETR by Packet Generation.
It should be noted that, Site1ITR carries out optional step 604-612, is due in some special screnes, although, after Source Site and purpose website are positioned at same NAT device, two websites are used the local RLOC of opposite end possibly can't communicate.
For example, as shown in Figure 4 in scene, after purpose website Site2 is positioned at NAT2 (secondary NAT) equipment, the local RLOC that Site1 gets Site2 is the private net address of Site2 after NAT2 equipment, if Site1ITR is used this address to initiate active communication to Site2, message can't pass NAT2, arrives ETR.Applying step 604-609, Site1ITR sends and detects message to Site2ETR by NAT1, and after message sends successfully, between Site1ITR and Site2ETR, the actual forward-path of packet is:
Above-mentionedly using opposite end overall situation RLOC address as the method for surveying of destination address, be equally applicable to the scene after Source Site and purpose website all are positioned at multi-level NAT equipment.
Further, above-mentioned detecting in the step implementation, before the probe response received from Site2ETR, Site1ITR can continue that destination address is pointed to the packet encapsulation of EID in Site2 and send to RTR, to avoid probe procedure, data is forwarded and impacts.
Embodiment tri-
As shown in Figure 7, be the signaling process figure of website communication means embodiment tri-after the NAT that optimizes of the present invention, the present embodiment is applicable to the associative operation after purpose website Site2ETR receives the Source Site relevant information that RTR sends, and specifically comprises the following steps:
In step 701, purpose website Site2, ETR receives in the Source Site Site1 that RTR sends after relevant information, usings the local RLOC of ITR in Site1 as destination address, to Site1ITR, sends and detects message;
It should be noted that, in existing LISP mechanism, ETR can, by sending SMR message (Solicit Map Request triggers the mapping request message), trigger Correspondent Node ITR to self sending the mapping request.In step 701, Site2ETR can select to adopt existing SMR message, detects the accessibility of the corresponding local RLOC of ETR in Site2;
Step 702, Site1ITR receive that Site2ETR sends detect message after, can send the mapping request message to Site2ETR, destination address points to the local RLOC of Site2ETR;
Step 703, Site2ETR return to the mapping response message to Site1ITR, comprise the map information of the local RLOC of Site2EID prefix information and Site2ETR in message;
After step 704, Site1ITR receive the mapping response message of Site2ETR, when follow-up transmission packet, use the destination address of the local RLOC of Site2ETR as the outer encapsulation of packet, directly Packet Generation is arrived to Site2ETR;
If, after Site2ETR execution step 701, do not receive the mapping request message of Site1ITR in setting-up time, or by Site1ITR, initiatively sent detect message, can select to carry out following steps:
In step 705, purpose website Site2, ETR is usingd the overall RLOC of ITR in Site1 as destination address, to Site1ITR, sends and detects message;
Step 706, this detects message routing to NAT device, NAT device finds that the message destination address is for self distributing to the overall RLOC address of certain equipment after NAT, if NAT device is supported the hair clip translation function, NAT device is replaced source address, source port number, destination address, the destination slogan of packet;
The message of detecting after step 707, NAT device are replaced address, port numbers sends to Site1ITR;
Step 708, Site1ITR receive that Site2ETR sends detect message after, using Site2ETR overall situation RLOC as destination address, send the mapping request message to Site2ETR;
Step 709, NAT device are carried out address, the port numbers of mapping request message and are replaced, and the message after replacing is sent to Site2ETR;
Step 710, Site2ETR send the mapping response message to Site1ITR after receiving Site1ITR mapping request message, comprise the map information of the local RLOC of Site2EID prefix information and Site2ETR in message;
Step 711, NAT device are carried out address, the port numbers of mapping response message and are replaced, and the message after replacing is sent to Site1ITR;
After step 712, Site1ITR receive the mapping response message of Site2ETR, when follow-up transmission packet, use the destination address of the overall RLOC of Site2ETR as the outer encapsulation of packet;
Address, the port numbers of step 713, NAT device replacement data bag, and Packet Generation is arrived to Site2ETR.
It should be noted that, Site2ETR carries out optional step 705-713, is due in some special screnes, although, after Source Site and purpose website are positioned at same NAT device, two websites are used the local RLOC of opposite end possibly can't communicate.Concrete reason can be referring to the associated description in embodiment bis-.
Further, above-mentioned detecting in the step implementation, before the mapping response message received from Site2ETR, Site1ITR can continue that destination address is pointed to the packet encapsulation of EID in Site2 and send to RTR, to avoid probe procedure, data is forwarded and impacts.
The various embodiments described above be take and are positioned at LISP website after NAT device and describe as example.Each embodiment is equally applicable to the intercommunication of the LISP MN after NAT device, and LISP website and LISP MN intercommunication after NAT device.
As shown in Figure 8, be the structural representation of RTR embodiment of the present invention, this RTR comprises judge module 81, announcement module 82 and receiver module 83, wherein:
Judge module, after receiving packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
Announcement module, after determining that for described judge module described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
Receiver module, the information announcement response message returned for receiving described xTR.
Wherein, described announcement module, specifically for: the entrance tunnel router (ITR) to described source node place website sends described information announcement message; Perhaps, the exit tunnel router (ETR) to described destination node place website sends described information announcement message.
In addition, described RTR also comprises: module 84 is set, after receiving for described receiver module the information announcement response message that described xTR returns, one time interval is set, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
Above-mentioned RTR, by send the distance station dot information to tunnel router, transmit along path optimizing for realizing packet, avoids that route is roundabout lays a good foundation.
As shown in Figure 9, be the structural representation of tunnel router embodiment of the present invention, this tunnel router comprises transceiver module 91 and data processing module 92, wherein:
Transceiver module, the information announcement message that comprises the distance station dot information sent for receiving heavy encapsulation tunnel router (RTR), and to described RTR return information announce response message;
Data processing module, for from described information announcement message, obtaining described distance station dot information, determine that according to described distance station dot information the opposite end website can reach, and directly to described opposite end website, sends packet.
Wherein, described tunnel router can be entrance tunnel router (ITR) or exit tunnel router (ETR); Described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR, receive the probe response message that described ETR returns, perhaps, receive that described ETR sends detect message after, send the mapping request message, and receive the mapping response message that described ETR returns; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR, and receive described ITR and receiving the described mapping request message sent after detecting message, and return to the mapping response message to described ITR, perhaps, receive the described message of detecting that described ITR sends, to described ITR, return to described probe response message.
In addition, described data processing module, also for: after according to described distance station dot information, determining that the opposite end website can reach, by network address translation (NAT), to described opposite end website, send packet.Now, described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR by described NAT device, receive the probe response message that described ETR returns by described NAT device, or, receive that described ETR sends by described NAT device detect message after, send the mapping request message, and receive the mapping response message that described ETR returns by described NAT device; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and return to the mapping response message by described NAT device to described ITR, perhaps, receive the described message of detecting that described ITR sends by described NAT device, and return to described probe response message by described NAT device to described ITR.
Above-mentioned tunnel router, by obtaining the information of opposite end website, thereby in the time of can realizing being positioned at a plurality of LISP websites after same NAT device or LISP mobile node and intercom mutually, can transmit along path optimizing, avoid the RTR of package forward outside NAT device to weigh the route that encapsulate forwarded causes roundabout, alleviated the burden of RTR equipment.
One of ordinary skill in the art will appreciate that all or part of step in said method can come the instruction related hardware to complete by program, said procedure can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment, the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can modify or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of claim scope of the present invention.

Claims (18)

1. the communication means of a website, is characterized in that, the method comprises:
After heavy encapsulation tunnel router (RTR) receives packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
After described RTR determines that described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
Described RTR receives the information announcement response message that described xTR returns.
2. method according to claim 1 is characterized in that:
Described RTR comprises to the xTR transmission information announcement message of described source node or described destination node place website:
Described RTR sends described information announcement message to the entrance tunnel router (ITR) of described source node place website; Perhaps,
Described RTR sends described information announcement message to the exit tunnel router (ETR) of described destination node place website.
3. method according to claim 1 is characterized in that:
Described distance station dot information comprises: the local routing station location marker (RLOC) of this opposite end website xTR, local port number, overall RLOC, global port numbers and end points identify label (EID) address prefix information.
4. according to the described method of the arbitrary claim of claim 1-3, it is characterized in that:
After described RTR receives the information announcement response message that described xTR returns, described method also comprises:
Described RTR arranges a time interval, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
5. the communication means of a website, is characterized in that, the method comprises:
The tunnel router (xTR) of source node or destination node place website receives the information announcement message that comprises the distance station dot information that heavy encapsulation tunnel router (RTR) sends;
Described xTR obtains described distance station dot information from described information announcement message, according to described distance station dot information, determines that the opposite end website can reach, and directly to described opposite end website, sends packet.
6. method according to claim 5 is characterized in that:
The xTR of described source node place website is entrance tunnel router (ITR), and the xTR of described destination node place website is exit tunnel router (ETR).
7. method according to claim 6 is characterized in that:
Described xTR determines according to described distance station dot information that the opposite end website can reach and comprises:
Described ITR sends and detects message to described ETR, receives the probe response message that described ETR returns; Perhaps
Described ETR sends and detects message to described ITR, receives described ITR and is receiving the described mapping request message sent after detecting message, and return to the mapping response message to described ITR.
8. according to the described method of claim 5 or 6, it is characterized in that:
After described xTR determines that according to described distance station dot information the opposite end website can reach, described method also comprises:
Described xTR sends packet by network address translation (NAT) to described opposite end website.
9. method according to claim 8 is characterized in that:
Described xTR determines according to described distance station dot information that the opposite end website can reach and comprises:
Described ITR sends and detects message to described ETR by described NAT device, and receives the probe response message that described ETR returns by described NAT device; Perhaps
Described ETR sends and detects message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and, return to the mapping response message by described NAT device to described ITR.
10. one kind heavy encapsulation tunnel router (RTR), is characterized in that, this RTR comprises:
Judge module, after receiving packet, after judging whether the source node of described packet and destination node are positioned at consolidated network address transition (NAT) equipment;
Announcement module, after determining that for described judge module described source node and described destination node are positioned at same NAT device, tunnel router (xTR) to described source node or described destination node place website sends the information announcement message, in described information announcement message, comprises the distance station dot information;
Receiver module, the information announcement response message returned for receiving described xTR.
11. RTR according to claim 10 is characterized in that:
Described announcement module, specifically for:
Entrance tunnel router (ITR) to described source node place website sends described information announcement message; Perhaps,
Exit tunnel router (ETR) to described destination node place website sends described information announcement message.
12. RTR according to claim 10 is characterized in that:
Described distance station dot information comprises: the local routing station location marker (RLOC) of this opposite end website xTR, local port number, overall RLOC, global port numbers and end points identify label (EID) address prefix information.
13. according to the described RTR of the arbitrary claim of claim 10-12, it is characterized in that, described RTR also comprises:
Module is set, after receiving for described receiver module the information announcement response message that described xTR returns, one time interval is set, and this time interval is only carried out the time span that between described source node or described destination node place website and opposite end website thereof, packet encapsulation forwards for meaning after described RTR receives described information announcement response message.
14. a tunnel router, is characterized in that, this tunnel router comprises:
Transceiver module, the information announcement message that comprises the distance station dot information sent for receiving heavy encapsulation tunnel router (RTR), and to described RTR return information announce response message;
Data processing module, for from described information announcement message, obtaining described distance station dot information, determine that according to described distance station dot information the opposite end website can reach, and directly to described opposite end website, sends packet.
15. tunnel router according to claim 14 is characterized in that:
Described tunnel router is entrance tunnel router (ITR) or exit tunnel router (ETR).
16. tunnel router according to claim 15 is characterized in that:
Described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR, receive the probe response message that described ETR returns, perhaps, receive that described ETR sends detect message after, send the mapping request message, and receive the mapping response message that described ETR returns; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR, and receive described ITR and receiving the described mapping request message sent after detecting message, and return to the mapping response message to described ITR, perhaps, receive the described message of detecting that described ITR sends, to described ITR, return to described probe response message.
17., according to the described tunnel router of claims 14 or 15, it is characterized in that:
Described data processing module, also for: after according to described distance station dot information, determining that the opposite end website can reach, by network address translation (NAT), to described opposite end website, send packet.
18. tunnel router according to claim 17 is characterized in that:
Described data processing module, specifically for: when this tunnel router is described ITR, send and detect message to described ETR by described NAT device, receive the probe response message that described ETR returns by described NAT device, perhaps, receive that described ETR sends by described NAT device detect message after, send the mapping request message, and receive the mapping response message that described ETR returns by described NAT device; Perhaps, when this tunnel router is described ETR, send and detect message to described ITR by described NAT device, receive described ITR receive described detect message after by the mapping request message of described NAT device transmission, and return to the mapping response message by described NAT device to described ITR, perhaps, receive the described message of detecting that described ITR sends by described NAT device, and return to described probe response message by described NAT device to described ITR.
CN201210170205.5A 2012-05-29 2012-05-29 Communication means, RTR and the tunnel router of website Active CN103457850B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210170205.5A CN103457850B (en) 2012-05-29 2012-05-29 Communication means, RTR and the tunnel router of website
PCT/CN2013/075529 WO2013178014A1 (en) 2012-05-29 2013-05-13 Site communication method, rtr and tunnel router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210170205.5A CN103457850B (en) 2012-05-29 2012-05-29 Communication means, RTR and the tunnel router of website

Publications (2)

Publication Number Publication Date
CN103457850A true CN103457850A (en) 2013-12-18
CN103457850B CN103457850B (en) 2018-03-20

Family

ID=49672397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210170205.5A Active CN103457850B (en) 2012-05-29 2012-05-29 Communication means, RTR and the tunnel router of website

Country Status (2)

Country Link
CN (1) CN103457850B (en)
WO (1) WO2013178014A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047548A (en) * 2006-03-31 2007-10-03 株式会社日立制作所 Communication in multiple NAT private network
CN101567831A (en) * 2008-04-21 2009-10-28 成都市华为赛门铁克科技有限公司 Method and device for transmitting and receiving messages among local area networks and communication system
US20100080234A1 (en) * 2008-09-30 2010-04-01 Jay Charles Borkenhagen Anycast-based internet protocol redirection to alleviate partial routing tables
CN102045234A (en) * 2009-10-09 2011-05-04 中国移动通信集团公司 Buffering and overtime processing methods of route address mapping information as well as tunnel router
CN102231763A (en) * 2011-06-20 2011-11-02 北京思创银联科技股份有限公司 Sharing method based on NAT (Network Address Translation) penetration

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL156924A (en) * 2003-07-15 2009-05-04 Tadiran Telecom Ltd Communication between users located behind nat device
CN102025591B (en) * 2009-09-18 2013-12-18 中兴通讯股份有限公司 Method and system for implementing virtual private network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047548A (en) * 2006-03-31 2007-10-03 株式会社日立制作所 Communication in multiple NAT private network
CN101567831A (en) * 2008-04-21 2009-10-28 成都市华为赛门铁克科技有限公司 Method and device for transmitting and receiving messages among local area networks and communication system
US20100080234A1 (en) * 2008-09-30 2010-04-01 Jay Charles Borkenhagen Anycast-based internet protocol redirection to alleviate partial routing tables
CN102045234A (en) * 2009-10-09 2011-05-04 中国移动通信集团公司 Buffering and overtime processing methods of route address mapping information as well as tunnel router
CN102231763A (en) * 2011-06-20 2011-11-02 北京思创银联科技股份有限公司 Sharing method based on NAT (Network Address Translation) penetration

Also Published As

Publication number Publication date
WO2013178014A1 (en) 2013-12-05
CN103457850B (en) 2018-03-20

Similar Documents

Publication Publication Date Title
KR100900007B1 (en) Methods and apparatus for efficient vpn server interface, address allocation, and signaling with a local addressing domain
CN101695047B (en) Method and switch for realizing forwarding of dynamic tunnel message
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
CN108259303B (en) Message forwarding method and device
CN102075438B (en) unicast data frame transmission method and device
EP2750329B1 (en) Method and device for sending internet protocol packets
US9270589B2 (en) Transparent RBridge
CN101268668A (en) Multiple interface mobile node with simultaneous home- and foreign network connection
CN103200069A (en) Message processing method and device
CN102088390B (en) Implementation method of user mobility
CN101501451A (en) AP-local dynamic switching
CN102792651B (en) At the device of MAC layer application service path Route Selection
CN107645433B (en) Message forwarding method and device
TWI759571B (en) Data transfer method based on flow table
CN105591907B (en) A kind of route obtaining method and device
CN103957161B (en) A kind of message forwarding method and its device
CN101394333A (en) Packet forwarding method, apparatus and network system
CN103139075A (en) Message transmission method and device
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
CN113726653B (en) Message processing method and device
CN109246016B (en) Cross-VXLAN message processing method and device
CN107294849A (en) Method, device and system for establishing service path
CN102710519A (en) Method, system and device for establishing and removing cross-domain LSP (Label Switching Path)
CN103457850A (en) Site communication method, RTR (re-encapsulating tunnel router) and tunnel router
CN101567839B (en) Message transmitting method, hometown agent device, route device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant