CN104104599A - System and method for simultaneously supporting IPv4 and IPv6 main/standby switching - Google Patents

System and method for simultaneously supporting IPv4 and IPv6 main/standby switching Download PDF

Info

Publication number
CN104104599A
CN104104599A CN201310123660.4A CN201310123660A CN104104599A CN 104104599 A CN104104599 A CN 104104599A CN 201310123660 A CN201310123660 A CN 201310123660A CN 104104599 A CN104104599 A CN 104104599A
Authority
CN
China
Prior art keywords
address
ipv6
ipv4
vrrp
message
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
CN201310123660.4A
Other languages
Chinese (zh)
Other versions
CN104104599B (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.)
Beijing Huayao Technology Co., Ltd
Original Assignee
ARRAY NETWORKS (BEIJING) Inc
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 ARRAY NETWORKS (BEIJING) Inc filed Critical ARRAY NETWORKS (BEIJING) Inc
Priority to CN201310123660.4A priority Critical patent/CN104104599B/en
Publication of CN104104599A publication Critical patent/CN104104599A/en
Application granted granted Critical
Publication of CN104104599B publication Critical patent/CN104104599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a system and method for simultaneously supporting IPv4 and IPv6 main/standby switching. The system is composed of parts such as the Internet where an IPv4 address and an IPv6 address coexist, a master control apparatus, a backup apparatus and the like. VRRP message devices in the master control apparatus and the backup apparatus are composed of VRRP basic configuration modules and IP address composite modules. The IP address composite modules comprise IP address fields and other generated sign fields. According to the invention, through improving the structure of a VRRP message, virtual IPs of multiple types such as IPv4 and IPv6 can be included in one VRRP message, such that the VRRP message can be regarded as a backup group, the network configuration complexity is substantially reduced, at the same time, the VRRP message quantity is reduced, and the fewer network resources are occupied.

Description

A kind of system and method for simultaneously supporting IPv4 and the active and standby switching of IPv6
Technical field
The present invention relates to network application and pay control field, particularly a kind of system and method for simultaneously supporting IPv4 and the active and standby switching of IPv6.
Background technology
Virtual Router Redundacy Protocol (Virtual Router Redundancy Protocol, be called for short VRRP) be the Routing Protocol that in the solution local area network (LAN) being proposed by network engineering group of task (IETF), single point failure phenomenon appears in configuring static gateway, wherein VRRPv2 version formal issue in 1998.VRRP is organized into a virtual router by the set of router in local area network (LAN) (comprising that a Master is that virtual router master and several Backup are backup router), is referred to as a backup group.This virtual router has the IP of oneself, conventionally these IP is called to virtual IP address.In a backup group, each real router also has the IP address of oneself, and its IP address is generally for communication between real router.
In a backup group, each router needs through consultation, elects a router as virtual router master, and processes all messages that need virtual router to process by virtual router master, and other router is in Status of Backups.The method of consulting is by sending a kind of multicast message of the VRRP of being called packet.This message is to be carried on IP layer, in message, need to include a lot of configuration informations, these information comprise that on interval time that version, type, backup group ID, message send, verify data, virtual router, whole these configuration informations of the use such as virtual IP address identify a unique backup group.
After above-mentioned negotiation completes, will elect a virtual router master, this virtual router master needs timed sending VRRP message, and backup router, by monitoring VRRP message, can be learnt the state of virtual router master.If virtual router master breaks down, it can stop sending VRRP message, at this moment, in backup group, all backup routers will can not receive VRRP message, and over time, these backup routers will be consulted again, to elect a new virtual router master, continue as local area network (LAN) route service is provided.
Because IPv4 address is exhausted, the transition of the Internet from IPv4 to IPv6 is extremely urgent.Recent years, IPv6 has started a large amount of deployment, but IPv4 needs long time to the transition of IPv6, and during this period, two kinds of agreements will long-term co-existence.In some application scenarios, as dual-stack network, or on the border of IPv4 and IPv6 network, router needs to support IPv4 and IPv6 simultaneously.
For complying with the development of IPv6, IETF in 2010, issued VRRP version 3 (hereinafter referred to as
VRRPv3)。In the VRRPv3 of standard agreement, although can support two kinds of address styles of IPv4 and IPv6, but still there is in actual use many restrictions: first, for a specific VRRP backup group, the virtual IP address of its protection can only be IPv4 or IPv6 address, so when disposing two stack VRRP router, need to, for IPv4 and IPv6 virtual ip address difference configuration backup group, bring the complexity in network configuration; Secondly, because for a specific VRRP message, its virtual IP address can only be IPv4 or IPv6 address, and the two can not mix, so need to send respectively VRRP message for IPv4 and IPv6 while consulting between router, causes the waste of the network bandwidth.
Summary of the invention
For solving the problem existing in prior art, the object of this invention is to provide a kind of permission IPv4 and IPv6 address at same backup group, when can comprise IPv4 virtual IP address and IPv6 virtual IP address in VRRP message, support the system and method for IPv4 and the active and standby switching of IPv6 simultaneously.
The present invention is a kind of IPv4 and active and standby switched system of IPv6 simultaneously supported, the Internet, main control device and alternate device, switching equipment and IPv4 and IPv6 client by IPv4 address and IPv6 address coexistence form, wherein at main control device and alternate device, comprise VRRP message device, the VRRP message device of described main control device and alternate device is interconnected, in order to realize negotiation communication each other; Described VRRP message device is to consist of VRRP basic configuration module and IP address composite module.
Above-mentioned IP address composite module at least comprises two kinds of IP address fields and the corresponding two kinds of attribute fields that generate of difference.
Above-mentioned IP address field at least comprises IPv4 address and IPv6 address.
When described IP address field is used for connecting IPv4 address, the corresponding attribute field numerical value generating is " 0 ", and when described IP address field is used for connecting IPv6 address, the corresponding attribute field numerical value generating is " 1 ", and vice versa.
The present invention is a kind of method of simultaneously supporting IPv4 and the active and standby switching of IPv6, comprises the following steps:
Step 1 is installed VRRP message device in main control device and alternate device;
Step 2, main control device and alternate device consult to select working equipment;
Wherein the installation VRRP message device step described in step 1 further comprises installation VRRP basic configuration module and IP address composite module step is installed.
Above-mentioned installation IP address composite module step, is according to system requirements, the virtual IP address of IPv4 is installed respectively in the VRRP of main control device and alternate device message device, and the banner word of this virtual IP address and generation corresponding to it deposits IP address composite module in the lump in; Meanwhile, the virtual IP address of IPv6 is installed in the VRRP of main control device and alternate device message device respectively, and the banner word of this virtual IP address and generation corresponding to it deposits above-mentioned IP address composite module in the lump in.
The present invention is by improving VRRP message structure, polytype virtual IP addresses such as IPv4 or IPv6 can be covered in a VRRP message, thereby it can be considered as to a backup group, significantly reduced the complexity of network configuration, also reduce VRRP message amount, reduced taking Internet resources simultaneously.
, accompanying drawing explanation
Fig. 1 is the system configuration schematic diagram of present device;
Fig. 2 is VRRP message structure schematic diagram in system of the present invention;
Fig. 3 is the VRRP message device structural representation that simultaneously comprises IPv4 and IPv6 address.
Embodiment
In the following description, in order to make reader understand the application better, many ins and outs have been proposed.But, persons of ordinary skill in the art may appreciate that even without these ins and outs and the many variations based on following execution mode and modification, be also each claim of the application technical scheme required for protection.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiments of the present invention are described in further detail.
As shown in Figure 1, a kind of system of simultaneously supporting IPv4 and the active and standby switching of IPv6, the Internet 1, main control device 2 by IPv4 address and IPv6 address coexistence form with alternate device 3, switching equipment 4 and IPv4 client 5 and IPv6 client 6, wherein at main control device and alternate device, comprise VRRP device 21, the VRRP device of described main control device and alternate device is interconnected, in order to realize negotiation communication each other.
As shown in Figure 2, described VRRP device includes VRRP basic configuration module 211 and IP address composite module 212; Wherein in VRRP basic configuration, " IP address number " represents in this message, include how many virtual IP addresses, the attribute field that described IP address composite module at least comprises two kinds of IP address fields and generated by its correspondence, " IP address field " represents the virtual IP address of a backup group, and in message, the number of " IP address " equals the value of " IP address number " in VRRP basic configuration.
VRRP message of the present invention both can have been used IPv4 network to send, and also can use IPv6 network to send.No matter use which kind of network, the internal structure of its message can be the same, and for example each virtual address is comprised of 4 bytes (attribute field)+16 byte (IP address field that IPv4 and IPv6 virtual ip address form).Attribute field length is 4 bytes, by at least 2 different numerical value, represent respectively IPv4 and IPv6, for example, when the value of attribute field is " 1 ", what current IP address represented is the virtual IP address of an IPv6, and address is kept in " IP address field " of 16 bytes after attribute field; When the value of attribute field is " 0 ", what current IP address represented is the virtual IP address of an IPv4, and address is kept in 4 bytes after attribute field, and vice versa.In the same size in order to guarantee that each IP address takes up room, can distributing IP v4 address be also 16 bytes, remainder is with zero padding, i.e. described VRRP message, an IP address size is: 4 byte=20, byte+16 bytes.
A kind of method of simultaneously supporting IPv4 and the active and standby switching of IPv6, be included in the negotiation step that VRRP message device and main control device and alternate device are installed in main control device and alternate device, wherein install in VRRP message device step and also comprise and VRRP basic configuration module is installed and IP address composite module step is installed, as shown in Figure 3, the attribute field that described IP address composite module comprises IP address field and generated by its correspondence; Described IP address field at least comprises IPv4 address and IPv6 address, and accordingly, described attribute field is comprised of at least two kinds of different numerical value.
The inventive method specifically comprises the following steps:
Step 1 is installed VRRP message device in main control device and alternate device;
Step 2, main control device and alternate device consult to select working equipment;
Wherein the installation VRRP message device step described in step 1 further comprises installation VRRP basic configuration module and IP address composite module step is installed.
Above-mentioned installation IP address composite module step, is according to system requirements, the virtual IP address of IPv4 is installed respectively in the VRRP of main control device and alternate device message device, and the banner word of this virtual IP address and generation corresponding to it deposits IP address composite module in the lump in; Meanwhile, the virtual IP address of IPv6 is installed in the VRRP of main control device and alternate device message device respectively, and the banner word of this virtual IP address and generation corresponding to it deposits above-mentioned IP address composite module in the lump in.
Be below a kind of exemplary embodiments of the present invention, the load equalizer of two ArrayNetworks APV8600 of take is example as main control device and alternate device, configures as follows:
On APV8600 interface, configure respectively an ID(account) be 100 VRRP message device;
Be 3 seconds the interval time that configuration sends VRRP message;
The priority of an APV8600 of configuration is 200, and another priority is 100;
For this two virtual IP address: 10.8.1.1 of VRRP message device configuration and 2012:1081:1.
After said system configuration, its course of work is as follows:
---Status of Backups: when starting VRRP function, first router can be switched to Status of Backups;
---whether the timer that judges VRRP is overtime: the time-out time of timer is set to 3 interval times, if do not receive suitable VRRP message within 3 interval times, this timer will be overtime, and this router need to be switched to major state;
---whether receive VRRP message: if do not receive any message, return to handling process; If received VRRP message, carry out next step check;
---in message, whether version number etc. conforms to the machine: whether the essential information that judges message is identical with the configuration of the machine, if not identical, abandons this message beginning reason flow process again; If identical, further judge the virtual IP address list in message;
---whether the virtual IP address in message is identical with the machine configuration: in the virtual IP address list of message, the virtual address that comprises IPv4, also the virtual address that comprises IPv6, the configuration of they and the machine need be made comparisons, only have identical, just carry out next step flow process, otherwise will abandon this message, restart handling process;
---whether the priority in message is higher than the machine: if the priority in message is higher than the priority in the machine configuration, upgrades VRRP timer, and remain on Status of Backups; If the priority in message configures lower than the machine, be switched to major state, and enable to process in backup group the virtual ip address of all configurations.
It should be noted that, each unit of mentioning in each equipment execution mode of the present invention is all logical block, physically, a logical block can be a physical location, also can be a part for a physical location, can also realize with the combination of a plurality of physical locations, the physics realization mode of these logical blocks itself is not most important, and the combination of the function that these logical blocks realize is only the key that solves technical problem proposed by the invention.In addition, for outstanding innovation part of the present invention, the present invention do not introduce above-mentioned each equipment execution mode and with solving technical problem relation proposed by the invention not too close unit, but this does not show not exist the said equipment execution mode and other relevant unit of implementing.
Although pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and described, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (6)

