CN101141409A - Method and equipment for implementing 6to4 relay routing device backup - Google Patents

Method and equipment for implementing 6to4 relay routing device backup Download PDF

Info

Publication number
CN101141409A
CN101141409A CNA2007101763005A CN200710176300A CN101141409A CN 101141409 A CN101141409 A CN 101141409A CN A2007101763005 A CNA2007101763005 A CN A2007101763005A CN 200710176300 A CN200710176300 A CN 200710176300A CN 101141409 A CN101141409 A CN 101141409A
Authority
CN
China
Prior art keywords
equipment
transistroute
main
routing device
ipv6
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101763005A
Other languages
Chinese (zh)
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNA2007101763005A priority Critical patent/CN101141409A/en
Publication of CN101141409A publication Critical patent/CN101141409A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a method and an equipment for realizing the backup of a 6to4 relay router equipment. Two or more than two IPv6 addresses of the 6to4 relay router equipment are preserved, and a main 6to4 relay router equipment is selected and configured in a router forwarding table; the 6to4 relay router equipment transmits a diction request message to the main 6to4 relay router equipment periodically, and a main 6to4 relay router equipment is reselected and configured in a router forwarding table when a return detection response message is not received within the time set in advance. By using the present invention proposal, the 6to4 relay router equipment can automatically estimate whether the main 6to4 relay router equipment is available, and can automatically reselect a main 6to4 relay router equipment under the unavailable condition. Thereby the work amount of a network manager is reduced, the backup of the 6to4 relay router equipment is realized, and the reliability of the 6to4 network to the other IPv6 network access of non-6to4 network is enhanced.

Description

