CN105591872B - A kind of method and apparatus for realizing multiple data centers interconnection - Google Patents

A kind of method and apparatus for realizing multiple data centers interconnection Download PDF

Info

Publication number
CN105591872B
CN105591872B CN201510695766.0A CN201510695766A CN105591872B CN 105591872 B CN105591872 B CN 105591872B CN 201510695766 A CN201510695766 A CN 201510695766A CN 105591872 B CN105591872 B CN 105591872B
Authority
CN
China
Prior art keywords
address information
tunnel
vxlan
dci
lsp message
Prior art date
Application number
CN201510695766.0A
Other languages
Chinese (zh)
Other versions
CN105591872A (en
Inventor
王刚
曲进
Original Assignee
新华三技术有限公司
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 新华三技术有限公司 filed Critical 新华三技术有限公司
Priority to CN201510695766.0A priority Critical patent/CN105591872B/en
Publication of CN105591872A publication Critical patent/CN105591872A/en
Application granted granted Critical
Publication of CN105591872B publication Critical patent/CN105591872B/en

Links

Abstract

The present invention provides a kind of method and apparatus for realizing multiple data centers interconnection, technical solutions are as follows: each VTEP in edge VTEP and data center establishes the tunnel VXLAN, establishes the tunnel DCI with other data center's point edge VTEP;It saves from the tunnel VXLAN, the tunnel DCI and in the address information locally learnt;When needing to carry out address information publication, it will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI;It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN;It will be released in the address information locally learnt from all tunnels VXLAN and the tunnel DCI.The layering logic layers of network may be implemented in the present invention.

Description

A kind of method and apparatus for realizing multiple data centers interconnection

Technical field

The present invention relates to field of communication technology, in particular to a kind of method and apparatus for realizing multiple data centers interconnection.

Background technique

In the multi-tenant environment of cloud computing, each tenant, which requires distribution one, to carry out very with other logical network The isolation of the logical network being isolated well, logical network can be realized by VXLAN technology.

In current VXLAN network, any two VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) Between to realize and communicate with one another, VXLAN tunnel must be established between the VTEP, and then synchronous LSP information, realization are satisfied in tunnel Routing iinformation is shared in road, completely isolated between different VXLAN tunnels, can not share any link-state information.

It is prior art VXLAN networking schematic diagram referring to Fig. 1, Fig. 1, passes through between VTEP1, VTEP2, VTEP3, VTEP4 Full interconnection is realized in the tunnel VXLAN, and virtual machine (VM) is communicated by the tunnel VXLAN between corresponding VTEP.

In networking shown in Fig. 1, VTEP1, VTEP2, VTEP3, VTEP4 belong to identical or different data center, arbitrarily By VXLAN tunnel mutual connection between two VTEP, on a control level using VXLAN ISIS network protocol in tunnel Synchronous LSP information, LSP message format includes heading and message body, and message body is spliced by various TLV, and LSP is carried Various information be all encapsulated in different TLV, can be new by being issued in LSP by defining a new TLV type Web content.

As can be seen that being full interconnection architecture between the VTEP at different data center, no in existing VXLAN network It is peer-to-peer between all VTEP there are layering logic layers, the configuration that will have higher level can meet network communication It needs.

Summary of the invention

In view of this, the purpose of the present invention is to provide a kind of realization multiple data centers interconnected method and device, Neng Goushi The layering logic layers of existing network.

In order to achieve the above object, the present invention provides the following technical scheme that

A method of realizing multiple data centers interconnection, each data center configuration has edge virtual extended local area network tunnel whole It node VTEP, VTEP in each data center and is established between the edge VTEP of the data center and has the tunnel VXLAN, different data Establishing between the edge VTEP at center has the tunnel DCI between data center, and this method is applied to the edge VTEP of data center, packet It includes:

It saves from the tunnel virtual extended local area network VXLAN, the tunnel DCI and is locally learning for router-level topology Address information;

When carrying out address information publication, will be issued out from the address information that the tunnel VXLAN learns from the tunnel all DCI It goes;It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN;It will believe in the address locally learnt Breath is released from all tunnels VXLAN and the tunnel DCI.

A kind of device for realizing multiple data centers interconnection, each data center configuration have edge virtual extended local area network tunnel whole It node VTEP, VTEP in each data center and is established between the edge VTEP of the data center and has the tunnel VXLAN, different data Establishing between the edge VTEP at center has the tunnel DCI between data center, which is applied to the edge VTEP of data center, packet It includes: unit, release unit;

The unit, for saving from the tunnel virtual extended local area network VXLAN, the tunnel DCI and in local study The address information for router-level topology arrived;