1. a system of simultaneously supporting IPv4 and the active and standby switching of IPv6, the Internet, main control device and alternate device, switching equipment and IPv4 and IPv6 client by IPv4 address and IPv6 address coexistence form, wherein at main control device and alternate device, comprise VRRP message device, the VRRP message device of described main control device and alternate device is interconnected, in order to realize negotiation communication each other; It is characterized in that described VRRP message device is to consist of VRRP basic configuration module and IP address composite module.
2. a kind of system of simultaneously supporting IPv4 and the active and standby switching of IPv6 according to claim 1, is characterized in that described IP address composite module at least comprises two kinds of IP address fields and the corresponding two kinds of attribute fields that generate of difference.
3. a kind of system of simultaneously supporting IPv4 and the active and standby switching of IPv6 according to claim 1, is characterized in that described IP address field at least comprises IPv4 address and IPv6 address.
4. a kind of system of simultaneously supporting IPv4 and the active and standby switching of IPv6 according to claim 1, it is characterized in that described IP address field is when connecting IPv4 address, the corresponding attribute field numerical value generating is " 0 ", when described IP address field is used for connecting IPv6 address, the corresponding attribute field numerical value generating is " 1 ", and vice versa.
5. a method of simultaneously supporting IPv4 and the active and standby switching of IPv6, comprises the following steps:
Step 1 is installed VRRP message device in main control device and alternate device;
Step 2, main control device and alternate device consult to select working equipment;
It is characterized in that:
Installation VRRP message device step described in step 1 further comprises installs VRRP basic configuration module and IP address composite module step is installed.
6. a kind of method of simultaneously supporting IPv4 and the active and standby switching of IPv6 according to claim 5, it is characterized in that described installation IP address composite module step is according to system requirements, the virtual IP address of IPv4 is installed respectively in the VRRP of main control device and alternate device message device, and the banner word of this virtual IP address and generation corresponding to it deposits IP address composite module in the lump in; Meanwhile, the virtual IP address of IPv6 is installed in the VRRP of main control device and alternate device message device respectively, and the banner word of this virtual IP address and generation corresponding to it deposits above-mentioned IP address composite module in the lump in.
CN201310123660.4A 2013-04-10 2013-04-10 System and method that are a kind of while supporting IPv4 and IPv6 active-standby switch Active CN104104599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310123660.4A CN104104599B (en) 2013-04-10 2013-04-10 System and method that are a kind of while supporting IPv4 and IPv6 active-standby switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310123660.4A CN104104599B (en) 2013-04-10 2013-04-10 System and method that are a kind of while supporting IPv4 and IPv6 active-standby switch