A kind of method and apparatus of realizing the device backup of 6to4 transistroute
Technical field
The present invention relates to network communications technology field, particularly relate to the method and apparatus of a kind of 6to4 of realization transistroute device backup.
Background technology
At present, seamlessly transit period at IPv4 to IPv6, each IPv6 network still needs to pass through the IPv4 network and realizes intercommunication.That is to say that each IPv6 network settings have the 6to4 routing device, can set up the 6to4 tunnel between each 6to4 routing device.Like this, if the device A in certain IPv6 network need be carried out alternately with the equipment B in another IPv6 network, device A just can send to the IPv6 message 6to4 routing device of self network earlier, this 6to4 routing device utilizes the 6to4 tunnel IPv6 message to be sent to the 6to4 routing device of bipartite network, the 6to4 routing device of bipartite network is transmitted to equipment B with the IPv6 message more then, to reach the purpose of communication.Certainly, in the practical application, for the IPv6 message is transmitted in the IPv4 network, the 6to4 routing device also needs the IPv6 message is handled, such as processing such as embedding IPv4 addresses, specifically how process IP v6 message belongs to prior art as for the 6to4 routing device, repeats no more herein.
Above-mentioned IPv6 network can be the 6to4 network, also can be for not being other IPv6 network of 6to4 network.If certain 6to4 network need utilize 6to4 tunnel and another 6to4 network to communicate, so, the routing device that connects 6to4 network and IPv4 network is exactly a common 6to4 routing device, can directly utilize existing 6to4 technology to realize communication.If it is not other IPv6 network of 6to4 network that certain 6to4 network need utilize 6to4 tunnel and another, be that non-6to4 network communicates, so, the routing device that connects 6to4 network and IPv4 network still is the 6to4 routing device, and the routing device of connection IPv4 network and non-6to4 network is exactly a 6to4 transistroute equipment.
In the practical application, in order to guarantee the non-6to4 network of 6to4 access to netwoks, can dispose the 6to4 transistroute equipment that non-6to4 network is pointed in a static routing in the 6to4 of 6to4 network routing device usually, this static routing generally is a default route.In addition,, two or more 6to4 transistroute equipment can be set also, and with one of them the 6to4 transistroute equipment as main usefulness, other is as standby 6to4 transistroute equipment in order to guarantee the reliability of the non-6to4 network of 6to4 access to netwoks.The 6to4 transistroute equipment of main usefulness is pointed in the static routing of disposing in the 6to4 routing device, that is: the IPv6 address configuration that will lead usefulness 6to4 transistroute equipment is in the route forwarding table of 6to4 routing device.
Fig. 1 is a system configuration schematic diagram of realizing 6to4 network and non-6to4 network service in the prior art.As shown in Figure 1, routing device A is a common 6to4 routing device, and routing device B and routing device C are 6to4 transistroute equipment.Wherein, routing device B is as the 6to4 transistroute equipment of main usefulness, and routing device C is as standby 6to4 transistroute equipment.Routing device B is pointed in static routing of routing device A configuration.Like this, if the equipment in the 6to4 network need be visited the equipment in the non-6to4 network, then can realize communication by the 6to4 tunnel of setting up between routing device A and the routing device B.
In the practical application, if the network management personnel finds 6to4 transistroute device fails or other reason of main usefulness, cause the 6to4 network can't continue to visit non-6to4 network, generally can adopt the mode of manual configuration to upgrade configuration in the 6to4 routing device, make static routing point to standby 6to4 transistroute equipment.With Fig. 1 is example, if fault has taken place routing device B, the network management personnel can adopt the mode of manual configuration, and the static routing that directly will point to routing device B in routing device A originally changes to the static routing of pointing to routing device C.
Because adopting manual type to dispose, prior art points to main route with 6to4 transistroute equipment in the 6to4 routing device, and judging to lead whether but the time spent is also adopted manual type with 6to4 transistroute equipment, not only increased network management personnel's workload, and under leading with the disabled situation of 6to4 transistroute equipment, 6to4 routing device self can't automatically back up switching, causes the 6to4 network lower to the reliability of other IPv6 access to netwoks of non-6to4 network.
Summary of the invention
In view of this, first goal of the invention of the present invention provides the method for a kind of 6to4 of realization transistroute device backup, can avoid manual intervention to realize the relaying backup, improves the reliability of 6to4 network to other IPv6 access to netwoks of non-6to4 network.
Second goal of the invention of the present invention provides the equipment of a kind of 6to4 of realization transistroute device backup, can avoid manual intervention to realize the relaying backup, improves the reliability of 6to4 network to other IPv6 access to netwoks of non-6to4 network.
In order to reach above-mentioned first goal of the invention, the technical scheme that the present invention proposes is:
A kind of method that realizes the device backup of 6to4 transistroute, this method may further comprise the steps:
The 6to4 routing device is preserved the IPv6 address of two or more 6to4 transistroute equipment, from described two or more 6to4 transistroute equipment, select the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will select is in route forwarding table;
The 6to4 routing device periodically detects request message to main the transmission with 6to4 transistroute equipment, when the time that sets in advance does not receive the detection response message that returns, from described two or more 6to4 transistroute equipment, reselect the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will reselect out is in route forwarding table.
In the such scheme, when the IPv6 address of two or more 6to4 transistroute equipment of preservation, this method further comprises: the 6to4 routing device is preserved each the 6to4 transistroute equipment preferential selection information separately that obtains in advance;
Master of described selection with the method for 6to4 transistroute equipment is: determine alternative 6to4 transistroute equipment in described two or more 6to4 transistroute equipment, select the highest 6to4 transistroute equipment of priority to use 6to4 transistroute equipment as the master from alternative 6to4 transistroute equipment according to described preferential selection information.
In the such scheme, the IPv6 address of described two or more 6to4 transistroute equipment and preferential selection information are kept in the 6to4 relay information table of prior setting, in the IPv6 address of two or more 6to4 transistroute equipment of described preservation with preferentially select the step of information and select between the main step with 6to4 transistroute equipment, this method further comprises: according to preferential selection information the list item of described 6to4 relay information table is carried out priority ordering from high to low;
The method of described definite alternative 6to4 transistroute equipment is: determine alternative list item in the 6to4 relay information table, the pairing 6to4 transistroute of described alternative list item equipment is alternative 6to4 transistroute equipment;
The described 6to4 transistroute equipment that priority of selection is the highest from alternative 6to4 transistroute equipment as main method with 6to4 transistroute equipment is: the pairing 6to4 transistroute of the list item equipment that described alternative list item medium priority ordering is the highest is as the main 6to4 of using transistroute equipment.
In the such scheme, when described preferential selection information changed, this method further comprised:
According to the preferential selection information after changing the list item of described 6to4 relay information table is carried out priority ordering from high to low again, in through the 6to4 relay information table of rearrangement, determine alternative list item, the pairing 6to4 transistroute of the list item equipment that alternative list item medium priority ordering is the highest is used 6to4 transistroute equipment as new master, and new main IPv6 address with 6to4 transistroute equipment is reconfigured in route forwarding table.
In the such scheme, described preferential selection information comprises: any one in three of the assigned priorities, time of delay, forward-path max-forwards unit MTU or combination arbitrarily; Described assigned priority is the prior appointed priority of 6to4 transistroute equipment, be the time of delay that the 6to4 tunnel of 6to4 transistroute equipment correspondence E-Packets described time of delay, and described forward-path MTU is a minimum value among each MTU of allow transmitting of the 6to4 path that the tunnel experiences of 6to4 transistroute equipment correspondence.
In the such scheme, described selection is main with 6to4 transistroute equipment and will lead IPv6 address configuration with 6to4 transistroute equipment between route forwarding table, and this method further comprises:
The 6to4 routing device detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns.
In the such scheme, described detection request message is responded request IPv6ICMP Echo Request message for the IPv6 Internet Control Message Protocol, and described detection response message is responded response IPv6 ICMP Echo Reply message for the IPv6 Internet Control Message Protocol.
At second goal of the invention, the technical scheme that the present invention proposes is:
A kind of equipment of realizing the device backup of 6to4 transistroute, this equipment is the 6to4 routing device, comprising:
Memory cell, the IPv6 address of preserving two or more 6to4 transistroute equipment;
Selected cell is selected the main 6to4 of using a transistroute equipment from described two or more 6to4 transistroute equipment;
Dispensing unit uses the IPv6 address configuration of 6to4 transistroute equipment in route forwarding table the master who selects;
Transmit-Receive Unit periodically detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns;
Judgement unit judges whether to receive the detection response message that returns in the time that sets in advance, if do not receive, then the triggering selection unit is carried out.
In the such scheme, described memory cell is also further preserved each 6to4 transistroute equipment preferential selection information separately of prior acquisition;
The master that selected cell chooses with 6to4 transistroute equipment is: according to the 6to4 transistroute equipment that preferential selection information chooses from determine alternative 6to4 transistroute equipment, the 6to4 transistroute equipment that chooses is the highest 6to4 transistroute equipment of priority.
In sum, a kind of method and apparatus of realizing the device backup of 6to4 transistroute that the present invention proposes, because the IPv6 address with alternative 6to4 transistroute equipment all is kept in the 6to4 routing device in advance, and after determining the main 6to4 of using transistroute equipment, the 6to4 routing device periodically detects request message to main the transmission with 6to4 transistroute equipment.Like this, do not having under the situation of manual intervention, whether the 6to4 routing device can return situation according to message and judge main available with 6to4 transistroute equipment automatically.Under disabled situation, the 6to4 routing device can be reselected the main 6to4 of using a transistroute equipment.Like this, can significantly reduce network management personnel's workload, realize the backup of 6to4 relaying, increase the reliability of 6to4 network other IPv6 access to netwoks of non-6to4 network.
Description of drawings
Fig. 1 is the system configuration schematic diagram of 6to4 network and non-6to4 network service in the prior art;
Fig. 2 is the method flow diagram that the present invention realizes the device backup of 6to4 transistroute;
Fig. 3 is a system configuration schematic diagram of using the present invention program's embodiment;
Fig. 4 is a method flow diagram of using the present invention program's embodiment;
Fig. 5 is the equipment inner structure schematic diagram that the present invention realizes the backup of 6to4 relaying.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 2 is the flow chart that the present invention realizes the method for 6to4 transistroute device backup.As shown in Figure 2, this method can comprise:
Step 201:6to4 routing device is preserved the IPv6 address of two or more 6to4 transistroute equipment, from described two or more 6to4 transistroute equipment, select the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will select is in route forwarding table.
This step will lead IPv6 address configuration with 6to4 transistroute equipment in route forwarding table after, the 6to4 routing device also can be set up the 6to4 tunnel with 6to4 transistroute equipment.After this, if the equipment in the 6to4 network need communicate with the equipment in the non-6to4 network, just the IPv6 message can be sent to the 6to4 routing device.The 6to4 routing device sends to the IPv6 message main with 6to4 transistroute equipment according to the main IPv6 address with 6to4 transistroute equipment that route forwarding table write down by the 6to4 tunnel of setting up.The main equipment that again the IPv6 message is transmitted in the non-6to4 network with 6to4 transistroute equipment gets final product.
Certainly, above-mentioned only is the concise and to the point process that an IPv6 message is transmitted, in the practical application, 6to4 routing device and master also can carry out necessary processing with the IPv6 message with 6to4 transistroute equipment, such as embedding the IPv4 address and removing IPv4 address etc., as for how process IP v6 message belongs to prior art, repeat no more herein.In a word, after in the route forwarding table of IPv6 address configuration in the 6to4 routing device of leading usefulness 6to4 transistroute equipment, the 6to4 routing device just can carry out message and transmit.
Step 202:6to4 routing device periodically detects request message to main the transmission with 6to4 transistroute equipment, when the time that sets in advance does not receive the detection response message that returns, from described two or more 6to4 transistroute equipment, reselect the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will reselect out is in route forwarding table.
Though after the main IPv6 address of step 201 configuration with 6to4 transistroute equipment, the 6to4 routing device just can be undertaken alternately by 6to4 tunnel and 6to4 transistroute equipment, realize the mutual of 6to4 network and non-6to4 network, but in the practical application, the master might break down with 6to4 transistroute equipment, perhaps other node in the 6to4 tunnel of Jian Liing breaks down and causes the main 6to4 of using transistroute equipment unavailable, can not correctly E-Packet.For fear of manual intervention, whether the 6to4 routing device among the present invention can periodically detect request message to main the transmission with 6to4 transistroute equipment, and judge main available with the 6to4 routing device automatically according to feedback.Specifically, if the 6to4 routing device does not receive the detection response message that returns in the time that sets in advance, just can determine main unavailable with 6to4 transistroute equipment.In this case, 6to4 can reselect the main 6to4 of using a transistroute equipment, and the main IPv6 address with 6to4 transistroute equipment that will select reconfigures in route forwarding table.That is to say, new master can be added in the route forwarding table with the IPv6 address of 6to4 transistroute equipment, and delete original main IPv6 address simultaneously with 6to4 transistroute equipment.
Like this, the 6to4 routing device is follow-up can be undertaken alternately by new 6to4 tunnel and 6to4 transistroute equipment, realizes the non-6to4 network of 6to4 access to netwoks, reaches the purpose of the backup of 6to4 relaying.
In the practical application, the priority of each 6to4 transistroute equipment may be identical, also may be incomplete same.Priority described here can refer to the situations such as time of delay that the speed of 6to4 transistroute device processes message, corresponding 6to4 tunnel E-Packet.If the priority of each 6to4 transistroute equipment is identical, so, step 201 and step 202 just can select one to get final product from the 6to4 transistroute equipment that can select when selecting the master with 6to4 transistroute equipment at random.
If the priority of each 6to4 transistroute equipment is incomplete same, so, step 201 and step 202 just can be selected according to priority when selecting the master with 6to4 transistroute equipment.To be described in detail at the 6to4 transistroute equipment that possesses priority below:
If the priority of each 6to4 transistroute equipment is incomplete same, so, in the 6to4 routing device, not only to preserve the IPv6 address of each 6to4 transistroute equipment, also need to preserve each 6to4 transistroute equipment preferential selection information separately.Preferential selection information described here is exactly each other information of 6to4 transistroute priority facility of a kind of expression, can comprise: any one in three of the assigned priorities, time of delay, forward-path max-forwards unit (MTU) or combination arbitrarily.
Wherein, assigned priority is the prior appointed priority of 6to4 transistroute equipment, such as the priority of being come appointment by the network manager according to the situations such as speed of 6to4 transistroute device processes message; Be the time of delay that the 6to4 tunnel of 6to4 transistroute equipment correspondence E-Packets time of delay, such as: the 6to4 routing device sends the IPv6 Internet Control Message Protocol by the tunnel to certain 6to4 transistroute equipment and responds request (IPv6 ICMP Echo Request) message, receive the IPv6 Internet Control Message Protocol that returns again and respond response (IPv6 ICMP Echo Reply) message, the time difference that sends and receive message just can be used as the time of delay that E-Packets; Described forward-path max-forwards unit (MTU) is minimum value among each MTU of 6to4 path that the tunnel the experiences permission forwarding of 6to4 transistroute equipment correspondence, such as: certain 6to4 tunnel is through 3 nodes, it is X that first node allows the value of the MTU of forwarding, it is Y that second node allows the value of the MTU of forwarding, and it is Z that the 3rd node allows the value of the MTU of forwarding.If X<Y<Z, so, minimum value should be X among each MTU that this 6to4 path that the tunnel experiences allows to transmit, and the maximum that whole tunnel allows to transmit also should be X.Here, each node allows the MTU that transmits can represent that in fact each node allows the maximum length that E-Packets, and described forward-path MTU can represent that then the tunnel allows the maximum length that E-Packets.
In the practical application, preferentially select information to obtain in advance.Such as: assigned priority can be specified in advance by artificial, can set up the tunnel in advance time of delay between 6to4 routing device and 6to4 transistroute equipment, and repeatedly send IPv6 ICMP Echo Request message and calculate and to obtain average delay time, forward-path MTU also can obtain by the IPv4PMTU agreement in advance.
Because each 6to4 transistroute equipment possesses priority, so, in step 201 and step 202, select the master just can realize in accordance with the following methods with 6to4 transistroute equipment:
In described two or more 6to4 transistroute equipment, determine alternative 6to4 transistroute equipment, from alternative 6to4 transistroute equipment, select the highest 6to4 transistroute equipment of priority to use 6to4 transistroute equipment as the master according to described preferential selection information.
If all 6to4 transistroute equipment all are available, such as when selecting the master with 6to4 transistroute equipment for the first time, just can be with all 6to4 transistroute equipment all as alternative 6to4 transistroute equipment.If some 6to4 transistroute equipment is unavailable, such as when reselecting the master with 6to4 transistroute equipment, the 6to4 transistroute equipment that just other can not broken down is as alternative 6to4 transistroute equipment.
In the practical application, both can when selecting the master with 6to4 transistroute equipment each time, sort temporarily, determine the 6to4 transistroute equipment that priority is the highest according to the result who sorts to alternative 6to4 transistroute equipment; Also can sort to alternative 6to4 transistroute equipment in advance, and the outcome record of ordering is got off, after this just directly select according to the result who sorts.
In addition, in the practical application, main available really for what guarantee to select with 6to4 transistroute equipment, can also select main with 6to4 transistroute equipment and will lead IPv6 address configuration with 6to4 transistroute equipment in route forwarding table between, further comprise:
The 6to4 routing device detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns.
Certainly, detection request message of the present invention can be IPv6ICMP Echo Request message, detect response message and can be IPv6ICMP Echo Reply message, but, send any message and all can as long as set up mutual agreement with 6to4 transistroute equipment at 6to4 routing device and master.
For the present invention program is described better, be described in detail with a preferred embodiment below.
Fig. 3 is the system configuration schematic diagram of present embodiment.As shown in Figure 3, in the present embodiment, the 6to4 routing device that is connected with the 6to4 network is routing device A, and the 6to4 transistroute equipment that is connected with other IPv6 network of non-6to4 network is routing device 1~routing device N; The IP address that routing device A connects the IPv4 network is IPv4-A, and the IPv6 address that routing device A and each 6to4 transistroute equipment are set up the 6to4 tunnel is IPv6-A; The IP address that routing device 1~routing device N connects the IPv4 network is IPv4-1~IPv4-N, and the IPv6 address of setting up the 6to4 tunnel with routing device A is IPv6-1~IPv6-N.
Present embodiment supposes that each relaying 6to4 routing device possesses different priority, and the preferential selection information of expression precedence information comprises: assigned priority, time of delay, forward-path MTU.In order to preserve preferential selection information and IPv6 address better, present embodiment can be set up a 6to4 relay information table in advance in routing device A, its form as shown in Table 1:
6to4 transistroute equipment The IPv6 address Assigned priority Time of delay Forward-path MTU
Routing device 1 IPv6-1 Priority-1 Latency-1 PMTU-1
Routing device 2 IPv6-2 Priority-2 Latency-2 PMTU-2
... ... ... ... ...
Routing device N IPv6-N Priority-N Latency-N PMTU-N
Table one
Wherein, " IPv6 address " is each IPv6 address, 6to4 transistroute equipment self ground; " assigned priority " can be forced in advance to specify by gateway management person; " time of delay " can be in advance repeatedly sends IPv6ICMP Echo Request message to 6to4 transistroute equipment, and determines according to time that sends IPv6ICMP Echo Request message and the mean value that receives the difference of IPv6ICMP Echo Reply message time; " forward-path MTU " can obtain according to the IPv4PMTU agreement.
Fig. 4 is the flow chart that present embodiment is realized the backup of 6to4 relaying.As shown in Figure 4, present embodiment can comprise:
Step 401: IPv6 address, assigned priority, time of delay and the forward-path MTU of routing device 1~routing device N are kept in the 6to4 relay information table of routing device A.
Step 402: the list item of 6to4 relay information table is sorted from high to low according to priority according to assigned priority, time of delay and forward-path MTU.
This step is according to assigned priority, time of delay and forward-path MTU the list item of 6to4 relay information table to be sorted.That is to say, can sort according to the list item of assigned priority earlier,, then can continue according to sorting time of delay if the identical list item of a plurality of assigned priorities is arranged to the 6to4 relay information table.Equally, if a plurality of time of delays of identical list item is arranged, then can also continue to sort according to forward-path MTU.
Like this, if begin to arrange from first list item of 6to4 relay information table according to the result of prioritization, so, first list item is exactly the highest list item of priority, and last list item is exactly the minimum list item of priority.After this, when selecting the master, just can begin to select from first list item of 6to4 relay information table with 6to4 transistroute equipment.
In this step, suppose through the ordering the 6to4 relay information table as shown in Table 2:
6to4 transistroute equipment The IPv6 address Assigned priority Time of delay Forward-path MTU
Routing device P IPv6-P Priority-P Latency-P PMTU-P
Routing device Q IPv6-Q Priority-Q Latency-Q PMTU-Q
... ... ... ... ...
Routing device N IPv6-N Priority-N Latency-N PMTU-N
Table two
Step 403: determine alternative list item in through the 6to4 relay information table of ordering, the pairing 6to4 transistroute of described alternative list item equipment is alternative 6to4 transistroute equipment.
Certainly, this step is owing to be to select the main 6to4 of using transistroute equipment for the first time, and all list items all should be alternative list items in the 6to4 relay information table.
Step 404: the pairing 6to4 transistroute of the list item equipment that described alternative list item medium priority ordering is the highest is as the main 6to4 transistroute equipment of using.
If select main for the first time with 6to4 transistroute equipment, this step is exactly to use 6to4 transistroute equipment as the master through the 6to4 transistroute equipment of first list item correspondence in the 6to4 relay information table after sorting in fact, is about to routing device P as the main 6to4 of using transistroute equipment.
Step 405: routing device A sends IPv6 ICMP EchoRequest message to main with 6to4 transistroute equipment, and receives the IPv6ICMP Echo Reply message that returns.
In the present embodiment, routing device A has successfully received the IPv6ICMP Echo Reply message that returns in the time that sets in advance.In the practical application, if routing device A does not receive the IPv6ICMP Echo Reply message that returns, can judge that then main is disabled with 6to4 transistroute equipment, can also continue to select the 6to4 transistroute equipment of next list item correspondence as the main 6to4 of using transistroute equipment, promptly return step 404 and carry out, up to determining the available main 6to4 of using a transistroute equipment.
Step 406: the IPv6 address configuration that will lead usefulness 6to4 transistroute equipment is in route forwarding table.
After ordering, because routing device P is arranged in first list item of 6to4 relay information table, so, just should be in the route forwarding table of routing device A with this address configuration of IPv6-P of routing device P correspondence.Certainly, how to belong to prior art, repeat no more herein in the route forwarding table configuration of IP v6 address of routing device A.
After this, routing device A also will set up the 6to4 tunnel with routing device P, and responsible 6to4 network and non-6to4 network is mutual, as for how to set up the 6to4 tunnel and how also to belong to prior art alternately, repeat no more herein.
Step 407: routing device A periodically sends IPv6ICMP Echo Request message to main with 6to4 transistroute equipment according to the time interval that sets in advance.
Here, main whether available in order to grasp initiatively, exactly with 6to4 transistroute equipment, situations such as whether its tunnel can successfully E-Packet can periodically send IPv6ICMP Echo Request message to main with 6to4 transistroute equipment, and judge according to feedback.
Step 408: routing device A judges whether to receive the IPv6ICMP Echo Reply message that returns in the time that sets in advance, if receive, then returns step 407; Otherwise, execution in step 409.
In the practical application, the time interval that is provided with in the step 407, and the time that sets in advance in the step 408 can be definite voluntarily by the user who uses the present invention program.Such as: the time interval that sends IPv6ICMPEcho Request message is set to Timer, and so, during through 3Timer, routing device A just can judge whether to have received the IPv6ICMP Echo Reply message that returns.If receive the IPv6ICMP Echo Reply message that returns in the time that sets in advance, then can determine main is available with 6to4 transistroute equipment, can correctly E-Packet; If do not receive the IPv6ICMP Echo Reply message that returns, then can determine main is disabled with 6to4 transistroute equipment, can not correctly E-Packet, and need utilize follow-up step 409~411 to reselect.
Step 409: determine alternative list item in the 6to4 relay information table, the pairing 6to4 transistroute of described alternative list item equipment is alternative 6to4 transistroute equipment.
If preceding once as main be that fault has taken place for first routing device P in the 6to4 relay information table with 6to4 transistroute equipment, this step just do not need again with first as alternative list item, but will except other list item of first as alternative list item.
Step 410: the pairing 6to4 transistroute of the list item equipment that alternative list item medium priority ordering is the highest is as the main 6to4 transistroute equipment of using.
Show, in the present embodiment, owing to routing device P in first list item has been determined is disabled, the object of selection will be re-used as, the list item that other list item prioritization is the highest just should be in the 6to4 relay information table second, promptly should be with the routing device Q in second as main with 6to4 transistroute equipment.
Step 411: routing device A is main with 6to4 transistroute equipment transmission IPv6ICMP Echo Request message to what reselect out, and receives the IPv6 ICMP Echo Reply message that returns.
This step is similar to step 405, if the master who reselects out does not return IPv6ICMP Echo Reply message with 6to4 transistroute equipment, so, it also is disabled with 6to4 transistroute equipment that routing device A can judge this master who reselects out, can also continue to select the 6to4 transistroute equipment of next list item correspondence as the main 6to4 of using transistroute equipment, promptly return step 410 and carry out, up to determining the available main 6to4 of using a transistroute equipment.
Step 412: the IPv6 address configuration of the main 6to4 of the using transistroute equipment that routing device A will reselect out is in route forwarding table.
In this step, routing device A can be configured in the IPv6 address ip v6-Q of routing device Q correspondence in the route forwarding table, and deletes the configuration of original IPv6-P simultaneously.
At this moment, routing device A is not having to have finished the backup of 6to4 relaying under the situation of manual intervention, new mainly can substitute original IPv6-P and routing device A carries out alternately with 6to4 transistroute Device IP v6-Q, thus the communicating by letter of realization 6to4 network and non-6to4 network.
Certainly, similar to step 407, whether available in order to grasp routing device Q exactly, situations such as whether its tunnel can successfully E-Packet, after the step 412, routing device A still can periodically send IPv6ICMP Echo Request message to routing device Q, and judges according to feedback.
In the practical application, if preferentially selection information changes, such as: the network management personnel changes the assigned priority of certain 6to4 transistroute equipment, and in this case, this method may further include:
According to the preferential selection information after changing the list item of described 6to4 relay information table is carried out priority ordering from high to low again, in through the 6to4 relay information table of rearrangement, determine alternative list item, the pairing 6to4 transistroute of the list item equipment that alternative list item medium priority ordering is the highest is used 6to4 transistroute equipment as new master, and new main IPv6 address with 6to4 transistroute equipment is reconfigured in route forwarding table.
Certainly, change in this case in preferential selection information,, transmit in order not influence message if new master also is not selected with 6to4 transistroute equipment, the stability of maintaining network can still be used original master to carry out message with 6to4 transistroute equipment and transmit.In addition, if the new main 6to4 transistroute equipment of selecting and original main with 6to4 transistroute equipment of using then can not upgrade route forwarding table, with the stability of maintaining network.
At such scheme, the present invention also provides the equipment of a kind of 6to4 of realization transistroute device backup, promptly connects the 6to4 routing device of 6to4 network and IPv4 network.
Fig. 5 is the internal structure schematic diagram of 6to4 routing device.As shown in Figure 5, this equipment comprises:
Memory cell 501, the IPv6 address of preserving two or more 6to4 transistroute equipment;
Selected cell 502 is selected the main 6to4 of using a transistroute equipment from described two or more 6to4 transistroute equipment;
Dispensing unit 503 uses the IPv6 address configuration of 6to4 transistroute equipment in route forwarding table the master who selects;
Transmit-Receive Unit 504 periodically detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns;
Judgement unit 505 judges whether to receive the detection response message that returns in the time that sets in advance, if do not receive, then triggering selection unit 502 is carried out.
That is to say, the IPv6 address that the 6to4 routing device will connect two or more 6to4 transistroute equipment of IPv4 network and non-6to4 network earlier is kept in self memory cell, by selected cell 502 from two or more 6to4 transistroute equipment, select one main with 6to4 transistroute equipment.Here, because the IPv6 address that the 6to4 routing device has been preserved 6to4 transistroute equipment, so, when selecting a master, be exactly to have selected certain IPv6 address pairing 6to4 transistroute equipment in fact with 6to4 transistroute equipment.After the selection, the master that will be selected by dispensing unit 503 uses the IPv6 address configuration of 6to4 transistroute equipment in route forwarding table.Like this, owing to disposed a main IPv6 address in the route forwarding table with 6to4 transistroute equipment, if the equipment in the 6to4 network need be visited the equipment in the non-6to4 network, the 6to4 routing device just can be set up the 6to4 tunnel with 6to4 transistroute equipment with this master, utilizes the 6to4 tunnel to realize visit.
Main in order to grasp with situations such as whether 6to4 transistroute equipment break down, can periodically detect request message by Transmit-Receive Unit 504, and receive the detection response message that returns to main the transmission with 6to4 transistroute equipment.Judgement unit 505 judges whether to receive the detection response message that returns in the time that sets in advance, if do not receive, then triggering selection unit 502 is carried out, that is: selected cell 502 is selected the main 6to4 of using a transistroute equipment again from two or more 6to4 transistroute equipment.Simultaneously, dispensing unit 503 also can reconfigure the main IPv6 address of selecting with 6to4 transistroute equipment in route forwarding table.
In the practical application,, also further preserve each 6to4 transistroute equipment preferential selection information separately of prior acquisition in the memory cell 501 if each 6to4 transistroute equipment possesses different priority.In this case, selected cell 502 chooses main with 6to4 transistroute equipment should for: according to the 6to4 transistroute equipment that preferential selection information chooses from definite alternative 6to4 transistroute equipment, the 6to4 transistroute equipment that chooses is the highest 6to4 transistroute equipment of priority.
As for specifically how selecting the main 6to4 of using transistroute equipment to repeat no more herein referring to such scheme.
In addition, only described Transmit-Receive Unit 504 among the present invention and can detect request message, and received the detection response message that returns to main the transmission with 6to4 transistroute equipment.In the practical application, Transmit-Receive Unit 504 also should be according to the route of dispensing unit 503 configurations, and equipment perhaps receives the IPv6 message that non-6to4 network sends by the 6to4 tunnel by the IPv6 message that the 6to4 tunnel sends in the forwarding 6to4 network.How specifically to receive and dispatch the IPV6 message and belong to prior art, repeat no more herein.
Use the present invention program, because whether the 6to4 routing device can be judged main available with 6to4 transistroute equipment automatically, and under disabled situation, automatically reselect the main 6to4 of using a transistroute equipment, thereby need not under the situation of manual intervention, reaching the purpose that realizes the backup of 6to4 relaying.Like this, not only significantly reduce network management personnel's workload, but also increased the reliability of 6to4 network other IPv6 access to netwoks of non-6to4 network.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a method that realizes the device backup of 6to4 transistroute is characterized in that, this method may further comprise the steps:
The 6to4 routing device is preserved the IPv6 address of two or more 6to4 transistroute equipment, from described two or more 6to4 transistroute equipment, select the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will select is in route forwarding table;
The 6to4 routing device periodically detects request message to main the transmission with 6to4 transistroute equipment, when the time that sets in advance does not receive the detection response message that returns, from described two or more 6to4 transistroute equipment, reselect the main 6to4 of using a transistroute equipment, and the IPv6 address configuration of the main 6to4 of the using transistroute equipment that will reselect out is in route forwarding table.
2. method according to claim 1, it is characterized in that, when the IPv6 address of two or more 6to4 transistroute equipment of preservation, this method further comprises: the 6to4 routing device is preserved the preferential selection information of each the 6to4 transistroute equipment that obtains in advance;
Master of described selection with the method for 6to4 transistroute equipment is: determine alternative 6to4 transistroute equipment in described two or more 6to4 transistroute equipment, select the highest 6to4 transistroute equipment of priority to use 6to4 transistroute equipment as the master from alternative 6to4 transistroute equipment according to described preferential selection information.
3. method according to claim 2, it is characterized in that, the IPv6 address of described two or more 6to4 transistroute equipment and preferential selection information are kept in the 6to4 relay information table of prior setting, in the IPv6 address of two or more 6to4 transistroute equipment of described preservation with preferentially select the step of information and select between the main step with 6to4 transistroute equipment, this method further comprises: according to preferential selection information the list item of described 6to4 relay information table is carried out priority ordering from high to low;
The method of described definite alternative 6to4 transistroute equipment is: determine alternative list item in the 6to4 relay information table, the pairing 6to4 transistroute of described alternative list item equipment is alternative 6to4 transistroute equipment;
The described 6to4 transistroute equipment that priority of selection is the highest from alternative 6to4 transistroute equipment as main method with 6to4 transistroute equipment is: the pairing 6to4 transistroute of the list item equipment that described alternative list item medium priority ordering is the highest is as the main 6to4 of using transistroute equipment.
4. method according to claim 3 is characterized in that, when described preferential selection information changed, this method further comprised:
According to the preferential selection information after changing the list item of described 6to4 relay information table is carried out priority ordering from high to low again, in through the 6to4 relay information table of rearrangement, determine alternative list item, the pairing 6to4 transistroute of the list item equipment that alternative list item medium priority ordering is the highest is used 6to4 transistroute equipment as new master, and new main IPv6 address with 6to4 transistroute equipment is reconfigured in route forwarding table.
5. according to each described method of claim 2 to 4, it is characterized in that described preferential selection information comprises: any one in three of the assigned priorities, time of delay, forward-path max-forwards unit MTU or combination arbitrarily; Described assigned priority is the prior appointed priority of 6to4 transistroute equipment, be the time of delay that the 6to4 tunnel of 6to4 transistroute equipment correspondence E-Packets described time of delay, and described forward-path MTU is a minimum value among each MTU of allow transmitting of the 6to4 path that the tunnel experiences of 6to4 transistroute equipment correspondence.
6. according to each described method of claim 1 to 4, it is characterized in that described selection is main with 6to4 transistroute equipment and will lead IPv6 address configuration with 6to4 transistroute equipment between route forwarding table, this method further comprises:
The 6to4 routing device detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns.
7. according to each described method of claim 1 to 4, it is characterized in that, described detection request message is responded request IPv6 ICMP Echo Request message for the IPv6 Internet Control Message Protocol, and described detection response message is responded response IPv6 ICMP Echo Reply message for the IPv6 Internet Control Message Protocol.
8. an equipment of realizing the device backup of 6to4 transistroute is characterized in that, this equipment is the 6to4 routing device, comprising:
Memory cell, the IPv6 address of preserving two or more 6to4 transistroute equipment;
Selected cell is selected the main 6to4 of using a transistroute equipment from described two or more 6to4 transistroute equipment;
Dispensing unit uses the IPv6 address configuration of 6to4 transistroute equipment in route forwarding table the master who selects;
Transmit-Receive Unit periodically detects request message to main the transmission with 6to4 transistroute equipment, and receives the detection response message that returns;
Judgement unit judges whether to receive the detection response message that returns in the time that sets in advance, if do not receive, then selection operation is carried out in the triggering selection unit.
9. equipment according to claim 8 is characterized in that, described memory cell is also further preserved each 6to4 transistroute equipment preferential selection information separately of prior acquisition;
The master that selected cell chooses with 6to4 transistroute equipment is: according to the 6to4 transistroute equipment that preferential selection information chooses from determine alternative 6to4 transistroute equipment, the 6to4 transistroute equipment that chooses is the highest 6to4 transistroute equipment of priority.
CNA2007101763005A 2007-10-24 2007-10-24 Method and equipment for implementing 6to4 relay routing device backup Pending CN101141409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101763005A CN101141409A (en) 2007-10-24 2007-10-24 Method and equipment for implementing 6to4 relay routing device backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101763005A CN101141409A (en) 2007-10-24 2007-10-24 Method and equipment for implementing 6to4 relay routing device backup

