CN103825971A - Method for generating 4over6 channel dynamically - Google Patents
Method for generating 4over6 channel dynamically Download PDFInfo
- Publication number
- CN103825971A CN103825971A CN201410058981.5A CN201410058981A CN103825971A CN 103825971 A CN103825971 A CN 103825971A CN 201410058981 A CN201410058981 A CN 201410058981A CN 103825971 A CN103825971 A CN 103825971A
- Authority
- CN
- China
- Prior art keywords
- address
- 4over6
- configuration
- configuration message
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Provided is a method for generating a 4over6 channel dynamically. The method comprises the steps that a 4over6 channel initiation point TI generates configuration information, and the configuration information comprises an ICP server IPv4 address or prefix information, the uplink interface IPv6 address of the 4over6 channel initiation point TI and a processing mark expressing 'addition' or 'deletion'; the configuration information is sent to a 4over6 channel convergent point TC; the 4over6 channel convergent point TC completes automatic configuration according to the configuration information. The method is suitable for the condition that an IPv6 access network provides access services for a large number of IDC networks, when an IDC network operator deploys the 4over6 transitional technology, the configuration work amount and complexity of the 4over6 channel convergent point TC are greatly reduced, and flexibility and reliability of configuration are improved.
Description
Technical field
The invention belongs to Internet technical field, particularly a kind of 4over6 tunnel dynamic creation method.
Background technology
Global ip v4 address resource has distributed totally, and many countries start to put into the construction of Next Generation Internet IPv6.IPv6 agreement is used 128 bit addresses to address, and nearly 3.4 × 10
38individual address, it is approximately 7.9 × 10 of the IPv4 address amount of providing
28doubly, can say that IPv6 has almost unlimited address space.Therefore, IPv6 technology becomes the optimal selection in short supply of current solution address resource, and it has met the growing address need of current internet.But, because IPv6 is not backward compatible to IPv4, and current IP v4 service is in large scale, and IPv6 disposes the larger difficulty of existence completely, IPv4 and IPv6 network will coexist in longer following period of time, and the whole network is realized and being seamlessly transitted to IPv6 is the large key technology difficult problem that the Internet faces.
4over6 transitional technology can meet IPv4 and IPv6 network coexisted during, between IPv4 network, cross over the demand that IPv6 network intercoms mutually.This technology is disposed a 4over6 tunnel initiation point TI(Tunnel Initiator at IPv4 network and IPv6 Access Network intersection), and dispose 4over6 tunnel convergent point TC(Tunnel Concentrator at IPv6 Access Network and IPv4 the Internet intersection), by initiate to set up IPv4-over-IPv6 tunnel between some TI and 4over6 tunnel convergent point TC in 4over6 tunnel, the encapsulation decapsulation function that is completed message by tunnel initiation point TI, tunnel convergent point TC, realizes IPv4 message and transmits in IPv6 network.By 4over6 transitional technology, IPv4 network can be crossed over IPv6 network and IPv4 the Internet or other IPv4 network interconnection intercommunications.
The IDC(Internet Data Center of Internet data center) be one of the Internet important component part, IDC network is to realize the important step that IPv6 makes the overall arrangement for to IPv6 transition.In the time that IDC Access Network upgrades to IPv6, IDC network can be by disposing towards the 4over6 transitional technology of IDC network, makes in IDC network IPv4 server cross over IPv6 Access Network and provide application service for IPv4 the Internet.
For reduce the change that IDC network design is carried out as far as possible, in the time disposing towards the 4over6 transitional technology of IDC network, 4over6 tunnel need to be initiated to some TI and be deployed in IDC network gateway place, and 4over6 tunnel convergent point TC is deployed in to IPv6 Access Network gateway.For retaining the publicly-owned address of IPv4 that in IDC network, ICP server has configured, need to initiate in 4over6 tunnel to preserve the IPv4 address of ICP server on some TI and arrive the routing iinformation of its address.For making ICP server there is accessibility in IPv4 the Internet, need to be issued by 4over6 tunnel convergent point TC the IPv4 route that arrives the publicly-owned address of ICP server ip v4 to IPv4 the Internet.Initiate the 4over6 tunnel between some TI and 4over6 tunnel convergent point TC for generating 4over6 tunnel, need to initiate some TI place in 4over6 tunnel is the IPv6 address of 4over6 tunnel convergent point TC in IPv6 Access Network by opposite end, 4over6 tunnel address configuration, and initiates the mapping relations between some TI IPv6 address in the configuration of convergent point TC place, 4over6 tunnel and preservation ICP server ip v4 address with corresponding 4over6 tunnel.
Because IDC the number networks in Access Network is various, in large scale, if on 4over6 tunnel convergent point TC static carry out IDC network in IPv4 address and the 4over6 tunnel of ICP server initiate to put between TIIPv6 address the configurations such as mapping relations, workload is very huge, and has problems such as disposing flexibility, system robustness.
Summary of the invention
In order to overcome the shortcoming of above-mentioned prior art, the object of the present invention is to provide a kind of 4over6 tunnel dynamic creation method, there is flexible configuration, reliable feature.
In the present invention, the IPv6 Access Network that network comprises IDC network, is connected with this network, and IPv4 the Internet.Equipment comprises the ICP server being deployed in IDC network, and some TI is initiated in the 4over6 tunnel that is deployed in IDC network and IPv6 Access Network junction, and is deployed in the 4over6 tunnel convergent point TC of IPv6 Access Network and junction, IPv4 the Internet.It is the gateway of IDC network that some TI is initiated in 4over6 tunnel, is connected, and is connected with 4over6 tunnel convergent point TC by IPv6 Access Network with ICP server by IPv4.ICP server is the publicly-owned address of configuration of IP v4.Point TI downstream interface configuration of IP v4 address is initiated in 4over6 tunnel, and upstream Interface is configuration of IP v6 address.IPv4 address or the prefix information of ICP server initiated to have preserved on some TI in 4over6 tunnel.Convergent point TC downstream interface configuration of IP v6 address, 4over6 tunnel, upstream Interface is configuration of IP v4 address.4over6 tunnel convergent point TC safeguards an address mapping table, and this table comprises some list items, and each list item comprises an IPv4 address or prefix information and IPv6 address and relevant information thereof.
To achieve these goals, the technical solution used in the present invention is:
A kind of 4over6 tunnel dynamic creation method, wherein:
4over6 tunnel is initiated some TI and is generated configuration information, and configuration messages comprises ICP server ip v4 address or prefix information, the initiation point upstream Interface IPv6 address of TI, 4over6 tunnel and the marks for treatment of an expression " interpolation " or " deletion ";
Configuration information is mail to 4over6 tunnel convergent point TC;
4over6 tunnel convergent point TC completes address mapping table according to configuration messages and automatically configures, and layoutprocedure is as follows automatically:
If IPv4 address or prefix information that a) configuration messages carries do not exist in address mapping table, and marks for treatment is " interpolation ", add a list item to, the IPv4 address that configuration messages is carried or prefix information and IPv6 address are inserted wherein, and return success message to a 4over6 tunnel initiation point TI, in this message, carry complete configuration message, and carry information " adds successfully ";
If IPv4 address or prefix information that b) configuration messages carries do not exist in address mapping table, and marks for treatment is " deletion ", configuration messages is not processed, and initiate some TI to 4over6 tunnel and return to error messages, in this message, carry complete configuration message, and carry information " IPv4 information does not exist ";
If IPv4 address or prefix information that c) configuration messages carries exist in address mapping table, and the IPv6 address that configuration messages carries is identical with the IPv6 address of recording in corresponding list item in address mapping table, and marks for treatment is " interpolation ", upgrade corresponding list item, and return success message to a 4over6 tunnel initiation point TI, in this message, carry complete configuration message, and carry information " is updated successfully ";
If IPv4 address or prefix information that d) configuration messages carries exist in address mapping table, and the IPv6 address that configuration messages carries is identical with the IPv6 address of recording in corresponding list item in address mapping table, and marks for treatment is " deletion ", delete corresponding list item, and return success message to a 4over6 tunnel initiation point TI, in this message, carry complete configuration message, and carry information " is deleted successfully ";
If IPv4 address or prefix information that e) configuration messages carries exist in address mapping table, and the IPv6 address that configuration messages carries is different from the IPv6 address of recording in corresponding list item in address mapping table, and marks for treatment is " interpolation ", corresponding list item is upgraded in the IPv6 address of carrying by configuration messages, and return success message to a 4over6 tunnel initiation point TI, in this message, carry complete configuration message, and carry information " adds successfully ";
If IPv4 address or prefix information that f) configuration messages carries exist in address mapping table, and the IPv6 address that configuration messages carries is different from the IPv6 address of recording in corresponding list item in address mapping table, and marks for treatment is " deletion ", configuration messages is not processed, and initiate some TI to 4over6 tunnel and return to error messages, in this message, carry complete configuration message, and carry information " IPv6 information errors ".
4over6 tunnel is initiated some TI and is received that after the error messages or success message that 4over6 tunnel convergent point TC sends, the content record that this message is carried is in daily record.
Compared with prior art, the present invention is applicable to IPv6 Access Network and provides the situation of access service for a large amount of IDC networks, make IDC Virtual network operator in the time disposing 4over6 transitional technology, configuration effort amount and the complexity of 4over6 tunnel convergent point TC significantly reduce, and have improved configuration flexibility and reliability.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention scene schematic diagram.
Fig. 2 is the embodiment of the present invention 1 scene schematic diagram.
Fig. 3 is the embodiment of the present invention 2 scene schematic diagrames.
Fig. 4 is that the embodiment of the present invention 2 is deleted configuration messages process chart.
Embodiment
Describe embodiments of the present invention in detail below in conjunction with drawings and Examples.
The embodiment of the present invention mainly for scene as shown in Figure 1.This scene comprises following default configuration: (1) ICP server 1 has configured a publicly-owned address of IPv4, and 4over6 tunnel is initiated to some TI2 downstream interface IPv4 address as its IPv4 gateway address; (2) 4over6 tunnel is initiated some TI2 downstream interface and has been configured an IPv4 address, upstream Interface has configured an IPv6 address, in addition be address, opposite end, 4over6 tunnel by 4over6 tunnel convergent point TC3 downstream interface IPv6 address configuration, and preserved ICP server ip v4 address or prefix information; (3) 4over6 tunnel convergent point TC3 downstream interface has configured an IPv6 address, and upstream Interface has configured an IPv4 address.
It is that 4over6 tunnel convergent point TC adds configuration information that some TI is initiated in embodiment 1:4over6 tunnel
This scene mainly occurs in and in IDC network, has disposed new ICP server, or when in IDC network, the configuration of ICP server changes.The present embodiment scene as shown in Figure 2.Two ICP server configuration of IP v4 addresses in IDC network, are respectively ICP server 101IPv4 address 1.2.3.2/24, and ICP server 102IPv4 address 1.2.3.3/24.4over6 tunnel is initiated some TI2 and 4over6 tunnel convergent point TC3 downstream interface IPv6 address 2001::1/64 has been configured to address, opposite end, 4over6 tunnel, and in ICP list of server addresses, preserve two ICP server ip v4 address informations, be respectively ICP server 101IPv4 address 1.2.3.2/32, and ICP server 102IPv4 address 1.2.3.3/32.
After above-mentioned configuration completes, 4over6 tunnel is initiated some TI2 and is sent an interpolation configuration messages to 4over6 tunnel convergent point TC3, is that 4over6 tunnel convergent point TC3 adds configuration.This interpolation configuration messages is as shown in table 1, comprise: length is " ADD_ENTRY " marks for treatment of 16 bits, length is that the message length field of 16 bits is (take 32 bits as a unit, in figure, this value is 8), length is that some TI2 upstream Interface IPv6 address (value is 2001::2) is initiated in the 4over6 tunnel of 128 bits, length is the ICP server 101IPv4 address 1.2.3.2 of 32 bits, length is this address mask of 32 bits, length is the ICP server 102IPv4 address 1.2.3.3 of 32 bits, and length is this address mask of 32 bits.
Table 1 adds configuration messages example
4over6 tunnel convergent point TC3 is receiving after above-mentioned interpolation configuration messages, reads marks for treatment " ADD_ENTRY ", learns and should add record.Read afterwards the IPv4 address information 1.2.3.2/32, the 1.2.3.3/32 that wherein carry, according to this information search address mapping table, find without corresponding record.Therefore 4over6 tunnel convergent point TC3 adds the mapping item of above-mentioned IP v4 address and IPv6 address in address mapping table, as shown in table 2.
| IPv4 address | IPv6 address |
| 1.2.3.2/32 | 2001::2 |
| 1.2.3.3/32 | 2001::2 |
Table 2 address mapping table
Point TI2 is initiated in 4over6 tunnel also can issue 4over6 tunnel convergent point TC3 by ICP server 101, ICP server 102IPv4 address and its upstream Interface IPv6 address combination one by one in two are added configuration messages.Now convergent point TC3 in 4over6 tunnel can process above-mentioned interpolation configuration messages one by one, completes self address mapping table configuration.
It is that 4over6 tunnel convergent point TC deletes configuration information that some TI is initiated in embodiment 2:4over6 tunnel
This scene mainly occurs in IDC network will no longer dispose certain or some ICP servers, or operator is no longer for certain or some ICP servers provide access service, or ICP server disposition position is while changing.The present embodiment scene as shown in Figure 3.Two ICP server configuration of IP v4 addresses in IDC network, are respectively ICP server 101IPv4 address 1.2.3.2/24, and ICP server 102IPv4 address 1.2.3.3/24.4over6 tunnel is initiated some TI2 and 4over6 tunnel convergent point TC3 downstream interface IPv6 address 2001::1/64 is configured to address, opposite end, 4over6 tunnel.
In this embodiment, initiation point TI2 place, a 4over6 tunnel IDC network will be no longer for server 102 provides service, therefore in the ICP list of server addresses of 4over6 tunnel initiation point TI2, delete ICP server 102IPv4 address 1.2.3.3/32, and in the address mapping table of 4over6 tunnel convergent point TC3, still existed ICP server 102IPv4 address 1.2.3.3/32 and 4over6 tunnel to initiate the mapping relations between some TI2IPv6 address 2001::2/64.Therefore 4over6 tunnel is initiated some TI2 and need to be sent deletion configuration information to 4over6 tunnel convergent point TC3, notices 4over6 tunnel convergent point TC3 configuration and changes.
Above-mentioned deletion configuration messages is as shown in table 3, comprise: length is " DEL_ENTRY " marks for treatment of 16 bits, length is that the message length field of 16 bits is (take 32 bits as a unit, in figure, this value is 6), length is that some TI2 upstream Interface IPv6 address (value is 2001::2) is initiated in the 4over6 tunnel of 128 bits, length is the ICP server 102IPv4 address 1.2.3.3 of 32 bits, and length is this address mask of 32 bits.
Table 3 is deleted configuration messages example
4over6 tunnel convergent point TC3 is receiving after above-mentioned deletion configuration messages, read marks for treatment " DEL_ENTRY ", learn and should delete configuration information, read afterwards the IPv4 address information 1.2.3.3/32 wherein carrying, according to this information search address mapping table, find to exist this record.Continue to read the IPv6 address 2001::2 carrying in message after 4over6 tunnel convergent point TC3 afterwards, find identically with corresponding IPv6 address in address mapping table, therefore from address mapping table, delete the mapping item of above-mentioned IP v4 address and IPv6 address.This processing procedure flow process as shown in Figure 4.
Above embodiment is only in order to technical scheme of the present invention to be described, but not is limited.Therefore,, in the situation that not deviating from spirit of the present invention and essence thereof, those skilled in the art can make various changes, replacement and modification.Obviously, but within these changes, replacement and modification all should be covered by the protection range of the claims in the present invention.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410058981.5A CN103825971B (en) | 2014-02-21 | 2014-02-21 | Method for generating 4over6 channel dynamically |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410058981.5A CN103825971B (en) | 2014-02-21 | 2014-02-21 | Method for generating 4over6 channel dynamically |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103825971A true CN103825971A (en) | 2014-05-28 |
| CN103825971B CN103825971B (en) | 2017-01-25 |
Family
ID=50760794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410058981.5A Active CN103825971B (en) | 2014-02-21 | 2014-02-21 | Method for generating 4over6 channel dynamically |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103825971B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104852821A (en) * | 2015-06-02 | 2015-08-19 | 清华大学 | Method for configuring 4over6 access network forwarding strategy based on NETCONF protocol |
| CN113114801A (en) * | 2021-05-18 | 2021-07-13 | 中国信息通信研究院 | Method, device and equipment for establishing IPv4-in-IPv6 tunnel |
| CN115914143A (en) * | 2022-12-08 | 2023-04-04 | 东软集团股份有限公司 | A message forwarding method and gateway device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1972295A (en) * | 2006-12-01 | 2007-05-30 | 清华大学 | IPv4 over IPv6 extension method of BGP protocol software |
| US20120066695A1 (en) * | 2010-09-13 | 2012-03-15 | Microsoft Corporation | Optimizations for implementing multi-stack stack hosts |
| CN103118145A (en) * | 2013-01-18 | 2013-05-22 | 清华大学 | IPv4-over-IPv6 multi-tunnel automatic establishment method based on DNS (domain name system) |
-
2014
- 2014-02-21 CN CN201410058981.5A patent/CN103825971B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1972295A (en) * | 2006-12-01 | 2007-05-30 | 清华大学 | IPv4 over IPv6 extension method of BGP protocol software |
| US20120066695A1 (en) * | 2010-09-13 | 2012-03-15 | Microsoft Corporation | Optimizations for implementing multi-stack stack hosts |
| CN103118145A (en) * | 2013-01-18 | 2013-05-22 | 清华大学 | IPv4-over-IPv6 multi-tunnel automatic establishment method based on DNS (domain name system) |
Non-Patent Citations (1)
| Title |
|---|
| CUI Y.,DONG J.,ET AL: "Tunnel-Based IPv6 Transition", 《IEEE INTERNET COMPUTING》 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104852821A (en) * | 2015-06-02 | 2015-08-19 | 清华大学 | Method for configuring 4over6 access network forwarding strategy based on NETCONF protocol |
| CN104852821B (en) * | 2015-06-02 | 2018-01-12 | 清华大学 | A kind of method based on NETCONF protocol configuration 4over6 access network forwarding strategies |
| CN113114801A (en) * | 2021-05-18 | 2021-07-13 | 中国信息通信研究院 | Method, device and equipment for establishing IPv4-in-IPv6 tunnel |
| CN113114801B (en) * | 2021-05-18 | 2022-11-11 | 中国信息通信研究院 | Method, device and equipment for establishing IPv4-in-IPv6 tunnel |
| CN115914143A (en) * | 2022-12-08 | 2023-04-04 | 东软集团股份有限公司 | A message forwarding method and gateway device |
| CN115914143B (en) * | 2022-12-08 | 2025-05-30 | 东软集团股份有限公司 | A message forwarding method and gateway device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103825971B (en) | 2017-01-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110417657B (en) | A method and device for processing multicast data message | |
| CN111628995A (en) | SID compression method, SID compression device, SID compression equipment and storage medium based on SRv6 | |
| CN106209557B (en) | Message forwarding method and device | |
| US20170034055A1 (en) | Handling Consumer Mobility in Information-Centric Networks | |
| WO2018233588A1 (en) | Forwarding entry generation | |
| CN109729012B (en) | Unicast message transmission method and device | |
| CN103179228A (en) | Internet protocol address resolution method and edge node | |
| CN111510386B (en) | Method and device for processing message | |
| CN113645136A (en) | Method, network node and network system for forwarding message in network | |
| CN102035738B (en) | Method and device for acquiring routing information | |
| CN107547346B (en) | Message transmission method and device | |
| CN105515992A (en) | Method and device for processing flow table items of VXLAN network | |
| CN106921578B (en) | Method and device for generating forwarding table item | |
| EP2874376A1 (en) | Method and system for information synchronization between cloud storage gateways, and cloud storage gateway | |
| CN105634901A (en) | MAC address information synchronization method and device based on CAS VXLAN | |
| CN112702773A (en) | Communication method and device | |
| CN103825971A (en) | Method for generating 4over6 channel dynamically | |
| CN112787932B (en) | Method, device and system for generating forwarding information | |
| CN105763444A (en) | Route synchronization method and route synchronization device | |
| CN106603602A (en) | Message routing method based on service chain information and apparatus thereof | |
| CN104486193B (en) | A kind of method and device for establishing network node interconnection | |
| CN114257545A (en) | Message forwarding method and device | |
| WO2014190843A1 (en) | Input parameter generation method and device | |
| CN105656744B (en) | Identification methods, devices, and service chains for service chain paths | |
| CN108156066B (en) | Message forwarding method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |