CN106713528B - A kind of method of home gateway and IPv6 host access network server - Google Patents

A kind of method of home gateway and IPv6 host access network server Download PDF

Info

Publication number
CN106713528B
CN106713528B CN201710154697.1A CN201710154697A CN106713528B CN 106713528 B CN106713528 B CN 106713528B CN 201710154697 A CN201710154697 A CN 201710154697A CN 106713528 B CN106713528 B CN 106713528B
Authority
CN
China
Prior art keywords
connection request
address
response message
module
ipv6
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.)
Active
Application number
CN201710154697.1A
Other languages
Chinese (zh)
Other versions
CN106713528A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201710154697.1A priority Critical patent/CN106713528B/en
Publication of CN106713528A publication Critical patent/CN106713528A/en
Application granted granted Critical
Publication of CN106713528B publication Critical patent/CN106713528B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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/251Translation of Internet protocol [IP] addresses between different IP versions

Abstract

The invention discloses a kind of methods of home gateway and IPv6 host access network server, are related to network communication technology field.Home gateway includes DNS64 module, routing module and NAT module;DNS64 module is used to the analysis request for the network server domain name that IPv6 host issues being transmitted to dns server, when the corresponding IP address of domain name that dns server returns is the address IPv4, the corresponding IP address of domain name is synthesized into the address IPv6 and is sent to IPv6 host;Routing module is used to for the second connection request that NAT module carries out network address translation acquisition to the first connection request being forwarded to network server, and the response message for the second connection request that network server returns is forwarded to IPv6 host after NAT module is converted into the response message of the first connection request.The present invention realizes IPv6 host access IPv6 Internet resources and IPv4 Internet resources.

Description