When for needing to carry out address information publication, unit is learnt from the tunnel VXLAN for the release unit Address information is released from all tunnels DCI;By unit from the address information that the tunnel DCI learns from all VXLAN Tunnel releases;Unit is issued out in the address information locally learnt from all tunnels VXLAN and the tunnel DCI It goes.

As can be seen from the above technical solution, in the present invention, by being built by edge VTEP in data center configuration edge VTEP The tunnel VXLAN in vertical and data center between each VTEP, and establish the DCI tunnel between the edge VTEP of other data centers Road, and using VXLAN tunnel propagation from the tunnel DCI and in the locally address information that learns, using DCI tunnel propagation from The tunnel VXLAN and the address information learnt in local are finally reached routing iinformation sharing between multiple data centers, To realize multiple data centers layering interconnection.

Detailed description of the invention

Fig. 1 is prior art VXLAN networking schematic diagram;

Fig. 2 is the method flow diagram that the embodiment of the present invention realizes multiple data centers interconnection;

Fig. 3 is the networking schematic diagram that the embodiment of the present invention realizes multiple data centers interconnection;

Fig. 4 is the structural schematic diagram for the device that the embodiment of the present invention realizes multiple data centers interconnection;

Fig. 5 is the hardware architecture diagram for the device that the embodiment of the present invention realizes multiple data centers interconnection.

Specific embodiment

In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing and according to embodiment, Technical solution of the present invention is described in detail.

It is in each data to keep apart the flow between the flow and data center in data center in the present invention The heart configures edge VTEP.It is complete mutual by the realization of the tunnel VXLAN between all VTEP (including edge VTEP) in data center Connection.Between data center, pass through (Data Center between data center between the edge VTEP of each data center Internal, DCI) the full interconnection of tunnel realization.

Referring to fig. 2, Fig. 2 is the method flow diagram that the embodiment of the present invention realizes multiple data centers interconnection, wherein in each data The heart is configured with edge VTEP, VTEP in each data center and establishes between the edge VTEP of the data center and has the tunnel VXLAN, Establishing between the edge VTEP at different data center has the tunnel DCI, and this method is applied to the edge VTEP at any data center, main Want the following steps are included:

Step 201 is saved from the tunnel VXLAN, the tunnel DCI and in the address information locally learnt.

Here, the address information is used for router-level topology, and then instructs message to forward with router-level topology result.When to message When executing two layers of forwarding, the address information refers to host MAC address information.When executing three layers of forwarding to message, describedly Location information refers to host A RP list item information, including information such as IP address and MAC Address.

In the present embodiment, the tunnel DCI is actually the tunnel VXLAN for being configured with DCI label, and in the prior art The tunnel VXLAN function having the same.The process in the tunnel DCI between edge VTEP creation and other edge VTEP are as follows: edge VTEP establishes the tunnel VXLAN between other edge VTEP, and be one DCI of the VXLAN tunnel configuration mark (be substantially for The corresponding tunnel face VXLAN configuration DCI label).After the tunnel DCI between edge VTEP and other edge VTEP is established, from DCI The message that tunnel is sent is identical with the method for message sent in the prior art from the tunnel VXLAN.

It is interconnected between each VTEP by the tunnel VXLAN in the edge VTEP of data center and data center, utilizes VXLAN tunnel It is interactive that the link-state information that LSP message carries out including address information is mutually sent out in road.Therefore, edge VTEP can be from VXLAN Tunnel learned addresses information is simultaneously saved, and is specifically included: being received LSP message in VXLAN tunnel interface, is learnt in LSP message Address information to address information database, meanwhile, in order to distinguish the source of the address information learnt, can also for from The address information setting VXLAN that the tunnel VXLAN learns is marked.

It is interconnected between the edge VTEP of data center and the edge VTEP of other data centers by the tunnel DCI, utilizes DCI It is interactive that the link-state information that LSP message carries out including address information is mutually sent out in tunnel.Therefore, edge VTEP can be from DCI Tunnel learned addresses information is simultaneously saved, and is specifically included: being received LSP message in DCI tunnel interface, is learnt in LSP message Address information to address information database, meanwhile, can also be for from DCI tunnel in order to distinguish the source of the address information learnt The address information setting DCI that road learns is marked.

The edge VTEP of data center can also arrive address information in locally study, specifically include: receiving in local module The address information of report learns the address information received to address information database, meanwhile, in order to distinguish the address learnt The source of information can also mark for local (Local) is arranged in the address information locally learnt.Here, work as address information When referring to host MAC address information, the local module is the MAC module in edge VTEP;Address information refers to host A RP table When item information, the local module is the ARP module in edge VTEP.

