CN106713528A - Home gateway and method of IPv6 host to access network server - Google Patents
Home gateway and method of IPv6 host to access network server Download PDFInfo
- Publication number
- CN106713528A CN106713528A CN201710154697.1A CN201710154697A CN106713528A CN 106713528 A CN106713528 A CN 106713528A CN 201710154697 A CN201710154697 A CN 201710154697A CN 106713528 A CN106713528 A CN 106713528A
- Authority
- CN
- China
- Prior art keywords
- connection request
- response message
- ipv6
- address
- main frames
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/251—Translation of Internet protocol [IP] addresses between different IP versions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a home gateway and a method of an IPv6 host to access a network server, and relates to the technical field of network communication. The home gateway comprises a DNS64 module, a routing module and an NAT module; the DNS64 module is used for forwarding an analysis request of a network server domain name sent by the IPv6 host to a DNS server, when an IP address corresponding to a domain name returned by the DNS server is an IPv4 address, synthesizing the IP address corresponding to the domain name into an IPv6 address, and sending the IPv6 address to the IPv6 host; the routing module is used for forwarding a second connection request obtained by the NAT module by performing network address conversion on a first connection request to the network server, converting a response message of the second connection request returned by the network server. By adoption of the method disclosed by the invention, the IPv6 host accesses IPv6 Internet resources and IPv4 Internet resources.
Description
The present invention relates to network communication technology field, it is specifically related to a kind of home gateway and IPv6 main frames accesses network clothes
The method of business device.
Background technology
Home gateway (Residential Gateway) be in-home network information equipment with Smart Broadband Access Network it
Between intelligent gateway, home gateway includes network side and user side, and network side is from ISP (Internet
Service Provider, ISP) internet address is obtained, and for user side distributes the available network address.With internet protocol
The exhausted and personal device access network demand of view edition 4 (Internet Protocol Version 4, IPv4) available address
Sharp increase, increasing personal device starts to support that the user side in home gateway disposes pure IPv6 (Internet
Protocol Version 6) LAN, personal device turn into only support IPv6 protocol stacks IPv6 main frames, can directly access
Support the IPv6 webservers of IPv6 protocol stacks.But, the current more IPv4 webservers still use IPv4 addresses
Access, IPv4 protocol stacks are only supported, due to the IPv6 main frames internet protocol version different with the operation of the IPv4 webservers
Can not be directly connected to, relative to the IPv4 webservers that network side enriches, Customer Premises Network is isolated IPv6 site.
In order to realize that IPv6 main frames access IPv4 Internet resources, a kind of scheme for generally using at present is by IPv6
Run IPv4/IPv6 dual stacks on main frame to solve, both multiple operations are non-interference, this scheme requirement IPv6 main frames
Also IPv4 protocol stacks are supported, the network design requirement of user is not suitable for, therefore, also develop based on IPv6 to IPv4 at present
Network address translation (Network Address Translation IPv6-IPv4, NAT64) and IPv6 and IPv4 domain names system
The NAT64/DNS64 technical schemes of (Domain Name System IPv6-IPv4, the DNS64) technology of system, wherein, DNS64 roots
The IPv6 addresses that IPv6 main frames are used are synthesized according to the IPv4 addresses of the IPv4 webservers, NAT64 is based on the IPv6 ground of synthesis
Location perform address conversion and protocol conversion, this scheme often rely on ISP support NAT64, and need to home gateway with
Other outer facilities are modified, and cause network upgrade difficulty and cost to increase.
The content of the invention
For defect present in prior art, it is a primary object of the present invention to provide a kind of home gateway, the present invention
Another object be that a kind of method of IPv6 main frames access network services device is provided, home gateway user side can be realized
IPv6 main frames can access IPv6 Internet resources, can also access IPv4 Internet resources, without to its beyond home gateway
Its facility carries out any modification.
The present invention provides a kind of home gateway, and home gateway includes DNS64 modules, routing module and NAT modules;
The analysis request that DNS64 modules are used for the webserver domain name for sending IPv6 main frames is sent to routing module,
And the response message of the analysis request returned from routing module reception dns server, when the corresponding IP address of domain name
During for IPv4 addresses, the corresponding IP address of domain name is synthesized into IPv6 addresses and IPv6 main frames are sent to;
Routing module is used to forward the analysis request and its response message between DNS64 modules and dns server;When
When judging the purpose IP address of the first connection request that IPv6 main frames send as the IPv6 addresses of synthesis, by NAT modules to described
The second connection request that first connection request carries out network address translation acquisition is forwarded to the webserver, and by the webserver
The response message of second connection request for returning is after NAT modules are converted into the response message of first connection request
It is forwarded to IPv6 main frames;
NAT modules are used to, according to default network address translation NAT rules, carry out first connection request on network ground
The second connection request is obtained after the conversion of location, institute is obtained after carrying out network address translation to the response message of second connection request
The response message of the first connection request is stated, the network address of second connection request is to include the corresponding IP address of domain name
Publicly-owned IPv4 addresses.
On the basis of above-mentioned technical proposal, the NAT modules include NAT64 units and NAT44 units;
NAT64 units are used to be sent to NAT44 units after first connection request is converted into privately owned connection request, with
And it is forwarded to route mould 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 corresponding private ip v4 addresses of IPv6 main frames;
NAT44 units are used to be forwarded to route mould after the privately owned connection request is converted into 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 units.
On the basis of above-mentioned technical proposal, when the corresponding IP address of domain name is IPv6 addresses, routing module is also
For forwarding first connection request and its response message between IPv6 main frames and the webserver.
On the basis of above-mentioned technical proposal, the default network address translation NAT rules include that conversion is preceding and changes
The corresponding relation and conversion direction of the network address afterwards, the network address of the pre- and post-conversion include IP address and
Port numbers.
The present invention also provides a kind of method of the IPv6 main frame access network services devices based on the home gateway, and it includes
Following steps:
The analysis request of the webserver domain name that DNS64 modules send IPv6 main frames is transmitted to dns server, when
When the corresponding IP address of domain name that dns server is returned is IPv4 addresses, the corresponding IP address of domain name is synthesized
IPv6 addresses are simultaneously sent to IPv6 main frames;
When the IPv6 addresses that the purpose IP address of the first connection request that IPv6 main frames send are synthesis, routing module will
NAT modules are forwarded to the webserver to the second connection request that first connection request carries out network address translation acquisition,
And the response message of second connection request for returning to the webserver is converted into first connection and asks by NAT modules
IPv6 main frames are forwarded to after the response message asked, the network address of second connection request is to include the corresponding IP of domain name
The publicly-owned IPv4 addresses of address.
On the basis of above-mentioned technical proposal, NAT modules are carried out network ground to first connection request by routing module
The second connection request that location conversion is obtained is forwarded to the webserver, and second connection request that the webserver is returned
Response message be forwarded to IPv6 main frames after NAT modules are converted into the response message of first connection request and include:
Routing module receives the first connection request that IPv6 main frames send;
When the purpose IP address for judging first connection request are as the IPv6 addresses of synthesis, please by the described first connection
Ask and be sent to NAT modules;
NAT modules are sent to routing module after first connection request is converted into the second connection request;
Second connection request is forwarded to the webserver by routing module;
The response message of second connection request that routing module returns to the webserver sends back NAT modules;
After the response message of second connection request to be converted to NAT modules the response message of first connection request
It is sent to routing module;
The response message of first connection request is forwarded to IPv6 main frames by routing module.
On the basis of above-mentioned technical proposal, methods described also includes:When the corresponding IP address of domain name is IPv6 ground
During location, first connection request and its response message between routing module forwarding IPv6 main frames and the webserver.
On the basis of above-mentioned technical proposal, the default network address translation NAT rules include that conversion is preceding and changes
The corresponding relation and conversion direction of the network address afterwards, the network address of the pre- and post-conversion include IP address and
Port numbers.
On the basis of above-mentioned technical proposal, the default network address translation NAT rules include first network address
Conversion NAT rules and the second network address translation NAT rules,
First connection request is converted to privately owned connection request by the first network address conversion NAT rules, 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 corresponding private ip v4 addresses of IPv6 main frames;
The privately owned connection request is converted to second connection request by the second network address translation NAT rules,
And the response message of second connection request is converted to the response message of the privately owned connection request.
On the basis of above-mentioned technical proposal, the NAT modules include NAT64 units and NAT44 units;
NAT64 units are sent to NAT44 units after first connection request is converted into 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 units are forwarded to routing module after the privately owned connection request is converted into second connection request, with
And the response message of second connection request to be converted to be sent to NAT64 after the response message of the privately owned connection request mono-
Unit.
Compared with prior art, advantages of the present invention is as follows:
(1) realizing the IPv6 main frames of home gateway user side can access IPv6 Internet resources, can also access IPv4 mutual
Networked resources, without other facilities beyond home gateway are carried out with any modification, reduce complexity, the upgrading difficulty of network side
And cost, also reduce network operation difficulty and workload.
(2) on the basis of the routing module and NAT44 units of original home gateway, by increase DNS64 modules and
The software upgrading mode of NAT64 units is the function of being capable of achieving to access IPv6 and IPv4 Internet resources, and is convenient for switch
Control, reduces complexity, upgrading difficulty and the cost of route, and simplifies network fault diagnosis.
(3) in the case where realizing accessing the IPv4 webservers, it is ensured that IPv6 main frames access the IPv6 webservers
Transmission speed, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is the system schematic of embodiment of the present invention home gateway;
Fig. 2 is the method flow diagram of embodiment of the present invention IPv6 main frame access network services devices;
Fig. 3 is the flow chart of step S4 in Fig. 2;
Fig. 4 is the message interaction schematic diagram of the IPv6 main frames access IPv4 webservers of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings 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 main frames by home gateway respectively with
The webserver and dns server connection that IPv6 host requests are accessed, dns server send the webserver to home gateway
IPv6 or IPv4 addresses.Home gateway includes DNS64 modules, routing module and NAT modules.
The analysis request that DNS64 modules are used for the webserver domain name for sending IPv6 main frames is sent to routing module,
And the response message of the analysis request returned from routing module reception dns server, when the corresponding IP address of domain name is IPv4 ground
During location, for example, the corresponding IP address of domain name is A:Example.com includes that A is recorded, and the corresponding IP address of domain name is synthesized
IPv6 addresses are simultaneously sent to IPv6 main frames.
Domain name mapping request includes the domain address of the webserver that IPv6 host requests are accessed, according to analysis request
Response message, obtains the IP address corresponding with the domain name, and the IP address is IPv6 addresses or IPv4 addresses.DNS64 modules
Based on IPv4 addresses and predetermined IPv6 prefixes synthesis IPv6 addresses, such as predetermined IPv6 prefixes are 2001:db8:ffff.
Routing module is used to forward the analysis request and its response message between DNS64 modules and dns server;Work as judgement
When the purpose IP address of the first connection request that IPv6 main frames send are the IPv6 addresses of synthesis, NAT modules are connected to first
The second connection request that request carries out network address translation acquisition is forwarded to the webserver, and that the webserver is returned
The response message of two connection requests is forwarded to IPv6 main frames after NAT modules are converted into the response message of the first connection request.
Routing module judges that IPv6 main frames send according to the predetermined IPv6 prefixes that DNS64 modules are used to synthesize IPv6 addresses
The first connection request purpose IP address be synthesis IPv6 addresses.
When the corresponding IP address of domain name is IPv6 addresses, for example, the corresponding IP address of domain name is AAAA:
Example.com includes that AAAA is recorded, and routing module is additionally operable to forward the first company between IPv6 main frames and the webserver
Connect request and its response message.The embodiment of the present invention can be in the case where realizing accessing the IPv4 webservers, it is ensured that IPv6
Main frame accesses the transmission speed of the IPv6 webservers, lifts Consumer's Experience.
When the purpose IP address of the first connection request are the IPv6 addresses of synthesis, NAT modules are used for according to default network
Address conversion NAT rules, the second connection request is obtained after network address translation is carried out to the first connection request, please to the second connection
The response message asked obtain after network address translation the response message of the first connection request, the network ground of the second connection request
Location is to include the publicly-owned IPv4 addresses of the corresponding IP address of domain name.
NAT modules include NAT64 units and NAT44 units, and NAT64 units are privately owned for the first connection request to be converted to
NAT44 units are sent to 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 main frames
Address.NAT44 units are used to be converted to privately owned connection request and be forwarded to after the second connection request routing module, and by second
The response message of connection request is sent to NAT64 units after being converted to the response message of privately owned connection request.
The embodiment of the present invention on the basis of the routing module and NAT44 units of original home gateway, by increasing DNS64
The software upgrading mode of module and NAT64 units be capable of achieving access IPv6 and IPv4 Internet resources function, and be easy into
Row switch control, reduces complexity, upgrading difficulty and the cost of route, and simplifies network fault diagnosis.
The embodiment of the present invention can realize that the IPv6 main frames of home gateway user side can access IPv6 Internet resources,
IPv4 Internet resources can be accessed, without other facilities beyond home gateway are carried out with any modification, the complexity of network is reduced
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 main frames access network services device, it include with
Lower step:
The analysis request of the webserver domain name that S1.DNS64 modules send IPv6 main frames is transmitted to dns server,
When the corresponding IP address of domain name that dns server is returned is IPv4 addresses, the corresponding IP address of domain name is synthesized into IPv6 ground
Location is simultaneously sent to IPv6 main frames.
Domain name mapping request includes the domain address of the webserver that IPv6 host requests are accessed, according to analysis request
Response message, obtains the IP address corresponding with the domain name, and the IP address is IPv6 addresses or IPv4 addresses.DNS64 modules
Based on IPv4 addresses and predetermined IPv6 prefixes synthesis IPv6 addresses.
Step S1 is specifically included:
The analysis request of the webserver domain name that DNS64 modules send IPv6 main frames is sent to routing module, route
Analysis request is transmitted to dns server by module, and the corresponding IP address of domain name that dns server is returned is sent back into DNS64
Module, the response message of the analysis request that DNS64 modules are returned according to dns server is judged, when the corresponding IP ground of domain name
When location is IPv4 addresses, the corresponding IP address of domain name is synthesized into IPv6 addresses and IPv6 main frames are sent to.
S2. routing module receives the first connection request that IPv6 main frames send;
S3. routing module judges whether the purpose IP address of the first connection request that IPv6 main frames send are the IPv6 for synthesizing
Address, if so, into S4;If it is not, into S5.
S4. NAT modules are carried out routing module the second connection request of network address translation acquisition to the first connection request
The webserver is forwarded to, and the response message of the second connection request that the webserver is returned is converted into by NAT modules
IPv6 main frames are forwarded to after the response message of the first connection request, the network address of the second connection request is to include that domain name is corresponding
The publicly-owned IPv4 addresses of IP address.
Specifically, the purpose IP address of the second connection request are the corresponding IP address of domain name, the source IP of the second connection request
Address is the IP address of home gateway, and the purpose IP address and source IP address of the second connection request are IPv4 addresses, i.e. IPv6
When main frame accesses the IPv4 webservers, the network side of home gateway is based on IPv4 agreements.
Default network address translation NAT rules include the corresponding relation of the network address of pre- and post-conversion and turn
Direction is changed, the network address of pre- and post-conversion includes IP address and port numbers.
Default network address translation NAT rules include that first network address conversion NAT rules and second network address turn
NAT rules are changed, the first connection request is converted to privately owned connection request by first network address conversion NAT rules, 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 corresponding private ip v4 addresses of IPv6 main frames.Privately owned connection request is converted to the second company by the second network address translation NAT rules
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 rules include selecting a private ip v4 ground from specified private ip v4 address fields
Location as the corresponding privately owned connection request of IPv6 main frames the network address, private ip v4 addresses with carry predetermined IPv6 prefixes
The first connection request and its network address of response message there are mapping relations one by one.Second network address translation NAT rules
The network address of the 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 rules and the second network address translation NAT rules.
Table 1:After privately owned connection request and its response message and conversion after first connection request and its response message, conversion
The second connection request and its response message the network address corresponding relation and conversion direction.
Wherein, for the purpose of the network address 1 or during source address, the network address 2 is corresponding source or destination address, Fig. 4
For the IPv6 main frames of the embodiment of the present invention access the message interaction schematic diagram of the IPv4 webservers, turned according to first network address
NAT rules are changed when the first connection request is converted into privately owned connection request, the destination address of the first connection request includes purpose 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 synthesized IPv6 addresses are 2001:db8:ffff::10.25.9.10, the source address bag of the first connection request
Include source IP address and source port number:[2001:db8::2]:10697.The destination address of the 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 of the connection request that conversion direction is received according to NAT modules and source
Address determines, for example, the destination address and source address of the first connection request received according to NAT modules, judge that the first connection please
Seeking Truth is then converted to the purpose IP address and destination slogan of the first connection request privately owned from IPv6 host-to-network servers
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 the 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 the 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 modules include NAT64 units and NAT44 units.NAT64 units are according to first network address conversion NAT rules
First connection request is converted to and be sent to after privately owned connection request NAT44 units, 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 units are according to the second network address translation
Privately owned connection request is converted to and be forwarded to after the second connection request routing module by NAT rules, and by the second connection request
Response message is sent to NAT64 units after being converted to the response message of privately owned connection request.
NAT64 units select a private ip v4 address from specified private ip v4 address fields, by what is mapped one by one
Mode, will carry predetermined IPv6 prefixes the first connection request mapping network addresses to selection private ip v4 addresses on,
And mapping relations are saved in mapped file, NAT64 units carry out the first connection request and its response report according to mapped file
Network address translation between literary and privately owned connection request and its response message.
The embodiment of the present invention on the basis of the routing module and NAT44 units of original home gateway, by increasing DNS64
The software upgrading mode of module and NAT64 units be capable of achieving access IPv6 and IPv4 Internet resources function, and be easy into
Row switch control, reduces complexity, upgrading difficulty and the cost of route, and simplifies network fault diagnosis.
Shown in Figure 3, step S4 is specifically included:
First connection request is sent to NAT64 units by S4.1 routing modules.
S4.2NAT64 units are sent to NAT44 units after the first connection request is converted into privately owned connection request.
S4.3NAT44 units are forwarded to routing module after privately owned connection request is converted into the second connection request.
Second connection request is forwarded to the webserver by S4.4 routing modules.
The response message of the second connection request that S4.5 routing modules return to the webserver sends back NAT44 units.
S4.6NAT44 units are 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 units.
S4.7NAT64 units turn 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 the first connection request is forwarded to IPv6 main frames by S4.8 routing modules.
S5. routing module forwards the first connection request and its response message between IPv6 main frames and the webserver.
The first connection request that IPv6 main frames send is sent to the webserver by routing module, and the webserver is returned
The response message of the first connection request for returning is sent to IPv6 main frames, when IPv6 main frames access the IPv6 webservers, home network
The network side of pass is based on IPv6 agreements.
The embodiment of the present invention can be in the case where realizing accessing the IPv4 webservers, it is ensured that IPv6 main frames access IPv6
The transmission speed of the webserver, lifts Consumer's Experience.
The embodiment of the present invention can realize that the IPv6 main frames of home gateway user side can access IPv6 Internet resources,
IPv4 Internet resources can be accessed, without other facilities beyond home gateway are carried out with any modification, the complexity of network is reduced
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
On the premise of the principle of the invention, some 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 not being described in detail in this specification belongs to prior art 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 modules, routing module and NAT modules;
The analysis request of webserver domain name that DNS64 modules are used to sending in IPv6 main frames is sent to routing module, and from
Routing module receives the response message of the analysis request that dns server is returned, when the corresponding IP address of domain name is
During IPv4 addresses, the corresponding IP address of domain name is synthesized into IPv6 addresses and IPv6 main frames are sent to;
Routing module is used to forward the analysis request and its response message between DNS64 modules and dns server;Work as judgement
When the purpose IP address of the first connection request that IPv6 main frames send are the IPv6 addresses of synthesis, by NAT modules to described first
The second connection request that connection request carries out network address translation acquisition is forwarded to the webserver, and the webserver is returned
The response message of second connection request forwarded after NAT modules are converted into the response message of first connection request
To IPv6 main frames;
NAT modules are used to, according to default network address translation NAT rules, carry out first connection request network address and turn
The second connection request is obtained after changing, described is obtained after carrying out network address translation to the response message of second connection request
The response message of one connection request, the network address of second connection request is the public affairs for including the corresponding IP address of domain name
There are IPv4 addresses.
2. home gateway as claimed in claim 1, it is characterised in that:The NAT modules include that NAT64 units and NAT44 are mono-
Unit;
NAT64 units are used to be sent to NAT44 units after first connection request is converted into 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, its
In, the network address in the privately owned connection request is the corresponding private ip v4 addresses of IPv6 main frames;
NAT44 units are used to be forwarded to routing module after the privately owned connection request is converted into second connection request, with
And the response message of second connection request to be converted to be sent to NAT64 after the response message of the privately owned connection request mono-
Unit.
3. home gateway as claimed in claim 1, it is characterised in that:When the corresponding IP address of domain name is IPv6 addresses
When, routing module is additionally operable to forward first connection request and its response message between IPv6 main frames and the webserver.
4. the home gateway as described in any one of claims 1 to 3, it is characterised in that:The default network address translation NAT
The corresponding relation and conversion direction of the network address of the rule including 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 main frame access network services devices based on home gateway described in claim 1, it is characterised in that
It is comprised the following steps:
The analysis request of the webserver domain name that DNS64 modules send IPv6 main frames is transmitted to dns server, when DNS clothes
When the corresponding IP address of domain name that business device is returned is IPv4 addresses, the corresponding IP address of domain name is synthesized into IPv6 ground
Location is simultaneously sent to IPv6 main frames;
When the IPv6 addresses that the purpose IP address of the first connection request that IPv6 main frames send are synthesis, routing module is by NAT
Module is forwarded to the webserver to the second connection request that first connection request carries out network address translation acquisition, and will
The response message of second connection request that the webserver is returned is converted into first connection request by NAT modules
IPv6 main frames are forwarded to after response message, the network address of second connection request is to include the corresponding IP address of domain name
Publicly-owned IPv4 addresses.
6. the method for IPv6 main frames access network services device as claimed in claim 5, it is characterised in that routing module is by NAT
Module is forwarded to the webserver to the second connection request that first connection request carries out network address translation acquisition, and will
The response message of second connection request that the webserver is returned is converted into first connection request by NAT modules
IPv6 main frames are forwarded to after response message to be included:
Routing module receives the first connection request that IPv6 main frames send;
When the purpose IP address for judging first connection request are as the IPv6 addresses of synthesis, by first connection request hair
It is sent to NAT modules;
NAT modules are sent to routing module after first connection request is converted into the second connection request;
Second connection request is forwarded to the webserver by routing module;
The response message of second connection request that routing module returns to the webserver sends back NAT modules;
NAT modules send 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 main frames by routing module.
7. the method for IPv6 main frames access network services device as claimed in claim 5, it is characterised in that methods described is also wrapped
Include:When the corresponding IP address of domain name is IPv6 addresses, between routing module forwarding IPv6 main frames and the webserver
First connection request and its response message.
8. the method for the IPv6 main frame access network services devices as described in any one of claim 5 to 7, it is characterised in that:It is described
The corresponding relation and conversion direction of the default network address of the network address translation NAT rules including pre- and post-conversion,
The network address of the pre- and post-conversion includes IP address and port numbers.
9. the method for IPv6 main frames access network services device as claimed in claim 8, it is characterised in that:The default network
Address conversion NAT rules include first network address conversion NAT rules and the second network address translation NAT rules,
First connection request is converted to privately owned connection request by 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 please
The network address asked is the corresponding private ip v4 addresses of IPv6 main frames;
The privately owned connection request is converted to second connection request by the second network address translation NAT rules, 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 main frames access network services device as claimed in claim 9, it is characterised in that:The NAT modules bag
Include NAT64 units and NAT44 units;
NAT64 units are sent to NAT44 units after first connection request is converted into 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 units are forwarded to routing module after the privately owned connection request is converted into second connection request, and will
The response message of second connection request is sent to NAT64 units after being converted to the response message of the privately owned connection request.
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 true CN106713528A (en) | 2017-05-24 |
CN106713528B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262958A (en) * | 2020-01-09 | 2020-06-09 | 深信服科技股份有限公司 | 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 |
CN117176559A (en) * | 2023-11-01 | 2023-12-05 | 明阳时创(北京)科技有限公司 | NAT 64-based cross-protocol stack network fault positioning method and system |
Citations (5)
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 |
-
2017
- 2017-03-15 CN CN201710154697.1A patent/CN106713528B/en active Active
Patent Citations (5)
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262958A (en) * | 2020-01-09 | 2020-06-09 | 深信服科技股份有限公司 | 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 |
US11979366B2 (en) | 2021-11-18 | 2024-05-07 | Cisco Technology, Inc. | Anonymizing server-side addresses |
CN117176559A (en) * | 2023-11-01 | 2023-12-05 | 明阳时创(北京)科技有限公司 | NAT 64-based cross-protocol stack network fault positioning method and system |
CN117176559B (en) * | 2023-11-01 | 2024-01-16 | 明阳时创(北京)科技有限公司 | NAT 64-based cross-protocol stack network fault positioning method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106713528B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102484639B (en) | A method and host node for multiple NAT64 environments | |
CN101252509B (en) | Application of dual-NAT method in packet data processing and routing of dynamic virtual private network (VPN) | |
CN101946493B (en) | Method and system for providing connectivity between clients connected to the internet | |
CN106209643B (en) | Message forwarding method and device | |
CN102934410A (en) | Enhancing ds-lite with private ipv4 reachability | |
US20120082160A1 (en) | Routing using global address pairs | |
CN103650424A (en) | Implementation method and server of home gateway service function | |
CN111884902B (en) | VPN scene network shunting method and device | |
JP2003249942A (en) | Apparatus for converting internet protocol address, home network system using the same and communication method thereof | |
CN102572008B (en) | Communication service processing method and system, gateway device | |
JP5506932B2 (en) | Method, system and communication terminal for realizing mutual communication between new network and Internet | |
US9319235B2 (en) | Authentication, authorization, and accounting based on an automatically generated username | |
WO2007016850A1 (en) | A method, system and apparatus for accessing the web server | |
US20080165781A1 (en) | Layer 2 address translation for service provider wholesale IP sessions | |
CN108063839A (en) | A kind of method for accessing network and the device for accessing network | |
CN110691150A (en) | SDN-based IPv4 and IPv6 interconnection method and system | |
CN106713528B (en) | A kind of method of home gateway and IPv6 host access network server | |
CN110225144A (en) | Obtain and provide method, user equipment and the management server of service | |
CN101222495A (en) | Method and router for IPv4 network host access to IPv6 network host | |
JP2002354006A (en) | Network system for duplicate address | |
CN210867778U (en) | System capable of converting IPv4 and IPv6 addresses | |
EP2071810B1 (en) | Method to obtain an Internet protocol address | |
CN104506665B (en) | Distinguish method and system in a kind of IPv4/IPv6 addresses | |
CN108040137A (en) | A kind of domain name analytic method, gateway and network system | |
JP2956603B2 (en) | Internet connection device |
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 |