CN103825971B - Method for generating 4over6 channel dynamically - Google Patents

Method for generating 4over6 channel dynamically Download PDF

Info

Publication number
CN103825971B
CN103825971B CN201410058981.5A CN201410058981A CN103825971B CN 103825971 B CN103825971 B CN 103825971B CN 201410058981 A CN201410058981 A CN 201410058981A CN 103825971 B CN103825971 B CN 103825971B
Authority
CN
China
Prior art keywords
address
configuration information
4over6
information
4over6 tunnel
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
CN201410058981.5A
Other languages
Chinese (zh)
Other versions
CN103825971A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201410058981.5A priority Critical patent/CN103825971B/en
Publication of CN103825971A publication Critical patent/CN103825971A/en
Application granted granted Critical
Publication of CN103825971B publication Critical patent/CN103825971B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

A kind of 4over6 tunnel dynamic creation method
Technical field
The invention belongs to Internet technical field, particularly to a kind of 4over6 tunnel dynamic creation method.
Background technology
Global ipv4 address resource is the allocated totally, and many countries start to put into building of Next Generation Internet ipv6 If.Ipv6 agreement is addressed using 128 bit addresses, and that is, about 3.4 × 1038Individual address, it is approximately that ipv4 address provides The 7.9 × 10 of amount28Again it may be said that ipv6 has virtually limitless address space.Therefore, ipv6 technology becomes current solution ground The optimum selection of location resource scarcity, it meets the growing address need of current internet.But, because ipv6 is not right Ipv4 is backward compatible, and current ipv4 service is in large scale, and ipv6 disposes completely has larger difficulty, ipv4 and ipv6 network will Coexist in longer period of time, it is the big key technology difficulty that the Internet faces that the whole network is realized seamlessly transitting to ipv6.
4over6 transitional technology can meet ipv4 and ipv6 network coexisted period, cross over ipv6 network and carry out between ipv4 network The demand being in communication with each other.This technology is in ipv4 network and ipv6 access network intersection deployment 4over6 tunnel initiate point ti (tunnel initiator), and dispose 4over6 tunnel convergent point tc in ipv6 access network and ipv4 the Internet intersection (tunnel concentrator), by setting up between 4over6 tunnel initiate point ti and 4over6 tunnel convergent point tc Ipv4-over-ipv6 tunnel, is completed the encapsulation decapsulation function of message by tunnel initiate point ti, tunnel convergent point tc, realizes Ipv4 message transmits in ipv6 network.By 4over6 transitional technology, it is mutual with ipv4 that ipv4 network can cross over ipv6 network Networking or other ipv4 network interconnection intercommunications.
Internet data center idc(internet data center) it is one of the Internet important component part, idc net Network is to realize the important step that ipv6 makes the overall arrangement for ipv6 transition.When idc access network upgrades to ipv6, idc network can lead to Cross the 4over6 transitional technology disposed towards idc network, making ipv4 server in idc network cross over ipv6 access network is that ipv4 is mutual Networking provides application service.
For reducing the change that idc network design is carried out as far as possible, disposing the 4over6 transitional technology towards idc network When, need 4over6 tunnel initiate point ti is deployed at idc network gateway, and 4over6 tunnel convergent point tc is deployed in Ipv6 access network gateway.For retaining the publicly-owned address of the configured ipv4 of icp server in idc network, need in 4over6 tunnel The ipv4 address of icp server and the routing iinformation reaching its address are preserved on road initiate point ti.For making icp server in ipv4 There is in the Internet accessibility, need to issue arrival icp server ipv4 from 4over6 tunnel convergent point tc to ipv4 the Internet The ipv4 route of publicly-owned address.For generating the 4over6 tunnel between 4over6 tunnel initiate point ti and 4over6 tunnel convergent point tc Road, needs at 4over6 tunnel initiate point ti, 4over6 tunnel opposite end address configuration to exist for 4over6 tunnel convergent point tc Ipv6 address in ipv6 access network, and at 4over6 tunnel convergent point tc configure and preserve icp server ipv4 address with Mapping relations between corresponding 4over6 tunnel initiate point ti ipv6 address.
Because in access network, idc the number networks are various, in large scale, if static state is carried out on 4over6 tunnel convergent point tc In idc network, between the ipv4 address of icp server and 4over6 tunnel initiate point tiipv6 address, mapping relations etc. configure, work Measure very huge, and there is disposition flexibility, system robustness.
Content of the invention
In order to overcome the shortcoming of above-mentioned prior art, it is an object of the invention to provide a kind of 4over6 tunnel dynamically generates Method, has flexible configuration, reliable feature.
In the present invention, network includes the ipv6 access network of idc network and this network connection, and ipv4 the Internet.Equipment Including the icp server being deployed in idc network, the 4over6 tunnel being deployed in idc network with ipv6 access network junction is sent out Starting point ti, and it is deployed in the 4over6 tunnel convergent point tc of ipv6 access network and ipv4 the Internet junction.4over6 tunnel Initiate point ti is the gateway of idc network, is connected by ipv4 with icp server, and by ipv6 access network and 4over6 tunnel Convergent point tc connects.The publicly-owned address of the configured ipv4 of icp server.The configured ipv4 of 4over6 tunnel initiate point ti downstream interface Address, upstream Interface configured ipv6 address.The ipv4 address or front of icp server has been preserved on 4over6 tunnel initiate point ti Sew information.The configured ipv6 address of 4over6 tunnel convergent point tc downstream interface, upstream Interface configured ipv4 address.4over6 Tunnel convergent point tc safeguards an address mapping table, and this table includes some list items, and each list item includes an ipv4 address or front Sew information and an ipv6 address and its relevant information.
To achieve these goals, the technical solution used in the present invention is:
A kind of 4over6 tunnel dynamic creation method, wherein:
4over6 tunnel initiate point ti generates configuration information, and configuration message includes icp server ipv4 address or prefix letter Breath, the upstream Interface ipv6 address of 4over6 tunnel initiate point ti and one represent the process labelling of " interpolation " or " deletion ";
Configuration information is sent to 4over6 tunnel convergent point tc;
4over6 tunnel convergent point tc completes address mapping table according to configuration message and automatically configures, and automatic configuration process are such as Under:
If a) the ipv4 address that configuration message carries or prefix information do not exist in address mapping table, and process and be labeled as " interpolation ", then be added to a list item, and the ipv4 address that carry configuration message or prefix information are inserted wherein with ipv6 address, And return success message to 4over6 tunnel initiate point ti, carry complete configuration message in this message, and the information that carries " is added into Work(";
If b) the ipv4 address that configuration message carries or prefix information do not exist in address mapping table, and process and be labeled as " deletion ", then do not process to configuration message, and return error messages to 4over6 tunnel initiate point ti, carry in this message Complete configuration message, and carry information " ipv4 information does not exist ";
If c) the ipv4 address that configuration message carries or prefix information exist in address mapping table, and configuration message is taken The ipv6 address of band is identical with the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " interpolation ", then Update corresponding list item, and return success message to 4over6 tunnel initiate point ti, carry complete configuration message in this message, and take Information " is updated successfully ";
If d) the ipv4 address that configuration message carries or prefix information exist in address mapping table, and configuration message is taken The ipv6 address of band is identical with the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " deletion ", then Delete corresponding list item, and return success message to 4over6 tunnel initiate point ti, carry complete configuration message in this message, and take Information " is deleted successfully ";
If e) the ipv4 address that configuration message carries or prefix information exist in address mapping table, and configuration message is taken The ipv6 address of band is different from the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " interpolation ", then Update corresponding list item by the ipv6 address that configuration message carries, and return success message to 4over6 tunnel initiate point ti, this disappears Carry complete configuration message in breath, and carry information " adding successfully ";
If f) the ipv4 address that configuration message carries or prefix information exist in address mapping table, and configuration message is taken The ipv6 address of band is different from the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " deletion ", then Configuration message is not processed, and return error messages to 4over6 tunnel initiate point ti, in this message, carry complete configuration Message, and carry information " ipv6 information errors ".
After 4over6 tunnel initiate point ti receives the error messages that 4over6 tunnel convergent point tc sends or success message, will The content record that this message carries is in daily record.
Compared with prior art, the present invention is applied to ipv6 access network provides the situation of access service for a large amount of idc networks, Make idc Virtual network operator when disposing 4over6 transitional technology, the configuration work amount of 4over6 tunnel convergent point tc and complexity It is greatly decreased, and improve configuration flexibility and reliability.
Brief description
Fig. 1 is embodiment of the present invention schematic diagram of a scenario.
Fig. 2 is the embodiment of the present invention 1 schematic diagram of a scenario.
Fig. 3 is the embodiment of the present invention 2 schematic diagram of a scenario.
Fig. 4 is that the embodiment of the present invention 2 deletes configuration message processing flow-chart.
Specific embodiment
Describe embodiments of the present invention with reference to the accompanying drawings and examples in detail.
The embodiment of the present invention mainly for scene as shown in Figure 1.This scene comprises following default configuration: (1) icp service The publicly-owned address of the configured ipv4 of device 1, and using 4over6 tunnel initiate point ti2 downstream interface ipv4 address as its ipv4 net Close address;(2) the configured ipv4 address of 4over6 tunnel initiate point ti2 downstream interface, configured one of upstream Interface Ipv6 address, in addition by 4over6 tunnel convergent point tc3 downstream interface ipv6 address configuration be 4over6 tunnel opposite end address, And preserve icp server ipv4 address or prefix information;(3) configured of 4over6 tunnel convergent point tc3 downstream interface Ipv6 address, the configured ipv4 address of upstream Interface.
Embodiment 1:4over6 tunnel initiate point ti is that 4over6 tunnel convergent point tc adds configuration information
This scene occurs mainly in and deploys new icp server in idc network, or in idc network, icp server is joined Put when changing.The present embodiment scene is as shown in Figure 2.The configured ipv4 address of two icp servers in idc network, respectively For icp server 101ipv4 address 1.2.3.2/24, and icp server 102ipv4 address 1.2.3.3/24.4over6 tunnel 4over6 tunnel convergent point tc3 downstream interface ipv6 address 2001::1/64 is configured to 4over6 tunnel by road initiate point ti2 Opposite end address, and preserve two icp server ipv4 address informations, respectively icp server in icp list of server addresses 101ipv4 address 1.2.3.2/32, and icp server 102ipv4 address 1.2.3.3/32.
After the completion of above-mentioned configuration, 4over6 tunnel initiate point ti2 sends an interpolation to 4over6 tunnel convergent point tc3 Configuration message, is that 4over6 tunnel convergent point tc3 adds configuration.This interpolation configuration message is as shown in table 1, comprising: length is 16 " add_entry " of bit processes labelling, and length is the message length field of 16 bits (with 32 bits for a unit, in figure This value is 8), length is the 4over6 tunnel initiate point ti2 upstream Interface ipv6 address (being worth for 2001::2) of 128 bits, length For the icp server 101ipv4 address 1.2.3.2 of 32 bits, length is this address mask of 32 bits, and length is 32 bits Icp server 102ipv4 address 1.2.3.3, length is this address mask of 32 bits.
Table 1 adds configuration message examples
4over6 tunnel convergent point tc3, after receiving above-mentioned interpolation configuration message, reads process labelling " add_ Entry ", learns and should add record.Read ipv4 address information 1.2.3.2/32,1.2.3.3/32 wherein carrying, root afterwards According to this information search address mapping table, find no corresponding record.Therefore 4over6 tunnel convergent point tc3 adds in address mapping table Add the mapping item stating ipv4 address and ipv6 address, 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
4over6 tunnel initiate point ti2 also can one by one by icp server 101, icp server 102ipv4 address and its Upstream Interface ipv6 address combination issues 4over6 tunnel convergent point tc3 in two interpolation configuration message.Now 4over6 tunnel Road convergent point tc3 can process above-mentioned interpolation configuration message one by one, completes the configuration of Self address mapping table.
Embodiment 2:4over6 tunnel initiate point ti is that 4over6 tunnel convergent point tc deletes configuration information
This scene occurs mainly in idc network and will no longer dispose certain or some icp servers, or operator is no longer Certain or some icp servers provide access service, or when icp server disposition position changes.The present embodiment scene is such as Shown in Fig. 3.The configured ipv4 address of two icp servers, respectively icp server 101ipv4 address in idc network 1.2.3.2/24, and icp server 102ipv4 address 1.2.3.3/24.4over6 tunnel initiate point ti2 is by 4over6 tunnel Road convergent point tc3 downstream interface ipv6 address 2001::1/64 is configured to 4over6 tunnel opposite end address.
In this embodiment, 4over6 tunnel initiate point ti2 place idc network no longer will provide service for server 102, because Icp server 102ipv4 address 1.2.3.3/ has been deleted in the icp list of server addresses of this 4over6 tunnel initiate point ti2 32, and in the address mapping table of 4over6 tunnel convergent point tc3, yet suffer from icp server 102ipv4 address 1.2.3.3/32 Mapping relations and between the 2001::2/64 of 4over6 tunnel initiate point ti2ipv6 address.Therefore 4over6 tunnel initiate point ti2 needs To send deletion configuration information to 4over6 tunnel convergent point tc3, notice 4over6 tunnel convergent point tc3 configuration changes.
Above-mentioned deletion configuration message is as shown in table 3, comprising: length is that " del_entry " of 16 bits processes labelling, length Message length field (with 32 bits for a unit, this value of in figure is 6) for 16 bits, length is the 4over6 of 128 bits Tunnel initiate point ti2 upstream Interface ipv6 address (being worth for 2001::2), length is the icp server 102ipv4 address of 32 bits 1.2.3.3, length is this address mask of 32 bits.
Configuration message examples deleted by table 3
4over6 tunnel convergent point tc3, after receiving above-mentioned deletion configuration message, reads process labelling " del_ Entry ", learns and should delete configuration information, reads ipv4 address information 1.2.3.3/32 wherein carrying afterwards, according to this information Search address mapping table, finds there is this record.Carry in continuation reading message after 4over6 tunnel convergent point tc3 afterwards Ipv6 address 2001::2, finds identical with ipv6 address corresponding in address mapping table, therefore deletes above-mentioned from address mapping table Ipv4 address and the mapping item of ipv6 address.This processing procedure flow process is as shown in Figure 4.
Above example is only in order to illustrating technical scheme, rather than is limited.Therefore, without departing substantially from this In the case of the spirit of invention and its essence, those skilled in the art can be variously modified, replace and modification.It will be apparent that but These change, replacement and modification all should be covered by within the protection domain of the claims in the present invention.

