CN103944797A - Method and device for distinguishing multiple instances between data center stations - Google Patents

Method and device for distinguishing multiple instances between data center stations Download PDF

Info

Publication number
CN103944797A
CN103944797A CN201410099925.6A CN201410099925A CN103944797A CN 103944797 A CN103944797 A CN 103944797A CN 201410099925 A CN201410099925 A CN 201410099925A CN 103944797 A CN103944797 A CN 103944797A
Authority
CN
China
Prior art keywords
message
mark
gre
tag field
encapsulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410099925.6A
Other languages
Chinese (zh)
Inventor
杨超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410099925.6A priority Critical patent/CN103944797A/en
Publication of CN103944797A publication Critical patent/CN103944797A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and device for distinguishing multiple instances between data center stations. The method and device for distinguishing the multiple instances between the data center stations are applied to any edge equipment in the EVI network. The method includes the first step of carrying out GRE encapsulation on a received original Ethernet frame, adding an outer layer IP header to the received original Ethernet frame and then sending the received original Ethernet frame to an EVI core network, wherein the GRE encapsulation includes a first mark for identifying whether an instance ID is set and a first instance marking field for carrying the set instance ID, and the second step of further reading the first instance marking field to obtain a forward instance ID of a message when the first mark is a preset mark value if the GRE encapsulation carried by the message includes the first mark and the first instance marking field when the message from the core network is received. Through the method, the problem that the instance IDs are insufficient is solved, support of a new chip is not needed, and the cost is saved.

Description