Edge VTEP from the tunnel VXLAN, the tunnel DCI and locally study to the address information forwarded for message it Afterwards, the route table items for arriving the address can be calculated based on the address information learnt, and then the route table items based on calculating carry out Message forwarding.

Step 202, when needing to carry out address information publication, will be from the address information that the tunnel VXLAN learns from all DCI Tunnel releases;It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN;It will be in local study To address information released from all tunnels VXLAN and the tunnel DCI.

In the present embodiment, in order to share routing iinformation between multiple data centers, edge VTEP issues address information and needs Follow following rule: edge VTEP needs to release by the tunnel DCI from the address information that the tunnel VXLAN learns, from DCI The address information that tunnel learns needs to release by the tunnel VXLAN, passes through in the address information needs locally learnt The tunnel VXLAN and the tunnel DCI release.Wherein,

It will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI, comprising: be directed to each DCI tunnel All address informations with VXLAN label in address information database are carried and are being used to transmitting in the tunnel DCI by road In LSP message, LSP message is sent from the tunnel DCI.

It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN, comprising: be directed to each VXLAN All address informations carrying in address information database with DCI label is being used in the tunnel VXLAN transmit by tunnel LSP message in, by LSP message from the tunnel VXLAN send.

It will be released in the address information locally learnt from all tunnels VXLAN and the tunnel DCI, comprising: for every All address informations carrying in address information database with Local label is being used in the VXLAN by a tunnel VXLAN In the LSP message transmitted in tunnel, which is sent from the tunnel VXLAN;For each tunnel DCI, by address information All address informations with Local label in database carry in the LSP message for transmitting in the tunnel DCI, will The LSP message is sent from all tunnels DCI.

In practical applications, VM can be migrated according to demand.When VM migration occurs, before VM migration and after migration Affiliated VTEP is different, therefore the issue source for migrating front and back will also change, this allows for edge VTEP and learns before and after VM migration The same address information from different issue sources is practised, MV migration can be solved by the issue source of recording address information and is asked Topic.

After VXLAN tunnel interface receives LSP message, learn the address information in LSP message to address information data When library, it is also necessary to using the LSP ID of LSP message as the issue source of the address information, the VXLAN hair of the address information be recorded Cloth source chained list can incite somebody to action if subsequent do not include the address information in the received LSP message of the VXLAN tunnel interface again The issue source is deleted from the VXLAN issue source chained list of the address information, if the VXLAN issue source chained list of the address information is Sky then removes the VXLAN label of the address information.After the VXLAN label of the address information is removed, which will not be again It is sent from the tunnel DCI.

After DCI tunnel interface receives LSP message, when learning the address information in LSP message to address information database, The DCI issue source chain of the address information can also be recorded using the LSP ID of LSP message as the issue source of the address information Table, if it is subsequent again in the received LSP message of the DCI tunnel interface do not include the address information, by the issue source from this It is deleted in the DCI issue source chained list of address information, if the DCI issue source chained list of the address information is sky, removes address letter The DCI of breath is marked.After the VXLAN label of the address information is removed, which will not be sent from the tunnel VXLAN again.

Simple example is carried out to VM transition process below:

Assuming that VTEP belonging to before VM migration is VTEP1, the edge VTEP of place data center is VTEP10.Then,

Before VM migration,

VTEP1 sends LSP message (wherein carrying the address information of VM) by the tunnel VXLAN and arrives edge VTEP10, then side The corresponding VXLAN issue source of address information of VM is recorded in the LSP ID (being assumed to be LSP ID1) of the LSP message by edge VTEP10 In chained list.

After VM migration,

If VM is moved under another VTEP (being assumed to be VTEP2) of same data center, VTEP2 will pass through VXLAN Tunnel sends the LSP message address information of VM (wherein carry) and arrives edge VTEP10, and edge VTEP10 is by the LSP of the LSP message ID (being assumed to be LSP ID2) is recorded in the corresponding VXLAN issue source chained list of address information of VM.Hereafter, VTEP1 is retransmited When LSP message is to edge VTEP10, the address information of VM will be no longer carried in LSP message, therefore, edge VTEP10 is by LSP It is deleted in the corresponding VXLAN issue source chained list of the address information of ID1 from VM.

If VM is moved under a certain VTEP (being assumed to be VTEP3) of another data center, data where after VM migration Address information from VTEP3 study to VM is sent the address information for carrying VM by the tunnel DCI by the edge VTEP at center To edge VTEP10, edge VTEP10 the ground of VM is recorded in the LSP ID (being assumed to be LSP ID3) of the LSP message by LSP message In the corresponding DCI issue source chained list of location information.Hereafter, when VTEP1 retransmits LSP message to edge VTEP10, in LSP message not The address information of VM is carried again, and therefore, edge VTEP10 is by the corresponding VXLAN issue source chain of the address information of LSP ID1 from VM It is deleted in table.