A kind of method of home gateway and IPv6 host access network server
The present invention relates to network communication technology field, it is specifically related to a kind of home gateway and IPv6 host access network clothes The method of business device.
Background technique
Home gateway (Residential Gateway) be in-home network information equipment and Smart Broadband Access Network it Between intelligent gateway, home gateway includes network side and user side, and network side is from Internet Service Provider (Internet Service Provider, ISP) internet address is obtained, and available network address is distributed for user side.With internet protocol The exhaustion and personal device for discussing edition 4 (Internet Protocol Version 4, IPv4) available address access network demand Sharp increase, more and more personal devices start to support to dispose pure IPv6 (Internet in the user side of home gateway Protocol Version 6) local area network, personal device become only support IPv6 protocol stack IPv6 host, can directly access Support the IPv6 network server of IPv6 protocol stack.But current more IPv4 network server still uses the address IPv4 IPv4 protocol stack is only supported in access, since IPv6 host and IPv4 network server run different internet protocol versions It cannot be directly connected to, relative to network side IPv4 network server abundant, Customer Premises Network is isolated IPv6 site.
In order to realize that IPv6 host accesses IPv4 Internet resources, a kind of scheme generallyd use at present is by IPv6 IPv4/IPv6 dual stack is run on host to solve, the two multiple operation is non-interference, and this scheme requires IPv6 host Also it supports IPv4 protocol stack, is not suitable for the network deployment request of user, therefore, also develops based on IPv6 to IPv4 at present Network address translation (Network Address Translation IPv6-IPv4, NAT64) and IPv6 and IPv4 domain name system The NAT64/DNS64 technical solution of (Domain Name System IPv6-IPv4, the DNS64) technology of system, wherein DNS64 root The address IPv6 that IPv6 host uses is synthesized according to the address IPv4 of IPv4 network server, IPv6 of the NAT64 based on synthesis Location executes address conversion and protocol conversion, and this scheme often relies on ISP and supports NAT64, and need to home gateway with Outer other facilities are modified, and network upgrade difficulty and increased costs are caused.
Summary of the invention
In view of the deficiencies in the prior art, the main purpose of the present invention is to provide a kind of home gateway, the present invention Another object be to provide the method for IPv6 host access network server a kind of, can be realized home gateway user side IPv6 host can access IPv6 Internet resources, can also access IPv4 Internet resources, without to its other than home gateway Its facility carries out any modification.
The present invention provides a kind of home gateway, and home gateway includes DNS64 module, routing module and NAT module;
DNS64 module is used to send routing module for the analysis request for the network server domain name that IPv6 host issues, And the response message for the analysis request that dns server returns is received from routing module, when the corresponding IP address of domain name When for the address IPv4, the corresponding IP address of domain name is synthesized into the address IPv6 and is sent to IPv6 host;
Routing module is used to forward the analysis request and its response message between DNS64 module and dns server;When When determining IPv6 address of the purpose IP address for the first connection request that IPv6 host issues for synthesis, by NAT module to described The second connection request that first connection request carries out network address translation acquisition is forwarded to network server, and by network server The response message of second connection request returned is after NAT module is converted into the response message of first connection request It is forwarded to IPv6 host;
NAT module is used for according to preset network address translation NAT rule, with carrying out network to first connection request The second connection request is obtained after the conversion of location, obtains institute after carrying out network address translation to the response message of second connection request State the response message of the first connection request, the network address of second connection request be include the corresponding IP address of domain name The publicly-owned address IPv4.
Based on the above technical solution, the NAT module includes NAT64 unit and NAT44 unit;
NAT64 unit is used to be sent to NAT44 unit after first connection request is converted to privately owned connection request, with And routing mould is forwarded to after the response message of the privately owned connection request to be converted to the response message of first connection request Block, wherein the network address in the privately owned connection request is the address IPv6 host corresponding private ip v4;
NAT44 unit is for being forwarded to routing mould after the privately owned connection request is converted to second connection request Block, and be sent to after the response message of second connection request to be converted to the response message of the privately owned connection request NAT64 unit.
Based on the above technical solution, when the corresponding IP address of domain name is the address IPv6, routing module is also For forwarding first connection request and its response message between IPv6 host and network server.
Based on the above technical solution, the preset network address translation NAT rule includes before converting and converting The corresponding relationship and conversion direction of network address afterwards, the network address of the pre- and post-conversion include IP address and Port numbers.
The method for the IPv6 host access network server that the present invention also provides a kind of based on the home gateway comprising Following steps:
The analysis request for the network server domain name that IPv6 host issues is transmitted to dns server by DNS64 module, when When the corresponding IP address of domain name that dns server returns is the address IPv4, the corresponding IP address of domain name is synthesized The address IPv6 is simultaneously sent to IPv6 host;
When the purpose IP address for the first connection request that IPv6 host issues is the address IPv6 of synthesis, routing module will The second connection request that NAT module carries out network address translation acquisition to first connection request is forwarded to network server, And the response message for second connection request that network server returns is converted into first connection by NAT module and is asked Be forwarded to IPv6 host after the response message asked, the network address of second connection request be include the corresponding IP of domain name The publicly-owned address IPv4 of address.
Based on the above technical solution, NAT module is carried out network to first connection request by routing module The second connection request that location conversion obtains is forwarded to network server, and second connection request that network server is returned Response message be forwarded to IPv6 host after NAT module is converted into the response message of first connection request and include:
Routing module receives the first connection request that IPv6 host issues;
When determining IPv6 address of the purpose IP address of first connection request for synthesis, first connection is asked It asks and is sent to NAT module;
NAT module is sent to routing module after first connection request is converted to the second connection request;
Second connection request is forwarded to network server by routing module;
The response message for second connection request that network server returns is sent back NAT module by routing module;
After the response message of second connection request is converted to the response message of first connection request by NAT module It is sent to routing module;
The response message of first connection request is forwarded to IPv6 host by routing module.
Based on the above technical solution, the method also includes: when the corresponding IP address of domain name for IPv6 When location, routing module forwards first connection request and its response message between IPv6 host and network server.
Based on the above technical solution, the preset network address translation NAT rule includes before converting and converting The corresponding relationship and conversion direction of network address afterwards, the network address of the pre- and post-conversion include IP address and Port numbers.
Based on the above technical solution, the preset network address translation NAT rule includes first network address NAT rule and the second network address translation NAT rule are converted,
First connection request is converted to privately owned connection request by the first network address conversion NAT rule, and The response message of the privately owned connection request is converted to the response message of second connection request, wherein the privately owned company The network address for connecing request is the address IPv6 host corresponding private ip v4;
The privately owned connection request is converted to second connection request by the second network address translation NAT rule, And the response message of second connection request is converted to the response message of the privately owned connection request.
Based on the above technical solution, the NAT module includes NAT64 unit and NAT44 unit;
NAT64 unit is sent to NAT44 unit after first connection request is converted to privately owned connection request, and will The response message of the privately owned connection request is forwarded to routing module after being converted to the response message of first connection request;
NAT44 unit is forwarded to routing module after the privately owned connection request is converted to second connection request, with And the response message of second connection request is converted to to be sent to NAT64 after the response message of the privately owned connection request mono- Member.
Compared with prior art, advantages of the present invention is as follows:
(1) realize that the IPv6 host of home gateway user side can access IPv6 Internet resources, it is mutual also to access IPv4 Networked resources reduce complexity, the upgrading difficulty of network side without carrying out any modification to other facilities other than home gateway And cost, also reduce network operation difficulty and workload.
(2) on the basis of the routing module of original home gateway and NAT44 unit, by increase DNS64 module and The function of access IPv6 and IPv4 Internet resources can be realized in the software upgrading mode of NAT64 unit, and is convenient for switching Control, reduces the complexity, upgrading difficulty and cost of routing, and simplifies network fault diagnosis.
(3) in the case where realizing access IPv4 network server, it is ensured that IPv6 host accesses IPv6 network server Transmission speed promotes user experience.
Detailed description of the invention
Fig. 1 is the system schematic of home gateway of the embodiment of the present invention;
Fig. 2 is the method flow diagram of IPv6 host of embodiment of the present invention access network server;
Fig. 3 is the flow chart of step S4 in Fig. 2;
Fig. 4 is the message interaction schematic diagram of the IPv6 host access IPv4 network server of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of home gateway, IPv6 host by home gateway respectively with The network server that IPv6 host requests access to is connected with dns server, and dns server sends network server to home gateway The address IPv6 IPv4.Home gateway includes DNS64 module, routing module and NAT module.
DNS64 module is used to send routing module for the analysis request for the network server domain name that IPv6 host issues, And from routing module receive dns server return analysis request response message, when the corresponding IP address of domain name for IPv4 When location, for example, it includes that A is recorded that the corresponding IP address of domain name, which is in A:example.com, the corresponding IP address of domain name is synthesized The address IPv6 is simultaneously sent to IPv6 host.
Domain name mapping request includes the domain address for the network server that IPv6 host requests access to, according to analysis request Response message, obtains IP address corresponding with the domain name, which is the address IPv6 or the address IPv4.DNS64 module The address IPv6 is synthesized based on the address IPv4 and scheduled IPv6 prefix, such as scheduled IPv6 prefix is 2001:db8:ffff.
Routing module is used to forward the analysis request and its response message between DNS64 module and dns server;Work as judgement When the purpose IP address for the first connection request that IPv6 host issues is the address IPv6 of synthesis, NAT module is connected to first The second connection request that request carries out network address translation acquisition is forwarded to network server, and that network server is returned The response message of two connection requests is forwarded to IPv6 host after NAT module is converted into the response message of the first connection request.
Routing module determines that IPv6 host issues according to the scheduled IPv6 prefix that DNS64 module is used to synthesize the address IPv6 The first connection request purpose IP address be synthesis the address IPv6.
When the corresponding IP address of domain name is the address IPv6, for example, the corresponding IP address of domain name is AAAA: It include that AAAA is recorded in example.com, routing module is also used to forward first between IPv6 host and network server to connect Connect request and its response message.The embodiment of the present invention can be in the case where realizing access IPv4 network server, it is ensured that IPv6 Host accesses the transmission speed of IPv6 network server, promotes user experience.
When the purpose IP address of first connection request is the address IPv6 of synthesis, NAT module is used for according to preset network Address conversion NAT rule, obtains the second connection request after carrying out network address translation to the first connection request, asks to the second connection The response message asked carries out the response message that the first connection request is obtained after network address translation, the network of the second connection request Location is the publicly-owned address IPv4 for including the corresponding IP address of domain name.
NAT module includes NAT64 unit and NAT44 unit, and NAT64 unit is privately owned for being converted to the first connection request It is sent to NAT44 unit after connection request, and the response message of privately owned connection request is converted to the sound of the first connection request Routing module is forwarded to after answering message, wherein the network address in privately owned connection request is the corresponding private ip v4 of IPv6 host Address.NAT44 unit, which is used to be converted to privately owned connection request, is forwarded to routing module after the second connection request, and by second The response message of connection request is sent to NAT64 unit after being converted to the response message of privately owned connection request.
The embodiment of the present invention is on the basis of the routing module of original home gateway and NAT44 unit, by increasing DNS64 Module and the software upgrading mode of NAT64 unit can be realized access IPv6 and IPv4 Internet resources function, and convenient for into Row switch control, reduces the complexity, upgrading difficulty and cost of routing, and simplifies network fault diagnosis.
The IPv6 host that the embodiment of the present invention can be realized home gateway user side can access IPv6 Internet resources, IPv4 Internet resources can be accessed, without carrying out any modification to other facilities other than home gateway, reduce the complexity of network Property, upgrading difficulty and cost, also reduce network operation difficulty and workload.
Shown in Figure 2, the embodiment of the present invention provides a kind of method of IPv6 host access network server comprising with Lower step:
The analysis request for the network server domain name that IPv6 host issues is transmitted to dns server by S1.DNS64 module, When the corresponding IP address of domain name that dns server returns is the address IPv4, with synthesizing IPv6 by the corresponding IP address of domain name Location is simultaneously sent to IPv6 host.
Domain name mapping request includes the domain address for the network server that IPv6 host requests access to, according to analysis request Response message, obtains IP address corresponding with the domain name, which is the address IPv6 or the address IPv4.DNS64 module The address IPv6 is synthesized based on the address IPv4 and scheduled IPv6 prefix.
Step S1 is specifically included:
The analysis request for the network server domain name that IPv6 host issues is sent routing module by DNS64 module, routing Analysis request is transmitted to dns server by module, and the corresponding IP address of domain name that dns server returns is sent back DNS64 The response message of module, the analysis request that DNS64 module is returned according to dns server judged, as the corresponding IP of domain name When location is the address IPv4, the corresponding IP address of domain name is synthesized into the address IPv6 and is sent to IPv6 host.
S2. routing module receives the first connection request that IPv6 host issues;
S3. routing module judges whether the purpose IP address for the first connection request that IPv6 host issues is the IPv6 synthesized Address, if so, into S4;If it is not, into S5.
S4. NAT module is carried out the second connection request of network address translation acquisition by routing module to the first connection request It is forwarded to network server, and the response message for the second connection request that network server returns is converted by NAT module Be forwarded to IPv6 host after the response message of first connection request, the network address of the second connection request be include that domain name is corresponding The publicly-owned address IPv4 of IP address.
Specifically, the corresponding IP address of purpose IP address, that is, domain name of the second connection request, the source IP of the second connection request Address, that is, home gateway IP address, the purpose IP address and source IP address of the second connection request are the address IPv4, i.e. IPv6 When host accesses IPv4 network server, the network side of home gateway is based on IPv4 agreement.
Preset network address translation NAT rule includes the corresponding relationship of the network address of pre- and post-conversion and turns Direction is changed, the network address of pre- and post-conversion includes IP address and port numbers.
Preset network address translation NAT rule includes that first network address conversion NAT rule and the second network address turn NAT rule is changed, the first connection request is converted to privately owned connection request by first network address conversion NAT rule, and will be privately owned The response message of connection request is converted to the response message of the first connection request, wherein the network address of privately owned connection request is The address IPv6 host corresponding private ip v4.Privately owned connection request is converted to the second company by the second network address translation NAT rule Request is connect, and the response message of the second connection request is converted to the response message of privately owned connection request.
First network address conversion NAT rule includes a private ip v4 is selected from specified private ip v4 address field Network address of the location as the corresponding privately owned connection request of IPv6 host, the address private ip v4 with have scheduled IPv6 prefix The first connection request and its network address of response message there are mapping relations one by one.Second network address translation NAT rule The network address of network address and the second connection request and its response message including privately owned connection request and its response message it Between mapping relations.
Table 1 is illustrated to first network address conversion NAT rule and the second network address translation NAT rule.
After privately owned connection request and its response message and conversion after 1: the first connection request of table and its response message, conversion The second connection request and its response message network address corresponding relationship and conversion direction.
Wherein, for the purpose of network address 1 perhaps source address when network address 2 be corresponding source or destination address, Fig. 4 The message interaction schematic diagram that IPv4 network server is accessed for the IPv6 host of the embodiment of the present invention turns according to first network address When changing NAT rule the first connection request being converted to privately owned connection request, the destination address of the first connection request includes destination IP Address and destination slogan: [2001:db8:ffff::10.25.9.10]: 80, wherein according to the corresponding IP address of domain name 10.25.9.10 the synthesized address IPv6 is 2001:db8:ffff::10.25.9.10, the source address packet of the first connection request Include source IP address and source port number: [2001:db8::2]: 10697.The destination address of privately owned connection request after conversion includes mesh IP address and destination slogan: 10.25.9.10:80, the source address of the privately owned connection request after conversion include source IP address and Source port number: 192.168.255.2:20139.The destination address for the connection request that conversion direction is received according to NAT module and source Address determines, for example, the destination address and source address of the first connection request received according to NAT module, judge that the first connection is asked Seeking Truth is then converted to the purpose IP address of the first connection request and destination slogan privately owned from IPv6 host-to-network server The purpose IP address and destination slogan of connection request, the source IP address and source port number of the first connection request are converted to privately owned company Connect the source IP address and source port number of request.
The destination address of the response message of first connection request includes purpose IP address and destination slogan: [2001: Db8::2]: 10697, the source address of the first connection request includes source IP address and source port number: [2001:db8:ffff:: 10.25.9.10]:80;The destination address of the response message of privately owned connection request after conversion includes purpose IP address and destination Slogan: 192.168.255.2:20139, the source address of the response message of the privately owned connection request after conversion include source IP address and Source port number: 10.25.9.10:80.
NAT module includes NAT64 unit and NAT44 unit.NAT64 unit is according to first network address conversion NAT rule First connection request is converted to and is sent to NAT44 unit after privately owned connection request, and by the response report of privately owned connection request Text is forwarded to routing module after being converted to the response message of the first connection request.NAT44 unit is according to the second network address translation Privately owned connection request is converted to and is forwarded to routing module after the second connection request by NAT rule, and by the second connection request Response message is sent to NAT64 unit after being converted to the response message of privately owned connection request.
NAT64 unit selects an address private ip v4 from specified private ip v4 address field, passes through what is mapped one by one Mode, will with scheduled IPv6 prefix the first connection request mapping network addresses to the address private ip v4 of selection on, And mapping relations are saved in mapped file, NAT64 unit carries out the first connection request according to mapped file and its response is reported The literary network address translation between privately owned connection request and its response message.
The embodiment of the present invention is on the basis of the routing module of original home gateway and NAT44 unit, by increasing DNS64 Module and the software upgrading mode of NAT64 unit can be realized access IPv6 and IPv4 Internet resources function, and convenient for into Row switch control, reduces the complexity, upgrading difficulty and cost of routing, and simplifies network fault diagnosis.
Shown in Figure 3, step S4 is specifically included:
The first connection request is sent NAT64 unit by S4.1 routing module.
S4.2NAT64 unit is sent to NAT44 unit after the first connection request is converted to privately owned connection request.
S4.3NAT44 unit is forwarded to routing module after privately owned connection request is converted to the second connection request.
Second connection request is forwarded to network server by S4.4 routing module.
The response message for the second connection request that network server returns is sent back NAT44 unit by S4.5 routing module.
S4.6NAT44 unit is sent out after the response message of the second connection request to be converted to the response message of privately owned connection request It is sent to NAT64 unit.
S4.7NAT64 unit turns after the response message of privately owned connection request to be converted to the response message of the first connection request It is dealt into routing module.
The response message of first connection request is forwarded to IPv6 host by S4.8 routing module.
S5. the first connection request and its response message between routing module forwarding IPv6 host and network server.
The first connection request that routing module issues IPv6 host is sent to network server, and network server is returned The response message of the first connection request returned is sent to IPv6 host, when IPv6 host accesses IPv6 network server, home network The network side of pass is based on IPv6 agreement.
The embodiment of the present invention can be in the case where realizing access IPv4 network server, it is ensured that IPv6 host accesses IPv6 The transmission speed of network server promotes user experience.
The IPv6 host that the embodiment of the present invention can be realized home gateway user side can access IPv6 Internet resources, IPv4 Internet resources can be accessed, without carrying out any modification to other facilities other than home gateway, reduce the complexity of network Property, upgrading difficulty and cost, also reduce network operation difficulty and workload.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of home gateway, it is characterised in that: home gateway includes DNS64 module, routing module and NAT module;
DNS64 module is used to send routing module for the analysis request for the network server domain name that IPv6 host issues, and from Routing module receives the response message for the analysis request that dns server returns, when the corresponding IP address of domain name is When the address IPv4, the corresponding IP address of domain name is synthesized into the address IPv6 and is sent to IPv6 host;
Routing module is used to forward the analysis request and its response message between DNS64 module and dns server;Work as judgement When the purpose IP address for the first connection request that IPv6 host issues is the address IPv6 of synthesis, by NAT module to described first The second connection request that connection request carries out network address translation acquisition is forwarded to network server, and network server is returned The response message of second connection request forwarded after NAT module is converted into the response message of first connection request To IPv6 host;
NAT module is used to carry out network address according to preset network address translation NAT rule to first connection request and turn The second connection request is obtained after changing, and obtain after network address translation described the to the response message of second connection request The response message of one connection request, the network address of second connection request are the public affairs for including the corresponding IP address of domain name There is the address IPv4.
2. home gateway as described in claim 1, it is characterised in that: the NAT module includes NAT64 unit and NAT44 mono- Member;
NAT64 unit is sent to NAT44 unit after being used to be converted to first connection request privately owned connection request, and will The response message of the privately owned connection request is forwarded to routing module after being converted to the response message of first connection request, In, the network address in the privately owned connection request is the address IPv6 host corresponding private ip v4;
NAT44 unit is used to be forwarded to routing module after the privately owned connection request is converted to second connection request, with And the response message of second connection request is converted to to be sent to NAT64 after the response message of the privately owned connection request mono- Member.
3. home gateway as described in claim 1, it is characterised in that: when the corresponding IP address of domain name is the address IPv6 When, routing module is also used to forward first connection request and its response message between IPv6 host and network server.
4. home gateway as described in any one of claims 1 to 3, it is characterised in that: the preset network address translation NAT Rule includes the corresponding relationship and conversion direction of the network address of pre- and post-conversion, the net of the pre- and post-conversion Network address includes IP address and port numbers.
5. a kind of method of the IPv6 host access network server based on home gateway described in claim 1, which is characterized in that Itself the following steps are included:
The analysis request for the network server domain name that IPv6 host issues is sent routing module, routing module by DNS64 module The analysis request is transmitted to dns server, when dns server return the corresponding IP address of domain name for IPv4 When location, the corresponding IP address of domain name is synthesized into the address IPv6 and is sent to IPv6 host;
When the purpose IP address for the first connection request that IPv6 host issues be the address IPv6 synthesized, routing module is by NAT The second connection request that module carries out network address translation acquisition to first connection request is forwarded to network server, and will The response message for second connection request that network server returns is converted into first connection request by NAT module Be forwarded to IPv6 host after response message, the network address of second connection request be include the corresponding IP address of domain name The publicly-owned address IPv4.
6. the method for IPv6 host as claimed in claim 5 access network server, which is characterized in that routing module is by NAT The second connection request that module carries out network address translation acquisition to first connection request is forwarded to network server, and will The response message for second connection request that network server returns is converted into first connection request by NAT module IPv6 host is forwarded to after response message includes:
Routing module receives the first connection request that IPv6 host issues;
When determining IPv6 address of the purpose IP address of first connection request for synthesis, first connection request is sent out It is sent to NAT module;
NAT module is sent to routing module after first connection request is converted to the second connection request;
Second connection request is forwarded to network server by routing module;
The response message for second connection request that network server returns is sent back NAT module by routing module;
NAT module is sent after the response message of second connection request to be converted to the response message of first connection request To routing module;
The response message of first connection request is forwarded to IPv6 host by routing module.
7. the method for IPv6 host access network server as claimed in claim 5, which is characterized in that the method is also wrapped Include: when the corresponding IP address of domain name is the address IPv6, routing module is forwarded between IPv6 host and network server First connection request and its response message.
8. such as the method for the described in any item IPv6 host access network servers of claim 5 to 7, it is characterised in that: described Preset network address translation NAT rule includes the corresponding relationship and conversion direction of the network address of pre- and post-conversion, The network address of the pre- and post-conversion includes IP address and port numbers.
9. the method for IPv6 host access network server as claimed in claim 8, it is characterised in that: the preset network Address conversion NAT rule includes first network address conversion NAT rule and the second network address translation NAT rule,
First connection request is converted to privately owned connection request by the first network address conversion NAT rule, and by institute The response message for stating privately owned connection request is converted to the response message of first connection request, wherein the privately owned connection is asked The network address asked is the address IPv6 host corresponding private ip v4;
The privately owned connection request is converted to second connection request by the second network address translation NAT rule, and The response message of second connection request is converted to the response message of the privately owned connection request.
10. the method for IPv6 host access network server as claimed in claim 9, it is characterised in that: the NAT module packet Include NAT64 unit and NAT44 unit;
NAT64 unit is sent to NAT44 unit after first connection request is converted to privately owned connection request, and will be described The response message of privately owned connection request is forwarded to routing module after being converted to the response message of first connection request;
NAT44 unit is forwarded to routing module after the privately owned connection request is converted to second connection request, and will The response message of second connection request is sent to NAT64 unit after being converted to the response message of the privately owned connection request.
CN201710154697.1A 2017-03-15 2017-03-15 A kind of method of home gateway and IPv6 host access network server Active CN106713528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710154697.1A CN106713528B (en) 2017-03-15 2017-03-15 A kind of method of home gateway and IPv6 host access network server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710154697.1A CN106713528B (en) 2017-03-15 2017-03-15 A kind of method of home gateway and IPv6 host access network server

