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.
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.