Multiple data centers interconnected method, which is illustrated, to be realized to the embodiment of the present invention below with reference to Fig. 3:

It is the networking schematic diagram of multiple data centers of embodiment of the present invention interconnection referring to Fig. 3, Fig. 3, as shown in figure 3, in data VTEP1, VTEP2, VTEP3 are configured in the heart 1, wherein VTEP3 is edge VTEP, is established between all VTEP in data center 1 There is the tunnel VXLAN, realizes the full interconnection in data center 1 between VTEP.In data center 2 configured with VTEP4, VTEP5, VTEP6, wherein VTEP4 is edge VTEP.Establishing between all VTEP in data center 2 has the tunnel VXLAN, realizes data Full interconnection in center 2 between VTEP.The edge VTEP:VTEP3 of data center 1, the edge VTEP:VTEP4 with data center 2 Between establish have the tunnel DCI, realize the interconnection of data center 1 Yu data center 2.

Assuming that networking shown in Fig. 3 is forwarded using two layer message, (the MAC Address 0000-0000- of host 1 is hung under VTEP1 0001) host 2 (MAC Address 0000-0000-0002), is hung under VTEP3, host 3 is hung under VTEP6, and (MAC Address is 0000-0000-0003), the process that the MAC Address of host 1 is published to VTEP6 by VTEP1 is as follows:

1, VTEP1 receives local module (MAC module) and reports the MAC that the MAC Address of host 1 is 0000-0000-0001 TLV (MAC TLV here corresponds to the address information in embodiment illustrated in fig. 2) is simultaneously stored in TLV database, due to this MAC TLV is to learn locally, therefore Local is arranged for the MAC TLV and marks, it is also desirable to calculating the MAC The route table items of location.When VTEP1 needs to issue address information, it is sent to VTEP3's by the VXLAN tunnel between VTEP3 The MAC TLV that MAC Address is 0000-0000-0001 can be carried in LSP message;

2, VTEP3 parses the LSP message, is when being resolved to MAC Address in the LSP message for receiving VTEP1 transmission After the MAC TLV of 0000-0000-0001, which is saved in local TLV database, and (TLV database is Fig. 2 institute Show the address information database in embodiment) in, it is then the MAC since the MAC TLV is learnt from VXLAN tunnel TLV is arranged VXLAN and marks, and calculates the route table items for arriving the MAC Address;In addition, VTEP3 is with receiving local module reporting MAC Location is the MAC TLV of 0000-0000-0002 (MAC Address of host 2), and is stored in TLV database, while being the MAC TLV setting Local is marked and is calculated the route table items of the MAC Address.

3, when VTEP3 sends LSP message to VTEP4 by DCI tunnel, the MAC TLV:MAC in TLV data can be traversed The MAC TLV that location is 0000-0000-0001 is marked with VXLAN, it is therefore desirable to be issued in DCI tunnel;MAC Address is The MAC TLV of 0000-0000-0002 is marked with Local, thus be also required in DCI tunnel publication (it should be noted that The MAC TLV is also required to issue in the tunnel VXLAN), it include MAC in the LSP message that final VTEP3 is issued in DCI tunnel The MAC TLV that the MAC TLV and MAC Address that address is 0000-0000-0001 are 0000-0000-0002.

4, VTEP4 receives the LSP message that VTEP3 is sent by the tunnel DCI, the LSP message is parsed, when with being resolved to MAC It, can be the two when the MAC TLV that the MAC TLV and MAC Address that location is 0000-0000-0001 are 0000-0000-0002 MAC TLV is saved in local TLV database, since the two MAC TLV are learnt out of DCI tunnel, meeting DCI is arranged for the two MAC TLV to mark, and calculates the route table items for arriving the two MAC Address.

5, when VTEP4 sends LSP message to VTEP6 by VXLAN tunnel, the MAC TLV in TLV database can be traversed, Due to the MAC TLV for being 0000-0000-0002 with MAC Address that MAC Address is 0000-0000-0001 in TLV database Origin marking is DCI, therefore is required to issue in the tunnel VXLAN, therefore the LSP message that VTEP3 is issued in VXLAN tunnel In include MAC Address be 0000-0000-0001 and MAC Address be 0000-0000-0002 MAC TLV.