Claims (3)

1. a kind of 4over6 tunnel dynamic creation method is it is characterised in that include:
4over6 tunnel initiate point ti generates configuration information, configuration information include icp server ipv4 address or prefix information, The upstream Interface ipv6 address of 4over6 tunnel initiate point ti and a process labelling representing " interpolation " or " deletion ";
Configuration information is sent to 4over6 tunnel convergent point tc;
4over6 tunnel convergent point tc completes address mapping table according to configuration information and automatically configures, and automatic configuration process are as follows:
If the ipv4 address that a) configuration information carries or prefix information do not exist in address mapping table, and process and be labeled as " adding Plus ", then it is added to a list item, the ipv4 address that carry configuration information or prefix information are inserted wherein with ipv6 address, and Return success message to 4over6 tunnel initiate point ti, in this message, carry complete configuration information, and the information that carries " is added into Work(";
If the ipv4 address that b) configuration information carries or prefix information do not exist in address mapping table, and process and be labeled as " deleting Remove ", then configuration information is not processed, and return error messages to 4over6 tunnel initiate point ti, carried in this message Whole configuration information, and carry information " ipv4 information does not exist ";
If the ipv4 address that c) configuration information carries or prefix information exist in address mapping table, and configuration information carries Ipv6 address is identical with the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " interpolation ", then update Corresponding list item, and return success message to 4over6 tunnel initiate point ti, carry complete configuration information in this message, and carry letter Breath " being updated successfully ";
If the ipv4 address that d) configuration information carries or prefix information exist in address mapping table, and configuration information carries Ipv6 address is identical with the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " deletion ", then delete Corresponding list item, and return success message to 4over6 tunnel initiate point ti, carry complete configuration information in this message, and carry letter Breath " deleting successfully ";
If the ipv4 address that e) configuration information carries or prefix information exist in address mapping table, and configuration information carries Ipv6 address is different from the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " interpolation ", then by joining The ipv6 address that confidence breath carries updates corresponding list item, and returns success message to 4over6 tunnel initiate point ti, in this message Carry complete configuration information, and carry information " adding successfully ";
If the ipv4 address that f) configuration information carries or prefix information exist in address mapping table, and configuration information carries Ipv6 address is different from the ipv6 address of record in list item corresponding in address mapping table, and processes and be labeled as " deletion ", then not right Configuration information is processed, and returns error messages to 4over6 tunnel initiate point ti, carries complete configuration information in this message, And carry information " ipv6 information errors ".
2. 4over6 tunnel dynamic creation method according to claim 1 is it is characterised in that described 4over6 tunnel is initiated After point ti receives the error messages that described 4over6 tunnel convergent point tc sends or success message, the content that this message is carried is remembered Record is in daily record.
3. 4over6 tunnel dynamic creation method according to claim 1 is it is characterised in that described 4over6 tunnel converges Point tc itself configuration include an address mapping table, this table includes some list items, each list item include an ipv4 address or Prefix information and an ipv6 address and its relevant information.
CN201410058981.5A 2014-02-21 2014-02-21 Method for generating 4over6 channel dynamically Active CN103825971B (en)

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 CN103825971A (en) 2014-05-28
CN103825971B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852821B (en) * 2015-06-02 2018-01-12 清华大学 A kind of method based on NETCONF protocol configuration 4over6 access network forwarding strategies
CN113114801B (en) * 2021-05-18 2022-11-11 中国信息通信研究院 Method, device and equipment for establishing IPv4-in-IPv6 tunnel

