CN102857435B - Method and device for forwarding three-layer data flow in data center site - Google Patents

Method and device for forwarding three-layer data flow in data center site Download PDF

Info

Publication number
CN102857435B
CN102857435B CN201210371417.XA CN201210371417A CN102857435B CN 102857435 B CN102857435 B CN 102857435B CN 201210371417 A CN201210371417 A CN 201210371417A CN 102857435 B CN102857435 B CN 102857435B
Authority
CN
China
Prior art keywords
gateway
edge device
information
server
jumping
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
CN201210371417.XA
Other languages
Chinese (zh)
Other versions
CN102857435A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210371417.XA priority Critical patent/CN102857435B/en
Publication of CN102857435A publication Critical patent/CN102857435A/en
Application granted granted Critical
Publication of CN102857435B publication Critical patent/CN102857435B/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 method and a device for forwarding three-layer data flow in a data center site. The method comprises the following steps that a server is used for maintaining and managing gateway information of a first jump gateway in the site, which is obtained by each edge device, and ping time delay from self to a neighbor edge device in another site, and when changes occur, updating is performed; and after the first jump gateway fails in the site, the server is requested to replace the information of the first jump gateway by the edge device, an optimal first jump gateway in the site where the edge device is located is selected by the server to be used as a replaced first jump gateway, thereby hosting the three-layer data flow in the site to the replaced first jump gateway. According to the method and the device, the operation burden of the edge device and the network flow are reduced.

Description