6, VTEP6 receives the LSP message that VTEP4 is sent by the tunnel VXLAN, parses the LSP message and obtains MAC Address and is After the MAC TLV for being 0000-0000-0002 with MAC Address of 0000-0000-0001, the two MAC TLV are saved in TLV Simultaneously VXLAN label is arranged for it in database, calculates the route table items for arriving the two MAC Address.

So far, VTEP6 calculates VTEP1, the route table items for the All hosts hung under VTEP3.

Similarly, each VTEP can calculate any other data by mode similar to the above in data center The route table items for the host hung under any VTEP at center are realized to carry out information exchange based on calculated route table items Flow across data center is exchanged visits.

Multiple data centers interconnected method, which is described in detail, to be realized to the embodiment of the present invention above, the present invention also provides A kind of device for realizing multiple data centers interconnection, is described in detail below with reference to Fig. 4.

Referring to fig. 4, Fig. 4 is the structural schematic diagram for the device that the embodiment of the present invention realizes multiple data centers interconnection, each data Center configuration has edge VTEP, and establishing between the edge VTEP of VTEP and the data center in each data center has VXLAN tunnel Road, establishing between the edge VTEP at different data center has the tunnel DCI, which is applied to the edge VTEP of data center, packet It includes: unit 401, release unit 402;Wherein,

Unit 401, for saving from the tunnel VXLAN, the tunnel DCI and in the address information locally learnt;

Release unit 402, when for needing to carry out address information publication, by unit 401 from the tunnel VXLAN learn to Address information released from all tunnels DCI;By unit 401 from the address information that the tunnel DCI learns from all The tunnel VXLAN releases;By unit 401 in the locally address information that learns from all tunnels VXLAN and the tunnel DCI It releases.

In Fig. 4 shown device,

The unit 401 saves the address information learnt from the tunnel VXLAN, comprising: connects in VXLAN tunnel interface LSP message is received, learns the address information in LSP message to address information database, and the address information setting to learn VXLAN label;

The unit 401 saves the address information learnt from the tunnel DCI, comprising: receives in DCI tunnel interface LSP message learns the address information in LSP message to address information database, and the address information to learn is arranged DCI and marks Note;

The unit 401 is stored in the local address information learnt, comprising: receives the address that local module reports Information learns the address information received to address information database, and local Local is arranged for the address information learnt Label.

In Fig. 4 shown device,

The release unit 402 will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI, packet It includes: for each tunnel DCI, all address informations carrying in address information database with VXLAN label being used for In the LSP message sent in the tunnel DCI, LSP message is sent from the tunnel DCI;

The release unit 402 will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN, packet It includes: for each tunnel VXLAN, all address informations carrying in address information database with DCI label being used for In the LSP message sent in the tunnel VXLAN, LSP message is sent from the tunnel VXLAN;

The release unit 402 will be issued out in the address information locally learnt from all tunnels VXLAN and the tunnel DCI It goes, comprising: be directed to each tunnel VXLAN, all address informations with Local label in address information database are carried In LSP message for being sent in the tunnel VXLAN, LSP message is sent from the tunnel VXLAN;For each DCI tunnel All address informations with Local label in address information database are carried and are being used to sending in the tunnel DCI by road In LSP message, LSP message is sent from the tunnel DCI.

In Fig. 4 shown device,

After VXLAN tunnel interface receives LSP message, the address information learnt in LSP message arrives the unit 401 When address information database, the issue source of the address information is further recorded to the VXLAN issue source chained list of the address information, If not including the address information in the received LSP message of the VXLAN tunnel interface again, which is believed from the address It is deleted in the VXLAN issue source chained list of breath, if the VXLAN issue source chained list of the address information is sky, removes the address information VXLAN label;

The unit 401 DCI tunnel interface receive LSP message after, learn LSP message in address information to When the information database of location, the issue source of the address information is further recorded to the DCI issue source chained list of the address information, if The address information is not included in the received LSP message of the DCI tunnel interface again, then by the issue source from the address information It is deleted in DCI issue source chained list, if the DCI issue source chained list of the address information is sky, removes the DCI mark of the address information Note.

In Fig. 4 shown device,

Using the LSP ID of LSP message as the issue source of each address information in LSP message.

In Fig. 4 shown device,

The address information is host mac address information;The local module is local MAC module;

Alternatively,

The address information is host ARP entry information;The local module is local ARP module.

The device in the application specific embodiment is illustrated in above embodiments, and it is specific that the present embodiment provides the application The hardware structure composition of device in embodiment.

The device be can be the application specific embodiment referring specifically to Fig. 5, Fig. 5 with the programmable device of software and hardware combining The hardware structure composition schematic diagram of middle device, the device include: nonvolatile memory, CPU (central processing unit), memory and its His hardware;Wherein,

