CN104935677A - NAT64 resource obtaining method and obtaining/distributing device - Google Patents

NAT64 resource obtaining method and obtaining/distributing device Download PDF

Info

Publication number
CN104935677A
CN104935677A CN201410101594.5A CN201410101594A CN104935677A CN 104935677 A CN104935677 A CN 104935677A CN 201410101594 A CN201410101594 A CN 201410101594A CN 104935677 A CN104935677 A CN 104935677A
Authority
CN
China
Prior art keywords
message
pref64
information
resource
nat64
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
CN201410101594.5A
Other languages
Chinese (zh)
Other versions
CN104935677B (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 CN201410101594.5A priority Critical patent/CN104935677B/en
Priority to PCT/CN2014/082854 priority patent/WO2015139397A1/en
Publication of CN104935677A publication Critical patent/CN104935677A/en
Application granted granted Critical
Publication of CN104935677B publication Critical patent/CN104935677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an NAT64 resource obtaining method and an obtaining/distributing device, wherein the NAT64 resource obtaining method comprises the steps of: sending a router request RS message to a server end device, and receiving a first route announcement RA message from the server end device, wherein the information carried by the RS message comprises a pref64::/n resource request, and the information carried by the first RA message comprises pref64::/n resource information distributed according to the pref64::/n resource request, and or a second RA message actively sent by the server end device. The information carried by the second RA message comprises actively distributed pref64::/n resource information. According to the invention, the maintenance complexity is reduced, and the convenience for transition to a pure IPv6 is improved.

Description

A kind of NAT64 resource acquiring method and acquisition/distributor
Technical field
The present invention relates to the communications field, in particular to a kind of NAT64 resource acquiring method and acquisition/distributor.
Background technology
At present, network address translation (Network Address Translation in correlation technique, referred to as NAT) belong to access wide area network (WAN) technology, be one be the switch technology of legal Internet protocol (IP) address by privately owned (reservation) address spaces, it is widely used in various types of internets access way and various types of network.NAT can solve the problem of IP address scarcity.
Along with the exhaustion of IPv4 address resource and the progressively deployment of IPv6 network, various IPv6 network when the large-area IPv4 network existed in network and newly-established IPv6 network make operator IPv6/IPv4 in the urgent need to address coexist and the exchanging visit problem between IPv4 network.NAT64 technology and DNS64 technology are a kind of practical techniques that IPv6 and IPv4 under solution this kind of scene exchanges visits.
Do simply to introduce by the know-why of NAT64 and DNS64 below.
NAT64 is a kind of network address and protocol conversion technology of having state, and general only support initiates connected reference IPv4 side Internet resources by IPv6 network side user.But NAT64 also supports by manual configuration static mappings relation, realize IPv4 network and initiatively initiate connected reference IPv6 network.NAT64 can realize IPv6 and the IPv4 network address under TCP, UDP, ICMP agreement and protocol conversion.
DNS64 then mainly coordinates NAT64 work, mainly A record (IPv4 address) in DNS query information is synthesized to AAAA record (IPv6 address), and the AAAA recording user returning synthesis is to IPv6 side user.
As shown in Figure 1, DNS64Server and NAT64Router is completely independently part in the common application scenarios networking of NAT64 and DNS64.Wherein 64:FF9B: :/96 is the well-known prefix of DNS64, and DNS64 generally gives tacit consent to and uses this prefix to carry out the synthesis of IPv4 address to IPv6 address, and this prefix is also as the conversion prefix of NAT64 simultaneously, and the flow realizing this prefix of coupling is just NAT64 and changes.Generally in DNS64 and NAT64, this prefix is represented as pref64::/n, and wherein, pref64 identifies NAT64 prefix, and n identifies NAT64 prefix length, and this prefix, except using well-known prefix, can carry out flexible configuration according to real network situation during network design.This prefix length is supported: the scopes such as 32,40,48,56,64 or 96, the prefix transformation rule of often kind of length is also incomplete same.
In FIG, when IPv6Only User initiates the common IPv6 website of connected reference, flow will Match IP v6 default route and be directly forwarded to IPv6Router process.When IPv6Only User initiate connected reference be the server of IPv4 mono-protocol stack time, IPv6Only User cannot obtain IPv6 address information corresponding to object IPv4Server address, so send a DNS request to DNS64Server, find this IPv4Server corresponding be IPv4 address, i.e. A record, then, needs DNS64Server to carry out prefix synthesis, synthesize AAAA record by A record and pref64::/n, return to IPv6Only User.The flow of the pref64::/n network segment will be routed and be forwarded on NAT64Router, thus realize the conversion of IPv6 and IPv4 address and agreement, the resource in access IPv4 network.
In FIG, need DNS64 cooperative nat 64 to work together, for the scene of not disposing DNS64 in network, NAT64 just can not exchange visits by complete independently IPv6/IPv4.So for the situation that NAT64 works alone, needs can have corresponding technical scheme to present to simplify existing network, and the network design scope in simplified network escalation process.
The current technical scheme having the pref64::/n being obtained NAT64 by PCP mode: draft-ietf-pcp-nat64-prefix64-04, this draft increases PREFIX64Option newly by expansion PCP agreement and makes PCP Client obtain the information such as pref64::/n, IPv6Suffix and IPv4Prefix List from NAT64-Controlled PCPServer; But this technical scheme needs user and NAT64 devices enable PCP agreement, and PCP agreement itself does not have extensive use in a network.
Neighbor Discovery Protocol (Neighbor Discovery Protocol, referred to as NDP) be the crucial basic agreement of of IPv6, also be simultaneously the upgrading that integrates of some agreement of IPv4 and IPv6 and improvement, such as: ARP(Address Resolution Protocol), the discovery of Internet Control Message Protocol (ICMP) router and ICMP are redirected.And ND agreement specifically can comprise: prefix discovery, the unreachable monitoring of neighbours, repeat to address (RA) monitoring, Address Autoconfiguration etc.
Comprise Option Field in ND message, it can fill one or more option, such as: when carrying out Address Autoconfiguration, issues domain name system (DNS) server address by ND option.ND also defines some standard option simultaneously, also can define privately owned option as required to expand the function of ND, this shows that ND has good autgmentability.
For the problem of pref64::/n resource information distribution method lacking suitable NAT64 in correlation technique, at present effective solution is not yet proposed.
Summary of the invention
The invention provides a kind of NAT64 resource acquiring method and acquisition/distributor, at least to solve the problem.
According to an aspect of the present invention, provide a kind of NAT64 resource acquiring method, comprise: send router solicitation RS message to server-side devices, and receive the first router notice RA message coming from server-side devices, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; And/or the 2nd RA message that reception server end equipment initiatively sends, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
Preferably, the pref64::/n resource information of pref64::/n resource request and distribution comprises: pref64::/n prefix information and prefix length, and/or IPv6 suffix information, and/or IPv4 prefix list.
Preferably, carry the ND option of expansion in RS message, wherein, the content of ND option is request pref64::/n resource information.
Preferably, carry the ND option of expansion in a RA message and the 2nd RA message, wherein, the content of ND option is the pref64::/n resource information of distributing.
Preferably, after receiving a RA message or the 2nd RA message, also comprise: detect the local pref64::/n resource information of whether having preserved server apparatus and having distributed; When testing result is no, the pref64::/n resource information that server-side devices distributes is preserved, and ageing time is set, when testing result is for being, be newly assigned pref64::/n resource information by the pref64::/n Web Service preserved, and reset ageing time.
Preferably, after preserving the pref64::/n resource information of distributing according to pref64::/n resource request, also comprise: from the pref64::/n resource information of preserving, choose pref64::/n prefix information and prefix length and/or IPv6 suffix information, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards message according to the IPv6 address after synthesis.
Preferably, a RA message or the 2nd RA message comprise: one or more pref64::/n resource information.
Preferably, after the RA message receiving different server-side devices transmissions or the 2nd RA message, also comprise: the pref64::/n resource information that different server-side devices distributes is preserved respectively and upgraded.
According to a further aspect in the invention, provide a kind of NAT64 resource acquisition device, be positioned at client device, comprise: processing module, for sending router solicitation RS message to server-side devices, and receive the first router notice RA message coming from server-side devices, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; And/or receiver module, for the 2nd RA message that reception server end equipment initiatively sends, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
Preferably, this device also comprises: preserve and update module, for preserving the pref64::/n resource information of carrying in the RA message received and/or the 2nd RA message and/or upgrade, and arrange ageing time; Synthesis module, for choosing pref64::/n prefix information and prefix length and/or IPv6 suffix information from the pref64::/n resource information of preserving, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards message according to the IPv6 address after synthesis.
According to a further aspect in the invention, provide a kind of NAT64 resource allocation device, be positioned at server apparatus, comprise: the first distribution module, for the router solicitation RS message sent according to client device, send the first router to client device and notice RA message, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; Second distribution module, notice RA message for sending the second router to client device, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
Preferably, this device also comprises: processing module, for mating the IPv6 prefix information gone out in the object IPv6 address in message and the local pref64::/n resource stored, when the match is successful, NAT64 translation is carried out to IPv6 address, source, the message after translation is forwarded, with, NAT64 translation is carried out to the object IPv4 address entered in message, the synthesis of IPv6 address is carried out to IPv4 address, source, according to the IPv6 address after translation, message is forwarded.
Pass through the present invention, adopt by the RS message in expansion ND agreement and RA message, complete while IPv6 address stateless configures automatically, realize the mode of the automatic distribution of pref64::/n resource, solve in correlation technique the problem of the pref64::/n resource information distribution method lacking suitable NAT64, like this, the a lot of problems existed simply can be solved in NAT64 scene without the need to enable PCP agreement in a network, and then reach the complexity reducing to safeguard, strengthen the effect being transitioned into the convenience of pure IPv6.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the common application scenarios networking schematic diagram of NAT64 and DNS64 according to correlation technique;
Fig. 2 is the NAT64 resource acquiring method flow chart according to the embodiment of the present invention;
Fig. 3 is the structured flowchart of the NAT64 resource acquisition device according to the embodiment of the present invention;
Fig. 4 is the structured flowchart of the preferred NAT64 resource acquisition device according to the embodiment of the present invention;
Fig. 5 is the structured flowchart of the NAT64 resource allocation device according to the embodiment of the present invention;
Fig. 6 is the structured flowchart of the preferred NAT64 resource allocation device according to the embodiment of the present invention;
Fig. 7 is the flow chart of the acquisition methods of NAT64 resource on the first equipment according to the preferred embodiment of the invention;
Fig. 8 is the flow chart of the distribution method of NAT64 resource on the second equipment according to the preferred embodiment of the invention;
Fig. 9 is the flow chart according to the preferred embodiment of the invention the second equipment initiatively distributing NAT64 resource;
Figure 10 is the RS message packet form carrying pref64::/n resource options according to the preferred embodiment of the invention;
Figure 11 is the RA message packet form carrying pref64::/n resource options according to the preferred embodiment of the invention;
Figure 12 is the message format of the pref64::/n resource options of carrying in RS and RA message according to the preferred embodiment of the invention;
Figure 13 is that NAT64 works independently the schematic diagram carrying out disposing according to the preferred embodiment of the invention;
Figure 14 is the interaction diagrams that work independently between each network element carrying out networking deployment of NAT64 according to the preferred embodiment of the invention;
Figure 15 is the acquisition process schematic diagram of pref64::/n resource according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Embodiments provide a kind of NAT64 resource acquiring method.Fig. 2 is the NAT64 resource acquiring method flow chart according to the embodiment of the present invention, and as shown in Figure 2, the method mainly comprises the following steps (step S202-step S204):
Step S202, router solicitation RS message is sent to server-side devices, and receive the first router notice RA message coming from server-side devices, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; And/or,
Step S204, the 2nd RA message that reception server end equipment initiatively sends, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
By each step above-mentioned, the pref64::/n resource information initiatively can distributed to server-side devices request dispatching pref64::/n resource information or direct reception server end equipment, by such mode, the a lot of problems existed simply can be solved in NAT64 scene without the need to enable PCP agreement in a network, the complexity safeguarded can be reduced, strengthen the convenience being transitioned into pure IPv6.
In the present embodiment, the pref64::/n resource information of pref64::/n resource request and distribution can comprise: pref64::/n prefix information and prefix length, and/or IPv6 suffix information, and/or IPv4 prefix list.
In the present embodiment, carry the ND option of expansion in RS message, wherein, the content of ND option is request pref64::/n resource information.
In the present embodiment, carry the ND option of expansion in a RA message and the 2nd RA message, wherein, the content of ND option is the pref64::/n resource information of distributing.
In the present embodiment, after receiving a RA message or the 2nd RA message, the local pref64::/n resource information of whether having preserved server apparatus and having distributed can also be detected; When testing result is no, the pref64::/n resource information that server-side devices distributes is preserved, and ageing time is set, when testing result is for being, be newly assigned pref64::/n resource information by the pref64::/n Web Service preserved, and reset ageing time.
In the present embodiment, after preserving the pref64::/n resource information of distributing according to pref64::/n resource request, pref64::/n prefix information and prefix length and/or IPv6 suffix information can also be chosen from the pref64::/n resource information of preserving, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards message according to the IPv6 address after synthesis.
In the present embodiment, a RA message or the 2nd RA message can comprise: one or more pref64::/n resource information.
In the present embodiment, after the RA message receiving different server-side devices transmissions or the 2nd RA message, the pref64::/n resource information that different server-side devices distributes can also be preserved respectively and be upgraded.
Embodiments provide a kind of NAT64 resource acquisition device, this device is positioned at client device, for realizing above-mentioned NAT64 resource acquiring method.Fig. 3 is the structured flowchart of the NAT64 resource acquisition device according to the embodiment of the present invention, and as shown in Figure 3, this device comprises: processing module 10 and receiver module 20.Wherein, processing module 10, for sending router solicitation RS message to server-side devices, and receive the first router notice RA message coming from server-side devices, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; And/or receiver module 20, for the 2nd RA message that reception server end equipment initiatively sends, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
On the basis of the NAT64 resource acquisition device shown in Fig. 3, the embodiment of the present invention additionally provides a kind of preferably NAT64 resource acquisition device.Fig. 4 is the structured flowchart of the preferred NAT64 resource acquisition device according to the embodiment of the present invention, as shown in Figure 4, this preferred embodiment also comprises: preserve and update module 30, for preserving the pref64::/n resource information of carrying in the RA message received and/or the 2nd RA message and/or upgrade, and ageing time is set; Synthesis module 40, for choosing pref64::/n prefix information and prefix length and/or IPv6 suffix information from the pref64::/n resource information of preserving, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards message according to the IPv6 address after synthesis.
Embodiments provide a kind of NAT64 resource allocation device, this device is positioned at server apparatus, for realizing above-mentioned NAT64 resource acquiring method.Fig. 5 is the structured flowchart of the NAT64 resource allocation device according to the embodiment of the present invention, and as shown in Figure 5, this device comprises: the first distribution module 10 and the second distribution module 20.Wherein, first distribution module 10, for the router solicitation RS message sent according to client device, send the first router to client device and notice RA message, wherein, the information of carrying in RS message comprises: pref64::/n resource request, and the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request; Second distribution module 20, notice RA message for sending the second router to client device, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
On the basis of the NAT64 resource allocation device shown in Fig. 5, the embodiment of the present invention additionally provides a kind of preferably NAT64 resource allocation device.Fig. 6 is the structured flowchart of the preferred NAT64 resource allocation device according to the embodiment of the present invention, as shown in Figure 6, this preferred embodiment also comprises: processing module 30, for mating the IPv6 prefix information gone out in the object IPv6 address in message and the local pref64::/n resource stored, when the match is successful, NAT64 translation is carried out to IPv6 address, source, message after translation is forwarded, with, NAT64 translation is carried out to the object IPv4 address entered in message, the synthesis of IPv6 address is carried out to IPv4 address, source, according to the IPv6 address after translation, message is forwarded.
Below with reference to Fig. 7 to Figure 15 and preferred embodiment, the NAT64 resource acquiring method that above-described embodiment provides is further described in more detail and is illustrated.
Preferred embodiment
Fig. 7 is the flow chart of the acquisition methods of NAT64 resource on the first equipment according to the preferred embodiment of the invention, and as shown in Figure 7, this flow process comprises the following steps:
Step S702, send a RS message to server-side devices, wherein, the information of carrying in a RS message comprises: pref64::/n resource request;
Step S704, receive the RA message coming from server-side devices, wherein, the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request.
Fig. 8 is the flow chart of the distribution method of NAT64 resource on the second equipment according to the preferred embodiment of the invention, and as shown in Figure 8, this flow process comprises the following steps:
Step S802, receive the RS message coming from the first equipment, wherein, the information of carrying in a RS message comprises: pref64::/n resource request;
Step S804, send a RA message, wherein, the information of carrying in a RA message comprises: the pref64::/n resource information of distributing according to pref64::/n resource request.
Fig. 9 is the flow chart according to the preferred embodiment of the invention the second equipment initiatively distributing NAT64 resource, and as shown in Figure 9, this flow process comprises the following steps:
Step S902, on server end second equipment, NAT64 resource changes, or NAT64 equipment is restarted;
Step S904: server end second equipment initiatively sends the 2nd RA message, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information after change.
In order to have a clear understanding of message format and its message content carried of each message, (Figure 10 is the RS message packet form carrying pref64::/n resource options according to the preferred embodiment of the invention to please refer to Figure 10 to Figure 12, Figure 11 is the RA message packet form carrying pref64::/n resource options according to the preferred embodiment of the invention, and Figure 12 is the message format of the pref64::/n resource options of carrying in RS and RA message according to the preferred embodiment of the invention).
Figure 13 is the interaction diagrams that work independently between each network element carrying out networking deployment of NAT64 according to the preferred embodiment of the invention, in the flow process shown in Figure 13:
Client device IPv6Host/CPE can send a RS message to server-side devices NAT64/BRAS, and wherein, the information of carrying in a RS message comprises: pref64::/n resource request; After server-side devices NAT64/BRAS receives the RS message from client device IPv6Host/CPE, send a RA message, wherein, the information of carrying in a RA message comprises: pref64::/n resource information.
In actual applications, server-side devices NAT64/BRAS is after or before sending to a RA message of client device IPv6Host/CPE, server-side devices NAT64/BRAS initiatively sends the 2nd RA message, wherein, the information of carrying in the 2nd RA message comprises: pref64::/n resource information.
In actual applications, client device IPv6Host/CPE is after reception comes from the 2nd RA message of server-side devices NAT64/BRAS, detect this locality and whether preserve pref64::/n resource information, if do not preserved, then the pref64::/n resource information that server-side devices NAT64/BRAS distributes is preserved; If preserved, then the pref64::/n resource information that server-side devices NAT64/BRAS distributes is upgraded.
Figure 14 is that NAT64 works independently the schematic diagram carrying out disposing according to the preferred embodiment of the invention, as shown in figure 14, IPv6-Only terminal is through bridge type home gateway cpe device and access network, access band remote access server (BRAS) equipment, can realize the application that IPv6-Only user accesses far-end IP v4 server by merging NAT64 in BRAS equipment in the process to IPv6 transition.User network is IPv6-Only network, and its address uses globally unique IPv6 address.Operator's Access Network is IPv6 network, BRAS carries out IPv6 address stateless by ND to IPv6 terminal and automatically configures, simultaneously, BRAS is IPv6 terminal distribution pref64::/n resource by ND scaling option, when not having independent DNS64 to assist, realize the application demand of IPv6-Only Client-initiated access far-end IP v4 server.
Figure 15 is the acquisition process schematic diagram of pref64::/n resource according to the preferred embodiment of the invention, and as shown in figure 15, this flow process comprises the following steps:
(1) step S1502-step S1504 is IPv6 address and NAT64 resource bid process:
Step S1502, IPv6 terminal sends RS message to BRAS, wherein, the information of carrying in this RS message comprise following one of at least: the option of request IPv6 Address requests, request NAT64 resource;
Step S1504, BRAS by distribute IPv6 address and NAT64 resource (such as: IPv6 address 2002::1/96, NAT64 resource information: 2001:db8:122: :/96) alternatively encapsulate in a ra message, is then sent to IPv6 terminal;
(2) step S1506-step S1508 is the IP address process that request destination address is corresponding:
Step S1506, IPv6 terminal initiates the AAAA record queries of object Web Server to dns server, and dns server does not find corresponding AAAA record;
Step S1508, IPv6 terminal initiates the A record queries of object Web Server to dns server, and dns server finds corresponding A record, and returns A record (11.2.3.4) to IPv6 terminal;
(3) step S1510-step S1512 goes out the repeating process to flow:
Step S1510, IPv6 terminal access IPv4WEB server, it is the IPv6 address 2001:db8:122::11.2.3.4 that the IPv4 address providing source and destination IPv4Web according to the NAT64 distributed is synthesized that its WEB produced asks the IPv6 address, source of traffic messages to be 2002::1/96, object IPv6 address; Flow arrives BRAS equipment through access network;
Step S1512, BRAS equipment receives out to flow, whether coupling object IPv6 address prefix is the local NAT64 prefix configured, if, then carry out NAT64 translation to IPv6 address, source, in the message after NAT64 translation, object IPv4 address is 11.2.3.4, and IPv4 address, source is 221.2.1.1, record NAT64 translate record, then by the message repeating after conversion process to IPv4WEB server; If not, then abandon this message;
(4) step S1514-step S1516 is into the repeating process to flow:
Step S1514, IPv4Web server produces response traffic messages, and the object IPv4 address of this message is 11.2.3.4, and IPv4 address, source is 221.2.1.1;
Step S1516, enter and arrive BRAS to flow, BRAS equipment carries out NAT64 conversion process to entering to traffic messages, and the object IPv6 address after conversion is 2002::1, and IPv6 address, source is 2001::db8:122::11.2.3.4; Message repeating after conversion is to corresponding IPv6 terminal.
Adopt above preferred embodiment, while the configuration of IPv6 terminal address stateless can being carried out by ND agreement, increase the distribution that related mechanism carries out NAT64 prefix information, expand simple and convenient easy care easy to operate.
It should be noted that, above-described embodiment is a preferred embodiment of the embodiment of the present invention, the embodiment of the present invention also can be applied in other various application scenarioss, such as: the application scenarioss such as IPv6-initiated TCP Session, SIP Flow, repeat here no longer one by one.
In another embodiment, additionally provide a kind of software, this software is for performing the technical scheme described in above-described embodiment and preferred implementation.
In another embodiment, additionally provide a kind of storage medium, store above-mentioned software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
From above description, can find out, present invention achieves following technique effect: adopt by the RS message in expansion ND agreement and RA message, complete while IPv6 address stateless configures automatically, realize the mode of the automatic distribution of pref64::/n resource, solve in correlation technique the problem of the pref64::/n resource information distribution method lacking suitable NAT64, like this, the a lot of problems existed simply can be solved in NAT64 scene without the need to enable PCP agreement in a network, and then reach the complexity reducing to safeguard, strengthen the effect being transitioned into the convenience of pure IPv6.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a NAT64 resource acquiring method, is characterized in that, comprising:
Router solicitation RS message is sent to server-side devices, and receive the first router notice RA message coming from described server-side devices, wherein, the information of carrying in described RS message comprises: pref64::/n resource request, and the information of carrying in a described RA message comprises: the pref64::/n resource information of distributing according to described pref64::/n resource request; And/or,
Receive the 2nd RA message that described server-side devices initiatively sends, wherein, the information of carrying in described 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
2. method according to claim 1, is characterized in that, the pref64::/n resource information of described pref64::/n resource request and distribution comprises: pref64::/n prefix information and prefix length, and/or IPv6 suffix information, and/or IPv4 prefix list.
3. method according to claim 1, is characterized in that, carries the ND option of expansion in described RS message, and wherein, the content of described ND option is request pref64::/n resource information.
4. method according to claim 1, is characterized in that, carries the ND option of expansion in a described RA message and described 2nd RA message, and wherein, the content of described ND option is the pref64::/n resource information of distributing.
5. method according to claim 1, is characterized in that, after receiving a described RA message or described 2nd RA message, also comprises:
Detect the local pref64::/n resource information of whether having preserved described server apparatus and having distributed;
When testing result is no, the pref64::/n resource information that described server-side devices distributes is preserved, and ageing time is set, when testing result is for being, be newly assigned pref64::/n resource information by the pref64::/n Web Service preserved, and reset ageing time.
6. method according to claim 5, is characterized in that, after preserving described pref64::/n resource information of distributing according to described pref64::/n resource request, also comprises:
Pref64::/n prefix information and prefix length and/or IPv6 suffix information is chosen from the pref64::/n resource information of preserving, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards described message according to the IPv6 address after synthesis.
7. method according to claim 1, is characterized in that, a described RA message or described 2nd RA message comprise: one or more pref64::/n resource information.
8. method according to claim 1, is characterized in that, after the described RA message receiving different server-side devices transmissions or described 2nd RA message, also comprises:
The pref64::/n resource information that described different server-side devices distributes is preserved respectively and upgraded.
9. a NAT64 resource acquisition device, is positioned at client device, it is characterized in that, comprising:
Processing module, for sending router solicitation RS message to server-side devices, and receive the first router notice RA message coming from described server-side devices, wherein, the information of carrying in described RS message comprises: pref64::/n resource request, and the information of carrying in a described RA message comprises: the pref64::/n resource information of distributing according to described pref64::/n resource request; And/or,
Receiver module, for receiving the 2nd RA message that described server-side devices initiatively sends, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
10. device according to claim 9, is characterized in that, described device also comprises:
Preserve and update module, for preserving the pref64::/n resource information of carrying in the described RA message received and/or described 2nd RA message and/or upgrade, and ageing time is set;
Synthesis module, for choosing pref64::/n prefix information and prefix length and/or IPv6 suffix information from the pref64::/n resource information of preserving, the synthesis of IPv6 address is carried out in object IPv4 address IPv6 client being sent to the message of IPv4 wide area network server, forwards described message according to the IPv6 address after synthesis.
11. 1 kinds of NAT64 resource allocation devices, are positioned at server apparatus, it is characterized in that, comprising:
First distribution module, for the router solicitation RS message sent according to client device, send the first router to described client device and notice RA message, wherein, the information of carrying in described RS message comprises: pref64::/n resource request, and the information of carrying in a described RA message comprises: the pref64::/n resource information of distributing according to described pref64::/n resource request;
Second distribution module, notice RA message for sending the second router to described client device, wherein, the information of carrying in the 2nd RA message comprises: the pref64::/n resource information of initiatively distributing.
12. devices according to claim 11, is characterized in that, described device also comprises:
Processing module, for mating the IPv6 prefix information gone out in the object IPv6 address in message and the local pref64::/n resource stored, when the match is successful, NAT64 translation is carried out to IPv6 address, source, message after translation is forwarded, and, NAT64 translation is carried out to the object IPv4 address entered in message, the synthesis of IPv6 address is carried out to IPv4 address, source, according to the IPv6 address after translation, described message is forwarded.
CN201410101594.5A 2014-03-18 2014-03-18 A kind of NAT64 resource acquiring method and acquisition/distributor Active CN104935677B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410101594.5A CN104935677B (en) 2014-03-18 2014-03-18 A kind of NAT64 resource acquiring method and acquisition/distributor
PCT/CN2014/082854 WO2015139397A1 (en) 2014-03-18 2014-07-23 Nat64 resource acquisition method and acquisition/distribution apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410101594.5A CN104935677B (en) 2014-03-18 2014-03-18 A kind of NAT64 resource acquiring method and acquisition/distributor

Publications (2)

Publication Number Publication Date
CN104935677A true CN104935677A (en) 2015-09-23
CN104935677B CN104935677B (en) 2019-10-18

Family

ID=54122643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410101594.5A Active CN104935677B (en) 2014-03-18 2014-03-18 A kind of NAT64 resource acquiring method and acquisition/distributor

Country Status (2)

Country Link
CN (1) CN104935677B (en)
WO (1) WO2015139397A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654444A (en) * 2020-06-10 2020-09-11 展讯通信(上海)有限公司 IPv6 prefix obtaining method, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107122B (en) * 2018-10-29 2023-08-18 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for discovering fog resources in a network
CN111385173B (en) * 2018-12-28 2023-08-25 中兴通讯股份有限公司 Message processing method and device, control plane equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931658A (en) * 2009-06-26 2010-12-29 ***通信集团公司 Method and device for IPv6 host computer with IPv4 application to perform communication
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102299974A (en) * 2010-06-25 2011-12-28 中兴通讯股份有限公司 Method and device for realizing IPv6 (Internet Protocol Version 6) prefix distribution
CN102938735A (en) * 2012-11-15 2013-02-20 北京邮电大学 Method utilizing router advertisement carrying options to issue network address translator (NAT) 64 address prefix
CN103179227A (en) * 2013-03-21 2013-06-26 北京邮电大学 Method for host selection and address configuration manner switchover of IPv6 (Internet Protocol version 6) network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931658A (en) * 2009-06-26 2010-12-29 ***通信集团公司 Method and device for IPv6 host computer with IPv4 application to perform communication
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102299974A (en) * 2010-06-25 2011-12-28 中兴通讯股份有限公司 Method and device for realizing IPv6 (Internet Protocol Version 6) prefix distribution
CN102938735A (en) * 2012-11-15 2013-02-20 北京邮电大学 Method utilizing router advertisement carrying options to issue network address translator (NAT) 64 address prefix
CN103179227A (en) * 2013-03-21 2013-06-26 北京邮电大学 Method for host selection and address configuration manner switchover of IPv6 (Internet Protocol version 6) network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654444A (en) * 2020-06-10 2020-09-11 展讯通信(上海)有限公司 IPv6 prefix obtaining method, equipment and storage medium

Also Published As

Publication number Publication date
CN104935677B (en) 2019-10-18
WO2015139397A1 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
EP2536108B1 (en) Method, system and apparatus for acquiring ipv6 configuration information in ipv6 transient network
EP2364543B1 (en) Broadband network access
CN102271050B (en) Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment
US9479422B2 (en) mDNS-DNS architecture
US20160006822A1 (en) Service discovery within multi-link networks
JP5848478B2 (en) Split network address translation
CN105323173A (en) Network rule entry setting method and device
CN104821905A (en) Network relay device, and method for relaying data packet
US20140032782A1 (en) Method and apparatus for route selection of host in multihoming site
US20140313933A1 (en) Method, apparatus, and system for layer 2 interworking based on ipv6
CN104883407A (en) IPv6 address handling method and apparatus and DHCPv6 relay
CN103227787B (en) Automatic 4over6 tunnel establishment method based on ARP proxy
CN103338151A (en) Method of accessing private network server on public network client side, and router
CN101873320B (en) Client information verification method based on DHCPv6 relay and device thereof
JP6383797B2 (en) NAT64 prefix processing method, network device, and DHCPv6 server
CN101730166B (en) System and method for mobile IP
CN104935677B (en) A kind of NAT64 resource acquiring method and acquisition/distributor
US10129145B2 (en) Routing IPv6 packets between autonomous systems
JP3646936B2 (en) IPv4 management method and management apparatus in IPv6 wireless LAN environment
CN105721833A (en) Social monitoring resource access method and device
EP3313038B1 (en) Method and apparatus for updating internet protocol (ip) address, and gateway
CN116800710A (en) Network communication 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