The method and apparatus of three layer data streams in forwarding data central site
Technical field
The present invention relates to network communication technology field, the method and apparatus of three layer data streams particularly in a kind of forwarding data central site.
Background technology
In order to realize high reliability and redundant deployment, and better service is provided, most enterprises network and data center thereof or service provider dispose multiple data center in strange land usually, realize load balancing and high reliability, and realize the free migration of virtual machine in the data between the heart.Because the transition process of virtual machine is to user transparent, IP(Internet Protocol can not be changed, Internet Protocol) address, so it is interconnected to realize double layer network between the data center being distributed in strange land.Existing double layer network interconnection technique comprises: EVI(Ethernet Virtualization Interconnection, Ethernet dummy interconnect) and VPLS(Virtual Private LAN Service, Virtual Private LAN Service).
Wherein, EVI technology based on existing service provider (SP) network and enterprise network, for dispersion physical site (i.e. data center's website) two layers of interconnecting function are flexibly provided.EVI is a kind of advanced person " MAC(Media Access Control, media interviews control) in IP " technology, for realizing the L2VPN(Layer2Virtual Private Network based on IP kernel heart net, two-layer virtual private network) technology.The edge device (Edge Device, ED) of EVI just center station point (hereinafter referred to as website) in the data safeguards route and forwarding information, and without the need to changing Intra-site and core network.
The network (being called EVI network) that have employed EVI technology is made up of core network, website (Site) network and overlapping (Overlay) network.Station network comprises: a large amount of main frame of edge device and lower extension thereof and router etc., station network is by edge device Access Core Network, wherein, edge device is the switching equipment of the execution EVI function being positioned at station network edge, it runs as two-layer equipment in station network side, run as three-layer equipment in core network side, it completes message from private network to public network tunnel, and public network tunnel is to the mapping of private network and forwarding.Crossover network is formed between edge device in website, crossover network is the virtual network set up between the edge device in station network, there is provided between station network two layers interconnected, notice and be connected to the All hosts of edge device and the MAC Address of router, multiple website is interconnected, forms two layers of larger forwarding territory.In identical crossover network example (i.e. VLAN example), by a two-way virtual Gigabit EtherChannel EVI Link between edge device, complete data transparent transmission each other.
In EVI network, under default scenario, in the data center station point by respective edge device achieve two layers interconnected after, the edge device in a station network can not be flooded to other websites to the multicast message of unknown address.Usually in each station network, dispose first jumping gateway (GW), jump on gateway at this head and run VRRP(Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) agreement.Owing to edge device filtering the multicast message of unknown address, comprise VRRP protocol massages, therefore the head of each website jumps gateway can become VRRP Master(master control in this website) gateway, thus each station network has local three-layer network pass, website all jumps gateway forwards to core network by the head of this locality to three layer data streams of core net.
As shown in Figure 1, EVI network comprises data center website Site1, Site2 and Site3 to the network model of typical EVI network.Site1 comprises: ED1, first jumping network G W1 and a large amount of main frames, router etc. (simply being represented by Host1), Site2 comprises: ED2, first jumping network G W2 and a large amount of main frames, router etc. (simply being represented by Host2), and Site3 comprises: ED3, first jumping network G W3 and a large amount of main frames, router etc. (simply being represented by Host3).Site 1, Site2 and Site3 are by respective GW1, GW2 and GW3 Access Core Network, and ED1, ED2 and ED3 interconnection forms crossover network, and two layers that achieve Site1, Site2 and Site3 interconnected.GW1 in Site1 runs VRRP agreement, ED1 upper filtration VRRP protocol massages, thus VRRP protocol massages cannot be flooded to Site2 by the EVI Link between ED1 and ED2, equally also cannot be flooded to Site3 by the EVI Link between ED1 and ED3, first jumping gateway GW1 becomes the VRRP Master gateway of Site1, and three layer data streams in Site 1 can only be forwarded to core network (as shown in the solid line of the band arrow in Fig. 1) by GW1.Equally, Site2 and Site3 is also like this.
But, because three layer data streams in data center's website can only jump gateway forwards to core network by local head, like this, when the head of this locality jumps gateway inefficacy (such as there occurs fault), three layer data streams in this data center's website can be caused to forward, cause communication disruption.In order to solve this problem, in prior art, propose following solution:
Edge device in each website jumps gateway redundancy agreement (First Hop Redundancy Protocol by intercepting the local first head jumping gateway, FHRP) message obtains local gateway information, the gateway information that this locality obtains is published to the edge device of other data center's websites.Meanwhile, edge device also receives and preserves the gateway information sent from the edge device of other websites.When the head in a website jumps gateway inefficacy, edge device in this website is selected one to jump with this locality head head that gateway has a remote station of identical virtual mac address based on preset rules and is jumped gateway (can be called substitute head jump gateway) in the gateway information of remote station, set up the incidence relation of the edge device of this virtual mac address and this remote station, replace the alternative head of this selection to jump gateway simultaneously and send gratuitous ARP (Address Resolution Protocol to site-local inside, address resolution protocol) message, thus alternative first the jumping on gateway three layer data streams in site-local being drawn to this selection forwards.
As shown in Figure 2, when GW1 in Site1 lost efficacy, ED1 have selected the remote station Site2 with GW1 with identical virtual mac address in the gateway information of remote station head according to preset rules jumps gateway GW2, set up the incidence relation of this virtual mac address and ED2, replace GW2 to send gratuitous ARP packet to site-local inside simultaneously, thus three layer data streams in Site1 are sent to ED2, be transmitted to GW2 by ED2 and be forwarded to core network.
But in the scheme of above-mentioned prior art, the edge device in each website needs the edge device in other remote stations to send local gateway information, thus adds network traffics, when especially website is more; Further, managed by edge device and select to substitute first jumping gateway, add the computational burden of edge device.
In addition, when selecting to substitute first jumping gateway, the preset rules of institute's foundation is Stochastic choice or selects priority the highest, like this, the edge device that the alternative head chosen jumps in the website of gateway place is not likely optimum, such as, the edge device that the alternative head chosen jumps in the website of gateway place is just busy, and in the head of unchecked remote station jumps in the website of gateway place edge device, to there is relative free, like this, the three layer data streams due to site-local will be transmitted to this alternative head by the edge device substituted in the website of first jumping gateway place and jump gateway, therefore, on the one hand, three layer data streams in site-local can be caused to can not get forwarding in time, on the other hand, also the forwarding data flow congestion situation substituting first edge device of jumping in the website of gateway place can be made more serious.
Summary of the invention
In view of this, the invention provides the method and apparatus of three layer data streams in a kind of forwarding data central site, larger at least to solve the network traffics existed in prior art, the computational burden of edge device is larger, and, because the alternative head edge device of jumping in the website of gateway place chosen is not likely optimum one, and three layer data streams in the site-local caused can not get forwarding in time, and the problem making the forwarding data flow congestion situation of the edge device substituted in the website of first jumping gateway place more serious.
Technical scheme of the present invention is as follows:
On the one hand, provide the method for three layer data streams in a kind of forwarding data central site, double layer network is achieved interconnected between data center's website, data center's website comprises: edge device and first jumping gateway, the method comprises: the head that the first edge device intercepts the transmission of First jumping gateway jumps gateway redundancy agreement FHRP message, from FHRP message, obtain the gateway information that First jumps gateway, wherein, gateway information comprises: virtual ip address and virtual mac address; First edge device obtains the ping latency that self arrives the neighbours' edge device in other data center's websites; When the information got changes, information after change is sent to server by the first edge device, so that the information corresponding with the first edge device that server is preserved with the information updating this locality after change, wherein, the information got comprises: gateway information and ping latency; When detecting that First jumps gateway inefficacy, first edge device substitutes first information of jumping gateway to server request, so that the alternative head that server meets following preset rules according to the Information Selection one corresponding with the first edge device jumps gateway and feeds back to the first edge device, preset rules is: this alternative first jumping gateway is jumped gateway with head and had identical virtual ip address, the ping latency that first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective; First edge device, after receiving this and substituting the information of first jumping gateway, sends and carries this alternative first gratuitous ARP packet of jumping the information of gateway in notebook data central site; When receiving three layer data stream in notebook data central site, the first edge device by this data flow to the second edge device, to be substituted by the second edge device forwards first jump gateway to this.
On the other hand, additionally provide the method for three layer data streams in a kind of forwarding data central site, double layer network is achieved interconnected between data center's website, data center's website comprises: edge device and first jumping gateway, the method comprises: server receives the information after the change that the first edge device sends when the information got changes, with the information corresponding with the first edge device that the information updating this locality after changing is preserved, wherein, the information got comprises: the first edge device jumps gateway transmission head by intercepting First jumps gateway redundancy agreement FHRP message, the First got from FHRP message jumps the gateway information of gateway, and first edge device to the ping latency of the neighbours' edge device in other data center's websites, gateway information comprises: virtual ip address and virtual mac address, server receives the request message for asking the information substituting first jumping gateway that the first edge device was sent when detecting that First jumps gateway inefficacy, the alternative head meeting following preset rules according to the Information Selection corresponding with the first edge device one of this locality preservation jumps gateway and feeds back to the first edge device, so that the first edge device is after receiving this and substituting the information of first jumping gateway, send in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of first jumping gateway, and when receiving three layer data stream in notebook data central site, by this data flow to the second edge device, to substitute first jumping gateway by the second edge device forwards to this, wherein, preset rules is: this alternative first jumping gateway is jumped gateway with head and had identical virtual ip address, the ping latency that first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective.
Wherein, before information after server receives the change that the first edge device sends when the information got changes, also comprise: server is that the first edge device is registered, and in the process of registration, receive First that the first edge device that the first edge device sends gets and jump the gateway information of gateway and self is to the ping latency of neighbours' edge device, the First received at local record jumps gateway information and the ping latency of gateway, and set up the corresponding relation with the first edge device, wherein, first edge device is after establishing two layers of link between the neighbours' edge device in other data center's websites, register to server.
Wherein, be after the first edge device is registered at server, also comprise: server is that the first edge device is nullified, and by the information deletion corresponding with the first edge device of local record, wherein, first edge device, after relieving between neighbours' edge device two layers of link, is nullified to server.
Wherein, the method also comprises: server receives the notice for informing the inefficacy of First jumping gateway that the first edge was sent when detecting that First jumps gateway inefficacy; In the information that the first edge device of preserving in this locality of server is corresponding, First is jumped gateway be recorded as invalid.
Wherein, the method also comprises: server receives the gateway information for the First jumping gateway that the recovery of notification server First jumping gateway effectively notifies and the first edge device gets again that the first edge device is sent when detecting that the recovery of First jumping gateway is effective and the ping latency of self arriving neighbours' edge device; Server upgrades information corresponding to local the first edge device preserved with the gateway information again got received and ping latency, and First is jumped gateway is recorded as effectively.
Another aspect, additionally provide a kind of edge device, also comprise First in data center's website at this edge device place and jump gateway, double layer network is achieved interconnected between data center's website, this edge device comprises: acquisition module, the head jumping gateway transmission for the First of intercepting in notebook data central site jumps gateway redundancy agreement FHRP message, the gateway information that First jumps gateway is obtained from FHRP message, and, obtain the ping latency of the neighbours' edge device in this edge device to other data center's websites, wherein, gateway information comprises: virtual ip address and virtual mac address, sending module, when information for getting at acquisition module changes, the information after changing is sent to server, so that the information corresponding with this edge device that server is preserved with the information updating this locality after change, wherein, the information got comprises: gateway information and ping latency, after receiver module receives the information of this alternative first jumping gateway that server feedback is come, in notebook data central site, transmission carries this and substitutes the gratuitous ARP packet that head jumps the information of gateway, when receiving three layer data stream in notebook data central site at receiver module, by this data flow to the second edge device, to substitute first jumping gateway by the second edge device forwards to this, whether detection module, lost efficacy for detecting First jumping gateway, and when losing efficacy, notice request module, request module, for after receiving the notice of detection module, first information of jumping gateway is substituted to server request, so that the alternative head that server meets following preset rules according to the Information Selection one corresponding with this edge device jumps gateway and feeds back to this edge device, preset rules is: this alternative first jumping gateway is jumped gateway with First and had identical virtual ip address, the ping latency that this edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective, receiver module, for this alternative first information of jumping gateway that reception server feedback is come, and, receive three layer data streams in notebook data central site.
Another aspect, additionally provide a kind of server, comprise: receiver module, for receiving the information after change that the first edge device sends when the information got changes, receive the request message for asking the information substituting first jumping gateway that the first edge device was sent when detecting that First jumps gateway inefficacy, preserve module, for the information corresponding with the first edge device that the information updating this locality after the change that receives with receiver module is preserved, wherein, the information got comprises: the first edge device jumps gateway transmission head by intercepting First jumps gateway redundancy agreement FHRP message, the First got from FHRP message jumps the gateway information of gateway, and first edge device to the ping latency of the neighbours' edge device in other data center's websites, gateway information comprises: virtual ip address and virtual mac address, select module, for according to preserving in module the information corresponding with the first edge device of preserving, an alternative head meeting following preset rules is selected to jump gateway, wherein, preset rules is: this alternative first jumping gateway is jumped gateway with head and had identical virtual ip address, the ping latency that first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective, sending module, for will this information feed back substituting first jumping gateway of model choice be selected to the first edge device, so that the first edge device is after receiving this and substituting the information of first jumping gateway, send in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of first jumping gateway, and when receiving three layer data stream in notebook data central site, by this data flow to the second edge device, to substitute first jumping gateway by the second edge device forwards to this.
Wherein, this server also comprises: Registering modules, wherein, Registering modules, for registering for the first edge device, and in the process of registration, receive First that the first edge device that the first edge device sends gets and jump the gateway information of gateway and self is to the ping latency of neighbours' edge device; Preserve gateway information and ping latency that the First of module also for receiving at local record Registering modules jumps gateway, and set up the corresponding relation with the first edge device, wherein, first edge device, after establishing two layers of link between the neighbours' edge device in other data center's websites, is registered to server.
Wherein, this server also comprises: cancellation module, wherein, cancellation module, for nullifying for the first edge device, and notice preserves module by the information deletion corresponding with the first edge device of local record, wherein, first edge device, after relieving between neighbours' edge device two layers of link, is nullified to server.
Wherein, receiver module is also for receiving the notice for informing the inefficacy of First jumping gateway that the first edge was sent when detecting that First jumps gateway inefficacy; Preserve module also for receive at receiver module that the first edge device sends for after informing that First jumps the notice that gateway lost efficacy, in the information that the first edge device preserved in this locality is corresponding, First is jumped gateway be recorded as invalid.
Wherein, receiver module is also for receiving the gateway information for the First jumping gateway that the recovery of notification server First jumping gateway effectively notifies and the first edge device gets again that the first edge device is sent when detecting that the recovery of First jumping gateway is effective and the ping latency of self arriving neighbours' edge device; Preserve module and also upgrade information corresponding to local the first edge device preserved for the gateway information again got that receives with receiver module and ping latency, and notifying for the recovery of notification server First jumping gateway is effective of receiving according to receiver module, First is jumped gateway and is recorded as effectively.
Above technical scheme of the present invention, the head that the alternative head selected due to Server jumps in website that gateway is that edge device (i.e. the second edge device) place minimum in the first edge device to the ping latency of neighbours' edge device jumps gateway, first edge device is minimum to the ping latency of the second edge device, illustrate that the response of the second edge device to oneself is the fastest, nearest from oneself, also show that the second edge device is now the most idle, like this, first edge device is after sending to the second edge device by three layer data streams in this website, second edge device can forward this data flow the most in time, the possibility simultaneously causing the forwarding data flow of the second edge device congested is also less, thus, substituting first edge device of jumping gateway place is optimum edge device.
In addition, this locality head got separately alternately is not needed to jump the gateway information of gateway between edge device, the gateway information of jumping gateway at this locality head preserved in all remote stations is not needed yet, after local first jumping gateway lost efficacy, do not need to carry out computing by edge device oneself yet, select to substitute first gateway, but unify by a Server information that each edge device of maintenance and management gets, each edge device is when registering, the information oneself got is sent to Server, and when the information got changes, send the information after changing, owing to only needing to send to Server the information got, and do not need to send to all neighbours' edge devices, greatly reduce network traffics, and, when local first jumping gateway lost efficacy, first information of jumping gateway can be substituted to Server request, by Server according to this locality preserve to the Information Selection of edge device substituting gateway, do not need to carry out computing by edge device oneself, also eliminate the computational burden of edge device.
Accompanying drawing explanation
Fig. 1 is the network model schematic diagram of the typical EVI network according to prior art;
Fig. 2 is after jumping gateway inefficacy according to the head in a website of prior art, the forwarding schematic diagram of three layer data streams in website;
Fig. 3 is the flow chart of the method according to three layer data streams in the forwarding data central site of embodiments of the invention one;
Fig. 4 intercepts the FHRP message of GW1 and the schematic diagram to Server registration according to the ED1 of embodiments of the invention two;
Schematic diagram when Fig. 5 is the GW1 inefficacy according to embodiments of the invention two;
Fig. 6 is schematic diagram when recovering effective according to the GW1 of embodiments of the invention two;
Fig. 7 is a kind of structural representation of the edge device according to embodiments of the invention three;
Fig. 8 is the another kind of structural representation of the edge device according to embodiments of the invention three;
Fig. 9 is a kind of structural representation of the server according to embodiments of the invention four;
Figure 10 is the another kind of structural representation of the server according to embodiments of the invention four.
Embodiment
Embodiment one
In EVI network as shown in Figure 1, comprise multiple data centers website (hereinafter referred to as website), double layer network is achieved interconnected between each website, each website comprises: edge device (ED) and first jumping gateway (GW), in addition, at two layers of internet (in EVI network, these two layers of internet are crossover network) in, add a Server(server), this Server jumps the gateway information of gateway for the head administering and maintaining the edge device place website in each website, simultaneously, also each edge device of maintenance and management is to the ping(PacketInternet Groper of the neighbours' edge device in other websites, the Internet packets survey meter) time delay.When reality is implemented, Server can be independent equipment, and also can be arranged in existing equipment, the present invention limit this.
Based on this network architecture, embodiments of the invention one provide the method for three layer data streams in a kind of forwarding data central site, the method can be performed by the edge device in any one website, when the head that can realize in a website jumps gateway inefficacy, select one in other websites first jumping gateway first jumping gateway as an alternative, substitute by this forwarding that first jumping gateway takes over three layer data streams in this website.
It should be noted that, the first edge device hereinafter can be the edge device in any one website, does not refer in particular to some edge devices.
As shown in Figure 3, according to the handling process of the method for three layer data streams in the forwarding data central site of embodiments of the invention one, comprise the following steps:
1, the first edge device adds crossover network, obtains relevant information
Step S302, the first edge device head intercepted in notebook data central site jumps the FHRP(head jumping gateway redundancy agreement that gateway (being called that First jumps gateway) sends) message, the gateway information that First jumps gateway is obtained from FHRP message, wherein, gateway information comprises: virtual ip address and virtual mac address;
Jump gateway due to First and can periodically send FHRP message, this FHRP message can be specifically VRRP message, also can be HSRP(Hot Standby Routing Protocol, HSRP) message, that is, FHRP agreement can be specifically VRRP agreement or HSRP agreement, therefore, first edge device can intercept FHRP message, and from FHRP message, get the gateway information that First jumps gateway, comprises virtual ip address and virtual mac address etc.
Step S304, after the first edge device establishes two layers of link between the neighbours' edge device in other data center's websites, the first edge device obtains the ping latency that self arrives these neighbours' edge devices;
First edge device can belong to the neighbours' edge device in other websites of same VLAN by ENDP protocol discovery, then, can set up two layers of link (i.e. EVI Link), thus joined in crossover network with these neighbours' edge devices.Namely first edge device (has also joined crossover network with two of neighbours' edge device layers of link establishing, or be linked in EVI Link) after, the information of the neighbours' edge device on EVI Link can be obtained by ENDP agreement, and obtain the ping latency that self arrives these neighbours' edge devices.Those skilled in the art can know, the value of ping latency is less, and represent that opposite end is more near from oneself, opposite end responds faster, shows that opposite end is more idle, otherwise, expression opposite end from oneself more away from, opposite end responds slower, shows that opposite end is busy.
Wherein, ENDP(EVI Neighbor Discovery Protocol, EVI Neighbor Discovery Protocol) for automatically finding website and edge device, setting up and safeguarding the virtual link between edge device, the information of the edge device of mutual same VLAN.
When reality is implemented, the first edge device periodically can carry out ping operation to neighbours' edge device, thus gets the ping latency that self arrives neighbours' edge device.Such as, the cycle can be 1s.
Step S306, after the first edge device establishes two layers of link between neighbours' edge device, first edge device is registered to Server, and in the process of registration, the First got is jumped the gateway information of gateway and self sends to Server to the ping latency of neighbours' edge device, so that Server jumps gateway information and the ping latency of gateway at the First that local record receives, and set up the corresponding relation with the first edge device.
Namely first edge device (has also joined crossover network at two layers of link with neighbours' edge device, or be linked in EVI Link) after, also need to register to Server, the information of registration comprises: First jumps the ping latency to neighbours' edge device of the gateway information of gateway and the first edge device.
For Server, Server can be that the first edge device is registered, and in the process of registration, receive First that the first edge device that the first edge device sends gets and jump the ping latency to neighbours' edge device of the gateway information of gateway and the first edge device, then, the First received at local record jumps the gateway information of gateway and this ping latency, and sets up the corresponding relation with the first edge device.
Concrete registration process can be such as: the first edge device sends registration request message to Server, wherein, carry in this registration request message First jump the gateway information of gateway, the first edge device to the ping latency of neighbours' edge device and the first edge device information (such as, the MAC Address of the first edge device and IP address etc.) etc. information, Server is after receiving this registration request message, these information can be recorded to this locality, and set up the corresponding relation between these information and the first edge device.Such as, Registry as shown in table 1 can be set up in this locality, the information of the corresponding edge device of each line item in this Registry.Then, the response message succeeded in registration is returned to the first edge device.
Table 1
First jumping gateway information Ping time delay Edge device information
ED1 IPv、MACv To ED2:0.5s, to ED3:0.3s IP1、MAC1
Obviously, other form also can be adopted to preserve the above-mentioned information of the first edge device, or Registry also can adopt other form, the present invention does not limit this.
In addition, jump the gateway information of gateway because the first edge device periodically can get First and self arrive the ping latency of neighbours' edge device, therefore, first edge device gets after First jumps the gateway information of gateway and/or above-mentioned ping latency each time, capital upgrades the local corresponding informance preserved, thus sends to the information of Server also always current up-to-date.
Above-mentioned steps S302, S304 and S306, when reality is implemented, carry out simultaneously.
Step S308, after registration completes, when the information got changes, information after change is sent to Server by the first edge device, so that the information corresponding with the first edge device that Server preserves with the information updating this locality after change, wherein, the information got comprises: gateway information and ping latency;
The information got changes, can be that First is jumped the gateway information of gateway and be there occurs change (virtual ip address and/or virtual mac address there occurs change), also can be self there occurs change to the ping latency of at least one neighbours' edge device, also can be both there occurs change, in a word, as long as have an information to there occurs change namely the information after change can be sent to Server, upgrade the corresponding informance in the local information corresponding with the first edge device of preserving by Server.
In actual implementation process, in order to save the network bandwidth, the information that there occurs change only can be sent to Server by the first edge device, such as, only the virtual mac address of First jumping gateway have sent change, just only the virtual mac address after change is issued Server.
The information after the change that the first edge device sends when the information got changes can be received, then with the information corresponding with the first edge device that the information updating this locality after changing is preserved for Server, Server.Such as, that corresponding with the first edge device is found in Registry as described in Table 1, with the corresponding informance of the information updating after this change in this, such as, information after change is the new virtual mac address that First jumps gateway, so, the virtual mac address that the First recorded in that corresponding with the first edge device will be jumped gateway by Server is updated to new virtual mac address.
Like this, any edge device is when finding that the First that gets is jumped the gateway information of gateway and/or self there occurs change to the ping latency of neighbours' edge device, in real time the information after change can be sent to Server, with the corresponding informance that real-time update Server preserves, thus guarantee that the corresponding informance preserved in Server is always up-to-date, after follow-up local first jumping gateway lost efficacy, when substituting first jumping gateway to Server request, it is also up-to-date that Server selects to substitute first information of jumping gateway institute foundation, ensure that selected alternative head jumps the accuracy of gateway.
2, the first edge device detects that First is jumped gateway and lost efficacy, and request substitutes head and jumps gateway
Step S310, when detecting that First jumps gateway inefficacy (such as breaking down), first edge device notice Server First is jumped gateway and was lost efficacy, substitute first information of jumping gateway to Server request simultaneously, so that Server in the information that the first edge device is corresponding, First is jumped gateway be recorded as invalid, and jump gateway according to the alternative head that the Information Selection one corresponding with the first edge device meets following preset rules and feed back to the first edge device, this preset rules is: this alternative first jumping gateway is jumped gateway with head and had identical virtual ip address, the ping latency that first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective,
Such as, when the first edge device detects that First jumps gateway fails, send to obtain to Server and substitute first request message of jumping the information of gateway, after Server receives this request message, can according to the information corresponding with the first edge device of local record, the head in other websites can be selected to jump gateway according to above-mentioned preset rules and substitute first jumping gateway as this, and this alternative first information of jumping gateway is issued the first edge device.Also in this request message, can carry specific markers or other modes, for representing that First is jumped gateway and lost efficacy, or also can send independent notice message, notice First is jumped gateway and was lost efficacy, and the present invention does not limit this simultaneously.
Thus, for Server, Server receive the first edge device detect First jump sent when gateway lost efficacy for ask to substitute first jump the information of gateway request message (or request message) and for informing the notice that First is jumped gateway and lost efficacy, then, in information corresponding to the first edge device that this locality is preserved, First is jumped gateway be recorded as invalid, and jumps gateway according to alternative head that the Information Selection corresponding with the first edge device one that this locality is preserved meets above-mentioned preset rules and this is substituted head and jump information feed back of gateway to the first edge device.
Such as, physical record First jumping gateway is invalid mode: the head in Registry as shown in table 1 jumps in gateway information increases a mark, whether effective for representing that corresponding head jumps gateway, such as, represent that corresponding head jumps gateway and lost efficacy with d, represent that corresponding head jumps gateway with u effective; Or in each (one is a line), also can increase by row in addition, it is such as effective identifier, when this effective identifier is set to the first value, represent that this information is effective, it is effective that the head that also show in this row jumps gateway, when this effective identifier is set to the second value, represent that this information is invalid, it is invalid that the head that also show in this row jumps gateway.Thus Server is when selection substitutes first jumping gateway, just without the need to considering that those items with d mark or effective identifier have been the item of the second value.Obviously, in actual implementation process, can adopt neatly and represent that first gateway of jumping is invalid in various manners, the present invention does not limit this.
Jump gateway due to First to fail, First jumps gateway can not periodically send FHRP message again, and the first edge device is also without the need to upgrading the information that oneself gets again to Server.Jump after gateway lost efficacy at First, notify Server in time, so as Server First can be jumped gateway be recorded as invalid, thus ensure that Server select to substitute first jump gateway time, the head lost efficacy can not be chosen to jump gateway.
The head that the alternative head selected due to Server jumps in website that gateway is that edge device (i.e. the second edge device) place minimum in the first edge device to the ping latency of neighbours' edge device jumps gateway, first edge device is minimum to the ping latency of the second edge device, illustrate that the response of the second edge device to oneself is the fastest, nearest from oneself, also show that the second edge device is now the most idle, like this, first edge device is after sending to the second edge device by three layer data streams in this website, second edge device can forward this data flow the most in time, the possibility simultaneously causing the forwarding data flow of the second edge device congested is also less, thus, substituting first edge device of jumping gateway place is optimum edge device.
Step S312, the first edge device, after receiving this and substituting the information of first jumping gateway, sends and carries this alternative first gratuitous ARP packet of jumping the information of gateway in notebook data central site;
Step S314, when receiving three layer data stream in notebook data central site, the first edge device by this data flow to the second edge device, to be substituted by the second edge device forwards first jump gateway to this.
After first edge device receives the information substituting first jumping gateway, this information can comprise: substitute first virtual mac address and virtual ip address of jumping gateway, the mac address table can preserved with this information updating this locality, and replace this alternative first gateway of jumping to send gratuitous ARP packet in this website simultaneously, carry this virtual mac address substituting first jumping gateway and virtual ip address in this gratuitous ARP packet.Like this, after main frame etc. in the website at the first edge device place receives this gratuitous ARP packet, the local mac address table preserved can be upgraded with the virtual mac address in this gratuitous ARP packet and virtual ip address, when again sending three layer data stream, will send according to the information in this table.After first edge device receives three layer data streams, also according to the mac address table of this locality, this three layer data stream can be sent to the second edge device, thus substitute first jumping gateway by the second edge device forwards to this, and substitute first gateway forwards of jumping to core net by this, achieve and guide the effect that in site-local, three laminar flow amounts are gone out via alternative gateway forwards.
In the embodiment of the present invention, this locality head got separately alternately is not needed to jump the gateway information of gateway between edge device, the gateway information of jumping gateway at this locality head preserved in all remote stations is not needed yet, after local first jumping gateway lost efficacy, do not need to carry out computing by edge device oneself yet, select to substitute first gateway, but unify by a Server information that each edge device of maintenance and management gets, each edge device is when registering, the information oneself got is sent to Server, and when the information got changes, send the information after changing, owing to only needing to send to Server the information got, and do not need to send to all neighbours' edge devices, greatly reduce network traffics, and, when local first jumping gateway lost efficacy, first information of jumping gateway can be substituted to Server request, by Server according to this locality preserve to the Information Selection of edge device substituting gateway, do not need to carry out computing by edge device oneself, also eliminate the computational burden of edge device.
3, the first edge device detects that First is jumped gateway and recovered, and recovers three layer data flow forwardings in this website
When detecting that First jumping gateway recovers effective, first edge device stops sending the gratuitous ARP packet of the information carrying this alternative first jumping gateway in notebook data central site, and notify that Server First is jumped gateway and recovered effectively, again the First got is jumped the gateway information of gateway and self sends to Server to the ping latency of neighbours' edge device simultaneously, so that Server upgrades information corresponding to the first edge device with the gateway information again got and ping latency, and First is jumped gateway be recorded as effectively.
After First jumps gateway recovery, FHRP message and gratuitous ARP packet can be sent in this website.After first edge device listens to the FHRP message of First jumping gateway transmission, again upgrade to Server the First got and jump the gateway information of gateway and self arrive the ping latency of neighboring edge equipment.Host(main frame in this website) receive the FHRP message that First jumps gateway transmission, First jumping gateway becomes the Master in this website again, and receiving after First jumps the gratuitous ARP packet sent of gateway, the virtual ip address of gateway and the mac address table of MAC Address renewal this locality is jumped with the First carried in this gratuitous ARP packet, when transmission three layer data stream, just send according to the information in this mac address table, thus this locality of automatically having recovered three layer data streams in this website forwards, namely, three layer data streams in this website of gateway forwards are jumped by First.Wherein, when FHRP agreement is specially VRRP agreement, that is, when the head in each station network jumps and gateway runs VRRP agreement, jump after gateway recovers at First, First jumps gateway can become VRRPMaster in this website again; When FHRP agreement is specially HSRP agreement, that is, when the head in each station network jumps and gateway runs HSRP agreement, jump after gateway recovers at First, First jumps gateway can become HSRP Master in this website again.
For Server, Server receive the first edge device detect First jump send when gateway recovers effective for informing that Server First is jumped gateway and recovered First that effective notice and the first edge device get again and jump the gateway information of gateway and self is to the ping latency of neighbours' edge device, then, Server upgrades information corresponding to local the first edge device preserved with the gateway information again got received and ping latency, and First is jumped gateway is recorded as effectively.Like this, after First jumps gateway recovery, Server have updated the local corresponding informance preserved in time.
4, the first edge device leaves crossover network
Two layers of link between neighbours' edge device are relieved at the first edge device, namely after leaving crossover network or leaving EVI-Link, first edge device is nullified to Server, so that Server is by the information deletion corresponding with the first edge device of local record.
Such as, first edge device sends to Server and nullifies message, the mark of the first edge device only can be carried in this cancellation message, Server is after receiving this cancellation message, just basis finds that of the mark correspondence of carrying in this cancellation message from the Registry that this locality is preserved, and deletes the information in that.
Thus for Server, Server is that the first edge device is nullified, and by the information deletion corresponding with the first edge device of local record, wherein, first edge device, after relieving between neighbours' edge device two layers of link, is nullified to Server.
Obviously, this method can also be applied to and have employed VPLS(Virtual Private LAN Service, Virtual Private LAN Service) technology network (being called VPLS network) in, concrete method is same as described above, wherein edge device is CE(Customer Edge, customer edge), and two layers of link between CE are PW(Pseudo Wire, virtual link).
Embodiment two
For the EVI network shown in Fig. 4-6, the method in above-described embodiment one is described.In this EVI network, in crossover network, deploy a Server.
As shown in Figure 4, edge device ED 1 intercepts first FHRP message (representing with the real thick line of band arrow in the diagram) of jumping gateway GW1, therefrom obtain the gateway information of GW1, comprise: the virtual ip address of GW1 and virtual mac address etc., ED1 is by neighbours' edge device ED2 and ED3 in other websites of ENDP protocol discovery Site2 and Site3, and the EVI Link set up between ED2 and ED3, afterwards, periodically carry out ping operation by the EVI Link between ED2 and ED3, obtain the ping latency that self arrives ED2 and ED3.
After getting above-mentioned information first, these information (comprising the gateway information of GW1 and the ping latency of ED 1 to ED2 and ED3) just can be encapsulated in logon message (representing with the empty thick line of band arrow in the diagram) by ED1, register to Server.After Server receives this logon message, these information will be recorded in the Registry of this locality, and set up the corresponding relation of these information and ED1.
Equally, ED2 and ED3 also can perform above-mentioned acquisition operation, is registered to Server by same mode.Thus, Server preserves the corresponding informance (comprising the first gateway information of jumping gateway and the ping latency to neighbours' edge device) of ED1, ED2 and ED3.Information after change, after registration completes, when the information got changes, to Server lastest imformation, that is, can be sent to Server, to maintain validity and the real-time of the information of preserving in Server by ED1, ED2 and ED3.
As shown in Figure 5, after the GW1 in Site1 breaks down, ED1 can not receive the FHRP protocol massages of GW1 in predetermined time interval, thus determines GW1 fault, to Server, ED1 can notify that GW1 lost efficacy, and request substitutes first information of jumping gateway.What Server received that ED1 sends the inform notice that GW1 lost efficacy and request substitute first jump the request message of the information of gateway after, that information corresponding with ED1 is found from local record Registry, from ED2 with ED3, select the head minimum, corresponding with the ping latency of ED1 to jump the effective and corresponding head of gateway jump the virtual IP address of the gateway ED2 identical with GW1, the information that head in the website of ED2 place jumps gateway GW2 is sent to ED1, and the information of GW2 comprises: the virtual ip address of GW2 and virtual mac address.This reciprocal process, represents with the empty thick line of four-headed arrow in Figure 5.
After ED1 receives the information of the GW2 that Server sends, replace GW2 to construct gratuitous ARP packet, carry virtual mac address and the virtual ip address of GW2 in this gratuitous ARP packet, mail in Site1 and (represent with the real thick line of unidirectional arrow in Figure 5).Thus, can by the three layer data outlet data conductances of each Host in Site1 to the GW2 in Site2, that is, ED1 is after receiving three layer data streams in Site1, this stream compression can be dealt into ED2, be forwarded to GW2 by ED2.
As shown in Figure 6, follow-up after GW1 recovers, again will send FHRP message and gratuitous ARP packet (representing with the real thick line of unidirectional arrow in figure 6) in Site1.When ED1 is after the FHRP message listening to GW1, to Server, ED1 notifies that GW1 is effective, and stop in Site1, send the gratuitous ARP packet carrying the information of GW2.Each Host in Site1 receives FHRP message and the gratuitous ARP packet of GW1, thus the three layers of outlet data having recovered each Host in Site1 flow through and are forwarded to core net by GW1.
Embodiment three
For the method in above-described embodiment one, provide a kind of can edge device to apply the method, this edge device can be the edge device in any website, be the first edge device in embodiment one), also comprise First in data center's website at this edge device place and jump gateway, this edge device can be applied between data center's website and achieve in the interconnected EVI network of double layer network and VPLS network.
As shown in Figure 7, this edge device comprises: acquisition module 101, sending module 102, detection module 103, request module 104 and receiver module 105, wherein:
Acquisition module 101, the FHRP message of gateway transmission is jumped for the First of intercepting in notebook data central site, the gateway information that First jumps gateway is obtained from FHRP message, and, obtain the ping latency of the neighbours' edge device in this edge device to other data center's websites, wherein, gateway information comprises: virtual ip address and virtual mac address.
Sending module 102, when information for getting at acquisition module 101 changes, information after changing is sent to Server, so that the information corresponding with this edge device that Server preserves with the information updating this locality after change, wherein, the information got comprises: gateway information and ping latency; After receiver module 105 receives the information of this alternative head jumping gateway that Server feedback is come, send in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of head jumping gateway; When receiving three layer data stream in notebook data central site at receiver module 105, by this data flow to the second edge device, to substitute first jumping gateway by the second edge device forwards to this; Detection module 103 detect First jump gateway lost efficacy time, notice Server First is jumped gateway and was lost efficacy, so as Server in the information that this edge device is corresponding, First is jumped gateway be recorded as invalid; When detection module 103 detects that First jumping gateway recovers effective, stop sending in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of first jumping gateway, and notify that Server First is jumped gateway and recovered effectively, the First that simultaneously again got by acquisition module 101 is jumped the gateway information of gateway and this edge device and is sent to Server to the ping latency of neighbours' edge device, so that Server upgrades information corresponding to this edge device with the gateway information again got and ping latency, and First is jumped gateway be recorded as effectively.
Whether detection module 103, lost efficacy for detecting First jumping gateway, and when losing efficacy, notice request module 104.
Request module 104, for after the notice receiving detection module 103, first information of jumping gateway is substituted to Server request, so that the alternative head that Server meets following preset rules according to the Information Selection one corresponding with this edge device jumps gateway and feeds back to this edge device, this preset rules is: this alternative first jumping gateway is jumped gateway with First and had identical virtual ip address, the ping latency that this edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective.
Receiver module 105, for receiving this alternative first information of jumping gateway that Server feedback is come, and, receive three layer data streams in notebook data central site.
As shown in Figure 8, can also comprise in this edge device: Registering modules 106 and cancellation module 107, wherein,
Registering modules 106, for establish two layers of link between the neighbours' edge device in other data center's websites at this edge device after, register to Server, and in the process of registration, the First that got by acquisition module 101 is jumped the gateway information of gateway and this edge device and is sent to Server to the ping latency of neighbours' edge device, so that Server jumps gateway information and the ping latency of gateway at the First that local record receives, and set up the corresponding relation with this edge device.After Registering modules completes registration, follow-up, the information after change, when the information determining that acquisition module 101 gets changes, will be sent to Server, to upgrade the corresponding informance preserved in Server by sending module 102.
Cancellation module 107, for relieve two layers of link between neighbours' edge device at this edge device after, nullifies to Server, so that Server is by the information deletion corresponding with this edge device of local record.
Embodiment four
For the method in above-described embodiment one, provide a kind of can server to apply the method, this server can be applied between data center's website and achieve in the interconnected EVI network of double layer network and VPLS network, and data center's website comprises: edge device and first jumping gateway.
As shown in Figure 9, this Server comprises with lower module: receiver module 201, preservation module 202, selection module 203 and sending module 204, wherein:
Receiver module 201, for receiving the information after change that the first edge device sends when the information got changes, receive the first edge device detect First jump sent when gateway lost efficacy substitute first request message of jumping the information of gateway for asking; Receive the notice for informing the inefficacy of First jumping gateway that the first edge was sent when detecting that First jumps gateway inefficacy; Receive the first edge device detect First jump send when gateway recovers effective for informing that Server First is jumped gateway and recovered First that effective notice and the first edge device get again and jump the gateway information of gateway and self is to the ping latency of neighbours' edge device.
Preserve module 202, for the information corresponding with the first edge device that the information updating this locality after the change that receives with receiver module 201 is preserved, wherein, the information got comprises: the first edge device jumps gateway transmission head by intercepting First jumps gateway redundancy agreement FHRP message, the First that gets from FHRP message jumps the ping latency to the neighbours' edge device in other data center's websites of the gateway information of gateway and the first edge device, and gateway information comprises: virtual ip address and virtual mac address; Receiver module 201 receive that the first edge device sends for after informing that First jumps the notice that gateway lost efficacy, in the information that the first edge device preserved in this locality is corresponding, First is jumped gateway be recorded as invalid; The gateway information again got received with receiver module 201 and ping latency upgrade information corresponding to local the first edge device preserved, and notifying for informing that the recovery of Server First jumping gateway is effective of receiving according to receiver module, First is jumped gateway and is recorded as effectively.
Select module 203, for the information corresponding with the first edge device according to preservation in preservation module 202, an alternative head meeting following preset rules is selected to jump gateway, wherein, this preset rules is: this alternative first jumping gateway is jumped gateway with head and had identical virtual ip address, the ping latency that first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective.
Sending module 204, for this selecting module 203 to select being substituted the first information feed back of gateway of jumping to the first edge device, so that the first edge device is after receiving this and substituting the information of first jumping gateway, send in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of first jumping gateway, and when receiving three layer data stream in notebook data central site, by this data flow to the second edge device, to substitute first jumping gateway by the second edge device forwards to this.
In addition, as shown in Figure 10, can also comprise in this Server: Registering modules 205 and cancellation module 206, wherein,
Registering modules 205, for registering for the first edge device, and in the process of registration, receive First that the first edge device that the first edge device sends gets and jump the gateway information of gateway and self is to the ping latency of neighbours' edge device, jumped gateway information and the ping latency of gateway at the First that local record Registering modules 205 receives by preservation module 202, and set up the corresponding relation with the first edge device, wherein, first edge device is after establishing two layers of link between the neighbours' edge device in other data center's websites, register to Server.
Cancellation module 206, for nullifying for the first edge device, and notice preserves module 202 by the information deletion corresponding with the first edge device of local record, wherein, first edge device, after relieving between neighbours' edge device two layers of link, is nullified to Server.
To sum up, the above embodiment of the present invention can reach following technique effect:
The head that the alternative head selected due to Server jumps in website that gateway is that edge device (i.e. the second edge device) place minimum in the first edge device to the ping latency of neighbours' edge device jumps gateway, first edge device is minimum to the ping latency of the second edge device, illustrate that the response of the second edge device to oneself is the fastest, nearest from oneself, also show that the second edge device is now the most idle, like this, first edge device is after sending to the second edge device by three layer data streams in this website, second edge device can forward this data flow the most in time, the possibility simultaneously causing the forwarding data flow of the second edge device congested is also less, thus, substituting first edge device of jumping gateway place is optimum edge device.
In addition, this locality head got separately alternately is not needed to jump the gateway information of gateway between edge device, the gateway information of jumping gateway at this locality head preserved in all remote stations is not needed yet, after local first jumping gateway lost efficacy, do not need to carry out computing by edge device oneself yet, select to substitute first gateway, but unify by a Server information that each edge device of maintenance and management gets, each edge device is when registering, the information oneself got is sent to Server, and when the information got changes, send the information after changing, owing to only needing to send to Server the information got, and do not need to send to all neighbours' edge devices, greatly reduce network traffics, and, when local first jumping gateway lost efficacy, first information of jumping gateway can be substituted to Server request, by Server according to this locality preserve to the Information Selection of edge device substituting gateway, do not need to carry out computing by edge device oneself, also eliminate the computational burden of edge device
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a method for three layer data streams in forwarding data central site, achieve double layer network between data center's website interconnected, data center's website comprises: edge device and first jumping gateway, and it is characterized in that, described method comprises:
The head that first edge device intercepts the transmission of First jumping gateway jumps gateway redundancy agreement FHRP message, and from FHRP message, obtain the gateway information that described First jumps gateway, wherein, described gateway information comprises: virtual ip address and virtual mac address;
Described first edge device obtains the Internet packets survey meter ping latency that self arrives the neighbours' edge device in other data center's websites;
When the information got changes, information after change is sent to server by described first edge device, so that the information corresponding with described first edge device that described server is preserved with the information updating this locality after described change, wherein, the information got described in comprises: described gateway information and described ping latency;
When detecting that described First jumps gateway inefficacy, described first edge device substitutes first information of jumping gateway to described server request, so that the alternative head that described server meets following preset rules according to the Information Selection one corresponding with described first edge device jumps gateway and feeds back to described first edge device, described preset rules is: this alternative first jumping gateway is jumped gateway with described head and had identical virtual ip address, the ping latency that described first edge device substitutes the second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective,
Described first edge device, after receiving this and substituting the information of first jumping gateway, sends and carries this alternative first free ARP message of jumping the information of gateway in notebook data central site;
When receiving three layer data stream in notebook data central site, described first edge device by this data flow to described second edge device, to be substituted by described second edge device forwards first jump gateway to this.
2. method according to claim 1, is characterized in that, when the described information when getting changes, described first edge device also comprises before the information after change is sent to server:
After described first edge device establishes two layers of link between the neighbours' edge device in other data center's websites, described first edge device is registered to described server, and in the process of registration, the described First got is jumped the gateway information of gateway and self sends to described server to the ping latency of neighbours' edge device, so that described server jumps gateway information and the ping latency of gateway at the First that local record receives, and set up the corresponding relation with described first edge device.
3. method according to claim 2, is characterized in that, at described first edge device to after described server is registered, also comprises:
After described first edge device relieves two layers of link between described neighbours' edge device, described first edge device is nullified to described server, so that described server is by the information deletion corresponding with described first edge device of local record.
4. method according to claim 1, is characterized in that, also comprises:
When detect described First jump gateway lost efficacy time, described first edge device to notify described in described server that First is jumped gateway and lost efficacy, so as described server in the information that described first edge device is corresponding, described First is jumped gateway be recorded as invalid.
5. method according to claim 4, is characterized in that, also comprises:
When detecting that described First jumping gateway recovers effective, described first edge device stops sending the gratuitous ARP packet of the information carrying described alternative head jumping gateway in notebook data central site, and notify that First described in described server is jumped gateway and recovered effectively, again the described First got is jumped the gateway information of gateway and self sends to described server to the ping latency of described neighbours' edge device simultaneously, so that described server upgrades information corresponding to described first edge device with the described gateway information that again gets and ping latency, and described First jumping gateway is recorded as effectively.
6. an edge device, also comprise First in data center's website at described edge device place and jump gateway, achieve double layer network between data center's website interconnected, it is characterized in that, described edge device comprises:
Acquisition module, the head jumping gateway transmission for the First of intercepting in notebook data central site jumps gateway redundancy agreement FHRP message, the gateway information that described First jumps gateway is obtained from FHRP message, and, obtain the ping latency of the neighbours' edge device in this edge device to other data center's websites, wherein, described gateway information comprises: virtual ip address and virtual mac address;
Sending module, when information for getting at acquisition module changes, information after changing is sent to server, so that the information corresponding with this edge device that described server is preserved with the information updating this locality after described change, wherein, the information got described in comprises: described gateway information and described ping latency; After receiver module receives the information of the alternative head jumping gateway that described server feedback is come, send in notebook data central site and carry this alternative first gratuitous ARP packet of jumping the information of gateway; When receiving three layer data stream in notebook data central site at described receiver module, by this data flow to the second edge device, to substitute first jumping gateway by described second edge device forwards to this;
Whether detection module, lost efficacy for detecting described First jumping gateway, and when losing efficacy, notice request module;
Described request module, for after the notice receiving described detection module, first information of jumping gateway is substituted to described server request, so that the alternative head that described server meets following preset rules according to the Information Selection one corresponding with this edge device jumps gateway and feeds back to this edge device, described preset rules is: this alternative first jumping gateway is jumped gateway with described First and had identical virtual ip address, the ping latency that this edge device substitutes described second edge device in first data center's website of jumping gateway place to this is minimum, and this alternative first gateway of jumping is effective,
Receiver module, for receiving this alternative first information of jumping gateway that described server feedback is come, and, receive three layer data streams in notebook data central site.
7. edge device according to claim 6, is characterized in that, also comprises:
Registering modules, for establish two layers of link between the neighbours' edge device in other data center's websites at this edge device after, register to described server, and in the process of registration, the described First got by described acquisition module is jumped the gateway information of gateway and this edge device and is sent to described server to the ping latency of neighbours' edge device, so that described server jumps gateway information and the ping latency of gateway at the First that local record receives, and set up the corresponding relation with this edge device.
8. edge device according to claim 7, is characterized in that, also comprises:
Cancellation module, for relieve two layers of link between described neighbours' edge device at this edge device after, nullifies to described server, so that described server is by the information deletion corresponding with this edge device of local record.
9. edge device according to claim 6, is characterized in that,
When described sending module is also for detecting that at described detection module described First jumps gateway inefficacy, to notify described in described server that First is jumped gateway and lost efficacy, so as described server in the information that this edge device is corresponding, described First is jumped gateway be recorded as invalid.
10. edge device according to claim 9, is characterized in that,
When described sending module is also for detecting that at described detection module described First jumping gateway recovers effective, stop sending in notebook data central site and carry the gratuitous ARP packet that this substitutes the information of first jumping gateway, and notify that First described in described server is jumped gateway and recovered effectively, the described First simultaneously again got by described acquisition module is jumped the gateway information of gateway and this edge device and is sent to described server to the ping latency of described neighbours' edge device, so that described server upgrades information corresponding to this edge device with the described gateway information that again gets and ping latency, and described First jumping gateway is recorded as effectively.
CN201210371417.XA 2012-09-27 2012-09-27 Method and device for forwarding three-layer data flow in data center site Active CN102857435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210371417.XA CN102857435B (en) 2012-09-27 2012-09-27 Method and device for forwarding three-layer data flow in data center site

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210371417.XA CN102857435B (en) 2012-09-27 2012-09-27 Method and device for forwarding three-layer data flow in data center site

Publications (2)

Publication Number Publication Date
CN102857435A CN102857435A (en) 2013-01-02
CN102857435B true CN102857435B (en) 2015-04-15

Family

ID=47403638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210371417.XA Active CN102857435B (en) 2012-09-27 2012-09-27 Method and device for forwarding three-layer data flow in data center site

Country Status (1)

Country Link
CN (1) CN102857435B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078800B (en) * 2013-01-29 2015-08-12 杭州华三通信技术有限公司 Mac address information control method in EVI network and edge device
CN103117913B (en) * 2013-01-31 2016-08-10 杭州华三通信技术有限公司 A kind of mac address information notifying method and equipment
CN103095507B (en) * 2013-02-04 2015-09-09 杭州华三通信技术有限公司 Based on message transmitting method and the edge device of Ethernet virtualization internet network
CN114070790B (en) * 2021-11-15 2023-09-26 中国联合网络通信集团有限公司 Information forwarding method, PE, system, equipment and medium in VPLS equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951345A (en) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 Message transmitting method and equipment
CN102546389A (en) * 2011-11-08 2012-07-04 杭州华三通信技术有限公司 Method and device for flow trusteeship of cross-data center

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8848508B2 (en) * 2009-11-16 2014-09-30 Cisco Technology, Inc. Method for the provision of gateway anycast virtual MAC reachability in extended subnets

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951345A (en) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 Message transmitting method and equipment
CN102546389A (en) * 2011-11-08 2012-07-04 杭州华三通信技术有限公司 Method and device for flow trusteeship of cross-data center

Also Published As

Publication number Publication date
CN102857435A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN104205748B (en) Has redundancy between the frame of coordinated traffic direction
CN104052666B (en) The method and apparatus for realizing host routing reachable
CN104270298B (en) Message forwarding method and device in a kind of VXLAN networks
US8699327B2 (en) Multipath virtual router redundancy
US8817593B2 (en) Method and apparatus providing failover for a point to point tunnel for wireless local area network split-plane environments
CN102546389B (en) Method and device for flow trusteeship of cross-data center
CN103281247B (en) The general method for routing of a kind of data center network and system
CN103891216B (en) The method and system that in structural path exchange network, the FHRP of gateway load balance optimizes
CN105743689A (en) Fast convergence on link failure in multi-homed ethernet virtual private networks
US20060168084A1 (en) Method and apparatus for rendering load balancing and failover
CN103546374A (en) Message forwarding method and device in two-layered edge network
CN104243270A (en) Tunnel setup method and tunnel setup device
CN104767680B (en) It route the method and apparatus being switched fast
CN104113459A (en) Method for smoothly migrating virtual machine in Ethernet virtual interconnection (EVI) network, and device for smoothly migrating virtual machine in EVI network
CN106936943A (en) The distribution method and system of virtual machine address
CN109660442A (en) The method and device of multicast replication in Overlay network
CN111355649A (en) Flow reinjection method, device and system
CN101557343A (en) Detecting and protecting method of double-layer loop in VRRP topological network
CN111182022B (en) Data transmission method and device, storage medium and electronic device
CN105490937B (en) Ether virtual network gateway switching method and service provider's edge node devices
CN104683206A (en) Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus
CN102857435B (en) Method and device for forwarding three-layer data flow in data center site
CN101026547A (en) Method and system for accessing Intranct IPv6 host into global IPv6 network
CN105763439B (en) The interconnected method and device of data center in a kind of multilink transparent internet
CN103138955A (en) Managing IGMP multicast transmission using multiple queriers

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230614

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.