Publications (2)

Publication Number Publication Date
CN104104599A true CN104104599A (en) 2014-10-15
CN104104599B CN104104599B (en) 2017-11-21

Family

ID=51672411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310123660.4A Active CN104104599B (en) 2013-04-10 2013-04-10 System and method that are a kind of while supporting IPv4 and IPv6 active-standby switch

Country Status (1)

Country Link
CN (1) CN104104599B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343244A (en) * 2018-08-23 2020-06-26 贵州白山云科技股份有限公司 Cloud distribution network scheduling method and device and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179508A (en) * 2007-11-29 2008-05-14 中兴通讯股份有限公司 IPV4 and IPV6 multiplexing routing table generating device and method for generating the multiplexing routing table

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179508A (en) * 2007-11-29 2008-05-14 中兴通讯股份有限公司 IPV4 and IPV6 multiplexing routing table generating device and method for generating the multiplexing routing table

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
无: "Definitions of Managed Objects for the Virtual Router Redundancy Protocol Vesion 3", 《IETF》 *
王鹏: "IPv6下VRRP的研究和实现", 《中国优秀硕士论文电子期刊网》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343244A (en) * 2018-08-23 2020-06-26 贵州白山云科技股份有限公司 Cloud distribution network scheduling method and device and computer readable storage medium
CN111343244B (en) * 2018-08-23 2023-01-31 贵州白山云科技股份有限公司 Cloud distribution network scheduling method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN104104599B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
EP2947907B1 (en) Startup configuration method in base station, base station and server
CN103200093B (en) A kind of method and apparatus improving the handling property of many VRRP backup group
CN102137024B (en) Message processing method, exit routing device and border routing device
CN108259215B (en) Equipment management method and device
US20090279454A1 (en) Method for configuring a dhcp server using dhcp option 82
CN105099789A (en) Network element uploading method and equipment
CN105530259A (en) Message filtering method and equipment
WO2018010555A1 (en) Northbound interface lte service automatic configuration method, northbound interface apparatus, and storage medium
CN101938370A (en) Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
CN102209064B (en) Method of using VRRP to provide backup for access equipment and VRRP gateway equipment
CN101841408A (en) Primary/standby route equipment switching method and route equipment
CN104253736A (en) PE (provider edge) equipment and method for notifying same of information
CN113055295A (en) Communication method, communication device and communication system
CN109240796A (en) Virtual machine information acquisition methods and device
CN103124240A (en) Gateway configuration method, gateway devices and network system
WO2018103665A1 (en) L2tp-based device management method, apparatus and system
CN101631060B (en) Method and device for managing edge port
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
JP6036506B2 (en) Program and information processing apparatus for specifying fault influence range
CN102447703B (en) A kind of heat backup method and system, CGN equipment
CN109150711B (en) Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service
CN107528788B (en) Method and device for realizing automatic stacking between network devices
EP2840738B1 (en) Mep configuration method and network device
CN104618148A (en) Firewall device and backup method thereof
CN104104599A (en) System and method for simultaneously supporting IPv4 and IPv6 main/standby switching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100125 Beijing city Chaoyang District Liangmaqiao Road No. 40 building 10 room 1001, twenty-first Century

Patentee after: Beijing Huayao Technology Co., Ltd

Address before: 100125 Beijing city Chaoyang District Liangmaqiao Road No. 40 building 10 room 1001, twenty-first Century

Patentee before: Huayao (China) Technology Co., Ltd.

CP01 Change in the name or title of a patent holder