Publications (2)

Publication Number Publication Date
CN106713528A CN106713528A (en) 2017-05-24
CN106713528B true CN106713528B (en) 2019-08-13

Family

ID=58886778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710154697.1A Active CN106713528B (en) 2017-03-15 2017-03-15 A kind of method of home gateway and IPv6 host access network server

Country Status (1)

Country Link
CN (1) CN106713528B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262958B (en) * 2020-01-09 2023-02-03 深信服科技股份有限公司 Internal and external website interaction method, device, equipment and computer readable storage medium
US11683286B2 (en) 2021-11-18 2023-06-20 Cisco Technology, Inc. Anonymizing server-side addresses
CN117176559B (en) * 2023-11-01 2024-01-16 明阳时创(北京)科技有限公司 NAT 64-based cross-protocol stack network fault positioning method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0840482A1 (en) * 1996-11-01 1998-05-06 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
CN101022426A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Method for realizing static network address translation-protocol conversion and gateway equipment
CN101136910A (en) * 2006-08-30 2008-03-05 中国电信股份有限公司 Network address and protocol translating equipment and application layer gateway equipment
CN105530159A (en) * 2016-01-19 2016-04-27 武汉烽火网络有限责任公司 Cross-IPv6 and IPv4 VPN inter-access method and system
CN105939398A (en) * 2015-08-14 2016-09-14 杭州迪普科技有限公司 IPv6 transition method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0840482A1 (en) * 1996-11-01 1998-05-06 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
CN101136910A (en) * 2006-08-30 2008-03-05 中国电信股份有限公司 Network address and protocol translating equipment and application layer gateway equipment
CN101022426A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Method for realizing static network address translation-protocol conversion and gateway equipment
CN105939398A (en) * 2015-08-14 2016-09-14 杭州迪普科技有限公司 IPv6 transition method and device
CN105530159A (en) * 2016-01-19 2016-04-27 武汉烽火网络有限责任公司 Cross-IPv6 and IPv4 VPN inter-access method and system

