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