Memory, code, is mainly in device when described instruction code is performed operating for completion for storing instruction The function that the units such as unit, release unit are completed, I will not elaborate.

CPU, is used for and Memory communication, carries out the transmitting-receiving of various messages, comprising: for connecing from the tunnel VXLAN, the tunnel DCI Receive and send the LSP message for carrying address information;Described instruction code stored in memory is read and executed, above-mentioned apparatus is completed In the function completed of the units such as unit, release unit, and the processing of message received;For being deposited with non-volatile Reservoir communication, the data in read/write nonvolatile memory, comprising: from the tunnel VXLAN, the tunnel DCI and local study to The address information for router-level topology.

Wherein, unit, for saving from the tunnel VXLAN, the tunnel DCI and locally learning for routing The address information of calculating;Release unit is used for when carrying out address information publication, the address information that will learn from the tunnel VXLAN It is released from all tunnels DCI;It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN;It will be The local address information learnt is released from all tunnels VXLAN and the tunnel DCI.

It should be noted that device shown in fig. 5 is a specific example, other and this implementation can also be passed through Example description different structure realizes that the operation completed when for example, executing above-metioned instruction code can also be by the dedicated collection of specific application It is realized at circuit (ASIC).In addition, above-mentioned CPU can be one or more, if it is multiple, then born jointly by multiple CPU Duty reads and executees described instruction code.Therefore, the application is not especially limited the specific structure of device.

In conclusion in the present invention, by data center between VTEP it is totally interconnected by the tunnel VXLAN, in data By the tunnel the DCI interconnection between edge VTEP between center, so that the layering logic layers of whole network are realized, since VTEP only needs It is totally interconnected with other VTEP progress in same data center, and all handled via edge VTEP with the communication of external network, Therefore relatively low to its configuration requirement, and edge device VTEP then needs higher configuration.As can be seen that in a data It only needs that in the heart edge VTEP progress advanced configuration can be met the communicating requirement with external network, thus can effectively drop The expense of low user.In addition, some safety are anti-since the communication of all VTEP and external network is all handled via edge VTEP Shield measure (such as firewall) also only needs to dispose in edge VTEP, and hence it is also possible to effectively mitigate matching for staff Set work.

The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (12)