Also Published As

Publication number Publication date
CN106713528A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN101946493B (en) Method and system for providing connectivity between clients connected to the internet
US9407567B2 (en) Enabling external access to multiple services on a local server
US7154891B1 (en) Translating between globally unique network addresses
US20050021603A1 (en) Server
US9191317B2 (en) Method and system for implementing interconnection between internet protocol version 4 network and new network
CN105681491A (en) DNS (Domain Name Resolution) acceleration method, system and device
CN103650424A (en) Implementation method and server of home gateway service function
CN102572008B (en) Communication service processing method and system, gateway device
CN105323173A (en) Network rule entry setting method and device
JP2003249942A (en) Apparatus for converting internet protocol address, home network system using the same and communication method thereof
CN102934410A (en) Enhancing ds-lite with private ipv4 reachability
JP2004312609A (en) Dynamic dns registration method, domain name solution method, proxy server, and address translation instrument
CN106713528B (en) A kind of method of home gateway and IPv6 host access network server
CN107836103A (en) Resource discovering in local network
RU2008115139A (en) EQUIPMENT, SYSTEM AND METHOD FOR COMMUNICATION BETWEEN CUSTOMER AND SERVER
WO2018014434A1 (en) Network system, proxy server, and data processing method and system used by same
JP5506932B2 (en) Method, system and communication terminal for realizing mutual communication between new network and Internet
CN106254407A (en) The method and device that a kind of home network service is shared
CN108063839A (en) A kind of method for accessing network and the device for accessing network
CN107979659A (en) Convenient access method, system, electronic equipment and storage medium based on domain name
CN111884902A (en) VPN scene network shunting method and device
CN105635335B (en) Social resources cut-in method, apparatus and system
JP2002354006A (en) Network system for duplicate address
EP2071810B1 (en) Method to obtain an Internet protocol address
CN210867778U (en) System capable of converting IPv4 and IPv6 addresses

Legal Events

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