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

4over6 dynamic address distribution server failure backup method Download PDF

Info

Publication number
CN104092561A
CN104092561A CN201410262074.2A CN201410262074A CN104092561A CN 104092561 A CN104092561 A CN 104092561A CN 201410262074 A CN201410262074 A CN 201410262074A CN 104092561 A CN104092561 A CN 104092561A
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.)
Granted
Application number
CN201410262074.2A
Other languages
Chinese (zh)
Other versions
CN104092561B (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

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 standby method
Technical field
The invention belongs to Internet technical field, particularly a kind of 4over6 dynamic address allocation server standby method.
Background technology
128 bit address that IPv6 address is used, nearly 3.4 * 10 38individual address, it is approximately 7.9 * 10 of the IPv4 address amount of providing 28doubly, can say that IPv6 has almost unlimited address space.Moreover, with respect to other new technologies, IPv6 in the whole world unique development comparatively ripe, be suitable for the technology of large scale deployment.Therefore, IPv6 technology becomes the optimal selection in short supply of current solution address resource, and it has met the growing address need of current internet.But, due to a large amount of existence of current IP v4 service, IPv4 address is in short supply simultaneously, in order to guarantee still can to continue to use to the IPv4 service in period of IPv6 transition, operator tends to the address into the same IPv4 of a plurality of user assignments, a part of port of this IPv4 address of each CU.
The newly-built network of operator is more prone to use IPv6 at present, exists IPv4 user to cross over the demand of IPv6 access to netwoks IPv4Internet in network.Lightweight4over6 transitional technology is the same IPv4 of a plurality of IPv4 user assignments address, and each user uses different segment ports.IPv4 user can intercom with IPv4Internet by cross-domain IPv6 network mutually simultaneously.This technology is disposed 4over6 tunnel convergent point TC ((Tunnel Concentrator) at IPv6 Access Network and IPv4 the Internet intersection, and dispose a 4over6 tunnel initiation point TI (Tunnel Initiator) at IPv4 network and IPv6 Access Network intersection, by 4over6 tunnel, initiate the IPv4-over-IPv6 tunnel of setting up between some TI and 4over6 tunnel convergent point TC, realize IPv4 message and transmit in IPv6 network.The main process of 4over6 tunneling technique is as follows: 4over6 tunnel is initiated some TI and by dynamic host configuration protocol DHCP v6 agreement or static configuration, obtained the IPv6 address of IPv6 address and DHCPv4-over-DHCPv6 server, then utilize DHCPv4-over-DHCPv6 technology and DHCPv4-over-DHCPv6 server application IPv4 address, 4over6 tunnel convergent point TC is mail in the IPv6 address that DHCPv4-over-DHCPv6 server adds segment port and 4over6 tunnel initiation point TI by the IPv4 address of distribution, the IPv4 address that 4over6 tunnel convergent point TC initiates some TI by 4over6 tunnel adds segment port and the foundation mapping of IPv6 address, 4over6 tunnel convergent point TC safeguards that the IPv4 address of 4over6 tunnel initiation point TI adds the mapping between segment port and IPv6 address.The tunnel that initiate between some TI in 4over6 tunnel convergent point TC and 4over6 tunnel so has been set up.The point IPv4 message of TI and the IPv4 message of 4over6 tunnel convergent point TC are initiated in any 4over6 tunnel, all will be by forwarding in IPv4-over-IPv6 tunnel, thus realized the transmission that IPv4 message is crossed over IPv6 network.
At present, in the middle of technology, DHCPv4-over-DHCPv6 server is that a some TI configuration share I Pv4 address is initiated in 4over6 tunnel, and the IPv4 address of simultaneously 4over6 tunnel being initiated to some TI adds segment port and IPv6 address information mails to 4over6 tunnel convergent point TC.DHCPv4-over-DHCPv6 server maintenance tunnel lease information.In current technology, if DHCPv4-over-DHCPv6 server runs into fault, the 4over6 tunnel in the network of server place, after lease expires, needs experience to discharge current IP v4, IPv6 address, again applies for the process of IPv6 address and IPv4 address.User need to experience the process that rolls off the production line and reach the standard grade, and network linking is stable not, and user satisfaction declines.
Summary of the invention
In order to overcome the shortcoming of above-mentioned prior art, the object of the present invention is to provide a kind of 4over6 dynamic address allocation server standby method, by disposing DHCPv4-over-DHCPv6 redundant server, when DHCPv4-over-DHCPv6 server is broken down, still can serve subscriber equipment, guarantee network stabilization.
To achieve these goals, the technical solution used in the present invention is:
A kind of 4over6 dynamic address allocation server standby method, model Lightweight4over6 tunnel, tunneled network comprises DHCPv4-over-DHCPv6 server, DHCPv4-over-DHCPv6 redundant server, point TI and 4over6 tunnel convergent point TC are initiated in 4over6 tunnel, wherein DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server are configured in same multicast domain and interconnect, and share with a slice IPv6 address pool and IPv4 address pool, and on DHCPv4-over-DHCPv6 redundant server, configure an extra IPv6 address pool and IPv4 address pool, for the new lease information of DHCPv4-over-DHCPv6 server failure reprocessing, DHCPv4-over-DHCPv6 redundant server keeps silent status when definite DHCPv4-over-DHCPv6 server is normally worked, and dhcp message is not responded, when DHCPv4-over-DHCPv6 server failure or DHCPv4-over-DHCPv6 redundant server cannot keep being connected with DHCPv4-over-DHCPv6 server, DHCPv4-over-DHCPv6 redundant server transfers normal mode to from silent mode, and dhcp message is processed.
The process of establishing in described Lightweight4over6 tunnel is:
By DHCPv6 server disposition in DHCPv4-over-DHCPv6 server, the 4over6 tunnel initiation point TI of take is customer access equipment, be connected with some IPv4 subscriber's main stations downwards, upwards by IPv6 network, be connected with 4over6 tunnel convergent point TC, before tunnel configuration generates, the IPv6 address of point TI is initiated to the application of DHCPv6 server in described 4over6 tunnel, DHCPv6 server, when issuing IPv6 address for it, carries the option that comprises DHCPv4-over-DHCPv6 server ip v6 address in DHCPv6 message; Point TI upstream Interface is initiated behind configuration of IP v6 address, to DHCPv4-over-DHCPv6 server application IPv4 address in described 4over6 tunnel; Described 4over6 tunnel convergent point TC downstream interface is configuration of IP v6 address, and upstream Interface is configuration of IP v4 address; DHCPv4-over-DHCPv6 server is received after the IPv4 address request of 4over6 tunnel initiation point TI, for it issues IPv4 address and segment port, 4over6 tunnel is initiated to the IPv6 address of some TI and IPv4 address and the segment port information issuing simultaneously and be sent to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is according to the information configuration mapping table of receiving.
Described DHCPv4-over-DHCPv6 server comprises DHCPv6 server, is responsible for a 4over6 tunnel initiation point TI and issues IPv6 address and IPv4 address and segment port, and IPv4 address lease and IPv6 address lease time are consistent.
Whether described DHCPv4-over-DHCPv6 redundant server is online to confirm it with DHCPv4-over-DHCPv6 server communication every 10 seconds.
When described DHCPv4-over-DHCPv6 server is normally worked, 4over6 tunnel is initiated some TI and when the rental period surpasses 50%, is sent DHCP updating message, and the current rental period is renewed a contract; When receiving the lease request of IP address, re-rent and during releasing request message, first carry out that some TI is initiated in 4over6 tunnel and issue address, renew the lease and delete lease operation, then to DHCPv4-over-DHCPv6 redundant server, send updating message, IP address releasing request message if, need to send message to 4over6 tunnel convergent point TC, delete the corresponding map entry of 4over6 tunnel convergent point TC; If IP address is IPv4 address, send IPv4-UPDATE message; IPv6 address, sends IPv6-UPDATE message if; DHCPv4-over-DHCPv6 redundant server upgrades the lease storehouse of oneself according to the updating message of receiving, keep consistent with DHCPv4-over-DHCPv6 server lease information.
Under described DHCPv4-over-DHCPv6 redundant server normal mode:
When having subscriber equipment to re-rent, 4over6 tunnel is initiated some TI and when the rental period surpasses 50%, is sent the RENEW message of clean culture, if DHCPv4-over-DHCPv6 server is without response, subscriber equipment sends the REBIND message of multicast type when the rental period surpasses 87.5%, now DHCPv4-over-DHCPv6 redundant server is received REBIND message, respond, this address is re-rented;
When having new subscriber equipment to need access network, it is the user device configuration tunnel of new access that DHCPv4-over-DHCPv6 redundant server is used described extra IPv6 address pool and IPv4 address pool, makes subscriber equipment can use network.
When DHCPv4-over-DHCPv6 server recovers to restart from malfunction, to DHCPv4-over-DHCPv6 redundant server, send RECOVER message, DHCPv4-over-DHCPv6 redundant server is received RECOVER message, setting up TCP with DHCPv4-over-DHCPv6 server is connected, one by one to DHCPv4-over-DHCPv6 server transmission lease information, after all lease communications, DHCPv4-over-DHCPv6 redundant server changes silent mode into from normal mode.
After the physical circuit between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server is unimpeded, DHCPv4-over-DHCPv6 server sends updating message to DHCPv4-over-DHCPv6 redundant server, send out mutually lease synchronizing information simultaneously, a side who receives lease synchronizing information searches local lease information, if this locality does not have this lease information, this lease information is inserted to lease information bank, when if lease information bank has this lease, check whether local this lease information is up-to-date; If up-to-date, keep lease storehouse constant, if not, utilize the lease information of receiving to upgrade lease information bank; When both sides send the local lease information of oneself to the other side after, both sides' lease information bank is consistent, and now DHCPv4-over-DHCPv6 redundant server changes silent mode into from normal mode.
Described lease synchronization message is IPv4-SYN or IPv6-SYN.
Compared with prior art, the present invention requires DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server disposition in a slice network, and need to determine within a certain period of time that whether the other side is online.This technology does not need subscriber equipment to modify, and the communication mechanism between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server is simple, and DHCPv4-over-DHCPv6 redundant server only has two states: silent status and normal condition.When DHCPv4-over-DHCPv6 server breaks down, the service of subscriber equipment can seamlessly switch on DHCPv4-over-DHCPv6 redundant server, and DHCPv4-over-DHCPv6 redundant server still can be served the subscriber equipment of newly reaching the standard grade during DHCPv4-over-DHCPv6 server failure, has good autgmentability.Can avoid, because network failure or DHCPv4-over-DHCPv6 server failure cause the user offline in network, preventing that DNS from frequently switching, improve user satisfaction.
Accompanying drawing explanation
Fig. 1 is the network structure of DHCPv4-over-DHCPv6 server standby of the present invention.
Fig. 2 is address of the present invention lease update method flow chart.
Fig. 3 is the pattern flow path switch figure of DHCPv4-over-DHCPv6 redundant server after DHCPv4-over-DHCPv6 server of the present invention recovers.
Fig. 4 is DHCPv4-over-DHCPv6 server of the present invention and DHCPv4-over-DHCPv6 redundant server lease information synchronization method flow chart.
Embodiment
Below in conjunction with drawings and Examples, describe embodiments of the present invention in detail.
The present invention proposes a kind of 4over6 dynamic address allocation server standby method, basic thought is, it is consistent with the lease information of DHCPv4-over-DHCPv6 redundant server that DHCPv4-over-DHCPv6 server keeps under normal circumstances, and redundant server keeps silent status.When connection failure between redundant discovering server and master server, redundant server changes normal mode into, and supports to provide to master server the function of recovering lease information.
For realizing the method, first to set up Lightweight4over6 tunnel.As shown in Figure 1, the network that the inventive method relates to comprises 4over6 tunnel convergent point TC, DHCPv4-over-DHCPv6 server, DHCPv6 server and a 4over6 tunnel initiation point TI.For mechanism is easily gone more safely, in the present invention, DHCPv6 server disposition is in DHCPv4-over-DHCPv6 server, point TI is initiated as customer access equipment in 4over6 tunnel, be connected with numerous IPv4 subscriber's main stations downwards, upwards by IPv6 network, be connected with 4over6 tunnel convergent point TC.Before tunnel configuration generates, the IPv6 address of point TI is initiated to the application of DHCPv6 server in 4over6 tunnel, DHCPv6 server, when issuing IPv6 address for a 4over6 tunnel initiation point TI, carries the option that comprises DHCPv4-over-DHCPv6 server ip v6 address in DHCPv6 message.Point TI upstream Interface is initiated behind configuration of IP v6 address, to DHCPv4-over-DHCPv6 server application IPv4 address in 4over6 tunnel.4over6 tunnel convergent point TC downstream interface is configuration of IP v6 address, and upstream Interface is configuration of IP v4 address.DHCPv4-over-DHCPv6 server is received after the IPv4 address request of 4over6 tunnel initiation point, according to strategy, for it, issue IPv4 address and segment port, 4over6 tunnel is initiated to the IPv6 address of some TI and IPv4 address and the segment port information issuing simultaneously and be sent to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is according to the information configuration mapping table of receiving.Now Lightweight4over6 tunnel has been set up.In process afterwards, the IPv4 lease information of point is initiated in DHCPv4-over-DHCPv6 server maintenance 4over6 tunnel.
Based on above-mentioned network, in the present invention, DHCPv4-over-DHCPv6 server can be processed normal DHCPv6 message, also can process DHCPv4-over-DHCPv6 message.DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server disposition interconnect in same a slice IPv6 network, and configure same multicast address territory.In the present invention, IPv4 address lease and IPv6 address lease time are consistent.4over6 tunnel is initiated some TI and first from DHCPv4-over-DHCPv6 server, is used DHCPv6 agreement to obtain IPv6 address, recycling DHCPv4-over-DHCPv6 message application IPv4 address and segment port.Under DHCPv4-over-DHCPv6 server normal operation, DHCPv4-over-DHCPv6 redundant server keeps silent status, and the address lease request of receiving is ignored.
DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server are shared with a slice IPv6 address pool and IPv4 address pool.In addition, on DHCPv4-over-DHCPv6 redundant server, configure an extra little IPv6 address pool and IPv4 address pool, for processing new lease information after DHCPv4-over-DHCPv6 server failure.Two-server is determined interconnected testing mechanism, must send every 10 seconds a connection acknowledge message detection the other side whether online, and each server is received this class message, replys an ACK message to the other side.
When DHCPv4-over-DHCPv6 server, receive new IPv6 address and the request of DHCPv4-over-DHCPv6 lease, address and re-rent request, first issue IP address, then to DHCPv4-over-DHCPv6 redundant server, send updating message.If issue IPv6 address, send IPv6-UPDATE message; If issue IPv4 address, send IPv4-UPDATE message.DHCPv4-over-DHCPv6 redundant server is received after IPv6-UPDATE and IPv4-UPDATE message, upgrades DHCPv6 lease storehouse and DHCPv4-over-DHCPv6 lease storehouse.When DHCPv4-over-DHCPv6 server, receive DHCPv6, DHCPv4-over-DHCPv6 lease releasing request, first delete the corresponding information in lease storehouse, then to DHCPv4-over-DHCPv6 redundant server, send lease release message.If IPv6 address discharges, send IPv6-RELEASE message; If discharge IPv4 address, send IPv4-RELEASE message.That is, two servers will guarantee that lease information is synchronous under normal circumstances, and its detailed process comprises the steps:
(1) IPv6 address lease upgrades
Step 1:4over6 converges in tunnel TI to DHCPv6 server application IPv6 address, or address lease upgrades, discharges (DHCPv6 server is in DHCPv4-over-DHCPv6 server).
Step 2:DHCPv6 server issues IPv6 address to 4over6 tunnel convergent point TI, or address lease upgrades, discharges; To DHCPv4-over-DHCPv6 redundant server, send IPv6-UPDATE message simultaneously.
Step 3:DHCPv4-over-DHCPv6 redundant server is received after this IPv6-UPDATE message, and local DHCPv6 lease storehouse is upgraded, and sends IPv6-CONFIRM message to DHCPv4-over-DHCPv6 server simultaneously.
(2) IPv4 address lease upgrades
Step 1:4over6 tunnel is initiated some TI and is added segment port request to DHCPv4-over-DHCPv6 server transmission IPv4 address, or address lease upgrades, discharges.
Step 2:DHCPv4-over-DHCPv6 server is initiated point and is issued IPv4 address and segment port to 4over6 tunnel, or IPv4 address lease upgrades, discharges; To DHCPv4-over-DHCPv6 redundant server, send IPv4-UPDATE message simultaneously.
Step 3:DHCPv4-over-DHCPv6 redundant server is received IPv4-UPDATE message, and local DHCPv4-over-DHCPv6 lease is upgraded, and sends IPv4-CONFIRM message to DHCPv4-over-DHCPv6 server simultaneously.
When DHCPv4-over-DHCPv6 server breaks down, DHCPv4-over-DHCPv6 redundant server does not regularly receive replying of DHCPv4-over-DHCPv6 server, can from silent mode, change state into normal mode.
At DHCPv4-over-DHCPv6 server under normal circumstances, 4over6 tunnel is initiated some TI and when the rental period surpasses 50%, is sent DHCP updating message, and the current rental period is renewed a contract.
If DHCPv4-over-DHCPv6 server breaks down, cannot work on.DHCPv4-over-DHCPv6 redundant server by interconnected testing mechanism cannot receive DHCPv4-over-DHCPv6 server to connect to confirm receive the response time, start normal mode of operation, safeguard existing 4over6 tunnel lease information, utilize independently IPv6 address pool and IPv4 address pool is the user assignment address of newly reaching the standard grade simultaneously.When 4over6 tunnel, initiate some TI and when the rental period surpasses 50%, send the RENEW message of clean culture, and DHCPv4-over-DHCPv6 server is because fault is not responded, when rental period 87.5%, start REBIND message, now to send multicast message to DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server, DHCPv4-over-DHCPv6 redundant server is received after REBIND message, 4over6 tunnel is initiated to the rental period of some TI and upgrades.
The detailed process that address above mentioned lease upgrades as shown in Figure 2, comprises the steps:
IPv6 address (or IPv4 address) the lease phase of point TI is initiated while crossing 50% in step 1:4over6 Sui road, to DHCPv4-over-DHCPv6 server update lease information, if receive replying of DHCPv4-over-DHCPv6 server within the designated time, turn to step 4, otherwise turn to step 2.
When step 2:4over6 tunnel is initiated some TI (or IPv4 address) the lease phase is surpassed 87.5% in IPv6 address, to DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server, send the REBIND message of multicast type.
Step 3:DHCPv4-over-DHCPv6 redundant server is received REBIND message, initiates some TI re-rent request-reply to 4over6 tunnel, and the information that renews the lease, turns to step 5.
Step 4:DHCPv4-over-DHCPv6 server is received lease updating message, to 4over6 tunnel, initiates some TI and re-rents request-reply, and information renews the lease.
Step 5: the process of renewing the lease finishes.
When DHCPv4-over-DHCPv6 server recovers from fault, need to send IPv4-RECOVER message and IPv6-RECOVER message to DHCPv4-over-DHCPv6 redundant server, from DHCPv4-over-DHCPv6 redundant server, lease information be upgraded.DHCPv4-over-DHCPv6 redundant server is received after RECOVER message, sets up TCP link with DHCPv4-over-DHCPv6 server, upgrades DHCPv4-over-DHCPv6 server lease information.After this process completes, DHCPv4-over-DHCPv6 server has recovered current lease information, and DHCPv4-over-DHCPv6 redundant server enters silent status simultaneously.Its detailed process as shown in Figure 3, comprises the steps:
Step 1:DHCPv4-over-DHCPv6 server sends RECOVER message to DHCPv4-over-DHCPv6 redundant server.
Step 2:DHCPv4-over-DHCPv6 redundant server is received after RECOVER message, sets up TCP connection and starts to transmit one by one lease information.
Step 3:DHCPv4-over-DHCPv6 server, according to the local lease information bank of the lease information update of receiving, sends ACK message to DHCPv4-over-DHCPv6 redundant server.
Step 4:DHCPv4-over-DHCPv6 redundant server by all lease communications after, proceed to silent mode.
Under this scene, there is a kind of situation, DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server normal operation, but because the connection between two servers is because the problem of physical equipment in network is interrupted (as router, cable etc.).Now an original network has likely become two networks, and also likely other main frames of network can intercom mutually, and only being connected between DHCPv4-over-DHCPv6 server and redundant server goes wrong.In such cases, DHCPv4-over-DHCPv6 redundant server changes normal mode of operation into from silent mode provides service for main frame.If there is new user to reach the standard grade, use the small-sized address pool of independence of DHCPv4-over-DHCPv6 redundant server configuration to distribute address, guarantee normally access network of new user.
While there is above-mentioned situation in network, i.e. disconnecting between two-server, but two-server is all normally worked.Now two machines provide service at network that separately can be responsible for user.When network recovery is normal, if DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server lease information are inconsistent, need to carry out synchronous.The method of synchronization is as follows:
Two-server is sent out lease synchronization message IPv4-SYN or IPv6-SYN mutually.When server is received after synchronization message, the lease information of receiving and the lease information bank of oneself are compared, if the lease information of receiving does not have in local lease information bank, this lease information is added to lease information bank, if this lease information exists in this locality, compare timestamp, what timestamp value was up-to-date is retained in database.Meanwhile, IPv4-SYN message of every processing, returns to an IPv4-ACK, and IPv6-SYN message of every processing, returns to an IPv6-ACK.After data synchronously complete, DHCPv4-over-DHCPv6 redundant server enters silent status.
As shown in Figure 4, be a station server and the synchronous lease information process of another station server, comprise the steps:
Step 1: server 1 sends a lease information to server 2.
Step 2: server 2 is received after this lease information, finds the relevant lease in IP address therewith in local lease storehouse.If found, turn to step 3, otherwise turn to step 4.
Step 3: server 2 is compared the timestamp of middle lease information in local lease storehouse and the timestamp of the lease of receiving, if local time stamp is up-to-date, abandons the lease of receiving, otherwise this lease of this locality is updated to the lease information of receiving.
Step 4: this lease information is added to local lease storehouse.
Step 5: whether server 1 also has next lease that will send, and is to forward step 1 to, otherwise finishes.
If complete the synchronous of data, need two-server that said process is carried out one time separately.
The above, be preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (9)

1. a 4over6 dynamic address allocation server standby method, it is characterized in that, model Lightweight4over6 tunnel, tunneled network comprises DHCPv4-over-DHCPv6 server, DHCPv4-over-DHCPv6 redundant server, point TI and 4over6 tunnel convergent point TC are initiated in 4over6 tunnel, wherein DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server are configured in same multicast domain and interconnect, and share with a slice IPv6 address pool and IPv4 address pool, and on DHCPv4-over-DHCPv6 redundant server, configure an extra IPv6 address pool and IPv4 address pool, for the new lease information of DHCPv4-over-DHCPv6 server failure reprocessing, DHCPv4-over-DHCPv6 redundant server keeps silent status when definite DHCPv4-over-DHCPv6 server is normally worked, and dhcp message is not responded, when DHCPv4-over-DHCPv6 server failure or DHCPv4-over-DHCPv6 redundant server cannot keep being connected with DHCPv4-over-DHCPv6 server, DHCPv4-over-DHCPv6 redundant server transfers normal mode to from silent mode, and dhcp message is processed.
2. 4over6 dynamic address allocation server standby method according to claim 1, is characterized in that, the process of establishing in described Lightweight4over6 tunnel is:
By DHCPv6 server disposition in DHCPv4-over-DHCPv6 server, it is customer access equipment that some TI is initiated in 4over6 tunnel, be connected with some IPv4 subscriber's main stations downwards, upwards by IPv6 network, be connected with 4over6 tunnel convergent point TC, before tunnel configuration generates, the IPv6 address of point TI is initiated to the application of DHCPv6 server in described 4over6 tunnel, DHCPv6 server, when issuing IPv6 address for it, carries the option that comprises DHCPv4-over-DHCPv6 server ip v6 address in DHCPv6 message; Point TI upstream Interface is initiated behind configuration of IP v6 address, to DHCPv4-over-DHCPv6 server application IPv4 address in described 4over6 tunnel; Described 4over6 tunnel convergent point TC downstream interface is configuration of IP v6 address, and upstream Interface is configuration of IP v4 address; DHCPv4-over-DHCPv6 server is received after the IPv4 address request of 4over6 tunnel initiation point TI, for it issues IPv4 address and segment port, 4over6 tunnel is initiated to the IPv6 address of some TI and IPv4 address and the segment port information issuing simultaneously and be sent to 4over6 tunnel convergent point TC, 4over6 tunnel convergent point TC is according to the information configuration mapping table of receiving.
3. 4over6 dynamic address allocation server standby method according to claim 1, it is characterized in that, described DHCPv4-over-DHCPv6 server comprises DHCPv6 server, be responsible for a 4over6 tunnel initiation point TI and issue IPv6 address and IPv4 address and segment port, IPv4 address lease and IPv6 address lease time are consistent.
4. 4over6 dynamic address allocation server standby method according to claim 1, is characterized in that, whether described DHCPv4-over-DHCPv6 redundant server is online to confirm it with DHCPv4-over-DHCPv6 server communication every 10 seconds.
5. 4over6 dynamic address allocation server standby method according to claim 1, it is characterized in that, when described DHCPv4-over-DHCPv6 server is normally worked, 4over6 tunnel is initiated some TI and when the rental period surpasses 50%, is sent DHCP updating message, and the current rental period is renewed a contract; When receiving the lease request of IP address, re-rent and during releasing request message, first carry out that some TI is initiated in 4over6 tunnel and issue address, renew the lease and delete lease operation, then to DHCPv4-over-DHCPv6 redundant server, send updating message, IP address releasing request message if, need to send message to 4over6 tunnel convergent point TC, delete the corresponding map entry of 4over6 tunnel convergent point TC; If IP address is IPv4 address, send IPv4-UPDATE message; IPv6 address, sends IPv6-UPDATE message if; DHCPv4-over-DHCPv6 redundant server upgrades the lease storehouse of oneself according to the updating message of receiving, keep consistent with DHCPv4-over-DHCPv6 server lease information.
6. 4over6 dynamic address allocation server standby method according to claim 1, is characterized in that, under described DHCPv4-over-DHCPv6 redundant server normal mode:
When having subscriber equipment to re-rent, 4over6 tunnel is initiated some TI and when the rental period surpasses 50%, is sent the RENEW message of clean culture, if DHCPv4-over-DHCPv6 server is without response, subscriber equipment sends the REBIND message of multicast type when the rental period surpasses 87.5%, now DHCPv4-over-DHCPv6 redundant server is received REBIND message, respond, this address is re-rented;
When having new subscriber equipment to need access network, it is the user device configuration tunnel of new access that DHCPv4-over-DHCPv6 redundant server is used described extra IPv6 address pool and IPv4 address pool, makes subscriber equipment can use network.
7. 4over6 dynamic address allocation server standby method according to claim 1, it is characterized in that, when DHCPv4-over-DHCPv6 server recovers to restart from malfunction, to DHCPv4-over-DHCPv6 redundant server, send RECOVER message, DHCPv4-over-DHCPv6 redundant server is received RECOVER message, setting up TCP with DHCPv4-over-DHCPv6 server is connected, one by one to DHCPv4-over-DHCPv6 server transmission lease information, after all lease communications, DHCPv4-over-DHCPv6 redundant server changes silent mode into from normal mode.
8. 4over6 dynamic address allocation server standby method according to claim 1, it is characterized in that, after the physical circuit between DHCPv4-over-DHCPv6 server and DHCPv4-over-DHCPv6 redundant server is unimpeded, DHCPv4-over-DHCPv6 server sends updating message to DHCPv4-over-DHCPv6 redundant server, send out mutually lease synchronizing information simultaneously, a side who receives lease synchronizing information searches local lease information, if this locality does not have this lease information, this lease information is inserted to lease information bank, when if lease information bank has this lease, check whether local this lease information is up-to-date, if up-to-date, keep lease storehouse constant, if not, utilize the lease information of receiving to upgrade lease information bank, when both sides send the local lease information of oneself to the other side after, both sides' lease information bank is consistent, and now DHCPv4-over-DHCPv6 redundant server changes silent mode into from normal mode.
9. 4over6 dynamic address allocation server standby method according to claim 8, is characterized in that, described lease synchronization message is IPv4-SYN or IPv6-SYN, the synchronous IPv4 of IPv4-SYN address wherein, the synchronous IPv6 of IPv6-SYN 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 true CN104092561A (en) 2014-10-08
CN104092561B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852821A (en) * 2015-06-02 2015-08-19 清华大学 Method for configuring 4over6 access network forwarding strategy based on NETCONF protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021703A1 (en) * 1996-11-01 2002-02-21 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
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)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021703A1 (en) * 1996-11-01 2002-02-21 Hitachi, Ltd. Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
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软线隧道过渡技术》", 《中兴通讯技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852821A (en) * 2015-06-02 2015-08-19 清华大学 Method for configuring 4over6 access network forwarding strategy based on NETCONF protocol
CN104852821B (en) * 2015-06-02 2018-01-12 清华大学 A kind of method based on NETCONF protocol configuration 4over6 access network forwarding strategies

Also Published As

Publication number Publication date
CN104092561B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN104270298B (en) Message forwarding method and device in a kind of VXLAN networks
CN102137021B (en) Remote redundancy back-up method of access controllers
CN102098201B (en) Method for realizing L2TP user access backup and network system
CN102404146B (en) Master-slave switching method, network device and DHCP server
CN105915400A (en) Data stream switching method and system
CN104935672A (en) High available realizing method and equipment of load balancing service
US11146484B2 (en) Method, device, and system for deferring switchback
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN109660441A (en) The method and device of multicast replication in Overlay network
CN102752209A (en) Rapid address switchover method used for realizing backup service and route forwarding unit
CN102710520A (en) Method and device for backing up lonworks network service (LNS)
CN105119822A (en) Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN101729426A (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN105340226A (en) Primary and secondary system handover method for dynamic route device, and apparatus thereof
CN105024798A (en) Method and device for time synchronization
CN104160667A (en) Method, Device, and System for Dual-Uplink Tangent Ring Convergence
CN104734952A (en) Data message forwarding method and device
CN105306356A (en) Method for realizing master-slave switching of multicast routing on distributed system
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
CN104980303A (en) Node failure repair method in multi-level tree network
CN106712997B (en) Method, equipment and system for recovering table entry
CN102447703B (en) A kind of heat backup method and system, CGN equipment
CN103414642A (en) Maintaining method and device of information forwarding
CN102594580A (en) Method for raising service reliability in virtual private network, system thereof and access apparatus
CN109302328B (en) Hot standby switching method and system for VXLAN (virtual extensible local area 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
C14 Grant of patent or utility model
GR01 Patent grant