CN102833171B - 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
CN102833171B
CN102833171B CN201210332124.0A CN201210332124A CN102833171B CN 102833171 B CN102833171 B CN 102833171B CN 201210332124 A CN201210332124 A CN 201210332124A CN 102833171 B CN102833171 B CN 102833171B
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.)
Active
Application number
CN201210332124.0A
Other languages
Chinese (zh)
Other versions
CN102833171A (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

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 across data center and device
Technical field
The application relates to network communication technology field, and particularly a kind of media interviews across data center control (MAC) emigration processing method and device.
Background technology
Data center, be miscellaneous service center is provided, be the center of data processing, data storage and exchange.In order to provide better service, provider disposes multiple data center in strange land usually, realizes load balancing and high reliability, and realizes the free migration of virtual machine in the data between the heart.Because virtual machine (vm) migration process is to user transparent, IP address can not be changed, so it is interconnected to realize double layer network between the data center being distributed in strange land.
Fig. 1 is the scene schematic diagram that in the data center's two layers of interconnected networking based on EVI technology, migration occurs server, 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 (ED) in website A learns is 100, MAC is A, port is port1, and the VLAN in the far-end MAC address entries that the ED in website C learns is 100, MAC is A, port is evilink1.
After the server slave site A in website A moves to website C, existingly mainly to process by the following method: first, ED learning dynamics MAC in website C, VLAN in the MAC address entries learnt is 100, MAC is A, port is port1, and the far-end MAC address entries learnt before covering with it; Secondly, the MAC that migration comes to be published to other websites (namely website A) here by IGP agreement by the ED in website C; Finally, after other each websites receive the MAC of website C issue, cover local mac list item in this website original (for website A, the local mac list item that namely original VLAN is 100, MAC is A, port is port1 is covered by the far-end MAC address entries that VLAN is 100, MAC is A, port is evilink1).
After executing aforesaid operations, the data flow of the server after other remote stations go to migration could successfully be forwarded.Visible by above-mentioned analysis, processing procedure after existing server migration depends on the issue rate of IGP agreement, namely need by the traffic forwarding of other remote stations to by migration website, the successful forwarding of data flow to be realized by IGP agreement by moving after the MAC come releases.But the issuing time of IGP agreement may be long, thus 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 across data center, the flow of remote station successfully can be forwarded to by the migration server of migration website, and not rely on the efficiency for issuing of IGP agreement.
Present invention also offers a kind of MAC migration process device across data center, the flow of remote station successfully can be forwarded to by 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 that the present invention proposes is:
Across a media interviews control MAC emigration processing method for data center, the method comprises:
When the edge device ED of site-local is not also by Interior Gateway Protocol IGP protocol issuance local mac, carries the broadcasting packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server;
The ED of described site-local issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods by the ED sending described broadcasting packet triggering remote station;
The ED of described site-local receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
Described broadcasting packet is free ARP message;
The ED of described site-local comes initiatively to trigger to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server; Or
After migration server moves to site-local, send gratuitous ARP packet by migration server to the ED of site-local, the ED of described site-local triggers and sends gratuitous ARP packet to public network after receiving the gratuitous ARP packet that migration server sends.
After migration server moves to site-local, local mac is distributed to remote station by IGP agreement by the ED of site-local, the far-end MAC address entries of the MAC address entries that floods described in covering with the ED foundation triggering remote station;
When the ED of site-local receive that remote station forwards according to described far-end MAC address entries after the flow of described migration server, forward the traffic to migration server by the outbound port in the common MAC address entries in this locality that matches.
Described broadcasting packet is free ARP message;
Before the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the method also comprises:
The ED of described site-local receives the gratuitous ARP packet carrying migration server MAC Address of being broadcasted to public network by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP carried in gratuitous ARP packet; After described migration server moves to site-local by remote station, when ED in site-local is not also by IGP protocol issuance local mac, the ED in site-local is according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
The ED of described site-local triggers remote station ED by sending described broadcasting packet issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods and is specially: after the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the ED of remote station learns ARP and suppresses list item, when the ED of remote station judges that the ARP that learns suppresses list item and the ARPSnooping list item learnt before before migration to have an identical Internet Protocol IP and MAC, flood described in the ED of this remote station issues according to the MAC Address of the migration server in described broadcasting packet MAC address entries.
Across a media interviews control MAC migration process device for data center, in the edge device ED of this application of installation in site-local, this device comprises: spot broadcasting unit and the second flow retransmission unit, wherein,
Described spot broadcasting unit, for when also not by Interior Gateway Protocol IGP protocol issuance local mac, the broadcasting packet carrying the MAC Address of migration server to public network broadcast issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods with the ED triggering remote station, and sets up local common MAC address entries according to the MAC Address of described migration server;
Described second flow retransmission unit, for when receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
Described broadcasting packet is free ARP message;
Described spot broadcasting unit initiatively triggers to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server; Or
Described device also comprises receiving element, for receiving the gratuitous ARP packet sent by migration server; Described spot broadcasting unit, after described receiving element receives the gratuitous ARP packet of migration server transmission, triggers and sends described gratuitous ARP packet to public network.
This device also comprises IGP protocol issuance unit, for being released by local mac by IGP agreement, makes remote station set up the far-end MAC address entries covering the MAC address entries that floods that remote station is set up according to the local mac issued;
Described second flow retransmission unit receive remote station according to described far-end MAC address entries forward after the flow of described migration server, the outbound port in the common MAC address entries in this locality set up by the spot broadcasting unit that matches forwards the traffic to migration server.
Described broadcasting packet is free ARP message; This device also comprises local ARP and suppresses list item unit and local address analysis protocol pry ARP Snooping list item unit, wherein,
Described local ARP suppresses list item unit, and before moving to site-local in migration server, the migration server MAC address learning ARP carried in the gratuitous ARP packet according to the remote station broadcast received suppresses list item;
Described local ARP Snooping list item unit, after moving to site-local in migration server, time also not by IGP protocol issuance local mac, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in virtual LAN VLAN;
When after described local ARP Snooping list item unit study ARP Snooping list item, described spot broadcasting unit carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, and sets up local common MAC address entries according to the MAC Address of described migration server.
Across a media interviews control MAC migration process device for data center, the edge device ED of this application of installation in remote station, this device comprises: the list item that floods sets up unit and first flow retransmission unit, wherein,
The described list item that floods sets up unit, and for after migration server moves to site-local, the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues the MAC address entries that floods;
Described first flow retransmission unit, for when there being the flow of access migration server, after the list item that floods described in coupling sets up the MAC address entries that floods that unit issues, flow is broadcast to public network, makes site-local by flow from the port repeat of the common MAC address entries in this locality matched to described migration server.
This device also comprises far-end list item and sets up unit, for after receiving the local mac that site-local issues, sets up the list item that to flood described in covering and sets up the far-end MAC address entries of the MAC address entries that floods that unit sets up;
Described first flow retransmission unit is also for when remote station there being the flow of access migration server, mate described far-end list item set up unit set up far-end MAC address entries after, by flow from the port repeat of the far-end MAC matched to site-local, the outbound port in the common MAC address entries in this locality making site-local pass through to match forwards the traffic to described migration server.
Described broadcasting packet is free ARP message, and this device also comprises:
Far-end ARP Snooping list item unit, before moving to site-local in migration server, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
Far-end ARP suppresses list item unit, and after moving to site-local in migration server, the gratuitous ARP packet study ARP carrying migration server MAC Address according to receiving from public network suppresses list item;
Judging unit, for judging that learnt ARP suppresses list item whether to have identical Internet Protocol IP and MAC with the ARP Snooping list item learnt before before migration;
When the described list item that floods is set up unit the ARP Snooping list item that learns is had identical Internet Protocol IP and MAC before described judging unit is judged before the ARP learnt suppresses list item and moves, flood described in the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues MAC address entries.
In sum, MAC emigration processing method across data center of the present invention, after server moves to site-local by remote station, and site-local also by IGP protocol issuance local mac time, the broadcasting packet of the MAC Address of carrying migration server is broadcast to public network, and set up local common MAC address entries according to the MAC in broadcasting packet, after the ED in remote station listens to the broadcasting packet of public network side, issue according to the MAC in broadcasting packet the MAC address entries that floods.Thus, when remote station there being the flow of access migration server, after the MAC address entries that floods in this remote station ED can be mated, flow is broadcast to public network, and then by the ED in site-local by after local for the flow matches that receives common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.For the flow of remote station being accessed migration server, the inventive method is flooded after MAC address entries by coupling to be flooded in public network, so by site-local by the traffic forwarding that receives to migration server, and do not rely on the efficiency for issuing of IGP agreement.Therefore, the flow of remote station can successfully be forwarded to by the migration server of migration website by the inventive method, and does not rely on the efficiency for issuing of IGP agreement.
Accompanying drawing explanation
Fig. 1 is the scene schematic diagram that in the data center's two layers of interconnected networking based on EVI technology, migration occurs server;
Fig. 2 is the workflow diagram of the present invention across the MAC emigration processing method of data center;
Fig. 3 is the structural representation of the present invention across the MAC migration process device embodiment one of data center;
Fig. 4 is the structural representation of the present invention across the MAC migration process device embodiment two of data center;
Fig. 5 is the workflow diagram of the present invention across the MAC emigration processing method embodiment one of data center;
Fig. 6 is the processing procedure schematic diagram of the present invention's control plane when not issuing local mac;
Fig. 7 is the present invention's processing procedure schematic diagram that data plane traffic forwards when not issuing local mac;
Fig. 8 is the processing procedure schematic diagram of the present invention's control plane when having issued local mac;
Fig. 9 is the present invention's processing procedure schematic diagram that data plane traffic forwards when having issued local mac;
Figure 10 is the workflow diagram of the present invention across the MAC emigration processing method embodiment two of data center;
Figure 11 is the learning process schematic diagram of ARP before server migration of the present invention;
Figure 12 is the processing procedure schematic diagram of the present invention's control plane when not issuing local mac.
Embodiment
In order to solve the technical problem that the present invention proposes, described in the embodiment of the present invention, the specific implementation of scheme comprises:
When the ED of site-local is not also by IGP protocol issuance local mac, carries the broadcasting packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server; The ED of described site-local issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods by the ED sending described broadcasting packet triggering remote station; The ED of described site-local receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
Fig. 2 is the workflow diagram of the present invention across the MAC emigration processing method of data center, and as shown in Figure 2, this flow process comprises:
Step 201: when the ED of site-local is not also by IGP protocol issuance local mac, carries the broadcasting packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server.
Wherein, described broadcasting packet is gratuitous ARP packet, and other self-defining protocol massages also can be adopted in the present invention to be used as broadcasting packet.
Step 202: the ED of site-local issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods by the ED sending described broadcasting packet triggering remote station.
Needs illustrate, the outbound port of the MAC address entries that floods issued 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 receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
So far, the whole workflow of the present invention across the MAC emigration processing method of data center is namely completed.
It should be noted that, in the present invention, after migration server moves to site-local, local mac is distributed to remote station by IGP agreement by the ED of site-local, the far-end MAC address entries of the MAC address entries that floods described in covering with the ED foundation triggering remote station;
When the ED of site-local receive that remote station forwards according to described far-end MAC address entries after the flow of described migration server, forward the traffic to migration server by the outbound port in the common MAC address entries in this locality that matches.
Further, in the present invention, before the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the method also comprises:
The ED of described site-local receives the gratuitous ARP packet carrying migration server MAC Address of being broadcasted to public network by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP carried in gratuitous ARP packet; After described migration server moves to site-local by remote station, when ED in site-local is not also by IGP protocol issuance local mac, the ED in site-local is according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
The ED of described site-local triggers remote station ED by sending described broadcasting packet issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods and is specially: after the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the ED of remote station learns ARP and suppresses list item, when the ED of remote station judges that the ARP Snooping list item learnt before the ARP that learns suppresses list item and moves has an identical Internet Protocol IP and MAC, flood described in the ED of this remote station issues according to the MAC Address of the migration server in described broadcasting packet MAC address entries.
Based on said method, Fig. 3 is the structural representation of the present invention across the MAC migration process device embodiment one of data center, in the ED of this application of installation in site-local, as shown in Figure 3, this device comprises: spot broadcasting unit 301 and the second flow retransmission unit 302, wherein
Described spot broadcasting unit 301, for when also not by Interior Gateway Protocol IGP protocol issuance local mac, the broadcasting packet carrying the MAC Address of migration server to public network broadcast issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods with the ED triggering remote station, and sets up local common MAC address entries according to the MAC Address of described migration server;
Particularly, the outbound port of the MAC address entries that floods that described spot broadcasting unit issues is the outbound port of all public networks of site-local.
Described second flow retransmission unit 302, for working as the flow going to migration server receiving the broadcast of described remote station, after mating the common MAC address entries in this locality that described spot broadcasting unit 301 sets up, by flow from the port repeat of the common MAC address entries matched to migration server.
Wherein, the broadcasting packet that described spot broadcasting unit 301 is broadcasted is gratuitous ARP packet.
Further, described spot broadcasting unit 301 initiatively triggers to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server.
Further, this device also comprises receiving element 303, for receiving the gratuitous ARP packet sent by migration server;
Then, described spot broadcasting unit 301, for receive when described receiving element 303 migration server send gratuitous ARP packet after, trigger to public network send gratuitous ARP packet.
Particularly, this device also comprises IGP protocol issuance unit 304, for being released by local mac by IGP agreement, makes remote station set up the far-end MAC address entries covering the MAC address entries that floods that remote station is set up according to the local mac issued;
Then, described second flow retransmission unit 302, also for receive remote station according to described far-end MAC address entries forward after the flow of described migration server, the outbound port in the common MAC address entries in this locality set up by the spot broadcasting unit 301 that matches forwards the traffic to migration server.
More specifically, this device also comprises local ARP and suppresses list item unit 305 and local ARP Snooping list item unit 306, wherein,
Described local ARP suppresses list item unit 305, and before moving to site-local in migration server, the migration server MAC address learning ARP carried in the gratuitous ARP packet according to the remote station broadcast received suppresses list item;
Described local ARP Snooping list item unit 306, after moving to site-local in migration server, time also not by IGP protocol issuance local mac, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in virtual LAN VLAN;
After described local ARP Snooping list item unit 306 learns ARP Snooping list item, described spot broadcasting unit 301, for carrying the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server.
So far, the MAC migration process device of the embodiment of the present invention one across data center is namely obtained.
Similarly, based on said method, Fig. 4 is the structural representation of the present invention across the MAC migration process device embodiment two of data center, this device is the ED in remote station, and as shown in Figure 4, this device comprises: the list item that floods sets up unit 401 and first flow retransmission unit 402, wherein
The described list item that floods sets up unit 401, and for after migration server moves to site-local, the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues the MAC address entries that floods;
Described first flow retransmission unit 402, for when there being the flow of access migration server, after the list item that floods described in coupling sets up the MAC address entries that floods that unit 401 issues, flow is broadcast to public network, makes site-local by flow from the port repeat of the common MAC address entries in this locality matched to described migration server.
Particularly, this device also comprises far-end list item and sets up unit 403, for after receiving the local mac that site-local issues, sets up the list item that to flood described in covering and sets up the far-end MAC address entries of the MAC address entries that floods that unit 401 sets up;
Then, described first flow retransmission unit 402, also for when remote station there being the flow of access migration server, mate described far-end list item set up unit 403 set up far-end MAC address entries after, by flow from the port repeat of the far-end MAC matched to site-local, the outbound port in the common MAC address entries in this locality making site-local pass through to match forwards the traffic to described migration server.
More specifically, described broadcasting packet is gratuitous ARP packet, and this device also comprises far-end ARP Snooping list item unit 404, far-end ARP suppresses list item unit 405 and judging unit 406, wherein,
Described far-end ARP Snooping list item unit 404, before moving to site-local in migration server, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
Far-end ARP suppresses list item unit 405, and after moving to site-local in migration server, the gratuitous ARP packet study ARP carrying migration server MAC Address according to receiving from public network suppresses list item;
Judging unit 406, for judging that learnt ARP suppresses list item whether to have identical Internet Protocol IP and MAC with the ARPSnooping list item learnt before before migration;
Then, the described list item that floods sets up unit 401, also for judge at described judging unit 406 ARP learnt suppress list item and move before before the ARP Snooping list item that learns there is identical Internet Protocol IP and MAC time, flood described in the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues MAC address entries.
So far, the MAC migration process device of the embodiment of the present invention two across data center is namely obtained.
Fig. 5 is the workflow diagram of the present invention across the MAC emigration processing method embodiment one of data center, and as shown in Figure 5, this flow process comprises:
Step 501: after server (i.e. migration server) moves to site-local by remote station, when ED in site-local is not also by IGP protocol issuance local mac, carry the broadcasting packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server.
In this step, after server moves to site-local by remote station, site-local can search the MAC address entries that whether there is this server in local mac table, if do not exist, then can set up local common MAC address entries for this server, if exist, then can with newly-built this locality common MAC address entries cover before for this server foundation far-end MAC address entries.
The ED of site-local can come initiatively to trigger to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server; Or, after migration server moves to site-local, first send gratuitous ARP packet by migration server to the ED of site-local, the ED of site-local directly triggers the operation to public network transmission gratuitous ARP packet after receiving the gratuitous ARP packet that migration server sends.
In the present invention, described gratuitous ARP packet comprises MAC and IP of VLAN, server.
The concrete process of this step can see Fig. 6, as shown in Figure 6, after server moves to website C by website A, the common MAC address entries in this locality that VLAN is 100, MAC is A, state is this locality, port is port1 is set up in website C, to cover far-end MAC address entries, meanwhile, gratuitous ARP packet (server triggers or ED initiatively trigger) is broadcast to public network by the ED in website C.
Step 502: after the ED in each remote station listens to the gratuitous ARP packet of public network side, the MAC Address according to the migration server in described broadcasting packet issues the MAC address entries that floods.
In this step, the state of the MAC address entries that floods is broadcast state, and the flow namely matching this MAC address entries that floods can be flooded to public network.
The concrete processing procedure of this step is see also Fig. 6, as shown in Figure 6, after remote station A and remote station B listens to the gratuitous ARP packet of public network side, the MAC be respectively in gratuitous ARP packet issues and comprises the MAC address entries that floods that VLAN is 100, MAC is A, state is broadcast, port is sky.
Step 503: when remote station there being the flow of access services device, after mating the MAC address entries that floods in this remote station ED, is broadcast to public network by flow.
This flow see Fig. 7, as shown in Figure 7, when website A there being the flow of access services device, after matching the MAC address entries that floods, can flood by the concrete processing procedure of this step.
Step 504: the ED in site-local receives the flow of public network side, after mating local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server, terminates whole workflow.
The concrete processing procedure of this step also can see Fig. 7, and after the ED in site-local receives the flow of public network side, mate local common MAC address entries, outbound port is port1, namely gives described migration server by this port by traffic forwarding.
Step 505: the ED in other remote station receives the flow of public network side, mates less than common MAC address entries, after abandoning this flow, terminates whole workflow.
With step 503 and step 504, the concrete processing procedure of this step also can see Fig. 7, and the ED in website B receives the flow of public network side, matches the MAC address entries that floods, and owing to being the flow received from public network, therefore this flow can not be flooded again, abandons this flow.
It should be noted that, step 504 and step 505 are two processes arranged side by side, do not have dividing of sequencing.
Also it should be noted that, after local mac is released by IGP agreement by the ED in site-local, each remote station ED sets up the far-end MAC address entries covering the MAC address entries that floods, specifically can see Fig. 8, after local mac is released by IGP agreement by the ED in site-local, by the covering of far-end MAC address entries, (VLAN in the MAC address entries namely in website A is 100 to the MAC address entries that floods in website A and website B respectively, MAC is A, state is far-end, port is evilink1, VLAN in MAC address entries in website B is 100, MAC is A, state is far-end, port is evilink2).Thus, the flow of the server after remote station goes to migration can conventionally in step successfully forwarded, that is: after flow matches to the far-end MAC address entries in remote station, be sent on port corresponding to this far-end MAC address entries (ED namely in site-local), and then after mating local common MAC address entries by the ED in site-local, forward the traffic on server, specifically can see Fig. 9, as shown in Figure 9, when website A or website B there being the data flow of access services device, after matching far-end MAC address entries, by flow by the port repeat in this far-end MAC address entries in site-local, after mating local common MAC address entries by the ED in site-local, server is forwarded the traffic to by the outbound port in the common MAC address entries in this locality.
So far, the whole workflow of the present invention across the MAC emigration processing method embodiment one of data center is namely completed
Figure 10 is the workflow diagram of the present invention across the MAC emigration processing method embodiment two of data center, and as shown in Figure 10, this flow process comprises:
Step 1001: when server does not also move to site-local by remote station, the ED in remote station according to the gratuitous ARP packet sent by the server study ARP Snooping list item listened in VLAN, and broadcasts described gratuitous ARP packet.
The concrete operations of this step can see Figure 11, as shown in figure 11, when startup of server and when also not moving to website C by website A, meeting broadcast transmission gratuitous ARP packet in VLAN, after ED in website A listens to the gratuitous ARP packet of broadcast, the IP in the ARP Snooping list item learnt is A, VLAN is 100, MAC is A, port is port1; Meanwhile, also this gratuitous ARP packet is broadcast to public network in VLAN.
Step 1002: after the ED in each website receives the gratuitous ARP packet of public network side broadcast, study ARP suppresses list item.
The concrete operations of this step also can see Figure 11, and as shown in figure 11, after website B and website C listens to gratuitous ARP packet in VLAN, it is 100 that the ARP learnt suppresses the IP in list item to be A, VLAN, MAC is A, port is evilink1.
Step 1003: after server moves to site-local by remote station, when ED in site-local is not also by IGP protocol issuance local mac, according to the gratuitous ARP packet sent by the server study ARP Snooping list item listened in VLAN, and broadcast gratuitous ARP message is to public network.
It should be noted that, in this step, after server moves to site-local by remote station, the ED in site-local can carry the gratuitous ARP packet of the MAC Address of migration server to public network broadcast and set up local common MAC address entries.
The concrete operations of this step can see Figure 12, as shown in figure 12, after server moves to website C by website A, meeting broadcast transmission gratuitous ARP packet in VLAN, when the ED in website C is not also by IGP protocol issuance local mac, after listening to the gratuitous ARP packet of broadcast, the IP in the ARP Snooping list item learnt is A, VLAN is 100, MAC is A, port is port1; Meanwhile, also this gratuitous ARP packet is broadcast to public network in VLAN.
Step 1004: after the ED in each remote station listens to the gratuitous ARP packet of public network side, study ARP suppresses list item, finds with when having identical IP and MAC in the ARP Snooping list item learnt before, issues the MAC address entries that floods.
The concrete operations of this step are also see Figure 12, and as shown in figure 12, after the ED in website A listens to the gratuitous ARP packet of public network side in VLAN, it is 100 that the ARP learnt suppresses the IP in list item to be A, VLAN, MAC is A, port is evilink1.Suppressing list item to compare with the ARP Snooping list item learnt before this ARP, when there being identical IP and MAC in two list items, then illustrating that server has migration.Now, ED in website A issues according to the MAC Address of the migration server in described gratuitous ARP packet the MAC address entries that floods, thus, follow-up when there being the flow of access services device in website A, this MAC address entries that floods can be mated, and broadcast this flow in public network, thus, forward the traffic to corresponding server.
Step 1005: when remote station there being the flow of access services device, after mating the MAC address entries that floods in this remote station ED, is broadcast to public network by flow.
With step 503, this flow also see Fig. 7, namely when website A there being the flow of access services device, after matching the MAC address entries that floods, can flood by the concrete processing procedure of this step.
Step 1006: the ED in site-local receives the flow of public network side, after mating local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server, terminates whole workflow.
With step 504, the concrete processing procedure of this step also can see Fig. 7, and after the ED in site-local receives the flow of public network side, mate local common MAC address entries, outbound port is port1, namely gives described migration server by this port by traffic forwarding.
Step 1007: the ED in other remote station receives the flow of public network side, mates less than common MAC address entries, after abandoning this flow, terminates whole workflow.
The concrete operations of this step are with step 505, and the ED namely in website B receives the flow of public network side, matches the MAC address entries that floods, and owing to being the flow received from public network, therefore this flow can not be flooded again, abandons this flow.
After local mac is released by IGP agreement by the ED in site-local, the far-end MAC address entries covering the MAC address entries that floods is set up in each remote station ED, its concrete processing procedure equally also can see Fig. 8, after local mac is released by IGP agreement by the ED in site-local, by the covering of far-end MAC address entries, (VLAN in the MAC address entries namely in website A is 100 to the MAC address entries that floods in website A and website B respectively, MAC is A, state is far-end, port is evilink1, VLAN in MAC address entries in website B is 100, MAC is A, state is far-end, port is evilink2).Thus, the flow of the server after remote station goes to migration can conventionally in step successfully forwarded, that is: after flow matches to the far-end MAC address entries in remote station, be sent on port corresponding to this far-end MAC address entries (ED namely in site-local), and then after mating local common MAC address entries by the ED in site-local, forward the traffic on server, specifically process equally also can see Fig. 9 for it, as shown in Figure 9, when website A or website B there being the data flow of access services device, after matching far-end MAC address entries, by flow by the port repeat in this far-end MAC address entries in site-local, after mating local common MAC address entries by the ED in site-local, server is forwarded the traffic to by the outbound port in the common MAC address entries in this locality.
So far, the whole workflow of the present invention across the MAC emigration processing method embodiment two of data center is namely completed.
In a word, MAC emigration processing method across data center of the present invention, after server moves to site-local by remote station, and site-local also by IGP protocol issuance local mac time, the broadcasting packet of the MAC Address of carrying migration server is broadcast to public network, and set up local common MAC address entries according to the MAC in broadcasting packet, after the ED in remote station listens to the broadcasting packet of public network side, issue according to the MAC in broadcasting packet the MAC address entries that floods.Thus, when remote station there being the flow of access migration server, after the MAC address entries that floods in this remote station ED can be mated, flow is broadcast to public network, and then by the ED in site-local by after local for the flow matches that receives common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.For the flow of remote station being accessed migration server, the inventive method is flooded after MAC address entries by coupling to be flooded in public network, so by site-local by the traffic forwarding that receives to migration server, and do not rely on the efficiency for issuing of IGP agreement.Therefore, the flow of remote station can successfully be forwarded to by the migration server of migration website by the inventive method, and does not rely on the efficiency for issuing of IGP agreement.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (11)

1., across a media interviews control MAC emigration processing method for data center, it is characterized in that, the method comprises:
After migration server moves to site-local, when the edge device ED of site-local is not also by Interior Gateway Protocol IGP protocol issuance local mac, carry the broadcasting packet of the MAC Address of migration server to public network broadcast, and set up local common MAC address entries according to the MAC Address of described migration server;
The ED of described site-local issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods by the ED sending described broadcasting packet triggering remote station;
The ED of described site-local receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
2. method according to claim 1, is characterized in that, described broadcasting packet is free ARP message;
The ED of described site-local comes initiatively to trigger to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server; Or
After migration server moves to site-local, send gratuitous ARP packet by migration server to the ED of site-local, the ED of described site-local triggers and sends gratuitous ARP packet to public network after receiving the gratuitous ARP packet that migration server sends.
3. method according to claim 1, is characterized in that,
After migration server moves to site-local, local mac is distributed to remote station by IGP agreement by the ED of site-local, the far-end MAC address entries of the MAC address entries that floods described in covering with the ED foundation triggering remote station;
When the ED of site-local receive that remote station forwards according to described far-end MAC address entries after the flow of described migration server, forward the traffic to migration server by the outbound port in the common MAC address entries in this locality that matches.
4. method according to claim 1, is characterized in that, described broadcasting packet is free ARP message;
Before the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the method also comprises:
The ED of described site-local receives the gratuitous ARP packet carrying migration server MAC Address of being broadcasted to public network by the ED of remote station, suppresses list item according to this migration server MAC address learning ARP carried in gratuitous ARP packet; After described migration server moves to site-local by remote station, when ED in site-local is not also by IGP protocol issuance local mac, the ED in site-local is according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
The ED of described site-local triggers remote station ED by sending described broadcasting packet issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods and is specially: after the ED of described site-local carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, the ED of remote station learns ARP and suppresses list item, when the ED of remote station judges that the ARPSnooping list item learnt before the ARP that learns suppresses list item and moves has an identical Internet Protocol IP and MAC, flood described in the ED of this remote station issues according to the MAC Address of the migration server in described broadcasting packet MAC address entries.
5., across a media interviews control MAC migration process device for data center, it is characterized in that, in the edge device ED of this application of installation in site-local, this device comprises: spot broadcasting unit and the second flow retransmission unit, wherein,
Described spot broadcasting unit, for after migration server moves to site-local, time also not by Interior Gateway Protocol IGP protocol issuance local mac, the broadcasting packet carrying the MAC Address of migration server to public network broadcast issues according to the MAC Address of the migration server in described broadcasting packet the MAC address entries that floods with the ED triggering remote station, and sets up local common MAC address entries according to the MAC Address of described migration server;
Described second flow retransmission unit, for when receive described remote station according to described in flood after MAC address entries is sent to the flow of public network, mate local common MAC address entries, by flow from the port repeat of the common MAC address entries matched to migration server.
6. device according to claim 5, is characterized in that, described broadcasting packet is free ARP message;
Described spot broadcasting unit initiatively triggers to send gratuitous ARP packet to public network by the operation detected for the common MAC address entries covering in this locality far-end MAC address entries of migration server; Or
Described device also comprises receiving element, for receiving the gratuitous ARP packet sent by migration server; Described spot broadcasting unit, after described receiving element receives the gratuitous ARP packet of migration server transmission, triggers and sends described gratuitous ARP packet to public network.
7. device according to claim 5, it is characterized in that, this device also comprises IGP protocol issuance unit, for being released by local mac by IGP agreement, makes remote station set up the far-end MAC address entries covering the MAC address entries that floods that remote station is set up according to the local mac issued;
Described second flow retransmission unit receive remote station according to described far-end MAC address entries forward after the flow of described migration server, the outbound port in the common MAC address entries in this locality set up by the spot broadcasting unit that matches forwards the traffic to migration server.
8. device according to claim 5, is characterized in that, described broadcasting packet is free ARP message; This device also comprises local ARP and suppresses list item unit and local address analysis protocol pry ARPSnooping list item unit, wherein,
Described local ARP suppresses list item unit, and before moving to site-local in migration server, the migration server MAC address learning ARP carried in the gratuitous ARP packet according to the remote station broadcast received suppresses list item;
Described local ARP Snooping list item unit, after moving to site-local in migration server, time also not by IGP protocol issuance local mac, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in virtual LAN VLAN;
When after described local ARP Snooping list item unit study ARP Snooping list item, described spot broadcasting unit carries the gratuitous ARP packet of the MAC Address of migration server to public network broadcast, and sets up local common MAC address entries according to the MAC Address of described migration server.
9., across a media interviews control MAC migration process device for data center, it is characterized in that, the edge device ED of this application of installation in remote station, this device comprises: the list item that floods sets up unit and first flow retransmission unit, wherein,
The described list item that floods sets up unit, and for after migration server moves to site-local, the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues the MAC address entries that floods;
Described first flow retransmission unit, for when there being the flow of access migration server, after the list item that floods described in coupling sets up the MAC address entries that floods that unit issues, flow is broadcast to public network, makes site-local by flow from the port repeat of the common MAC address entries in this locality matched to described migration server.
10. device according to claim 9, it is characterized in that, this device also comprises far-end list item and sets up unit, for after receiving the local mac that site-local issues, sets up the list item that to flood described in covering and sets up the far-end MAC address entries of the MAC address entries that floods that unit sets up;
Described first flow retransmission unit is also for when remote station there being the flow of access migration server, mate described far-end list item set up unit set up far-end MAC address entries after, by flow from the port repeat of the far-end MAC matched to site-local, the outbound port in the common MAC address entries in this locality making site-local pass through to match forwards the traffic to described migration server.
11. devices according to claim 9, is characterized in that, described broadcasting packet is free ARP message, and this device also comprises:
Far-end ARP Snooping list item unit, before moving to site-local in migration server, according to the gratuitous ARP packet sent by this migration server study ARP Snooping list item listened in VLAN;
Far-end ARP suppresses list item unit, and after moving to site-local in migration server, the gratuitous ARP packet study ARP carrying migration server MAC Address according to receiving from public network suppresses list item;
Judging unit, for judging that learnt ARP suppresses list item whether to have identical Internet Protocol IP and MAC with the ARP Snooping list item learnt before migration;
The described list item that floods sets up unit when described judging unit judges that the ARP Snooping list item that learns has identical Internet Protocol IP and MAC before the ARP learnt suppresses list item and moves, and flood described in the MAC Address of the migration server in the broadcasting packet of broadcasting to public network according to site-local issues MAC address entries.
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 CN102833171A (en) 2012-12-19
CN102833171B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9282033B2 (en) * 2013-08-06 2016-03-08 Cisco Technology, Inc. Intelligent handling of virtual machine mobility in large data center environments
CN104836849B (en) * 2015-04-16 2018-02-09 新华三技术有限公司 One kind registration virtual machine method and apparatus
CN110703899B (en) * 2019-09-09 2020-09-25 创新奇智(南京)科技有限公司 Data center energy efficiency optimization method based on transfer learning

Citations (2)

* 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
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166205B2 (en) * 2007-07-31 2012-04-24 Cisco Technology, Inc. Overlay transport virtualization

Patent Citations (2)

* 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
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine

Also Published As

Publication number Publication date
CN102833171A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102932254B (en) Message forwarding method and device
CN102316028B (en) Method and apparatus for sending internet protocol packet
CN102868614B (en) Message forwarding method in TRILL network and route-bridge
CN104009926A (en) Multicast method in EVI network and edge device ED
CN102413061A (en) Message transmission method and equipment
EP2494798B1 (en) Method and system for wan/wlan unicast and multicast communication
CN102291320A (en) MAC (media access control) address learning method and edge device
CN102035729A (en) Multicast data forwarding method and device thereof
CN102355417A (en) Data center two-layer interconnection method and device
CN103248720A (en) Method and device for inquiring physical address
CN104168184A (en) Message forwarding method and device
EP3021555B1 (en) Message processing method and device
CN110445702A (en) A kind of message forwarding method and equipment
CN102959906B (en) Routing method and device for host in multi-homing site
CN102958197A (en) Method for establishing X2 service signaling connection, base station and CSG (cell site gateway)
CN102857588A (en) Processing method and apparatus for address resolution protocol ARP information
CN102833171B (en) Data center-cross MAC (Media Access Control) migration processing method and device
CN102394825B (en) Method and device for processing message
CN105557045A (en) Access network node, core network node and paging method
CN111988227B (en) Traffic processing method, related equipment, and method and device for establishing forwarding table
US11546222B2 (en) Mapping between wireless links and virtual local area networks
CN112995038B (en) Access method of PROFINET protocol in industrial SDN
CN104717640A (en) Realization method for wireless network communication based on positioning
CN104506437A (en) Item setup method and device
CN117061431A (en) Heterogeneous network emergency communication system terminal fusion method, heterogeneous network emergency communication system terminal fusion device, terminal and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

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

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 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.