Publications (1)

Publication Number Publication Date
CN101141409A true CN101141409A (en) 2008-03-12

Family

ID=39193158

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101763005A Pending CN101141409A (en) 2007-10-24 2007-10-24 Method and equipment for implementing 6to4 relay routing device backup

Country Status (1)

Country Link
CN (1) CN101141409A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651560B (en) * 2009-07-23 2012-07-18 中国科学院声学研究所 Two-way routing network and reliability supporting method
CN102932255A (en) * 2012-09-06 2013-02-13 华为技术有限公司 Method and device for selecting tunnel path
WO2017016520A1 (en) * 2015-07-29 2017-02-02 Huawei Technologies Co., Ltd. System and method for robust relay communication
CN107465538A (en) * 2017-07-13 2017-12-12 深圳市盛路物联通讯技术有限公司 A kind of internet-of-things terminal moving method and gateway
CN107517484A (en) * 2017-08-26 2017-12-26 深圳市盛路物联通讯技术有限公司 Automatic routing method and device based on Internet of things
CN108123749A (en) * 2017-11-29 2018-06-05 中国人民解放军陆军工程大学 A kind of communication relay backs up unmanned mobile device, topological system and construction method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651560B (en) * 2009-07-23 2012-07-18 中国科学院声学研究所 Two-way routing network and reliability supporting method
CN102932255A (en) * 2012-09-06 2013-02-13 华为技术有限公司 Method and device for selecting tunnel path
CN102932255B (en) * 2012-09-06 2015-05-06 华为技术有限公司 Method and device for selecting tunnel path
WO2017016520A1 (en) * 2015-07-29 2017-02-02 Huawei Technologies Co., Ltd. System and method for robust relay communication
US10230448B2 (en) 2015-07-29 2019-03-12 Futurewei Technologies, Inc. System and method for robust relay communication
CN107465538A (en) * 2017-07-13 2017-12-12 深圳市盛路物联通讯技术有限公司 A kind of internet-of-things terminal moving method and gateway
CN107465538B (en) * 2017-07-13 2020-04-14 深圳市盛路物联通讯技术有限公司 Internet of things terminal migration method and gateway
CN107517484A (en) * 2017-08-26 2017-12-26 深圳市盛路物联通讯技术有限公司 Automatic routing method and device based on Internet of things
CN107517484B (en) * 2017-08-26 2020-09-04 深圳市盛路物联通讯技术有限公司 Automatic routing method and device based on Internet of things
CN108123749A (en) * 2017-11-29 2018-06-05 中国人民解放军陆军工程大学 A kind of communication relay backs up unmanned mobile device, topological system and construction method