1. a kind of method for realizing multiple data centers interconnection, which is characterized in that each data center configuration has edge virtual extended office It domain net tunnel destination node VTEP, VTEP in each data center and is established between the edge VTEP of the data center and has VXLAN tunnel Road, establishing between the edge VTEP at different data center has the tunnel DCI between data center, and this method is applied to the side of data center Edge VTEP, comprising:
It saves from the tunnel virtual extended local area network VXLAN, the tunnel DCI and on the ground for router-level topology locally learnt Location information;
When carrying out address information publication, will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI; It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN;By the locally address information that learns from All tunnels VXLAN and the tunnel DCI release.
2. the method according to claim 1, wherein
Save the address information learnt from the tunnel VXLAN, comprising: receive LSP message, study LSP report in VXLAN tunnel interface Address information in text is to address information database, and the address information to learn is arranged VXLAN and marks;
Save the address information learnt from the tunnel DCI, comprising: receive LSP message in DCI tunnel interface, learn in LSP message Address information to address information database, and for the address information that learn, DCI label is set;
It is stored in the local address information learnt, comprising: receive the address information that local module reports, the address that will be received Information learning is to address information database, and the address information to learn is arranged local Local and marks.
3. according to the method described in claim 2, it is characterized in that,
It will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI, comprising: it is directed to each tunnel DCI, All address informations with VXLAN label in address information database are carried in the LSP for being used to transmit in the tunnel DCI In message, LSP message is sent from the tunnel DCI;
It will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN, comprising: be directed to each VXLAN tunnel All address informations with DCI label in address information database are carried and are being used to transmitting in the tunnel VXLAN by road In LSP message, LSP message is sent from the tunnel VXLAN;
It will be released in the address information locally learnt from all tunnels VXLAN and the tunnel DCI, comprising: for each All address informations carrying in address information database with Local label is being used in the VXLAN tunnel by the tunnel VXLAN In the LSP message transmitted in road, LSP message is sent from the tunnel VXLAN;For each tunnel DCI, by address information data All address informations with Local label in library carry in the LSP message for sending in the tunnel DCI, and LSP is reported Text is sent from the tunnel DCI.
4. according to the method described in claim 2, it is characterized in that,
After VXLAN tunnel interface receives LSP message, when learning the address information in LSP message to address information database, into The VXLAN issue source chained list of the address information is recorded in the issue source of the address information by one step, if again in the tunnel VXLAN The address information is not included in the LSP message of interface, then by the issue source from the VXLAN issue source chained list of the address information Middle deletion removes the VXLAN label of the address information if the VXLAN issue source chained list of the address information is sky;
After DCI tunnel interface receives LSP message, when learning the address information in LSP message to address information database, into one The DCI issue source chained list of the address information is recorded in the issue source of the address information by step, if connect again in the DCI tunnel interface Do not include the address information in the LSP message of receipts, then delete the issue source from the DCI issue source chained list of the address information, If the DCI issue source chained list of the address information is sky, the DCI label of the address information is removed.
5. according to the method described in claim 4, it is characterized in that,
Using the LSP ID of LSP message as the issue source of each address information in LSP message.
6. method described in -5 any claims according to claim 1, which is characterized in that
The address information is host mac address information;The local module is local MAC module;
Alternatively,
The address information is host ARP entry information;The local module is local ARP module.
7. a kind of device for realizing multiple data centers interconnection, which is characterized in that each data center configuration has edge virtual extended office It domain net tunnel destination node VTEP, VTEP in each data center and is established between the edge VTEP of the data center and has VXLAN tunnel Road, establishing between the edge VTEP at different data center has the tunnel DCI between data center, which is applied to the side of data center Edge VTEP, comprising: unit, release unit;
The unit, for saving from virtual extended local area network VXLAN tunnel, the tunnel DCI and learning locally Address information for router-level topology;
The release unit, when for needing to carry out address information publication, address that unit is learnt from the tunnel VXLAN Information is released from all tunnels DCI;By unit from the address information that the tunnel DCI learns from the tunnel all VXLAN It releases;Unit is released in the address information locally learnt from all tunnels VXLAN and the tunnel DCI.
8. device according to claim 7, which is characterized in that
The unit saves the address information learnt from the tunnel VXLAN, comprising: receives LSP report in VXLAN tunnel interface Text learns the address information in LSP message to address information database, and the address information to learn is arranged VXLAN and marks;
The unit saves the address information learnt from the tunnel DCI, comprising: LSP message is received in DCI tunnel interface, Learn the address information in LSP message to address information database, and the address information to learn is arranged DCI and marks;
The unit is stored in the local address information learnt, comprising: the address information that local module reports is received, it will The address information received learns to address information database, and the address information to learn is arranged local Local and marks.
9. device according to claim 8, which is characterized in that
The release unit will be released from the address information that the tunnel VXLAN learns from the tunnel all DCI, comprising: is directed to All address informations carrying in address information database with VXLAN label is being used in the DCI tunnel by each tunnel DCI In the LSP message sent in road, LSP message is sent from the tunnel DCI;
The release unit will be released from the address information that the tunnel DCI learns from the tunnel all VXLAN, comprising: is directed to All address informations carrying in address information database with DCI label is being used in the VXLAN by each tunnel VXLAN In the LSP message sent in tunnel, LSP message is sent from the tunnel VXLAN;
The release unit will be released in the address information locally learnt from all tunnels VXLAN and the tunnel DCI, be wrapped It includes: for each tunnel VXLAN, all address informations carrying in address information database with Local label being used for In the LSP message sent in the tunnel VXLAN, LSP message is sent from the tunnel VXLAN;It, will for each tunnel DCI All address informations with Local label in address information database are carried in the LSP report for sending in the tunnel DCI Wen Zhong sends LSP message from the tunnel DCI.
10. device according to claim 8, which is characterized in that
The unit after VXLAN tunnel interface receives LSP message, believe to address by the address information learnt in LSP message When ceasing database, the issue source of the address information is further recorded to the VXLAN issue source chained list of the address information, if again The address information is not included in the received LSP message of the VXLAN tunnel interface, then by the issue source from the address information It is deleted in VXLAN issue source chained list, if the VXLAN issue source chained list of the address information is sky, removes the address information VXLAN label;
The unit learns the address information in LSP message to address information after DCI tunnel interface receives LSP message When database, the issue source of the address information is further recorded to the DCI issue source chained list of the address information, if again at this Do not include the address information in the received LSP message of DCI tunnel interface, then issues the issue source from the DCI of the address information It is deleted in the chained list of source, if the DCI issue source chained list of the address information is sky, removes the DCI label of the address information.
11. device according to claim 10, which is characterized in that
Using the LSP ID of LSP message as the issue source of each address information in LSP message.
12. according to device described in any claim of claim 7-11, which is characterized in that
The address information is host mac address information;The local module is local MAC module;
Alternatively,
The address information is host ARP entry information;The local module is local ARP module.
CN201510695766.0A 2015-10-23 2015-10-23 A kind of method and apparatus for realizing multiple data centers interconnection CN105591872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695766.0A CN105591872B (en) 2015-10-23 2015-10-23 A kind of method and apparatus for realizing multiple data centers interconnection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695766.0A CN105591872B (en) 2015-10-23 2015-10-23 A kind of method and apparatus for realizing multiple data centers interconnection

