CN104092561B - 4over6 dynamic address distribution server failure backup method - Google Patents

4over6 dynamic address distribution server failure backup method Download PDF

Info

Publication number
CN104092561B
CN104092561B CN201410262074.2A CN201410262074A CN104092561B CN 104092561 B CN104092561 B CN 104092561B CN 201410262074 A CN201410262074 A CN 201410262074A CN 104092561 B CN104092561 B CN 104092561B
Authority
CN
China
Prior art keywords
dhcpv4
dhcpv6
over
server
address
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
CN201410262074.2A
Other languages
Chinese (zh)
Other versions
CN104092561A (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 CN201410262074.2A priority Critical patent/CN104092561B/en
Publication of CN104092561A publication Critical patent/CN104092561A/en
Application granted granted Critical
Publication of CN104092561B publication Critical patent/CN104092561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed is a 4over6 dynamic address distribution server failure backup method. First of all, a Lightweight 4over6 tunnel is established, a network tunnel comprises a DHCPv4-over-DHCPv6 server and a DHCPv4-over-DHCPv6 backup server which are connected in the same multicast domain and share the same IPv6 address pool and the same IPv4 address pool, and the DHCPv4-over-DHCPv6 backup server is configured with an extra IPv6 address pool and an extra IPv4 address pool; the DHCPv4-over-DHCPv6 backup server maintains at a salient state and does not respond to a DHCP message when it is determined that the DHCPv4-over-DHCPv6 server works normally; and when the DHCPv4-over-DHCPv6 server fails or the DHCPv4-over-DHCPv6 backup server cannot maintain connected with the DHCPv4-over-DHCPv6 server, the DHCPv4-over-DHCPv6 backup server is converted to a normal mode from a salient mode, and the DHCP message is processed, such that the network stability can be guaranteed.

Description

A kind of 4over6 dynamic address allocation server failure backup method
Technical field
The invention belongs to Internet technical field, particularly to a kind of 4over6 dynamic address allocation server failure redundant Method.
Background technology
128 bit address that IPv6 address uses, 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.Furthermore, for other new techniques, IPv6 is more ripe in the unique development in the whole world, is suitable for the technology of large scale deployment.Therefore, IPv6 technology becomes current solution ground The optimum selection of location resource scarcity, it meets the growing address need of current internet.But, due to current IPv4 clothes A large amount of presence of business, IPv4 address is in short supply simultaneously, in order to ensure still can persistently to make to the period IPv4 service of IPv6 transition With operator tends to distribute same IPv4 address, a part of end of this IPv4 address of each CU for multiple users Mouthful.
The newly-built network of operator is more likely to use IPv6 at present, there is IPv4 user and cross over the visit of IPv6 network in network Ask the demand of IPv4Internet.Lightweight4over6 transitional technology is the same IPv4 ground of multiple IPv4 user's distribution Location, each user uses different segment ports.IPv4 user can carry out phase with cross-domain IPv6 network with IPv4Internet simultaneously Mutual communication.This technology disposes 4over6 tunnel convergent point TC ((Tunnel in IPv6 access network and IPv4 the Internet intersection Concentrator), and in IPv4 network and IPv6 access network intersection dispose 4over6 tunnel initiate point TI (Tunnel Initiator), the IPv4-over-IPv6 by setting up between 4over6 tunnel initiate point TI and 4over6 tunnel convergent point TC Tunnel, realizes IPv4 message and transmits in IPv6 network.The main process of 4over6 tunneling technique is as follows:4over6 tunnel is initiated Point TI passes through dynamic host configuration protocol DHCP v6 agreement or static configuration obtains IPv6 address and DHCPv4-over-DHCPv6 The IPv6 address of server, then utilizes DHCPv4-over-DHCPv6 technology and DHCPv4-over-DHCPv6 server application IPv4 address, the IPv4 address of distribution is added segment port and 4over6 tunnel initiate point TI by DHCPv4-over-DHCPv6 server IPv6 address be sent to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is by the IPv4 of 4over6 tunnel initiate point TI Address adds segment port and mapping is set up in IPv6 address;4over6 tunnel convergent point TC safeguards the IPv4 of 4over6 tunnel initiate point TI Address adds the mapping between segment port and IPv6 address.Between so 4over6 tunnel convergent point TC and 4over6 tunnel initiate point TI Tunnel have built up and complete.The IPv4 message of any 4over6 tunnel initiate point TI and the IPv4 of 4over6 tunnel convergent point TC Message, all will be forwarded by IPv4-over-IPv6 tunnel, it is achieved thereby that IPv4 message crosses over the biography of IPv6 network Defeated.
At present in the middle of technology, DHCPv4-over-DHCPv6 server is the shared IPv4 of 4over6 tunnel initiate point TI configuration The IPv4 address of 4over6 tunnel initiate point TI is added segment port simultaneously and IPv6 address information is sent to 4over6 tunnel and converges by address Accumulation TC.DHCPv4-over-DHCPv6 server maintenance tunnel lease information.In current technology, if DHCPv4- Over-DHCPv6 server runs into fault, and the 4over6 tunnel in the network of server place, after lease expires, needs experience to release Put current IPv4, IPv6 address, again the process of application IPv6 address and IPv4 address.User needs to experience and offline reaches the standard grade again Process, network linking is not sufficiently stable, and user satisfaction declines.
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 dynamic address allocation Server failure backup method, by disposing DHCPv4-over-DHCPv6 redundant server so that DHCPv4-over- During DHCPv6 server fail, still user equipment can be serviced it is ensured that network stabilization.
To achieve these goals, the technical solution used in the present invention is:
A kind of 4over6 dynamic address allocation server failure backup method, initially sets up Lightweight4over6 tunnel Road, tunneled network includes DHCPv4-over-DHCPv6 server, DHCPv4-over-DHCPv6 redundant server, 4over6 Tunnel initiate point TI and 4over6 tunnel convergent point TC, wherein DHCPv4-over-DHCPv6 server and DHCPv4-over- DHCPv6 redundant server configures interconnect in same multicast domain, and share with a piece of IPv6 address pool and IPv4 address Pond, and configure an extra IPv6 address pool and IPv4 address pool on DHCPv4-over-DHCPv6 redundant server, use In the new lease information of DHCPv4-over-DHCPv6 server failure post processing;DHCPv4-over-DHCPv6 redundant server Keep silent status when determining DHCPv4-over-DHCPv6 server normal work, dhcp message is not responded;When DHCPv4-over-DHCPv6 server failure or DHCPv4-over-DHCPv6 redundant server cannot and DHCPv4- When over-DHCPv6 server keeps connecting, DHCPv4-over-DHCPv6 redundant server switchs to normal mode from silent mode Formula, is processed to dhcp message.
The process of setting up in described Lightweight4over6 tunnel is:
By DHCPv6 server disposition in DHCPv4-over-DHCPv6 server, with 4over6 tunnel initiate point TI it is Customer access equipment, is attached with some IPv4 subscriber's main stations downwards, converges with 4over6 tunnel upwardly through IPv6 network Point TC connect, tunnel configuration generate before, the IPv6 address of described 4over6 tunnel initiate point TI to DHCPv6 server application, While issuing IPv6 address for it, in DHCPv6 message, carrying package contains DHCPv4-over-DHCPv6 to DHCPv6 server The option of server ip v6 address;Described 4over6 tunnel initiate point TI upstream Interface behind configuration of IP v6 address, to DHCPv4-over-DHCPv6 server application IPv4 address;The configured IPv6 of described 4over6 tunnel convergent point TC downstream interface Address, upstream Interface configured IPv4 address;DHCPv4-over-DHCPv6 server receives 4over6 tunnel initiate point TI After IPv4 address request, issue IPv4 address and segment port for it, simultaneously by the IPv6 ground of 4over6 tunnel initiate point TI Location and the IPv4 address that issues and port segment information send to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC according to The information configuration mapping table receiving.
Described DHCPv4-over-DHCPv6 server includes DHCPv6 server, is responsible for 4over6 tunnel initiate point TI Issue IPv6 address and IPv4 address and segment port, IPv4 address lease and IPv6 address lease time are consistent.
Described DHCPv4-over-DHCPv6 redundant server was led to DHCPv4-over-DHCPv6 server every 10 seconds Letter is to confirm whether it is online.
During described DHCPv4-over-DHCPv6 server normal work, 4over6 tunnel initiate point TI exceeded in the rental period Send DHCP new information when 50%, the current rental period is renewed a contract;When receive IP address lease request, re-rent and discharge please When seeking message, carry out first issuing address to 4over6 tunnel initiate point TI, renew the lease and deleting lease operation, Ran Houxiang DHCPv4-over-DHCPv6 redundant server send new information, if IP address releasing request message, then need to 4over6 tunnel convergent point TC sends message, deletes the corresponding map entry of 4over6 tunnel convergent point TC;If IP address is IPv4 address, then send IPv4-UPDATE message;If IPv6 address, then send IPv6-UPDATE message;DHCPv4- Over-DHCPv6 redundant server updates the lease storehouse of oneself according to the new information receiving, and keeps and DHCPv4-over- DHCPv6 server lease information is consistent.
Under described DHCPv4-over-DHCPv6 redundant server normal mode:
When there being user equipment to re-rent, 4over6 tunnel initiate point TI sends the RENEW of unicast when the rental period is more than 50% Message, if DHCPv4-over-DHCPv6 server is no responded, user equipment sends multicast when the rental period is more than 87.5% The REBIND message of type, now DHCPv4-over-DHCPv6 redundant server receive REBIND message, responded, to this place Location is re-rented;
When there being new user equipment to need access network, DHCPv4-over-DHCPv6 redundant server uses described extra IPv6 address pool and IPv4 address pool be the new user device configuration tunnel accessing, enable user equipment to use network.
When DHCPv4-over-DHCPv6 server recovers to restart from malfunction, to DHCPv4-over- DHCPv6 redundant server sends RECOVER message, and DHCPv4-over-DHCPv6 redundant server receives RECOVER message, Set up TCP with DHCPv4-over-DHCPv6 server to be connected, one by one to DHCPv4-over-DHCPv6 server transport lease Information, after all of lease information transfer is finished, DHCPv4-over-DHCPv6 redundant server is changed into from normal mode Silent mode.
Physical cord between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server After road is unimpeded, DHCPv4-over-DHCPv6 server sends new information to DHCPv4-over-DHCPv6 redundant server, Mutually send out lease synchronizing information, the side receiving lease synchronizing information searches local lease information, if locally not having this simultaneously Lease information, then by this lease information insert lease information bank, if lease information bank has this lease, check local this Whether bar lease information is up-to-date;If up-to-date, then keep lease storehouse constant, if it is not, then using the rent receiving About information is updated to lease information bank;After the local lease information of oneself is sent by both sides to other side, both sides rent About information bank is consistent, and now DHCPv4-over-DHCPv6 redundant server is changed into silent mode from normal mode.
Described lease synchronization message is IPv4-SYN or IPv6-SYN.
Compared with prior art, application claims DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 Redundant server disposition is in a piece of network, and needs to determine whether other side is online within a certain period of time.It is right that this technology does not need User equipment is modified, and between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server Communication mechanism simple, DHCPv4-over-DHCPv6 redundant server only has two states:Silent status and normal condition. When DHCPv4-over-DHCPv6 server fail, the service of user equipment can seamlessly switch to DHCPv4-over- On DHCPv6 redundant server, and DHCPv4-over-DHCPv6 redundant server is in the event of DHCPv4-over-DHCPv6 server Still the user equipment newly reached the standard grade can be serviced during barrier, have good autgmentability.It can be avoided that because network failure or Person's DHCPv4-over-DHCPv6 server failure leads to the user offline in network, prevents DNS frequent switching, improves user full Meaning degree.
Brief description
Fig. 1 is the network structure of DHCPv4-over-DHCPv6 server failure redundant of the present invention.
Fig. 2 is address of the present invention lease update method flow chart.
Fig. 3 is DHCPv4-over-DHCPv6 redundant server after DHCPv4-over-DHCPv6 server of the present invention recovers Patten transformation flow chart.
Fig. 4 is DHCPv4-over-DHCPv6 server of the present invention and DHCPv4-over-DHCPv6 redundant server lease Information synchronization method flow chart.
Specific embodiment
Describe embodiments of the present invention with reference to the accompanying drawings and examples in detail.
The present invention proposes a kind of 4over6 dynamic address allocation server failure backup method, and basic thought is, DHCPv4-over-DHCPv6 server keeps the lease with DHCPv4-over-DHCPv6 redundant server under normal circumstances Information is consistent, and redundant server keeps silent status.When redundant server finds the connection failure and master server between, Redundant server is changed into normal mode, and supports to provide, to master server, the function of recovering lease information.
For realizing the method, first have to set up Lightweight4over6 tunnel.As shown in figure 1, the inventive method is related to Network include 4over6 tunnel convergent point TC, DHCPv4-over-DHCPv6 server, DHCPv6 server and 4over6 tunnel Road initiate point TI.In order to mechanism more safety is easy, in the present invention, DHCPv6 server disposition is in DHCPv4-over- In DHCPv6 server, 4over6 tunnel initiate point TI, as customer access equipment, is carried out with numerous IPv4 subscriber's main stations downwards Connect, be connected with 4over6 tunnel convergent point TC upwardly through IPv6 network.Before tunnel configuration generates, 4over6 tunnel initiate point The IPv6 address of TI is issuing IPv6 address to DHCPv6 server application, DHCPv6 server for 4over6 tunnel initiate point TI While, the option of carrying package server ip containing DHCPv4-over-DHCPv6 v6 address in DHCPv6 message.4over6 Tunnel initiate point TI upstream Interface behind configuration of IP v6 address, to DHCPv4-over-DHCPv6 server application IPv4 address. The configured IPv6 address of 4over6 tunnel convergent point TC downstream interface, upstream Interface configured IPv4 address.DHCPv4-over- After DHCPv6 server receives the IPv4 address request of 4over6 tunnel initiate point, strategically issue IPv4 address for it And segment port, the IPv4 address simultaneously by the IPv6 address of 4over6 tunnel initiate point TI and issuing and the transmission of port segment information To 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is according to the information configuration mapping table receiving.Now Lightweight4over6 tunnel building completes.During afterwards, DHCPv4-over-DHCPv6 server maintenance The IPv4 lease information of 4over6 tunnel initiate point.
Based on above-mentioned network, in the present invention, DHCPv4-over-DHCPv6 server can process normal DHCPv6 and disappear Breath is it is also possible to process DHCPv4-over-DHCPv6 message.DHCPv4-over-DHCPv6 server and DHCPv4-over- DHCPv6 redundant server disposition interconnects in a piece of IPv6 network, and configures same multicast address domain.The present invention In, IPv4 address lease and IPv6 address lease time are consistent.4over6 tunnel initiate point TI is first from DHCPv4-over- DHCPv6 server uses DHCPv6 agreement to obtain IPv6 address, recycles DHCPv4-over-DHCPv6 message application IPv4 ground Location and segment port.Under DHCPv4-over-DHCPv6 server normal operation, DHCPv4-over-DHCPv6 redundant takes Business device keeps silent status, and the address lease request receiving is ignored.
DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server are shared with a piece of IPv6 Address pool and IPv4 address pool.Additionally, the little IPv6 of extra is configured on DHCPv4-over-DHCPv6 redundant server Address pool and IPv4 address pool, for processing new lease information after DHCPv4-over-DHCPv6 server failure.Two Platform server determines interconnection testing mechanism and confirms whether message detection other side is online, often it is necessary to sending one every 10 seconds and connecting Individual server receives this kind of message, replys an ACK message to other side.
When DHCPv4-over-DHCPv6 server receives new IPv6 address and DHCPv4-over-DHCPv6 lease Request is re-rented in request, address, issues IP address first, then sends renewal to DHCPv4-over-DHCPv6 redundant server and disappears Breath.If issuing IPv6 address, send IPv6-UPDATE message;If issuing IPv4 address, send IPv4-UPDATE Message.After DHCPv4-over-DHCPv6 redundant server receives IPv6-UPDATE and IPv4-UPDATE message, update DHCPv6 lease storehouse and DHCPv4-over-DHCPv6 lease storehouse.When DHCPv4-over-DHCPv6 server receive DHCPv6, DHCPv4-over-DHCPv6 lease releasing request, deletes the corresponding information in lease storehouse, first then to DHCPv4-over- DHCPv6 redundant server sends lease release message.If IPv6 address discharges, send IPv6-RELEASE message;If Release IPv4 address, then send IPv4-RELEASE message.That is, two servers will ensure lease synchronizing information under normal circumstances, Its detailed process comprises the steps:
(1) IPv6 address lease updates
Step 1:4over6 tunnel converges TI to DHCPv6 server application IPv6 address, or address lease updates, releases Put (DHCPv6 server is in DHCPv4-over-DHCPv6 server).
Step 2:DHCPv6 server issues IPv6 address to 4over6 tunnel convergent point TI, or the renewal of address lease, Release;Send IPv6-UPDATE message to DHCPv4-over-DHCPv6 redundant server simultaneously.
Step 3:After DHCPv4-over-DHCPv6 redundant server receives this IPv6-UPDATE message, to local DHCPv6 lease storehouse is updated, and sends IPv6-CONFIRM message to DHCPv4-over-DHCPv6 server simultaneously.
(2) IPv4 address lease updates
Step 1:4over6 tunnel initiate point TI sends IPv4 address to DHCPv4-over-DHCPv6 server and adds port Section request, or the renewal of address lease, release.
Step 2:DHCPv4-over-DHCPv6 server issues IPv4 address and segment port to 4over6 tunnel initiate point, Or IPv4 address lease updates, release;Send IPv4-UPDATE to DHCPv4-over-DHCPv6 redundant server to disappear simultaneously Breath.
Step 3:DHCPv4-over-DHCPv6 redundant server receives IPv4-UPDATE message, to local DHCPv4- Over-DHCPv6 lease is updated, and sends IPv4-CONFIRM message to DHCPv4-over-DHCPv6 server simultaneously.
When DHCPv4-over-DHCPv6 server fail, DHCPv4-over-DHCPv6 redundant server periodically connects Can not receive the response of DHCPv4-over-DHCPv6 server, then state can be changed into normal mode from silent mode.
In DHCPv4-over-DHCPv6 server under normal circumstances, 4over6 tunnel initiate point TI in the rental period more than 50% When send DHCP new information, the current rental period is renewed a contract.
If DHCPv4-over-DHCPv6 server fail is it is impossible to work on.DHCPv4-over-DHCPv6 Redundant server passes through interconnection testing mechanism and cannot receive DHCPv4-over-DHCPv6 server to the response connecting confirmation During message, start normal mode of operation, safeguard existing 4over6 tunnel lease information, utilize simultaneously independent IPv6 address pool and IPv4 address pool is user's distribution address of newly reaching the standard grade.When 4over6 tunnel initiate point TI sends unicast when the rental period is more than 50% RENEW message, and DHCPv4-over-DHCPv6 server is not responded due to fault, then start in rental period 87.5% REBIND message, is now to send to DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server Multicast message, after DHCPv4-over-DHCPv6 redundant server receives REBIND message, to 4over6 tunnel initiate point TI Rental period is updated.
The detailed process that address above mentioned lease updates is as shown in Fig. 2 comprise the steps:
Step 1:When IPv6 address (or IPv4 address) the lease phase of 4over6 Sui road initiate point TI crosses 50%, to DHCPv4-over-DHCPv6 server update lease information, if receive DHCPv4-over-DHCPv6 clothes within the designated time The response of business device, then turn to step 4, otherwise turns to step 2.
Step 2:4over6 tunnel initiate point TI when IPv6 address (or IPv4 address) the lease phase is more than 87.5%, to The REBIND of DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server transmission multiast types disappears Breath.
Step 3:DHCPv4-over-DHCPv6 redundant server receives REBIND message, to 4over6 tunnel initiate point TI Re-rent request-reply, renew the lease information, turn to step 5.
Step 4:DHCPv4-over-DHCPv6 server receives lease new information, then to 4over6 tunnel initiate point TI Re-rent request-reply, renew the lease information.
Step 5:The process of renewing the lease terminates.
When DHCPv4-over-DHCPv6 server recovers from fault, need to DHCPv4-over-DHCPv6 redundant Server sends IPv4-RECOVER message and IPv6-RECOVER message, will from DHCPv4-over-DHCPv6 redundant server Lease information is updated.After DHCPv4-over-DHCPv6 redundant server receives RECOVER message, with DHCPv4-over- DHCPv6 server sets up TCP link, updates DHCPv4-over-DHCPv6 server lease information.After the completion of this process, DHCPv4-over-DHCPv6 server has recovered current lease information, simultaneously DHCPv4-over-DHCPv6 redundant server Enter silent status.Its detailed process is as shown in figure 3, comprise the steps:
Step 1:DHCPv4-over-DHCPv6 server sends to DHCPv4-over-DHCPv6 redundant server RECOVER message.
Step 2:After DHCPv4-over-DHCPv6 redundant server receives RECOVER message, set up TCP connect start by Bar transmits lease information.
Step 3:DHCPv4-over-DHCPv6 server according to the lease information update receiving local lease information bank, to DHCPv4-over-DHCPv6 redundant server sends ACK message.
Step 4:After all lease information transfers are finished by DHCPv4-over-DHCPv6 redundant server, proceed to mould of mourning in silence Formula.
There is a kind of situation under this scene, DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 are standby Help server normal operation, but due to two servers between connection interrupted (as routeing due to the problem of physical equipment in network Device, cable etc.).A now original network is possible to become two networks it is also possible to other main frames of network can be mutually Communication, the only connection between DHCPv4-over-DHCPv6 server and redundant server goes wrong.In this case, DHCPv4-over-DHCPv6 redundant server is changed into normal mode of operation from silent mode provides service for main frame.If there are New user reaches the standard grade, then distribute address using the individual small address pool of DHCPv4-over-DHCPv6 redundant server configures, protect Demonstrate,proving new user being capable of normal access network.
When occurring in that above-mentioned situation in network, i.e. disconnecting between two-server, but two-server is all Normal work.Now two machines provide the user service in the network each being responsible for.When network recovery is normal, If DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server lease information are inconsistent, need Synchronize.The method of synchronization is as follows:
Two-server mutually sends out lease synchronization message IPv4-SYN or IPv6-SYN.When server receives synchronization message Afterwards, the lease receiving information and the lease information bank of oneself are compared, if the lease information receiving is believed in local lease Breath does not have in storehouse, then this lease information is added lease information bank, if this lease information exists local, compares the time Stamp, up-to-date being retained in data base of timestamp value.Meanwhile, often process an IPv4-SYN message, return an IPv4-ACK, Often process an IPv6-SYN message, return an IPv6-ACK.After the completion of data syn-chronization, DHCPv4-over-DHCPv6 is standby Help server and enter silent status.
As shown in figure 4, being a server and another server sync lease information process, comprise the steps:
Step 1:Server 1 sends a lease information to server 2.
Step 2:After server 2 receives this lease information, local lease storehouse is found the lease related to this IP address. If it is found, turning to step 3, otherwise turn to step 4.
Step 3:The timestamp of the timestamp of lease information middle in local lease storehouse and the lease receiving is carried out by server 2 Compare, if local time stamp is up-to-date, abandon the lease receiving, otherwise this local lease is updated to the lease receiving Information.
Step 4:This lease information is added local lease storehouse.
Step 5:Whether server 1 also has next lease to be sent, and is, goes to step 1, otherwise terminates.
If the synchronization of data to be completed, two-server is needed each to execute said process one time.
The above, be presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.

Claims (9)

1. a kind of 4over6 dynamic address allocation server failure backup method is it is characterised in that initially set up Lightweight4over6 tunnel, tunneled network includes DHCPv4-over-DHCPv6 server, DHCPv4-over- DHCPv6 redundant server, 4over6 tunnel initiate point TI and 4over6 tunnel convergent point TC, wherein DHCPv4-over- DHCPv6 server and DHCPv4-over-DHCPv6 redundant server configures interconnect in same multicast domain, and shared With a piece of IPv6 address pool and IPv4 address pool, and configuration one is extra on DHCPv4-over-DHCPv6 redundant server IPv6 address pool and IPv4 address pool, for the new lease information of DHCPv4-over-DHCPv6 server failure post processing; DHCPv4-over-DHCPv6 redundant server keeps when determining DHCPv4-over-DHCPv6 server normal work mourning in silence State, does not respond to dhcp message;When DHCPv4-over-DHCPv6 server failure or DHCPv4-over-DHCPv6 are standby Help server cannot with DHCPv4-over-DHCPv6 server keep connect when, DHCPv4-over-DHCPv6 redundant server Switch to normal mode from silent mode, dhcp message is processed.
2. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that described The process of setting up in Lightweight4over6 tunnel is:
By DHCPv6 server disposition in DHCPv4-over-DHCPv6 server, 4over6 tunnel initiate point TI connects for user Enter equipment, be attached with some IPv4 subscriber's main stations downwards, upwardly through IPv6 network with 4over6 tunnel convergent point TC even Connect, before tunnel configuration generates, the IPv6 address of described 4over6 tunnel initiate point TI is to DHCPv6 server application, DHCPv6 Server while issuing IPv6 address for it, carrying package server containing DHCPv4-over-DHCPv6 in DHCPv6 message The option of IPv6 address;Described 4over6 tunnel initiate point TI upstream Interface behind configuration of IP v6 address, to DHCPv4- Over-DHCPv6 server application IPv4 address;The configured IPv6 address of described 4over6 tunnel convergent point TC downstream interface, on Line interface configured IPv4 address;DHCPv4-over-DHCPv6 server receives the IPv4 address of 4over6 tunnel initiate point TI After request message, issue IPv4 address and segment port for it, simultaneously by the IPv6 address of 4over6 tunnel initiate point TI and issuing IPv4 address and port segment information send to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is according to the letter receiving Breath configuration mapping table.
3. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that described DHCPv4-over-DHCPv6 server includes DHCPv6 server, is responsible for 4over6 tunnel initiate point TI and issues IPv6 address With IPv4 address and segment port, IPv4 address lease and IPv6 address lease time are consistent.
4. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that described DHCPv4-over-DHCPv6 redundant server every 10 seconds with DHCPv4-over-DHCPv6 server communication to confirm it was No online.
5. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that described During DHCPv4-over-DHCPv6 server normal work, 4over6 tunnel initiate point TI sends DHCP when the rental period is more than 50% New information, renewed a contract to the current rental period;When receiving the request of IP address lease, re-rent and during releasing request message, first Carry out issuing address to 4over6 tunnel initiate point TI, renew the lease and deleting lease operation, then to DHCPv4-over- DHCPv6 redundant server sends new information, if IP address releasing request message, then needs to 4over6 tunnel convergent point TC sends message, deletes the corresponding map entry of 4over6 tunnel convergent point TC;If IP address is IPv4 address, send IPv4-UPDATE message;If IPv6 address, then send IPv6-UPDATE message;DHCPv4-over-DHCPv6 redundant takes Business device updates the lease storehouse of oneself according to the new information receiving, and keeps and DHCPv4-over-DHCPv6 server lease letter Breath is consistent.
6. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that described Under DHCPv4-over-DHCPv6 redundant server normal mode:
When there being user equipment to re-rent, 4over6 tunnel initiate point TI sends the RENEW message of unicast when the rental period is more than 50%, If DHCPv4-over-DHCPv6 server is no responded, user equipment sends multiast types when the rental period is more than 87.5% REBIND message, now DHCPv4-over-DHCPv6 redundant server receive REBIND message, responded, this address entered Row is re-rented;
When there being new user equipment to need access network, DHCPv4-over-DHCPv6 redundant server uses described extra IPv6 address pool and IPv4 address pool are the new user device configuration tunnel accessing, and enable user equipment to use network.
7. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that work as DHCPv4-over-DHCPv6 server, when malfunction is recovered to restart, services to DHCPv4-over-DHCPv6 redundant Device sends RECOVER message, and DHCPv4-over-DHCPv6 redundant server receives RECOVER message, with DHCPv4-over- DHCPv6 server is set up TCP and is connected, one by one to DHCPv4-over-DHCPv6 server transport lease information, by all of rent After about information transfer finishes, DHCPv4-over-DHCPv6 redundant server is changed into silent mode from normal mode.
8. 4over6 dynamic address allocation server failure backup method according to claim 1 is it is characterised in that work as After physical circuit between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server is unimpeded, DHCPv4-over-DHCPv6 server sends new information to DHCPv4-over-DHCPv6 redundant server, mutually sends out simultaneously and rents About synchronizing information, the side receiving lease synchronizing information searches local lease information, if locally there is no this lease information, This lease information is inserted lease information bank, if lease information bank has this lease, checks this lease information local Whether it is up-to-date;If up-to-date, then keep lease storehouse constant, if it is not, then using the lease information receiving to rent About information bank is updated;After the local lease information of oneself is sent by both sides to other side, both sides' lease information bank is protected Hold consistent, now DHCPv4-over-DHCPv6 redundant server is changed into silent mode from normal mode.
9. 4over6 dynamic address allocation server failure backup method according to claim 8 is it is characterised in that described Lease synchronization message is IPv4-SYN or IPv6-SYN, wherein IPv4-SYN synchronization IPv4 address, IPv6-SYN synchronization IPv6 Address.
CN201410262074.2A 2014-06-12 2014-06-12 4over6 dynamic address distribution server failure backup method Active CN104092561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410262074.2A CN104092561B (en) 2014-06-12 2014-06-12 4over6 dynamic address distribution server failure backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410262074.2A CN104092561B (en) 2014-06-12 2014-06-12 4over6 dynamic address distribution server failure backup method

Publications (2)

Publication Number Publication Date
CN104092561A CN104092561A (en) 2014-10-08
CN104092561B true CN104092561B (en) 2017-02-15

Family

ID=51640243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410262074.2A Active CN104092561B (en) 2014-06-12 2014-06-12 4over6 dynamic address distribution server failure backup method

Country Status (1)

Country Link
CN (1) CN104092561B (en)

Families Citing this family (1)

* 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716954A (en) * 2005-05-27 2006-01-04 清华大学 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
EP1722523A1 (en) * 2005-05-11 2006-11-15 Samsung Electronics Co., Ltd. Apparatus and method for reserving session resource in IPv4/IPv6 combination network
CN102523312A (en) * 2011-12-02 2012-06-27 清华大学 Method for optimal tunnel selection in 4over6 scene
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
US6690669B1 (en) * 1996-11-01 2004-02-10 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1722523A1 (en) * 2005-05-11 2006-11-15 Samsung Electronics Co., Ltd. Apparatus and method for reserving session resource in IPv4/IPv6 combination network
CN1716954A (en) * 2005-05-27 2006-01-04 清华大学 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
CN102523312A (en) * 2011-12-02 2012-06-27 清华大学 Method for optimal tunnel selection in 4over6 scene
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
《下一代互联网4over6软线隧道过渡技术》;崔勇;陈煜驰;《中兴通讯技术》;20130204;第19卷(第2期);第21-24页 *

Also Published As

Publication number Publication date
CN104092561A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
US10397045B2 (en) Method for migrating service of data center, apparatus, and system
CN104506408B (en) The method and device of data transfer based on SDN
TWI324456B (en) An intelligent automatic setting restoration method and device
CN101106512B (en) A processing method and device for QinQ termination configuration
CN113328894B (en) Method and equipment for hot standby of dual computers based on CU separation
CN101471898B (en) Protection method, system and virtual access edge node for access network
CN105162704B (en) The method and device of multicast replication in Overlay network
CN102904818A (en) Method and device for updating ARP (Address Resolution Protocol) information table
CN101595689B (en) Change of subscriber information in a multi-chassis network access environment
CN107277187B (en) The system and method for ARP warm back-up Fast synchronization
WO2015154525A1 (en) Method and device for protecting hqos using multiple board cards
CN105472049B (en) CGN backup protection method and device for carrier-grade network address conversion
CN102710520A (en) Method and device for backing up lonworks network service (LNS)
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
JP2006261827A (en) Network apparatus, management apparatus thereof, network connection method, and network connection management method thereof
CN104092561B (en) 4over6 dynamic address distribution server failure backup method
CN103414642A (en) Maintaining method and device of information forwarding
CN108462637A (en) One kind being routed back to blanking method, controller and system
CN103227733B (en) A kind of topology discovery method and system
CN104935614B (en) Data transmission method and device
CN102594580A (en) Method for raising service reliability in virtual private network, system thereof and access apparatus
CN105591811A (en) Mapping server restart recovery method and device in LISP
JP5157685B2 (en) COMMUNICATION SYSTEM, NETWORK DEVICE, COMMUNICATION RECOVERY METHOD USED FOR THEM, AND PROGRAM THEREOF
CN113691435B (en) Message processing method, system and device
CN108737454B (en) Method and equipment for information synchronization between virtual gateway servers

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