Similar Documents

Publication Publication Date Title
CN101582773B (en) Redundant failover system, redundancy managing apparatus and application processing apparatus
EP1994649B1 (en) Control of field device on low power wireless networks
CN101009662B (en) Message processing method, system and device based on the load balance technology
CN101026589A (en) Route selecting method and router
CN108521656A (en) A kind of Lora communication means and system
CN102137004A (en) Edge-facing router capable of automatically identifying
CN104270291A (en) Content delivery network (CDN) quality monitoring method
CN101141409A (en) Method and equipment for implementing 6to4 relay routing device backup
CN103259740B (en) A kind of load balance process method and device
CN101651691A (en) Network system, access equipment and application layer service assess method
CN106936943A (en) The distribution method and system of virtual machine address
US20030200333A1 (en) Method of load balancing traffic among routers in a data transmission system
CN101483571B (en) RRPP configuring method, system and device
CN102437960B (en) Detection processing method and system of cluster mode, and network equipment
CN100512318C (en) Method and system for realizing load balancing, and load balancing equipment
CN108702804A (en) Wireless communication system for industrial automation system, the method and radio transceiver station for its operation
CN101341692B (en) Admission control using backup link based on access network in Ethernet
CN101296126B (en) Link fault announcing method, interface management unit and router
CN101667927B (en) Method and device for rapidly restoring service
CN100518116C (en) Directly connected network promulgating method and system
CN105634765A (en) Controller replacement method and controller replacement device
CN103188163A (en) Load balancing method and device
CN102655473A (en) Communication method, equipment and system
CN100421509C (en) Method for equalizing hometown agent load in mobile network
CN110912823B (en) SDN and IPv6 reliable routing method oriented to heterogeneous wired and wireless converged network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20080312