Publications (2)

Publication Number Publication Date
CN105591872A CN105591872A (en) 2016-05-18
CN105591872B true CN105591872B (en) 2019-04-05

Family

ID=55931119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695766.0A CN105591872B (en) 2015-10-23 2015-10-23 A kind of method and apparatus for realizing multiple data centers interconnection

Country Status (1)

Country Link
CN (1) CN105591872B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209866A (en) * 2016-07-15 2016-12-07 上海数据交易中心有限公司 Data processing and transmission system, front end and data system
CN106878134A (en) * 2016-12-16 2017-06-20 新华三技术有限公司 Data center's interoperability methods and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634217A (en) * 2013-11-13 2014-03-12 华为技术有限公司 Method for issuing route information, method and device for transmitting massage
CN104115453A (en) * 2013-12-31 2014-10-22 华为技术有限公司 Method and device for achieving virtual machine communication
CN104243318A (en) * 2014-09-29 2014-12-24 杭州华三通信技术有限公司 MAC (media access control) address learning method and MAC address learning device in VXLAN (virtual extensible local area network)
CN104468306A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message transmission method and device in VXLAN network
CN104954218A (en) * 2014-03-24 2015-09-30 杭州华三通信技术有限公司 Distributed virtual switching device and forwarding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8531941B2 (en) * 2007-07-13 2013-09-10 Cisco Technology, Inc. Intra-domain and inter-domain bridging over MPLS using MAC distribution via border gateway protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468306A (en) * 2013-09-25 2015-03-25 杭州华三通信技术有限公司 Message transmission method and device in VXLAN network
CN103634217A (en) * 2013-11-13 2014-03-12 华为技术有限公司 Method for issuing route information, method and device for transmitting massage
CN104115453A (en) * 2013-12-31 2014-10-22 华为技术有限公司 Method and device for achieving virtual machine communication
CN104954218A (en) * 2014-03-24 2015-09-30 杭州华三通信技术有限公司 Distributed virtual switching device and forwarding method
CN104243318A (en) * 2014-09-29 2014-12-24 杭州华三通信技术有限公司 MAC (media access control) address learning method and MAC address learning device in VXLAN (virtual extensible local area network)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于SDN的云数据中心;饶少阳 等;《电信科学》;20140831(第8期);正文第33-41页

Also Published As

Publication number Publication date
CN105591872A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN103890751B (en) Logical L3 routing
US9698995B2 (en) Systems and methods for providing multicast routing in an overlay network
CN104685507B (en) Virtual secure device architecture is provided to virtual cloud foundation structure
US10374878B2 (en) Forwarding tables for virtual networking devices
US9985794B2 (en) Traceroute in a dense VXLAN network
CN103227757B (en) OSPF packets forwarding method and apparatus
US20130322443A1 (en) SDN Facilitated Multicast in Data Center
US9369301B2 (en) Overlay network capable of supporting storage area network (SAN) traffic
CN102594711B (en) Message forwarding method and edge device therefor
US7961728B2 (en) Virtual switching using a provisional identifier to conceal a user identifier
CN104350467B (en) Elasticity for the cloud security using SDN carries out layer
CN105847069B (en) Physical pathway for virtual network stream of packets is determined
CN102710432B (en) System and method for managing virtual network in cloud computation data center
US9860151B2 (en) Tracing network packets through logical and physical networks
CN105264493B (en) Dynamic virtual machine migration on information centre's network
CN104717137B (en) Manage the method and system of the data flow in overlay network
CN103947160B (en) Method to carry FCOE frames over a TRILL based network
US9825857B2 (en) Method for increasing Layer-3 longest prefix match scale
US8767529B2 (en) High availability distributed fabric protocol (DFP) switching network architecture
DE102013209118B4 (en) Maintaining and changing network congestion notifications while transferring network data between a physical network and a virtual network
Wang et al. A survey on data center networking for cloud computing
US9407580B2 (en) Maintaining data stored with a packet
CN103595648A (en) Method and system for balancing load at receiving side of server
JP5805318B2 (en) Bootstrapping fault detection sessions across P2MP tunnels
US20140112192A1 (en) System and Apparatus of a Software-Service-Defined-Network (SSDN)

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
CB02 Change of applicant information
GR01 Patent grant