Citations (2)

* Cited by examiner, † Cited by third party
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
CN103118145A (en) * 2013-01-18 2013-05-22 清华大学 IPv4-over-IPv6 multi-tunnel automatic establishment method based on DNS (domain name system)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8484666B2 (en) * 2010-09-13 2013-07-09 Microsoft Corporation Optimizations for implementing multi-stack stack hosts

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
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)

* Cited by examiner, † Cited by third party
Title
Tunnel-Based IPv6 Transition;Cui Y.,Dong J.,et al;《IEEE Internet Computing》;20130430;第17卷(第2期);62-68 *

Also Published As

Publication number Publication date
CN103825971A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN102387061B (en) Method, device and system for accessing VPC (virtual private cloud) to VPN (virtual private network)
CN100372347C (en) 4 over 6 tunnel packing and depacking method for extending boundary gateway protocol
CN105337881A (en) Data message processing method, service node and stream guiding point
CN106209557B (en) Message forwarding method and device
CN105591982A (en) Message transmission method and device
CN107645431B (en) Message forwarding method and device
CN103346970B (en) A kind of SpaceWire dynamic routing implementation method
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
CN105634901A (en) MAC address information synchronization method and device based on CAS VXLAN
CN104683210A (en) Automatic tunnel establishing method and device
CN109218200A (en) A kind of message processing method and device
CN104283891A (en) Method and device for access of service function node to service link network
CN104247339A (en) Home network packet delivery
CN104539902A (en) IPC remote access method and system
CN105099919A (en) Message processing method and apparatus
CN103825971B (en) Method for generating 4over6 channel dynamically
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
CN107147581A (en) The maintaining method and device of route table items
CN113194033B (en) Message forwarding method and device based on SDN (software defined network) segment routing networking and storage medium
CN104486217A (en) Cross network message transmitting method and equipment
CN114765614A (en) Method for accessing local area network service equipment and electronic equipment
CN108156066B (en) Message forwarding method and device
CN103986637B (en) A kind of error message processing method and tunnel device
CN106161666A (en) Internet protocol the 6th edition IPv6 message processing method and device
CN114827057A (en) Communication method and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant