CN102833171A - Data center-cross MAC (Media Access Control) migration processing method and device - Google Patents

Data center-cross MAC (Media Access Control) migration processing method and device Download PDF

Info

Publication number
CN102833171A
CN102833171A CN2012103321240A CN201210332124A CN102833171A CN 102833171 A CN102833171 A CN 102833171A CN 2012103321240 A CN2012103321240 A CN 2012103321240A CN 201210332124 A CN201210332124 A CN 201210332124A CN 102833171 A CN102833171 A CN 102833171A
Authority
CN
China
Prior art keywords
local
mac address
migration server
site
mac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103321240A
Other languages
Chinese (zh)
Other versions
CN102833171B (en
Inventor
郭显志
魏巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210332124.0A priority Critical patent/CN102833171B/en
Publication of CN102833171A publication Critical patent/CN102833171A/en
Application granted granted Critical
Publication of CN102833171B publication Critical patent/CN102833171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data center-cross MAC (Media Access Control) migration processing method and a data center-cross MAC migration processing device. The method comprises the following steps of: when an ED (Edge Device) of a local site does not issue a local MAC through an IGP (Interior Gateway Protocol), broadcasting a broadcast message carrying an MAC address of a migration server to a public network and establishing a local normal MAC table entry according to the MAC address of the migration server; triggering, by the ED of the local site, an ED of a remote site by transmitting the broadcast message to issue a flooding MAC table entry according to the MAC address of the migration server in the broadcast message; and after the ED of the local site receives traffic transmitted to the public network by the remote site according to the flooding MAC table entry, matching the local normal MAC table entry and forwarding the traffic to the migration server from a port of the matched normal MAC table entry. By applying the method and the device provided by the invention, the traffic of the remote site can be successfully forwarded to the migration server of a migrated site, and the issuing efficiency of the IGP is not depended.

Description

A kind of MAC emigration processing method and device of striding data center
Technical field
The application relates to network communications technology field, particularly a kind of media interviews control (MAC) emigration processing method and device of striding data center.
Background technology
Data center is the center that provides of miscellaneous service, is the center of data processing, storage and exchanges data.For better service is provided, provider disposes a plurality of data centers usually in the strange land, realizes load balancing and high reliability, and realizes the free migration of virtual machine between data center.Because the virtual machine (vm) migration process is to user transparent, can not change the IP address, so must realize between the data center in strange land that double layer network is interconnected being distributed in.
Fig. 1 is based on the scene sketch map of server generation migration in the technological two layers of interconnected networking of data center of EVI; As shown in Figure 1; MAC is that the server of A is arranged in website A at first; VLAN in the local mac list item that edge device among the website A (ED) is learnt is 100, MAC is that A, port are port1, and the VLAN in the far-end MAC address entries that the ED among the website C learns is 100, MAC is that A, port are evilink1.
After the server among the website A is moved to website C from website A; Have now and mainly handle: at first through following method; ED among the website C learns dynamic MAC; VLAN in the MAC address entries of learning is 100, MAC is that A, port are port1, and the far-end MAC address entries of learning before covering with it; Secondly, the MAC that will move through the IGP agreement of the ED among the website C is published to other websites (promptly here website A); At last; After other each websites receive the MAC of website C issue; Cover local mac list item in original this website (with website A is example, promptly original VLAN is 100, MAC be A, port be port1 the local mac list item by VLAN be 100, MAC is that A, port are that the far-end MAC address entries of evilink1 covers).
After executing aforesaid operations, the data in server stream that other remote stations are gone to after the migration could successfully be transmitted.Visible through above-mentioned analysis; Processing procedure behind the existing server migration depends on the issue rate of IGP agreement; Promptly need will move and could the flow of other remote stations be forwarded to by in the migration website the successful forwarding of realization data flow after the MAC that comes releases through the IGP agreement.Yet the issuing time of IGP agreement maybe be long, thereby cause flow to interrupt for a long time.
Summary of the invention
In view of this, the invention provides a kind of MAC emigration processing method of striding data center, can the flow of remote station successfully be forwarded to, and do not rely on the efficiency for issuing of IGP agreement by in the migration server of migration website.
The present invention also provides a kind of MAC migration process device of striding data center, can the flow of remote station successfully be forwarded to by in the migration server of migration website, and not rely on the efficiency for issuing of IGP agreement.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of media interviews control MAC emigration processing method of striding data center, this method comprises:
The edge device ED of site-local carries the broadcasting packet of the MAC Address of migration server to public network broadcasting also when the Interior Gateway Protocol IGP protocol issuance local mac, and sets up local common MAC address entries according to the MAC Address of said migration server;
The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet;
The ED of said site-local receives after said remote station sends to the flow of public network according to the said MAC address entries that floods, and matees local common MAC address entries, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
Said broadcasting packet is free ARP message;
The ED of said site-local is through detecting next initiatively the triggering to public network transmission gratuitous ARP packet of operation that the local common MAC address entries that is directed against migration server covers the far-end MAC address entries; Or
After migration server is moved to site-local, send gratuitous ARP packet by migration server to the ED of site-local, after the ED of said site-local receives the gratuitous ARP packet of migration server transmission, trigger to public network and send gratuitous ARP packet.
After migration server was moved to site-local, the ED of site-local was distributed to remote station through the IGP agreement with local mac, set up the far-end MAC address entries that covers the said MAC address entries that floods with the ED that triggers remote station;
When the ED of site-local receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, forward the traffic to migration server through the outbound port in the local common MAC address entries that matches.
Said broadcasting packet is free ARP message;
The ED of said site-local broadcasts before the gratuitous ARP packet of the MAC Address that carries migration server to public network, and this method also comprises:
The ED of said site-local receives the gratuitous ARP packet that carries the migration server MAC Address to public network broadcasting by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP that carries in the gratuitous ARP packet; After said migration server is moved to site-local by remote station; When the ED in the site-local also passed through IGP protocol issuance local mac, the ED in the site-local was according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet and is specially: the ED of said site-local carries the gratuitous ARP packet of MAC Address of migration server to public network broadcasting after; The ED study ARP of remote station suppresses list item; When the ARPSnooping list item of study had identical Internet Protocol IP and MAC before before the ED of remote station judges the ARP inhibition list item of being learnt and moves, the ED of this remote station issued the said MAC address entries that floods according to the MAC Address of the migration server in the said broadcasting packet.
A kind of media interviews control MAC migration process device of striding data center, this device is applied among the edge device ED in the site-local, and this device comprises: the spot broadcasting unit and the second flow retransmission unit, wherein,
Said spot broadcasting unit; Be used for when the time also not through Interior Gateway Protocol IGP protocol issuance local mac; The broadcasting packet that carries the MAC Address of migration server to public network broadcasting issues the MAC address entries that floods with the ED that triggers remote station according to the MAC Address of the migration server in the said broadcasting packet, and sets up local common MAC address entries according to the MAC Address of said migration server;
The said second flow retransmission unit is used for mating local common MAC address entries when receiving after said remote station sends to the flow of public network according to the said MAC address entries that floods, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
Said broadcasting packet is free ARP message;
Said spot broadcasting unit is through detecting next initiatively the triggering to public network transmission gratuitous ARP packet of operation that the local common MAC address entries that is directed against migration server covers the far-end MAC address entries; Or
Said device also comprises receiving element, is used to receive the gratuitous ARP packet that is sent by migration server; Said spot broadcasting unit triggers and sends said gratuitous ARP packet to public network after receiving the gratuitous ARP packet of migration server transmission at said receiving element.
This device also comprises the IGP protocol issuance unit, is used for through the IGP agreement local mac being released, and makes remote station set up the far-end MAC address entries of the MAC address entries that floods that covers remote station foundation according to the local mac of issue;
The said second flow retransmission unit receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, the outbound port in the local common MAC address entries of setting up through the spot broadcasting unit that matches forwards the traffic to migration server.
Said broadcasting packet is free ARP message; This device comprises that also local ARP suppresses list item unit and the local address analysis protocol is spied upon ARP Snooping list item unit, wherein,
Said local ARP suppresses list item unit, is used for before migration server is moved to site-local, and the migration server MAC address learning ARP that carries in the gratuitous ARP packet according to the remote station broadcasting that receives suppresses list item;
Said local ARP Snooping list item unit; Be used for after migration server is moved to site-local; During also not through IGP protocol issuance local mac, according to the gratuitous ARP packet study ARP Snooping list item that in virtual LAN VLAN, listens to by this migration server transmission;
Behind said local ARP Snooping list item unit study ARP Snooping list item; Said spot broadcasting unit carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcasting, and sets up local common MAC address entries according to the MAC Address of said migration server.
A kind of media interviews control MAC migration process device of striding data center, this device is applied to the edge device ED in the remote station, and this device comprises: the list item that floods is set up unit and first flow retransmission unit, wherein,
The said list item that floods is set up the unit, is used for after migration server is moved to site-local, issues the MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet of public network broadcasting;
Said first flow retransmission unit; Be used for when visiting the flow of migration server; After mating the said list item that floods and setting up the MAC address entries that floods that the unit issues; Flow is broadcast to public network, makes site-local that flow is forwarded to said migration server from the port of the local common MAC address entries that matches.
This device comprises that also the far-end list item sets up the unit, is used for behind the local mac that receives the site-local issue, sets up and covers the far-end MAC address entries that the said list item that floods is set up the MAC address entries of setting up the unit that floods;
Said first flow retransmission unit also is used for when the flow of visit migration server is arranged on the remote station; After mating said far-end list item and setting up the far-end MAC address entries of setting up the unit; Flow is forwarded to site-local from the port of the far-end MAC that matches, makes site-local forward the traffic to said migration server through the outbound port in the local common MAC address entries that matches.
Said broadcasting packet is free ARP message, and this device also comprises:
Far-end ARP Snooping list item unit was used for before migration server is moved to site-local, according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
Far-end ARP suppresses list item unit, is used for after migration server is moved to site-local, suppresses list item according to the gratuitous ARP packet study ARP that carries the migration server MAC Address that receives from public network;
Judging unit is used to judge that the ARP that is learnt suppresses list item and whether the preceding ARP Snooping list item of study before of migration has identical Internet Protocol IP and MAC;
When the said list item that floods is set up the ARP Snooping list item of before the ARP that said judgment unit judges goes out study suppresses before list item and the migration, learning the unit and had identical Internet Protocol IP and MAC, issue the said MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet that public network is broadcasted.
In sum; The MAC emigration processing method of striding data center that the present invention adopted, after server is moved to site-local by remote station, and site-local is also when the IGP protocol issuance local mac; The broadcasting packet of the MAC Address that carries migration server is broadcast to public network; And set up local common MAC address entries according to the MAC in the broadcasting packet, after the ED in the remote station listens to the broadcasting packet of public network side, issue the MAC address entries that floods according to the MAC in the broadcasting packet.Thus; When the flow of visit migration server is arranged on the remote station; After can mating the MAC address entries that floods among this remote station ED; Flow is broadcast to public network, so by the ED in the site-local with the local common MAC address entries of the flow matches that receives after, flow is forwarded to migration server from the port of the common MAC address entries that matches.For the flow of visit migration server on the remote station, the inventive method is to flood through coupling to be flooded in the public network behind the MAC address entries, and then by site-local the flow that receives is transmitted to migration server, and does not rely on the efficiency for issuing of IGP agreement.Therefore, the inventive method can successfully be forwarded to the flow of remote station by in the migration server of migration website, and does not rely on the efficiency for issuing of IGP agreement.
Description of drawings
Fig. 1 is the scene sketch map that migration takes place based on server in two layers of interconnected networking of data center of EVI technology;
Fig. 2 strides the workflow diagram of the MAC emigration processing method of data center for the present invention;
Fig. 3 strides the structural representation of the MAC migration process device embodiment one of data center for the present invention;
Fig. 4 strides the structural representation of the MAC migration process device embodiment two of data center for the present invention;
Fig. 5 strides the workflow diagram of the MAC emigration processing method embodiment one of data center for the present invention;
The processing procedure sketch map of control plane when Fig. 6 does not issue local mac for the present invention;
The processing procedure sketch map that data plane traffic was transmitted when Fig. 7 did not issue local mac for the present invention;
The processing procedure sketch map of control plane when Fig. 8 has issued local mac for the present invention;
The processing procedure sketch map that data plane traffic was transmitted when Fig. 9 had issued local mac for the present invention;
Figure 10 strides the workflow diagram of the MAC emigration processing method embodiment two of data center for the present invention;
Figure 11 is the learning process sketch map of ARP list item before the server migration of the present invention;
The processing procedure sketch map of control plane when Figure 12 does not issue local mac for the present invention.
Embodiment
In order to solve the technical problem that the present invention proposes, the concrete realization of the said scheme of the embodiment of the invention comprises:
The ED of site-local carries the broadcasting packet of the MAC Address of migration server to public network broadcasting also when the IGP protocol issuance local mac, and sets up local common MAC address entries according to the MAC Address of said migration server; The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet; The ED of said site-local receives after said remote station sends to the flow of public network according to the said MAC address entries that floods, and matees local common MAC address entries, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
Fig. 2 strides the workflow diagram of the MAC emigration processing method of data center for the present invention, and as shown in Figure 2, this flow process comprises:
Step 201: the ED of site-local carries the broadcasting packet of the MAC Address of migration server to public network broadcasting also when the IGP protocol issuance local mac, and sets up local common MAC address entries according to the MAC Address of said migration server.
Wherein, said broadcasting packet is a gratuitous ARP packet, also can adopt other self-defining protocol massages to be used as broadcasting packet among the present invention.
Step 202: the ED of site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet.
Need explain that the outbound port of the MAC address entries that floods that issues described in this step is the outbound port of all public networks of the ED of each remote station.
Step 203: the ED of site-local receives after said remote station sends to the flow of public network according to the said MAC address entries that floods, and matees local common MAC address entries, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
So far, promptly accomplished the whole workflow that the present invention strides the MAC emigration processing method of data center.
Need to prove that in the present invention, after migration server was moved to site-local, the ED of site-local was distributed to remote station through the IGP agreement with local mac, set up the far-end MAC address entries that covers the said MAC address entries that floods with the ED that triggers remote station;
When the ED of site-local receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, forward the traffic to migration server through the outbound port in the local common MAC address entries that matches.
Further, in the present invention, the ED of said site-local broadcasts before the gratuitous ARP packet of the MAC Address that carries migration server to public network, and this method also comprises:
The ED of said site-local receives the gratuitous ARP packet that carries the migration server MAC Address to public network broadcasting by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP that carries in the gratuitous ARP packet; After said migration server is moved to site-local by remote station; When the ED in the site-local also passed through IGP protocol issuance local mac, the ED in the site-local was according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet and is specially: the ED of said site-local carries the gratuitous ARP packet of MAC Address of migration server to public network broadcasting after; The ED study ARP of remote station suppresses list item; When the ED of remote station judged that the ARP that is learnt suppresses list item and move the ARP Snooping list item of learning before identical Internet Protocol IP and MAC are arranged, the ED of this remote station issued the said MAC address entries that floods according to the MAC Address of the migration server in the said broadcasting packet.
Based on said method, Fig. 3 strides the structural representation of the MAC migration process device embodiment one of data center for the present invention, and this device is applied among the ED in the site-local; As shown in Figure 3; This device comprises: the spot broadcasting unit 301 and the second flow retransmission unit 302, wherein
Said spot broadcasting unit 301; Be used for when the time also not through Interior Gateway Protocol IGP protocol issuance local mac; The broadcasting packet that carries the MAC Address of migration server to public network broadcasting issues the MAC address entries that floods with the ED that triggers remote station according to the MAC Address of the migration server in the said broadcasting packet, and sets up local common MAC address entries according to the MAC Address of said migration server;
Particularly, the outbound port of the MAC address entries that floods that issues of said spot broadcasting unit is the outbound port of all public networks of site-local.
The said second flow retransmission unit 302; Be used for when the flow of going to migration server that receives said remote station broadcasting; After mating the local common MAC address entries of setting up said spot broadcasting unit 301, flow is forwarded to migration server from the port of the common MAC address entries that matches.
Wherein, the broadcasting packet of said spot broadcasting unit 301 broadcasting is a gratuitous ARP packet.
Further, said spot broadcasting unit 301 initiatively triggers to public network to send gratuitous ARP packet through the operation that detects local common MAC address entries to migration server and cover the far-end MAC address entries.
Further, this device also comprises receiving element 303, is used to receive the gratuitous ARP packet that is sent by migration server;
Then, said spot broadcasting unit 301 is used for after said receiving element 303 receives the gratuitous ARP packet of migration server transmission, triggering to public network and sending gratuitous ARP packet.
Particularly, this device also comprises IGP protocol issuance unit 304, is used for through the IGP agreement local mac being released, and makes remote station set up the far-end MAC address entries of the MAC address entries that floods that covers remote station foundation according to the local mac of issue;
Then; The said second flow retransmission unit 302; Also be used to receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, the outbound port in the local common MAC address entries of setting up through the spot broadcasting unit 301 that matches forwards the traffic to migration server.
More specifically, this device comprises that also local ARP suppresses list item unit 305 and local ARP Snooping list item unit 306, wherein,
Said local ARP suppresses list item unit 305, is used for before migration server is moved to site-local, and the migration server MAC address learning ARP that carries in the gratuitous ARP packet according to the remote station broadcasting that receives suppresses list item;
Said local ARP Snooping list item unit 306; Be used for after migration server is moved to site-local; During also not through IGP protocol issuance local mac, according to the gratuitous ARP packet study ARP Snooping list item that in virtual LAN VLAN, listens to by this migration server transmission;
Behind said local ARP Snooping list item unit 306 study ARP Snooping list items; Said spot broadcasting unit 301; Be used for carrying the gratuitous ARP packet of the MAC Address of migration server, and set up local common MAC address entries according to the MAC Address of said migration server to public network broadcasting.
So far, promptly obtained the MAC migration process device that the embodiment of the invention one is striden data center.
Likewise, based on said method, Fig. 4 strides the structural representation of the MAC migration process device embodiment two of data center for the present invention; This device is the ED in the remote station, and as shown in Figure 4, this device comprises: the list item that floods is set up unit 401 and first flow retransmission unit 402; Wherein
The said list item that floods is set up unit 401, is used for after migration server is moved to site-local, issues the MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet of public network broadcasting;
Said first flow retransmission unit 402; Be used for when visiting the flow of migration server; After mating the said list item that floods and setting up the MAC address entries that floods that unit 401 issues; Flow is broadcast to public network, makes site-local that flow is forwarded to said migration server from the port of the local common MAC address entries that matches.
Particularly, this device comprises that also the far-end list item sets up unit 403, is used for behind the local mac that receives the site-local issue, sets up to cover the far-end MAC address entries that the said list item that floods is set up the MAC address entries of setting up unit 401 that floods;
Then; Said first flow retransmission unit 402; Also be used for when the flow of visit migration server is arranged on the remote station; After mating said far-end list item and setting up the far-end MAC address entries of setting up unit 403, flow is forwarded to site-local from the port of the far-end MAC that matches, makes site-local forward the traffic to said migration server through the outbound port in the local common MAC address entries that matches.
More specifically, said broadcasting packet is a gratuitous ARP packet, and this device comprises that also far-end ARP Snooping list item unit 404, far-end ARP suppress list item unit 405 and judging unit 406, wherein,
Said far-end ARP Snooping list item unit 404 was used for before migration server is moved to site-local, according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
Far-end ARP suppresses list item unit 405, is used for after migration server is moved to site-local, suppresses list item according to the gratuitous ARP packet study ARP that carries the migration server MAC Address that receives from public network;
Judging unit 406 is used to judge that the ARP that is learnt suppresses list item and whether the preceding ARP Snooping list item of study before of migration has identical Internet Protocol IP and MAC;
Then; The said list item that floods is set up unit 401; When the ARP Snooping list item that also is used for before the ARP that said judging unit 406 is judged study suppresses before list item and the migration, learning has identical Internet Protocol IP and MAC, issue the said MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet that public network is broadcasted.
So far, promptly obtained the MAC migration process device that the embodiment of the invention two is striden data center.
Fig. 5 strides the workflow diagram of the MAC emigration processing method embodiment one of data center for the present invention, and as shown in Figure 5, this flow process comprises:
Step 501: after server (being migration server) is moved to site-local by remote station; When the ED in the site-local does not also pass through IGP protocol issuance local mac; Carry the broadcasting packet of the MAC Address of migration server to public network broadcasting, and set up local common MAC address entries according to the MAC Address of said migration server.
In this step; After server is moved to site-local by remote station; Site-local can be searched the MAC address entries that whether has this server in the local mac table, if do not exist, then can set up local common MAC address entries for this server; If exist, then use newly-built local common MAC address entries and cover the far-end MAC address entries of setting up for this server before.
The ED of site-local can be through detecting next initiatively the triggering to public network transmission gratuitous ARP packet of operation that the local common MAC address entries that is directed against migration server covers the far-end MAC address entries; Or; After migration server is moved to site-local; At first send gratuitous ARP packet to the ED of site-local, after the ED of site-local receives the gratuitous ARP packet of migration server transmission, directly trigger the operation of sending gratuitous ARP packet to public network by migration server.
Among the present invention, said gratuitous ARP packet comprises the MAC and the IP of VLAN, server.
The concrete processing of this step can be referring to Fig. 6; As shown in Figure 6; After server is moved to website C by website A, set up VLAN among the website C and be 100, MAC is that A, state are the local common MAC address entries of port1 for local, port, to cover the far-end MAC address entries; Simultaneously, the ED among the website C is broadcast to public network with gratuitous ARP packet (server triggers or ED initiatively trigger).
Step 502: after the ED in each remote station listens to the gratuitous ARP packet of public network side, issue the MAC address entries that floods according to the MAC Address of the migration server in the said broadcasting packet.
In this step, the state of the MAC address entries that floods is a broadcast state, and the flow that promptly matches this MAC address entries that floods can be flooded to public network.
The concrete processing procedure of this step is equally referring to Fig. 6; As shown in Figure 6; After remote station A and remote station B listen to the gratuitous ARP packet of public network side, be respectively MAC in the gratuitous ARP packet and issue and comprise that VLAN is 100, MAC is that A, state are the empty MAC address entries that floods for broadcasting, port.
Step 503: when the flow of access server is arranged on the remote station, mate the MAC address entries that floods among this remote station ED after, flow is broadcast to public network.
The concrete processing procedure of this step can be referring to Fig. 7, and is as shown in Figure 7, when on the website A flow of access server being arranged, match the MAC address entries that floods after, this flow is flooded.
Step 504: the ED in the site-local receives the flow of public network side, mate local common MAC address entries after, flow is forwarded to migration server from the port of the common MAC address entries that matches, finish whole workflow.
The concrete processing procedure of this step also can be referring to Fig. 7, after the ED in the site-local receives the flow of public network side, matees local common MAC address entries, and outbound port is port1, promptly through this port flow is transmitted to said migration server.
Step 505: the ED in other remote station receives the flow of public network side, the coupling less than common MAC address entries, abandon this flow after, finish whole workflow.
With step 503 and step 504, the concrete processing procedure of this step also can be referring to Fig. 7, and the ED among the website B receives the flow of public network side, matches the MAC address entries that floods, owing to be the flow that receives from public network, so this flow can not be flooded again, abandons this flow.
Need to prove that step 504 and step 505 are two processes arranged side by side, do not have the branch of sequencing.
What also need explain is; After the ED in the site-local releases local mac through the IGP agreement; Each remote station ED sets up the far-end MAC address entries that covers the MAC address entries that floods; Specifically can be referring to Fig. 8; After the ED in the site-local released local mac through the IGP agreement, the MAC address entries that floods among website A and the website B was covered (be that VLAN in the MAC address entries among the website A is 100, MAC is that A, state are that far-end, port are evilink1, the VLAN in the MAC address entries among the website B is 100, MAC is that A, state are that far-end, port are evilink2) respectively by the far-end MAC address entries.Thus, remote station is gone to the flow of the server after the migration and can successfully be transmitted according to step of the prior art, that is: behind the far-end MAC address entries of flow matches in the remote station; Be sent on this far-end MAC address entries corresponding port (being the ED in the site-local); And then after mating local common MAC address entries by the ED in the site-local, forward the traffic on the server, specifically can be referring to Fig. 9; As shown in Figure 9; When on website A or the website B data flow of access server being arranged, match the far-end MAC address entries after, flow is forwarded in the site-local through the port in this far-end MAC address entries; After mating local common MAC address entries by the ED in the site-local, forward the traffic to server through the outbound port in the common MAC address entries in this locality.
So far, promptly accomplished the whole workflow that the present invention strides the MAC emigration processing method embodiment one of data center
Figure 10 strides the workflow diagram of the MAC emigration processing method embodiment two of data center for the present invention, and shown in figure 10, this flow process comprises:
Step 1001: when server was not also moved to site-local by remote station, the ED in the remote station learnt ARP Snooping list item according to the gratuitous ARP packet by the server transmission that in VLAN, listens to, and broadcasts said gratuitous ARP packet.
The concrete operations of this step can be referring to Figure 11; Shown in figure 11; When startup of server and when also not moving to website C by website A; Can be in VLAN broadcasting send gratuitous ARP packet, after the ED among the website A listened to the gratuitous ARP packet of broadcasting, the IP in the ARP Snooping list item of learning was that A, VLAN are 100, MAC is that A, port are port1; Simultaneously, also this gratuitous ARP packet is broadcast to public network in VLAN.
Step 1002: after the ED in each website received the gratuitous ARP packet of public network side broadcasting, study ARP suppressed list item.
The concrete operations of this step also can be referring to Figure 11, and are shown in figure 11, and when website B and website C listened to gratuitous ARP packet in VLAN after, it was that A, VLAN are 100, MAC is that A, port are evilink1 that the ARP that learns suppresses IP in the list item.
Step 1003: after server is moved to site-local by remote station; When the ED in the site-local does not also pass through IGP protocol issuance local mac; According to the gratuitous ARP packet study ARP Snooping list item by the server transmission that in VLAN, listens to, and the broadcasting gratuitous ARP packet is to public network.
Need to prove that in this step, after server was moved to site-local by remote station, the ED in the site-local can broadcast the gratuitous ARP packet of the MAC Address that carries migration server and set up local common MAC address entries to public network.
The concrete operations of this step can be referring to Figure 12; Shown in figure 12; After server is moved to website C by website A, can in VLAN, broadcasting send gratuitous ARP packet, when the ED among the website C does not also pass through IGP protocol issuance local mac; After listening to the gratuitous ARP packet of broadcasting, the IP in the ARP Snooping list item of learning is that A, VLAN are 100, MAC is that A, port are port1; Simultaneously, also this gratuitous ARP packet is broadcast to public network in VLAN.
Step 1004: after the ED in each remote station listened to the gratuitous ARP packet of public network side, study ARP suppressed list item, find with the ARP Snooping list item of learning before in when identical IP and MAC are arranged, issue the MAC address entries that floods.
The concrete operations of this step are also referring to Figure 12, and are shown in figure 12, and when the ED among the website A listened to the gratuitous ARP packet of public network side in VLAN after, it was that A, VLAN are 100, MAC is that A, port are evilink1 that the ARP that learns suppresses IP in the list item.This ARP is suppressed list item compare, when in two list items identical IP and MAC being arranged, explain that then server has migration with the ARP Snooping list item of learning before.At this moment; ED among the website A issues the MAC address entries that floods according to the MAC Address of the migration server in the said gratuitous ARP packet, and is thus, follow-up when among the website A flow of access server being arranged; Can mate this MAC address entries that floods; And broadcast this flow in public network, thus, forward the traffic to corresponding server.
Step 1005: when the flow of access server is arranged on the remote station, mate the MAC address entries that floods among this remote station ED after, flow is broadcast to public network.
The same with step 503, the concrete processing procedure of this step also can be referring to Fig. 7, promptly when on the website A flow of access server being arranged, match the MAC address entries that floods after, this flow is flooded.
Step 1006: the ED in the site-local receives the flow of public network side, mate local common MAC address entries after, flow is forwarded to migration server from the port of the common MAC address entries that matches, finish whole workflow.
With step 504, the concrete processing procedure of this step also can be referring to Fig. 7, after the ED in the site-local receives the flow of public network side, matees local common MAC address entries, and outbound port is port1, promptly through this port flow is transmitted to said migration server.
Step 1007: the ED in other remote station receives the flow of public network side, the coupling less than common MAC address entries, abandon this flow after, finish whole workflow.
The concrete operations of this step are with step 505, and promptly the ED among the website B receives the flow of public network side, matches the MAC address entries that floods, owing to be the flow that receives from public network, so this flow can not be flooded again, abandons this flow.
After the ED in the site-local releases local mac through the IGP agreement; Set up the far-end MAC address entries that covers the MAC address entries that floods among each remote station ED; Its concrete processing procedure equally also can be referring to Fig. 8; After the ED in the site-local releases local mac through the IGP agreement; The MAC address entries that floods among website A and the website B is covered (be that VLAN in the MAC address entries among the website A is 100, MAC is that A, state are that far-end, port are evilink1, the VLAN in the MAC address entries among the website B is 100, MAC is that A, state are that far-end, port are evilink2) respectively by the far-end MAC address entries.Thus, remote station is gone to the flow of the server after the migration and can successfully be transmitted according to step of the prior art, that is: behind the far-end MAC address entries of flow matches in the remote station; Be sent on this far-end MAC address entries corresponding port (being the ED in the site-local); And then after mating local common MAC address entries by the ED in the site-local, forward the traffic on the server, its concrete processing equally also can be referring to Fig. 9; As shown in Figure 9; When on website A or the website B data flow of access server being arranged, match the far-end MAC address entries after, flow is forwarded in the site-local through the port in this far-end MAC address entries; After mating local common MAC address entries by the ED in the site-local, forward the traffic to server through the outbound port in the common MAC address entries in this locality.
So far, promptly accomplished the whole workflow that the present invention strides the MAC emigration processing method embodiment two of data center.
In a word; The MAC emigration processing method of striding data center that the present invention adopted, after server is moved to site-local by remote station, and site-local is also when the IGP protocol issuance local mac; The broadcasting packet of the MAC Address that carries migration server is broadcast to public network; And set up local common MAC address entries according to the MAC in the broadcasting packet, after the ED in the remote station listens to the broadcasting packet of public network side, issue the MAC address entries that floods according to the MAC in the broadcasting packet.Thus; When the flow of visit migration server is arranged on the remote station; After can mating the MAC address entries that floods among this remote station ED; Flow is broadcast to public network, so by the ED in the site-local with the local common MAC address entries of the flow matches that receives after, flow is forwarded to migration server from the port of the common MAC address entries that matches.For the flow of visit migration server on the remote station, the inventive method is to flood through coupling to be flooded in the public network behind the MAC address entries, and then by site-local the flow that receives is transmitted to migration server, and does not rely on the efficiency for issuing of IGP agreement.Therefore, the inventive method can successfully be forwarded to the flow of remote station by in the migration server of migration website, and does not rely on the efficiency for issuing of IGP agreement.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (11)

1. the MAC emigration processing method is controlled in media interviews of striding data center, it is characterized in that this method comprises:
The edge device ED of site-local carries the broadcasting packet of the MAC Address of migration server to public network broadcasting also when the Interior Gateway Protocol IGP protocol issuance local mac, and sets up local common MAC address entries according to the MAC Address of said migration server;
The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet;
The ED of said site-local receives after said remote station sends to the flow of public network according to the said MAC address entries that floods, and matees local common MAC address entries, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
2. method according to claim 1 is characterized in that, said broadcasting packet is free ARP message;
The ED of said site-local is through detecting next initiatively the triggering to public network transmission gratuitous ARP packet of operation that the local common MAC address entries that is directed against migration server covers the far-end MAC address entries; Or
After migration server is moved to site-local, send gratuitous ARP packet by migration server to the ED of site-local, after the ED of said site-local receives the gratuitous ARP packet of migration server transmission, trigger to public network and send gratuitous ARP packet.
3. method according to claim 1 is characterized in that,
After migration server was moved to site-local, the ED of site-local was distributed to remote station through the IGP agreement with local mac, set up the far-end MAC address entries that covers the said MAC address entries that floods with the ED that triggers remote station;
When the ED of site-local receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, forward the traffic to migration server through the outbound port in the local common MAC address entries that matches.
4. method according to claim 1 is characterized in that, said broadcasting packet is free ARP message;
The ED of said site-local broadcasts before the gratuitous ARP packet of the MAC Address that carries migration server to public network, and this method also comprises:
The ED of said site-local receives the gratuitous ARP packet that carries the migration server MAC Address to public network broadcasting by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP that carries in the gratuitous ARP packet; After said migration server is moved to site-local by remote station; When the ED in the site-local also passed through IGP protocol issuance local mac, the ED in the site-local was according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
The ED of said site-local issues the MAC address entries that floods through the ED that sends said broadcasting packet and trigger remote station according to the MAC Address of the migration server in the said broadcasting packet and is specially: the ED of said site-local carries the gratuitous ARP packet of MAC Address of migration server to public network broadcasting after; The ED study ARP of remote station suppresses list item; When the ARPSnooping list item of study had identical Internet Protocol IP and MAC before before the ED of remote station judges the ARP inhibition list item of being learnt and moves, the ED of this remote station issued the said MAC address entries that floods according to the MAC Address of the migration server in the said broadcasting packet.
5. a media interviews control MAC migration process device of striding data center is characterized in that this device is applied among the edge device ED in the site-local, and this device comprises: the spot broadcasting unit and the second flow retransmission unit, wherein,
Said spot broadcasting unit; Be used for when the time also not through Interior Gateway Protocol IGP protocol issuance local mac; The broadcasting packet that carries the MAC Address of migration server to public network broadcasting issues the MAC address entries that floods with the ED that triggers remote station according to the MAC Address of the migration server in the said broadcasting packet, and sets up local common MAC address entries according to the MAC Address of said migration server;
The said second flow retransmission unit is used for mating local common MAC address entries when receiving after said remote station sends to the flow of public network according to the said MAC address entries that floods, and flow is forwarded to migration server from the port of the common MAC address entries that matches.
6. device according to claim 5 is characterized in that, said broadcasting packet is free ARP message;
Said spot broadcasting unit is through detecting next initiatively the triggering to public network transmission gratuitous ARP packet of operation that the local common MAC address entries that is directed against migration server covers the far-end MAC address entries; Or
Said device also comprises receiving element, is used to receive the gratuitous ARP packet that is sent by migration server; Said spot broadcasting unit triggers and sends said gratuitous ARP packet to public network after receiving the gratuitous ARP packet of migration server transmission at said receiving element.
7. device according to claim 5; It is characterized in that; This device also comprises the IGP protocol issuance unit, is used for through the IGP agreement local mac being released, and makes remote station set up the far-end MAC address entries of the MAC address entries that floods that covers remote station foundation according to the local mac of issue;
The said second flow retransmission unit receive remote station according to said far-end MAC address entries transmit behind the flow of said migration server, the outbound port in the local common MAC address entries of setting up through the spot broadcasting unit that matches forwards the traffic to migration server.
8. device according to claim 5 is characterized in that, said broadcasting packet is free ARP message; This device comprises that also local ARP suppresses list item unit and the local address analysis protocol is spied upon ARPSnooping list item unit, wherein,
Said local ARP suppresses list item unit, is used for before migration server is moved to site-local, and the migration server MAC address learning ARP that carries in the gratuitous ARP packet according to the remote station broadcasting that receives suppresses list item;
Said local ARP Snooping list item unit; Be used for after migration server is moved to site-local; During also not through IGP protocol issuance local mac, according to the gratuitous ARP packet study ARP Snooping list item that in virtual LAN VLAN, listens to by this migration server transmission;
Behind said local ARP Snooping list item unit study ARP Snooping list item; Said spot broadcasting unit carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcasting, and sets up local common MAC address entries according to the MAC Address of said migration server.
9. a media interviews control MAC migration process device of striding data center is characterized in that this device is applied to the edge device ED in the remote station, and this device comprises: the list item that floods is set up unit and first flow retransmission unit, wherein,
The said list item that floods is set up the unit, is used for after migration server is moved to site-local, issues the MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet of public network broadcasting;
Said first flow retransmission unit; Be used for when visiting the flow of migration server; After mating the said list item that floods and setting up the MAC address entries that floods that the unit issues; Flow is broadcast to public network, makes site-local that flow is forwarded to said migration server from the port of the local common MAC address entries that matches.
10. device according to claim 9; It is characterized in that; This device comprises that also the far-end list item sets up the unit, is used for behind the local mac that receives the site-local issue, sets up and covers the far-end MAC address entries that the said list item that floods is set up the MAC address entries of setting up the unit that floods;
Said first flow retransmission unit also is used for when the flow of visit migration server is arranged on the remote station; After mating said far-end list item and setting up the far-end MAC address entries of setting up the unit; Flow is forwarded to site-local from the port of the far-end MAC that matches, makes site-local forward the traffic to said migration server through the outbound port in the local common MAC address entries that matches.
11. device according to claim 9 is characterized in that, said broadcasting packet is free ARP message, and this device also comprises:
Far-end ARP Snooping list item unit was used for before migration server is moved to site-local, according to the gratuitous ARP packet study ARP Snooping list item by this migration server transmission that in VLAN, listens to;
Far-end ARP suppresses list item unit, is used for after migration server is moved to site-local, suppresses list item according to the gratuitous ARP packet study ARP that carries the migration server MAC Address that receives from public network;
Judging unit is used to judge that the ARP that is learnt suppresses list item and whether the preceding ARP Snooping list item of study before of migration has identical Internet Protocol IP and MAC;
When the said list item that floods is set up the ARP Snooping list item of before the ARP that said judgment unit judges goes out study suppresses before list item and the migration, learning the unit and had identical Internet Protocol IP and MAC, issue the said MAC address entries that floods according to the MAC Address of the migration server of site-local in the broadcasting packet that public network is broadcasted.
CN201210332124.0A 2012-09-10 2012-09-10 Data center-cross MAC (Media Access Control) migration processing method and device Active CN102833171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210332124.0A CN102833171B (en) 2012-09-10 2012-09-10 Data center-cross MAC (Media Access Control) migration processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210332124.0A CN102833171B (en) 2012-09-10 2012-09-10 Data center-cross MAC (Media Access Control) migration processing method and device

Publications (2)

Publication Number Publication Date
CN102833171A true CN102833171A (en) 2012-12-19
CN102833171B CN102833171B (en) 2015-05-13

Family

ID=47336144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210332124.0A Active CN102833171B (en) 2012-09-10 2012-09-10 Data center-cross MAC (Media Access Control) migration processing method and device

Country Status (1)

Country Link
CN (1) CN102833171B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836849A (en) * 2015-04-16 2015-08-12 杭州华三通信技术有限公司 Virtual machine registering method and device
CN105453523A (en) * 2013-08-06 2016-03-30 思科技术公司 Handling of virtual machine mobility in large data center
CN110703899A (en) * 2019-09-09 2020-01-17 创新奇智(南京)科技有限公司 Data center energy efficiency optimization method based on transfer learning

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127681A (en) * 2007-09-05 2008-02-20 杭州华三通信技术有限公司 Method and device for binding server MAC address with uplink port
US20090037607A1 (en) * 2007-07-31 2009-02-05 Cisco Technology, Inc. Overlay transport virtualization
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037607A1 (en) * 2007-07-31 2009-02-05 Cisco Technology, Inc. Overlay transport virtualization
CN101127681A (en) * 2007-09-05 2008-02-20 杭州华三通信技术有限公司 Method and device for binding server MAC address with uplink port
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453523A (en) * 2013-08-06 2016-03-30 思科技术公司 Handling of virtual machine mobility in large data center
CN105453523B (en) * 2013-08-06 2019-03-15 思科技术公司 Method and apparatus for ensuring the seamless flowing of flow
CN104836849A (en) * 2015-04-16 2015-08-12 杭州华三通信技术有限公司 Virtual machine registering method and device
CN104836849B (en) * 2015-04-16 2018-02-09 新华三技术有限公司 One kind registration virtual machine method and apparatus
CN110703899A (en) * 2019-09-09 2020-01-17 创新奇智(南京)科技有限公司 Data center energy efficiency optimization method based on transfer learning
CN110703899B (en) * 2019-09-09 2020-09-25 创新奇智(南京)科技有限公司 Data center energy efficiency optimization method based on transfer learning

Also Published As

Publication number Publication date
CN102833171B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN102316028B (en) Method and apparatus for sending internet protocol packet
CN102413061A (en) Message transmission method and equipment
CN102932254B (en) Message forwarding method and device
CN101616014B (en) Method for realizing cross-virtual private local area network multicast
CN106559292A (en) A kind of broad band access method and device
CN102035729A (en) Multicast data forwarding method and device thereof
CN101534209B (en) A method and device for sending multicast messages
CN101808004B (en) Method and system for realizing Anycast-RP mechanism
CN102291320A (en) MAC (media access control) address learning method and edge device
CN104009926A (en) Multicast method in EVI network and edge device ED
CN103841023A (en) Data forwarding method and device
CN102859973A (en) Method, apparatus and system for address resolution
CN102355417A (en) Data center two-layer interconnection method and device
CN102263704A (en) Topology construction method and device supporting layer 2 interconnection of data centers
CN103248720A (en) Method and device for inquiring physical address
CN101383772B (en) Method and device for automatically discovering and establishing MAC route information table
CN102420762B (en) Message forwarding method, message forwarding system, network equipment and firewall wire card
CN110445702A (en) A kind of message forwarding method and equipment
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN109274588A (en) The processing method and processing device of IP packet
CN102970386A (en) Method and device for realizing traverse of IPv6 message to IPv4 network
CN102394825B (en) Method and device for processing message
CN101304387B (en) Method for implementing tunnel conversion of bi-layer tunnel protocol
CN104539545A (en) Multicast message forwarding method and device of TRILL network
CN103685007A (en) Method for MAC address learning during packet forwarding of edge devices and edge 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

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

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230620

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

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

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

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right