Between a kind of data center website, distinguish the method and apparatus of many examples
Technical field
The present invention relates to communication technical field, relate in particular to the method and apparatus of distinguishing many examples between a kind of data center website.
Background technology
In order to realize high reliability and redundant deployment, multiple physical site that are positioned at diverse geographic location have been crossed over by current most enterprises network and data center thereof, in the similar business of these site deployment, carry out double layer intercommunication between these websites.In order to realize resource dynamic allotment and the management between website, virtual machine is wanted between data center can free migration, because virtual machine (vm) migration process is to user transparent, can not change IP address, so it is interconnected to realize double layer network between the website that is distributed in strange land.
EVI (Ethernet Virtualization Interconnect, Ethernet is virtual interconnected) technology, based on existing service provider network and enterprise network, provides two layers of interconnecting function flexibly to the physical site of disperseing.EVI solution is very simple, with low cost, only need to dispose at website edge the equipment of one or more support EVI functions, and enterprise network and service provider network are without doing any variation.
EVI is a kind of advanced person " MAC in IP " technology, for realizing the L2VPN(Layer2Virtual Private Network based on IP core network, two-layer virtual private network) technology.EVI just safeguards route and forwarding information on the edge device of website, and without changing website inside and core network.EVI overall network is made up of core network, station network, crossover network.Station network is the double layer network with separate traffic function to core network by one or many edge of table equipment connection, conventionally by single organization and administration control, mainly be made up of main frame and switching equipment, edge device provides two layers of function of exchange between website; Crossover network is the virtual network of setting up between website edge device, provide two layers between station network interconnected, notice and be connected to the MAC Address of edge device All hosts and router, forward territories by larger interconnected multiple websites formation two layers; Core network is the network interconnected between station network that provides mainly being carried by IP routing device.
In data center's network environment, there is the demand of dividing many examples, for example, the A of department belongs to a region, the B of department belongs to another region, and the flow of the A of department and the B of department can only be at department's internal circulation, and the flow of the A of department can not flow in part B, along with the scale of data center constantly becomes large, the demand of many examples quantity more obvious and common example can be very large.In addition, divide many examples and also have a benefit to be, the A of department and the B of department may belong to a company, lay respectively at two different regions, in the outlet of two regions, only have a public network address, so, if do not take many examples, identify different parts, can only achieve the goal by the mode that increases public network address, the quantity of public network address can increase and increase along with the quantity of example, and cost can significantly improve.
For above problem, in actual applications, the most direct scheme is used VLAN(Virtual Local Area Network, VLAN exactly) technology, in the Ethernet header of internal layer, increase a VLAN Tag, for use in distinguishing many examples.But still there is defect in this scheme, such as VLAN ID altogether 12 bits, that is to say, the maximum of the instance number of support is 4096, still, and may be very large in data center, it is not enough that the instance number of requirement may exceed 4096, one VLAN Tag.In known another kind of scheme, by a newly-increased capsule header in the Ether frame of internal layer, for identifying instance number; For example a current technology VXLAN, has increased a VXLAN head exactly newly, and for identifying instance number, in VXLAN network, VXLAN ID is 24 bits, and maximum can be supported 1,600 ten thousand instance number.But implement this scheme, and although can solve the not enough problem of instance number, new technology means the chip support that needs are new, for existing equipment in existing network, if all replace new chip, cost is large, and upgrade cycle is long.
Summary of the invention
In view of this, the present invention proposes to distinguish between a kind of data center website the method and apparatus of many examples, identifies instance number by the existing field in multiplexing GRE encapsulation header, has not only solved the not enough problem of instance number, and do not need the support of new chip, save cost.
Between data center's website, distinguish a method for many examples, be applied to arbitrary edge device ED in EVI network and go up, described method comprises:
The original Ether frame of receiving is carried out GRE encapsulation and adds outer IP head, send to EVI core net; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
When receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
Preferably, in described GRE encapsulation, also comprise the second mark whether having arranged for identifying instance number, and for carrying the second example tag field that example ID is set.
Preferably, described method also comprises: when in the GRE of the message from core net of receiving encapsulation, when described the first mark and the second mark are default mark value, read respectively described the first example tag field and the second example tag field, and the high-value of the example ID that example ID entrained described the second example tag field is carried as described the first example tag field, after the example ID of carrying with described the first example tag field is added, obtain the forwarding instance ID of described message.
Preferably, described method also comprises: when in the GRE of the message from core net of receiving encapsulation, only described second be labeled as while presetting mark value, further read described the second example tag field to obtain the forwarding instance ID of described message.
Preferably, described the first mark and the second mark are arranged in the Flags field of GRE encapsulation header form; Described the first example tag field is the Offset field of GRE encapsulation header form; Described the second example tag field is the Key field of GRE encapsulation header form.
Between data center's website, distinguish a device for many examples, be applied to arbitrary edge device ED in EVI network and go up, described device comprises:
Encapsulation unit, for the original Ether frame of receiving is carried out GRE encapsulation and adds outer IP head, sends to EVI core net; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
Acquiring unit, for when receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
Preferably, in described GRE encapsulation, also comprise the second mark whether having arranged for identifying instance number, and for carrying the second example tag field that example ID is set.
Preferably, described acquiring unit is further used for: when in the GRE of the message from core net of receiving encapsulation, when described the first mark and the second mark are default mark value, read respectively described the first example tag field and the second example tag field, and the high-value of the example ID that example ID entrained described the second example tag field is carried as described the first example tag field, after the example ID of carrying with described the first example tag field is added, obtain the forwarding instance ID of described message.
Preferably, described acquiring unit is further used for: when in the GRE of the message from core net of receiving encapsulation, only described second be labeled as while presetting mark value, further read described the second example tag field to obtain the forwarding instance ID of described message.
Preferably, described the first mark and the second mark are arranged in the Flags field of GRE encapsulation header form; Described the first example tag field is the Offset field of GRE encapsulation header form; Described the second example tag field is the Key field of GRE encapsulation header form.
Brief description of the drawings
Fig. 1 is the schematic diagram that in prior art, Ether frame is carried out GRE encapsulation;
Fig. 2 is the method flow diagram of distinguishing many examples in the exemplary a kind of execution mode of the present invention between a kind of data center website;
Fig. 3 is the message format of GRE capsule header in the exemplary a kind of execution mode of the present invention;
Fig. 4 is the building-block of logic of distinguishing the device of many examples in the exemplary a kind of execution mode of the present invention between a kind of data center website.
Embodiment
Under the interconnected network environment of double layer network between data center station, once the edge device of each data center has been set up neighborhood and mutual after MAC Address reachability information at EVI control plane, just can be between website converting flow.For two laminar flow amounts in website, edge device carries out the endogenous MAC address learning of VLAN, and carries out two layers according to object MAC and search after mac address table, forwards from corresponding local interface.For two laminar flow amounts between website, refer to Fig. 1, the Ether frame of receiving is carried out GRE encapsulation by edge device, and add outer IP head and link layer header, verification and etc. after information, send to EVI core net.Due in the network environment of data center, there is the demand of dividing many examples, therefore edge device is in the time encapsulating the Ether frame of receiving, can in the Ethernet header of internal layer, increase a VLAN Tag or increase one newly for identifying the header of instance number, so that the edge device of opposite end data center receives after the Ether frame after this encapsulation, can determine according to VLAN Tag newly-increased in packaging information and newly-increased header the forwarding instance of this message.But in actual application, all there is defect mentioned in the application's background technology in above two schemes.
In view of this; embodiments of the invention propose to distinguish between a kind of data center website the method and apparatus of many examples; identify instance number by the existing field in multiplexing GRE encapsulation header; not only solve the not enough problem of instance number; and do not need the support of new chip; save cost, protected user networking investment.
Referring to accompanying drawing, each embodiment of the application is described in further detail.
Referring to Fig. 2, the invention provides the method for distinguishing many examples between a kind of data center website, be applied to arbitrary edge device ED in EVI network and go up, the method is carried out following steps:
Step S201, the original Ether frame of receiving is carried out GRE encapsulation and adds outer IP head, send to EVI core net; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
Step S202, when receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
Refer to Fig. 3, Fig. 3 is the concrete form of GRE capsule header in prior art.In GRE capsule header, the Optional Field arriving (optional field) that has some reserved fields and conventionally can not use in data-center applications scene, therefore in the present embodiment, can be by using those reserved fields and Optional Field to expand to reach the object of supporting instance number.In GRE capsule header, it is optional that Offset field and key field are optional() field and conventionally can not using in data-center applications scene, therefore can use Offset field (16 bit) and key field (32 bit) to identify instance number.
Preferably implement in execution mode in the one of the present embodiment, by the Offset field in multiplexing GRE capsule header, described Offset field is identified to instance number as the first example tag field, concrete scheme is as follows:
First the edge device of two layers of interconnected each data center website is unified to configuration, on each edge device, GRE encapsulation format is carried out to following expansion: in the Flag field in GRE capsule header, divide 1 bit as described the first mark whether having arranged for mark instance number, be designated as F-I position, in the time that this F-I position is 1, show that instance number arranges.Concurrent multiplexing Offset field, identifies instance number by Offset field.
Refer to Fig. 3, according to the encapsulation format of GRE standard, in the time that C position is 1, show to have configured in current GRE encapsulation verification and (Checksum), if configured verification and, now Checksum field and Offset field there will be in GRE capsule header.Offset field, in the GRE of standard encapsulation format, represent deviant, and in the present embodiment, Offset field is for identifying instance number.Therefore, introduce F-I position, the implication of this field representative in the implication of Offset field representative in the present embodiment and the encapsulation format of GRE standard can be made a distinction.Such as, in the time that the C position in GRE encapsulation header is 1, now Offset field represents deviant; When C position is not 1, and F-I position is 1 o'clock, and now Offset field is used for identifying instance number.Use the method, can multiplexing existing field and do not cause conflicting between standard agreement.Same reason, in the time using Offset field identification instance number can not meet actual demand, can further be used multiplexing other fields of the method to expand the instance number that can identify.
Particularly, learning the MAC Address of this main frame as the message interaction (such as ARP message) between router basis and the user of edge device, is that this main frame creates MAC address entries, judges the example under this message according to the matched rule in down going port simultaneously; Such as in a preferred embodiment, can determine the example under this subscriber's main station by receiving vlan information or the IP address of carrying in the port of this message or this message, be not specifically limited in the present embodiment.When edge device is determined after the example of this main frame, in the MAC address entries of this main frame, record the corresponding relation between example and MAC Address under this user, check the object IP in this main frame message simultaneously, if the object IP address of this message is positioned at other data center, the message of this main frame is encapsulated after upper instance number according to the GRE encapsulation format after expanding, send to by EVI core net on the edge device of other data centers.In the time that the edge device of other data centers is received the message from EVI core net, if the object IP address in message is this router, remove the outer IP head of this message, further check the GRE heading of this message, now in the Flag field of this GRE heading, F-I position value is 1, show to have encapsulated in this message the forwarding instance number under this main frame, further read Offset field and obtain the forwarding instance number of this message, and described message is forwarded in this forwarding instance, in MAC address entries, record the corresponding relation between this main frame forwarding instance number and MAC Address simultaneously, because Offset field is 16 bits, therefore in the present embodiment, the instance number maximum of mark can reach individual.
In actual application, use Offset field identification instance number, the instance number maximum identifying can reach individual, 65536.But along with the large scale deployment of data center and the continuous growth of business, the instance number of data center's demand probably exceedes 65536.
For above-mentioned situation, one preferred embodiment in, can be simultaneously with in GRE capsule header, in data-center applications scene, conventionally can not use Offset field and key field identify instance number as described the first example tag field and the second example tag field respectively, concrete scheme is as follows:
First the edge device of two layers of interconnected each data center website is unified to configuration, on each edge device, GRE encapsulation format is carried out to following expansion:
In Flag field in GRE capsule header, divide 2 bits as described the first mark and the second mark that whether have arranged for mark instance number, be designated as respectively F-I position and S-I position; In the time that this F-I position is 1, show that the instance number of the first dimension arranges; In the time that S-I position is 1, show that the instance number of the second dimension arranges.In the present embodiment, when the example of tieing up when the first peacekeeping second is enabled simultaneously, the instance number of the second dimension represents a high position for the first dimension.
Be equal to, learn the MAC Address of this main frame as the message interaction between router basis and the user of edge device, be that this main frame creates MAC address entries, and determine the example under this message.When edge device is determined after the example of this main frame, in MAC address entries, record the corresponding relation between this main frame instance number and MAC Address, and check the object IP of this main frame message, if the object IP address of this message is positioned at other data center, the message of this main frame is encapsulated after upper instance number according to the GRE encapsulation format after expanding, send to by EVI core net on the edge device of other data centers.In now GRE encapsulation, enabled first peacekeeping the second dimension encapsulation simultaneously, in the time that the edge device of other data centers is received the message from EVI core net, if the object IP address in message is this router, removing after the outer IP head of this message, further check the GRE heading of this message, now in the Flag field of this GRE heading, F-I position and S-I position value are 1, shown now to enable the instance number that the first peacekeeping second is tieed up simultaneously, read respectively the instance number that Offset field and key field identify, and the high-value of the instance number that identifies as Offset field of the instance number that key field is identified, after the instance number identifying with Offset field is added, obtain the forwarding instance number of this message, and described message is forwarded in this forwarding instance, in MAC address entries, record the corresponding relation between this main frame forwarding instance number and MAC Address simultaneously.
For example,, when the instance number of Offset field identification is 2 16, the instance number of key field identification is 1, the instance number of key field identification 1 is expressed as to 2 17instance number 2 with Offset field identification 16after addition, obtain the forwarding instance number of message; Same reason, when the instance number of Offset field identification is 2 16, the instance number of key field identification is 3(2 0+ 2 1), the instance number of key field identification 3 is expressed as to 2 17+ 2 18instance number 2 with Offset field identification 16after addition, obtain the forwarding instance number of message.Therefore, in the present embodiment, in the time enabling the instance number that the first peacekeeping second ties up, the instance number maximum of mark can reach 2 simultaneously 48, in the application scenarios of data center, enough use.
In addition, in the present embodiment, when the value of F-I position and S-I position in the Flag field of the GRE heading of the message from core net that edge device is received, the value of only having S-I position is 1, show now only to enable the instance number of the second dimension, now two-dimensional example number is not re-used as a high position for the first dimension instance number, directly reads Key field and obtains the forwarding instance number of this message, and described message is forwarded in this forwarding instance.In the present embodiment, the first peacekeeping second is tieed up instance number and all can be used separately respectively, only has when enable the first peacekeeping second while tieing up instance number simultaneously, and the second dimension instance number just can be expressed as the high-value of the first dimension instance number.
In the present embodiment, in the time that the example of described main frame changes, edge device by and this main frame between message interaction determine after the current described example of this main frame, upgrade the corresponding relation between the affiliated instance number of this main frame having recorded in MAC address entries and MAC Address, and notice the current affiliated instance number of this main frame by the control message interaction between edge device (such as Intermediate System to Intermediate System message) to the edge device of other websites;
Concrete, edge device, sends on the edge device of other websites still according to after the upper instance number of GRE encapsulation format encapsulation after expansion the notification packet sending; The edge device of other websites is received after this notification packet, reads the current affiliated instance number of this main frame, and in MAC Address list item, upgrade the corresponding relation between instance number and the MAC Address having recorded according to the set situation of F-I position in GRE encapsulation header and S-I position.
Known by the above description of the present embodiment, when enable the first peacekeeping second while tieing up instance number simultaneously, can further expand the quantity of supporting instance number, and the instance number of enabling bidimensional has very large advantage, such as utilizing the above disclosed technical scheme of the present embodiment to carry out the division of two-stage data center; Particularly, in actual application, can use the instance number of the first dimension, Offset field identifies the instance number of first order data center; Can use the instance number of the second dimension, Key field identifies the data center of the second level.In the time that edge device is received the message from core net, can be by reading the instance number that in message GRE encapsulation, Offset field and Key field identified respectively, thereby confirm the forwarding instance of this message in different two-stage data centers number and carry out message repeating, this is no longer described in detail, and those skilled in the art can use in conjunction with actual application scenarios flexibly according to the technical scheme disclosed in the present embodiment.
Technical scheme of the present invention is further described in conjunction with network environment by an object lesson below;
Taking three data centers as example illustrates whole processing procedure, for example A, B, tri-data centers of C, edge device is respectively GW-A, GW-B, GW-C, on three edge of table equipment, complete tunnel add encapsulation conciliate encapsulation operation.
In A, there are three host As 1, A2, respectively corresponding three examples of A3, A1 belongs to instance number 1, and A2 belongs to example 2, and A3 belongs to example 3;
In B, there are three host Bs 1, B2, B3, respectively corresponding three examples, B1 belongs to instance number 1, and B2 belongs to example 2, and B3 belongs to example 3;
In C, there are three host Cs 1, C2, C3, respectively corresponding three examples, C1 belongs to instance number 1, and C2 belongs to example 2, and C3 belongs to example 3;
On GW-A, in the time receiving that A1 issues the message of C1, the forwarding instance that GW-A determines this message is example 1, so default marker bit F-I is set to 1 in GRE heading Flag field, shows that the first dimension instance number arranges, and Offset field fills 1.Because current the first dimension is enough, so, do not enable the second dimension instance number, the mark of the second dimension is just set to 0.
On GW-C, when receiving A1, GW-C issues the message of C1, resolve this GRE message of receiving, first resolve F-I position, find that this position arranges, read Offset field, obtaining the first dimension instance number is 1; And then resolve S-I position, and find that this position does not arrange, illustrate that the second dimension instance number is 0, message is at example 1 repeating.
Be equal to, on GW-A, in the time receiving that A2 issues the message of B2, the forwarding instance that GW-A determines this message is example 2, so default marker bit F-I is set to 1 in GRE heading Flag field, show that the first dimension instance number arranges, Offset field fills 1.Because current the first dimension is enough, do not enable the second dimension instance number, the mark of the second dimension is just set to 0.
On GW-B, when receiving A2, GW-B issues the message of B2, resolve this GRE message of receiving, first resolve F-I position, find that this position arranges, read Offset field, obtaining the first dimension instance number is 2; And then resolve S-I position, and find that this position does not arrange, illustrate that the second dimension instance number is 0, message is at example 2 repeatings.Refer to Fig. 4, in the exemplary a kind of execution mode of the present invention, the present invention also provides the device 40 of distinguishing many examples between a kind of data center website, be applied in EVI network on arbitrary edge device ED, in the hardware structure wherein relating to as the edge device of carrying apparatus of the present invention 40, generally include CPU, internal memory, nonvolatile memory, IO interface and other hardware.Be embodied as example with software, apparatus of the present invention 40 can be understood as the computer program being carried in internal memory conventionally, the logic device that the software and hardware forming after moving by CPU combines; Stating device 40 comprises:
Encapsulation unit 41, for the original Ether frame of receiving is carried out GRE encapsulation and adds outer IP head, sends to EVI core net; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
Acquiring unit 42, for when receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
In the present embodiment, in described GRE encapsulation, also comprise the second mark whether having arranged for identifying instance number, and for carrying the second example tag field that example ID is set.
In the present embodiment, described acquiring unit 42 is further used for: when in the GRE of the message from core net of receiving encapsulation, when described the first mark and the second mark are default mark value, read respectively described the first example tag field and the second example tag field, and the high-value of the example ID that example ID entrained described the second example tag field is carried as described the first example tag field, after the example ID of carrying with described the first example tag field is added, obtain the forwarding instance ID of described message.
In the present embodiment, described acquiring unit 42 is further used for: when in the GRE of the message from core net of receiving encapsulation, only described second be labeled as while presetting mark value, further read described the second example tag field to obtain the forwarding instance ID of described message.
In the present embodiment, described the first mark and the second mark are arranged in the Flags field of GRE encapsulation header form; Described the first example tag field is the Offset field of GRE encapsulation header form; Described the second example tag field is the Key field of GRE encapsulation header form.
By the description of above embodiment, it will be appreciated by those skilled in the art that in embodiment, the module in device can be merged into a module, also can further split into multiple submodules.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. between data center's website, distinguish a method for many examples, be applied to arbitrary edge device ED in EVI network and above, it is characterized in that, described method comprises:
The original Ether frame of receiving is carried out GRE generic route encapsulation and adds outer IP head, send to the virtual interconnected EVI core net of Ethernet; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
When receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
2. the method for claim 1, is characterized in that, in described GRE encapsulation, also comprises the second mark whether having arranged for identifying instance number, and for carrying the second example tag field that example ID is set.
3. method as claimed in claim 2, is characterized in that, described method also comprises:
When in the GRE of the message from core net of receiving encapsulation, when described the first mark and the second mark are default mark value, read respectively described the first example tag field and the second example tag field, and the high-value of the example ID that example ID entrained described the second example tag field is carried as described the first example tag field, after the example ID of carrying with described the first example tag field is added, obtain the forwarding instance ID of described message.
4. method as claimed in claim 3, is characterized in that, described method also comprises:
When in the GRE of the message from core net of receiving encapsulation, only described second be labeled as while presetting mark value, further read described the second example tag field to obtain the forwarding instance ID of described message.
5. method as claimed in claim 4, is characterized in that, described the first mark and the second mark are arranged in the Flags field of GRE encapsulation header form;
Described the first example tag field is the Offset field of GRE encapsulation header form;
Described the second example tag field is the Key field of GRE encapsulation header form.
6. between data center's website, distinguish a device for many examples, be applied to arbitrary edge device ED in EVI network and above, it is characterized in that, described device comprises:
Encapsulation unit, for the original Ether frame of receiving is carried out GRE encapsulation and adds outer IP head, sends to EVI core net; Described GRE encapsulation comprises the first mark whether having arranged for identifying instance number, and for carrying the first example tag field that example ID is set;
Acquiring unit, for when receive from core net message time, if the GRE that this message carries encapsulation comprises described the first mark and described the first example tag field,, in the time that described first is labeled as default mark value, further read described the first example tag field to obtain the forwarding instance ID of described message.
7. device as claimed in claim 6, is characterized in that, in described GRE encapsulation, also comprises the second mark whether having arranged for identifying instance number, and for carrying the second example tag field that example ID is set.
8. device as claimed in claim 7, is characterized in that, described acquiring unit is further used for:
When in the GRE of the message from core net of receiving encapsulation, when described the first mark and the second mark are default mark value, read respectively described the first example tag field and the second example tag field, and the high-value of the example ID that example ID entrained described the second example tag field is carried as described the first example tag field, after the example ID of carrying with described the first example tag field is added, obtain the forwarding instance ID of described message.
9. device as claimed in claim 8, is characterized in that, described acquiring unit is further used for:
When in the GRE of the message from core net of receiving encapsulation, only described second be labeled as while presetting mark value, further read described the second example tag field to obtain the forwarding instance ID of described message.
10. device as claimed in claim 9, is characterized in that, described the first mark and the second mark are arranged in the Flags field of GRE encapsulation header form;
Described the first example tag field is the Offset field of GRE encapsulation header form;
Described the second example tag field is the Key field of GRE encapsulation header form.
CN201410099925.6A 2014-03-18 2014-03-18 Method and device for distinguishing multiple instances between data center stations Pending CN103944797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410099925.6A CN103944797A (en) 2014-03-18 2014-03-18 Method and device for distinguishing multiple instances between data center stations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410099925.6A CN103944797A (en) 2014-03-18 2014-03-18 Method and device for distinguishing multiple instances between data center stations

Publications (1)

Publication Number Publication Date
CN103944797A true CN103944797A (en) 2014-07-23

Family

ID=51192287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410099925.6A Pending CN103944797A (en) 2014-03-18 2014-03-18 Method and device for distinguishing multiple instances between data center stations

Country Status (1)

Country Link
CN (1) CN103944797A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016086670A1 (en) * 2014-12-04 2016-06-09 中兴通讯股份有限公司 Vxlan packet transmission method and apparatus, and storage medium
CN109088833A (en) * 2017-06-14 2018-12-25 大唐移动通信设备有限公司 A kind of communication means and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146016A (en) * 2006-09-15 2008-03-19 华为技术有限公司 Ethernet frame transmission method and Ethernet architecture
CN102164090A (en) * 2011-05-13 2011-08-24 杭州华三通信技术有限公司 Message forwarding method, system and equipment based on generic routing encapsulation tunnel
CN102611634A (en) * 2012-04-20 2012-07-25 杭州华三通信技术有限公司 IP (Internet protocol) network access method and edge device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146016A (en) * 2006-09-15 2008-03-19 华为技术有限公司 Ethernet frame transmission method and Ethernet architecture
CN102164090A (en) * 2011-05-13 2011-08-24 杭州华三通信技术有限公司 Message forwarding method, system and equipment based on generic routing encapsulation tunnel
CN102611634A (en) * 2012-04-20 2012-07-25 杭州华三通信技术有限公司 IP (Internet protocol) network access method and edge device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016086670A1 (en) * 2014-12-04 2016-06-09 中兴通讯股份有限公司 Vxlan packet transmission method and apparatus, and storage medium
CN105721359A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 VXLAN message transmission method and device
CN109088833A (en) * 2017-06-14 2018-12-25 大唐移动通信设备有限公司 A kind of communication means and device

Similar Documents

Publication Publication Date Title
CN103179228B (en) Internet Protocol address analytic method and fringe node
CN103685022A (en) Message forwarding method and service provider network edge equipment
CN109617995B (en) Management system and method for VPC (virtual private network) internal container of tenant cluster and electronic equipment
CN102724118A (en) Label distribution method and device
EP4239973A1 (en) Packet sending method, device, and system
CN107645433B (en) Message forwarding method and device
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN105991433A (en) Method and device of accessing layer 3 virtual private network (L3VPN) in layer 2 virtual private network (L2VPN)
CN106941437A (en) A kind of information transferring method and device
CN106209557A (en) Message forwarding method and device
CN103684959A (en) VPN realization method and PE device
CN103326915A (en) Method, device and system for achieving three-layer VPN
CN105763439B (en) The interconnected method and device of data center in a kind of multilink transparent internet
CN107948042A (en) A kind of message forwarding method and device
CN103780470A (en) IS-IS information synchronization method and device
CN103095508A (en) Business access method and edge device
CN103401787B (en) Static route issuing method and UPE (Ultimate Provider Edge)
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN104009919A (en) Message forwarding method and device
CN107294849A (en) Method, device and system for establishing service path
CN102882761B (en) VPLS realization method
CN103944797A (en) Method and device for distinguishing multiple instances between data center stations
CN111654559B (en) Container data transmission method and device
CN104660478B (en) A kind of method and apparatus for realizing that data flow concatenates between tunnel
CN103475560A (en) User message processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology 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

Applicant before: Huasan Communication Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723