CN102164091B - Method for building MAC (Media Access Control) address table and provider edge device - Google Patents

Method for building MAC (Media Access Control) address table and provider edge device Download PDF

Info

Publication number
CN102164091B
CN102164091B CN201110124582.0A CN201110124582A CN102164091B CN 102164091 B CN102164091 B CN 102164091B CN 201110124582 A CN201110124582 A CN 201110124582A CN 102164091 B CN102164091 B CN 102164091B
Authority
CN
China
Prior art keywords
message
service message
mac
list item
source 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
CN201110124582.0A
Other languages
Chinese (zh)
Other versions
CN102164091A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201110124582.0A priority Critical patent/CN102164091B/en
Publication of CN102164091A publication Critical patent/CN102164091A/en
Application granted granted Critical
Publication of CN102164091B publication Critical patent/CN102164091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for building an MAC (Media Access Control) address table and a provider edge device. In the method, a PE (Provider Edge Device) receives a first service message by a PW (Pseudo Wire) connected with the PE; when the first received service message is confirmed to be a specific-type message, the building of the address table entry of the source MAC address of the first service message is cancelled, wherein the specific-type message is an unknown unicast message, a multicast message or the broadcasting message of a non-free ARP (Address Resolution Protocol) message. According to the scheme provided by the embodiment of the invention, the amount of the address table entries built by the PE is reduced so as to reduce the volume of the MAC address table.

Description

A kind of mac address table method for building up and provider edge equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of MAC (Media Access Control, medium access control) address table method for building up and provider edge equipment.
Background technology
Along with the development of data communication technology, and the appearance of cloud computing/Distributed Calculation, computing capability also becomes a kind of commodity, and virtual machine such as can be relied on externally to sell, and now data center is then the physical carrier body of this kind of commodity.Data center's (Data center is called for short DC) is a facility, and by computing system, storage system, communication system, the network equipment, environmental control system (as cooling system and fire system of defense), the assemblies such as safety system are formed.And by the reliability providing a large amount of redundancy schemes to improve data center, redundancy of such as powering, communication connects redundancy etc., and it is usually used in other core business of company level and calculates and store, or the calculating of company organization's operation data and storage.
Virtual machine (Virtual Machine, be called for short VM) refers to have complete hardware system function by software simulation, operates in the complete computer in a completely isolated environment.Usually multiple stage virtual machine can be simulated on a physical computer.
At present, the virtual characteristic having become data center's development, because the major calculations unit of data center is server, i.e. physical cpu, but its processor active task can not match the operational capability of CPU completely, so simulate multiple virtual cpu by single physical CPU, processor active task is distributed to each virtual cpu and the computing capability of data center can be made to be maximized.
Figure 1 shows that the network architecture schematic diagram of virtual machine (vm) migration in prior art, wherein, VM is deployed in virtual machine server, virtual machine server is by gateway accessing network, gateway is equivalent to frame top (the Top of Rack in data center network, be called for short TOR) switch, TOR switch essence is equivalent to access switch, for by virtual machine server access data central site network; Multiple TOR switch carries out interconnected convergence by a frame aft (End of Rack is called for short EOR) switch.In the prior art, when virtual machine server A not having enough resources run or break down, be the VM of 192.168.1.101 for IP address on virtual machine server A, virtual machine management system needs this VM to migrate on idle virtual machine server B, and this action is sightless for user.Due to virtual machine server A and virtual machine server B, the gateway accessing network of secondary IP address to be the gateway of 192.168.1.1 and IP address be 192.168.2.1 respectively, so after this VM moves, gateway address and the IP address of self of this VM all there occurs change, after migration, the IP address change of this VM is 192.168.2.101, thus virtual machine management system needs the gateway address of this VM that changes and the IP address notification of self to user, make user use new address and configuration to conduct interviews, this adds the maintenance cost of virtual machine management system undoubtedly.
For addressing this problem, occur based on VPLS (Virtual Private Lan Service in prior art, VPLS) technology realizes the scheme of deploying virtual machine, as shown in Figure 2, wherein, virtual machine server is equivalent to CE (the Customer Edge Device in VPLS network, customer edge), adopt VPLS technology by each virtual machine server in the program, by PE (Provider Edge Device, provider edge equipment) be connected to same LAN (Local Area Network, local area network (LAN)) in, namely each virtual machine server is all by the same gateway accessing network of this LAN, so when VM migrates to another virtual machine server from a virtual machine server, the gateway address of this VM and the IP address of self all no longer need to change.Program configuration is simple, agreement is ripe, and manageable.
But, realize in the scheme of deploying virtual machine above-mentioned based on VPLS technology, if adopt mac address table method for building up of the prior art, PE all learns to the source MAC of received whole messages, namely the address list item of source MAC is set up, thus make all PE in this LAN learn the MAC Address of all VM in this LAN all possibly, and the quantity of the MAC Address that PE supports is limited, so this is by the limited amount of the virtual machine server that causes data center network to carry, if and the PE of employing Large Copacity mac address table is to increase the quantity of the virtual machine server that can carry, then can cause the networking cost of higher data center network.
Summary of the invention
The embodiment of the present invention provides a kind of mac address table method for building up and provider edge equipment, needs the problem of the mac address table of larger capacity in order to solve PE in the VPLS network that exists in prior art.
The embodiment of the present invention provides a kind of medium access control mac address table method for building up, comprising:
Provider edge equipment PE receives the first service message by coupled pseudo-line PW; And
When determining that described first service message is specified type message, cancel the foundation to the address list item of the source MAC of described first service message, described specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-free ARP message.
The embodiment of the present invention also provides a kind of provider edge equipment PE, comprising:
First receiving element, receives the first service message for the pseudo-line PW by being connected with PE;
Set up unit, for when determining that described first service message is specified type message, cancel the foundation to the address list item of the source MAC of described first service message, described specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-free ARP message.
In the method that the embodiment of the present invention provides, PE is for passing through PW (Pseudo Wire, pseudo-line) service message that receives, no longer that corresponding address list item is all set up to the source MAC of received all service messages, but the type of service message is distinguished, for specified type message, as unknown name unicast message, multicast message or non-gratuitous ARP (Address Resolution Protocol, address resolution protocol) broadcasting packet of message, cancel the foundation of the address list item of the source MAC to this service message received, thus decrease the quantity of the address list item that this PE sets up, namely the capacity of its mac address table is decreased.
Accompanying drawing explanation
Fig. 1 is the network architecture schematic diagram of virtual machine (vm) migration in prior art;
Fig. 2 is the network architecture schematic diagram realizing deploying virtual machine in prior art based on VPLS technology;
The flow chart of the mac address table method for building up that Fig. 3 provides for the embodiment of the present invention;
The flow chart of mac address table method for building up of Fig. 4 for providing in the embodiment of the present invention 1;
Fig. 5 is the rough schematic view of the network architecture realizing deploying virtual machine in prior art based on VPLS technology;
The mac address table method for building up that Fig. 6, Fig. 7 and Fig. 8 provide for adopting the embodiment of the present invention 1, the schematic diagram that the transmission of message and MAC Address list item are set up;
Fig. 9 is the structural representation of the H-VPLS network adopting hierarchical topology model;
The flow chart of mac address table method for building up of Figure 10 for providing in the embodiment of the present invention 2;
The structural representation of provider edge equipment of Figure 11 for providing in the embodiment of the present invention 3.
Embodiment
In order to provide the implementation of the table capacity reducing PE in VPLS network, embodiments provide a kind of mac address table method for building up and provider edge equipment, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein, only for instruction and explanation of the present invention, is not intended to limit the present invention.And when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
The embodiment of the present invention provides a kind of mac address table method for building up, as shown in Figure 3, comprising:
Step S301, PE receive the first service message by coupled PW.
Step S302, when determine receive this first service message be specified type message time, cancel the foundation to the address list item of the source MAC of this first service message, wherein, specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-gratuitous ARP packet.
Below in conjunction with accompanying drawing, with specific embodiment, method provided by the invention and device are described in detail.
Embodiment 1:
Fig. 4 is the flow chart of mac address table method for building up provided in the embodiment of the present invention 1, specifically comprises:
Step S401, PE receive the service message of user by coupled PW.
In VPLS network, the virtual circuit between two PE is called PW, the two layer message of transmission user on PW, and different PW can use MPLS (Multi-Protocol Label Switching, multiprotocol label switching) label to distinguish.
Step S402, judge whether the service message received by PW is specified type message, specified type message is the broadcasting packet of non-gratuitous ARP packet, unknown name unicast message or multicast message, wherein, the broadcasting packet of non-gratuitous ARP packet includes the whole broadcasting packets except gratuitous ARP packet, unknown name unicast message is the target MAC (Media Access Control) address in message is unicast mac address, and in the mac address table of PE this locality, do not find the message of the address list item of this target MAC (Media Access Control) address.
Gratuitous ARP packet is the special case of standard A RP request message, target MAC (Media Access Control) address is still L 2 broadcast address FFFF-FFFF-FFFF, source MAC is the MAC Address of the equipment sending this gratuitous ARP packet, but source IP address and object IP address are all the IP addresses of the equipment sending this gratuitous ARP packet.
If the service message received by PW specifies type message, then enter step S403, otherwise, enter step S404.
Step S403, when PE is above-mentioned specified type message by the service message that PW receives, target MAC (Media Access Control) address due to this service message may not be well-determined, such as, the broadcasting packet of non-gratuitous ARP packet and multicast message, also may be well-determined, but local mac address table does not comprise the address list item of this target MAC (Media Access Control) address, such as, unknown name unicast message, now, for broadcasting packet and the unknown name unicast message of non-gratuitous ARP packet, PE adopts the mode of flooding to forward this service message, for multicast message, PE also needs, according to multicast address, this service message is transmitted to multiple object equipment, that is, PE needs this service message to be transmitted to multiple object equipment, but the object equipment of this service message subsequently received may can not carry out alternately with the corresponding device of the source MAC of this service message, PE does not just need the corresponding device follow-up received service message being transmitted to the source MAC of this service message yet, therefore, in this step, PE cancels the foundation to the address list item of the source MAC of this service message.
Step S404, judge that the service message received by PW is gratuitous ARP packet, or well-known unicast message, if well-known unicast message, enter step S405, if gratuitous ARP packet, enter step S406.
Step S405, when PE is well-known unicast message by the service message that PW receives, conventionally, address list item is set up for the mode of learning of the source MAC of well-known unicast message, namely the source MAC of this service message is obtained, and when local mac address table does not comprise the address list item of this source MAC of acquisition, set up the address list item of this source MAC.
Step S406, when PE is gratuitous ARP packet by the service message that PW receives, judges the address list item whether including the source MAC of this service message in local mac address table, if do not comprised, enter step S407, otherwise, enter step S408.
Step S407, when not including the address list item of source MAC of this service message in the mac address table of this locality, cancel the foundation of the address list item of the source MAC to this service message.
Step S408, when including the address list item of source MAC of this service message in the mac address table of this locality, forwarding interface information corresponding to this source MAC is obtained from this source MAC list item mac address table, and use the interface message of the corresponding interface of the PW receiving this service message, the forwarding interface information that this source MAC that renewal obtains is corresponding.
Because gratuitous ARP packet can be used for the forwarding interface information upgrading source MAC, so, in the present embodiment, gratuitous ARP packet and other broadcasting packet are distinguished, and in this step, realizing renewal to the forwarding interface information of source MAC, is that the message repeating of this source MAC is to equipment corresponding to this source MAC accurately by target MAC (Media Access Control) address so that follow-up.
By above-mentioned steps S401-step S408, in the scheme that the present embodiment 1 is proposed, PE sets up the detailed process of mac address table for the service message received from PW, but, in VPLS network, a PE can be connected with other PE, also can be connected with CE, the physical circuit between PE and CE or virtual circuit are called AC (Attachment Circuits connects circuit), therefore, PE also can by the service message of coupled AC reception from AC.
For the service message that PE is received by AC, preferably, the present embodiment 1 proposes following concrete scheme:
The service message that PE is received by AC, obtains the source MAC of this service message, and when local mac address table does not comprise the address list item of this source MAC of acquisition, sets up the address list item of this source MAC.
Fig. 5 is the rough schematic view of the network architecture shown in above-mentioned Fig. 2, based on the network architecture shown in Fig. 5, in the prior art, when being deployed in the VM1 on virtual machine server A and will communicating with the VM2 be deployed on virtual machine server B, owing to VM1 there is no the MAC Address of VM2, so the broadcasting packet of ARP request message first can be sent, this ARP request message can forward in the VPLS territory of two layers, thus arrive on all PE in this VPLS territory, and then all PE are by the source MAC of this ARP request message of study, namely the address list item of the MAC Address of VM1 is set up, and be actually owing to will communicate between VM1 and VM2, as long as therefore optimal situation carries out address learning to the MAC Address of VM1 on PE1 and PE2, and VM1 and gateway do not communicate, then PE3 does not need to carry out address learning to the MAC Address of VM1.
And the scheme provided in the above embodiment of the present invention 1 is provided, as shown in Figure 6, when VM1 sends the broadcasting packet of ARP request message, this ARP request message can forward equally in the VPLS territory of two layers, now, PE1 is this ARP request message received from coupled AC, so, the address list item of the source MAC of this ARP message will be set up, PE2 and PE3 receives this ARP request message from coupled PW3 and PW1 respectively, so, will the foundation to the address list item of the source MAC of this ARP request message be cancelled.
As shown in Figure 7, VM2 is after receiving this ARP request message, arp reply message will be returned to VM1, after this arp reply message arrives PE2, mac address table due to PE2 this locality does not comprise the address list item of the target MAC (Media Access Control) address (i.e. the MAC Address of VM1) of this arp reply message, so this arp reply message is unknown name unicast message for PE2, this arp reply message is forwarded by adopting the mode flooded, and, PE2 receives this arp reply message by coupled AC, so, the address list item of the source MAC (i.e. the MAC Address of VM2) of this arp reply message will be set up.
Owing to also not comprising the address list item of the target MAC (Media Access Control) address of this arp reply message in the mac address table of PE3 this locality, and PE3 is this arp reply message received from PW2, so, will the foundation to the address list item of the source MAC of this arp reply message be cancelled.
Mac address table due to PE1 this locality comprises the address list item of the target MAC (Media Access Control) address in this arp reply message, so this arp reply message is well-known unicast message for PE1, so PE1 is by the address list item according to this target MAC (Media Access Control) address in address table, by this arp reply message repeating to equipment corresponding to target MAC (Media Access Control) address, namely VM1 is transmitted to, further, the address list item of the source MAC (i.e. the MAC Address of VM2) of this arp reply message is set up.
As shown in Figure 8, VM1 is after receiving this arp reply message, the MAC Address of VM2 can be known, then the service message that target MAC (Media Access Control) address is the MAC Address of VM2 can be sent, PE1 is after receiving this service message, then obtain the target MAC (Media Access Control) address of this service message, then in local mac address table, find out the forwarding interface of this target MAC (Media Access Control) address, forwarding interface as the MAC Address of VM2 is PW3 corresponding interface, then this service message is forwarded from the forwarding interface inquired, namely from PW3 corresponding interface, this service message is transmitted to PE2, PE2 is after receiving this service message, then obtain the target MAC (Media Access Control) address of this service message, then in local mac address table, find out the forwarding interface of this target MAC (Media Access Control) address, forwarding interface as the MAC Address of VM2 is PortB, then again this service message is transmitted to VM2 from the forwarding interface inquired, and, this service message is well-known unicast message for PE2, so PE2 sets up the address list item of the source MAC (i.e. the MAC Address of VM1) of this service message.
In the present embodiment, PE, when forwarding the service message received from AC, is that this service message is encapsulated as label packet, then forwards; After PE receives the label packet of encapsulation, remove the encapsulation of this label packet, get this service message, according to the target MAC (Media Access Control) address of this service message, this service message is transmitted to customer edge CE by AC again, concrete scheme for encapsulated tags message and decapsulation can adopt prior art, is not described in detail at this.
From Fig. 6-8, adopt the such scheme that the embodiment of the present invention 1 provides, PE3 can not set up the address list item of the MAC Address of VM1 in the mac address table of this locality, so compared to existing technology, PE3 decreases the capacity of mac address table.
Realize in the data center network of deploying virtual machine in employing VPLS technology, when the mac address table method for building up that the PE in data center network all adopts above-described embodiment 1 to provide, the capacity of PE local mac address table can be reduced, thus improve the quantity of the virtual machine server that data center network can carry, and avoid the PE adopting Large Copacity mac address table, thus reduce the networking cost of data center network.
In above-described embodiment 1, realize in the VPLS network of all PE complete interconnected topological model interconnected between two, for the H-VPLS network adopting hierarchical topology model, similar technical scheme can be adopted equally, in example 2 this is described in detail below.
Embodiment 2:
Figure 9 shows that the structural representation of the H-VPLS network adopting hierarchical topology model, wherein, PE is distinguished, comprise network operator edge device N-PE and user oriented provider edge equipment U-PE, N-PE are the PE being in backbone network core edge, be provided in the transparent transmission service of the VPLS between core net, all N-PE in a LAN are interconnected between two, U-PE is user oriented PE, is connected with CE, as the convergence device accessing VPN for CE.
Wherein, pseudo-line between two N-PE is called Hub-PW, and the pseudo-line between N-PE and U-PE is called Spoke-PW, as can be seen from Fig. 9, U-PE is similar to PE in the VPLS network of complete interconnected topological model, are all interfaces of existing AC, also have the interface of PW, therefore, in the present embodiment 2, the scheme that U-PE can adopt the mac address table identical with PE in above-described embodiment 1 to set up, wherein Spoke-PW is equivalent to the PW in above-described embodiment 1, and concrete scheme is no longer described in detail at this.
And for N-PE, because it does not have the interface of AC, so the scheme that the mac address table identical with PE in above-described embodiment 1 is set up cannot be adopted, but similar scheme can be adopted, as shown in Figure 10, specifically comprise:
Step S1001, N-PE receive the service message of user.In H-VPLS network, a N-PE can be connected with other N-PE, also can be connected with U-PE, pseudo-line between two N-PE is called Hub-PW, pseudo-line between N-PE and U-PE is called Spoke-PW, therefore, N-PE receives the service message from Hub-PW by coupled Hub-PW, also can by the service message of coupled Spoke-PW reception from Spoke-PW.
Step S1002, when N-PE receives the service message of user by coupled Hub-PW, enter step S1003, otherwise, namely when N-PE receives the service message of user by coupled Spoke-PW, enter step S1004.
Step S1003, judge whether the service message received by Hub-PW is specified type message, specified type message is the broadcasting packet of non-gratuitous ARP packet, unknown name unicast message or multicast message, wherein, the broadcasting packet of non-gratuitous ARP packet includes the whole broadcasting packets except gratuitous ARP packet, unknown name unicast message is the target MAC (Media Access Control) address in message is unicast mac address, and in the mac address table of N-PE this locality, do not find the message of the address list item of this target MAC (Media Access Control) address.
If the service message received by Hub-PW specifies type message, then enter step S1005, otherwise, enter step S1006.
Step S1004, N-PE, for the service message received by Spoke-PW, obtain the source MAC of this service message, and when local mac address table does not comprise the address list item of this source MAC of acquisition, set up the address list item of this source MAC.
Step S1005, when N-PE is above-mentioned specified type message by the service message that Hub-PW receives, target MAC (Media Access Control) address due to this service message may not be well-determined, such as, the broadcasting packet of non-gratuitous ARP packet and multicast message, also may be well-determined, but local mac address table does not comprise the address list item of this target MAC (Media Access Control) address, such as, unknown name unicast message, now, for broadcasting packet and the unknown name unicast message of non-gratuitous ARP packet, N-PE adopts the mode of flooding to forward this service message, for multicast message, N-PE also needs, according to multicast address, this service message is transmitted to multiple object equipment, that is, N-PE needs this service message to be transmitted to multiple object equipment, but the object equipment of this service message subsequently received may can not carry out alternately with the corresponding device of the source MAC of this service message, N-PE does not just need the corresponding device follow-up received service message being transmitted to the source MAC of this service message yet, therefore, in this step, N-PE cancels the foundation to the address list item of the source MAC of this service message.
Step S1006, judge that the service message received by Hub-PW is gratuitous ARP packet, or well-known unicast message, if well-known unicast message, enter step S1007, if gratuitous ARP packet, enter step S1008.
Step S1007, when N-PE is well-known unicast message by the service message that Hub-PW receives, conventionally, address list item is set up for the mode of learning of the source MAC of well-known unicast message, namely the source MAC of this service message is obtained, and when local mac address table does not comprise the address list item of this source MAC of acquisition, set up the address list item of this source MAC.
Step S1008, when N-PE is gratuitous ARP packet by the service message that Hub-PW receives, judge the address list item whether including the source MAC of this service message in local mac address table, if do not comprised, enter step S1009, otherwise, enter step S1010.
Gratuitous ARP packet is the special case of standard A RP request message, target MAC (Media Access Control) address is still L 2 broadcast address FFFF-FFFF-FFFF, source MAC is the MAC Address of the equipment sending this gratuitous ARP packet, but source IP address and object IP address are all the IP addresses of the equipment sending this gratuitous ARP packet.
Step S1009, when the mac address table of N-PE this locality does not comprise the address list item of the source MAC of this service message, cancel the foundation of the address list item of the source MAC to this service message.
Step S1010, when including the address list item of source MAC of this service message in the mac address table of N-PE this locality, forwarding interface corresponding to this source MAC is obtained from this source MAC list item mac address table, and use the corresponding interface of the Hub-PW receiving this service message, the forwarding interface that this source MAC that renewal obtains is corresponding.
Embodiment 3:
Based on same inventive concept, according to the mac address table method for building up that the above embodiment of the present invention provides, correspondingly, the embodiment of the present invention 3 additionally provides a kind of provider edge equipment, and its structural representation as shown in figure 11, specifically comprises:
First receiving element 1101, receives the first service message for the pseudo-line PW by being connected with PE;
Set up unit 1102, for when determining that described first service message is specified type message, cancel the foundation to the address list item of the source MAC of described first service message, described specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-free ARP message.
Preferably, describedly set up unit 1102, also determine that described first service message is gratuitous ARP packet for working as, and the mac address table of this locality is not when comprising the address list item of the source MAC of described first service message, cancel the foundation of the address list item of the source MAC to described first service message;
When determining that described first service message is gratuitous ARP packet, and the mac address table of this locality is when comprising the address list item of the source MAC of described first service message, the interface message of described pseudo-line corresponding interface is used to upgrade forwarding interface information corresponding with described source MAC in the address list item of described source MAC.
Preferably, above-mentioned provider edge equipment, also comprises:
Second receiving element 1103, receives the second service message for the connection circuit AC by being connected with this PE;
Describedly set up unit 1102, also for when local mac address table does not comprise the address list item of the source MAC of described second service message, set up the address list item of the source MAC of described second service message.
Preferably, described PE is user oriented provider edge equipment U-PE, described PW is the Spoke-PW between described U-PE and network operator edge device N-PE.
Preferably, described PE is network operator edge device N-PE, and described PW is the first pseudo-line Hub-PW between described N-PE and other N-PE.
Preferably, above-mentioned network operator edge device, also comprises:
3rd receiving element 1104, for receiving the 3rd service message by the pseudo-line Spoke-PW of second between user oriented provider edge equipment U-PE;
Describedly set up unit 1102, also for when local mac address table does not comprise the address list item of the source MAC of described 3rd service message, set up the address list item of the source MAC of described 3rd service message.
In sum, the scheme that the embodiment of the present invention provides, comprising: PE receives the first service message by coupled PW; When this first service message determining to receive is specified type message, cancel the foundation to the address list item of the source MAC of this first service message, wherein, specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-gratuitous ARP packet.The scheme adopting the embodiment of the present invention to provide, decreases the quantity of the address list item that PE sets up, thus decreases the capacity of its mac address table.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a medium access control mac address table method for building up, is characterized in that, comprising:
Provider edge equipment PE receives the first service message by coupled pseudo-line PW; And
When determining that described first service message is specified type message, cancel the foundation to the address list item of the source MAC of described first service message, described specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-free ARP message;
When determining that described first service message is gratuitous ARP packet, and when the mac address table of this locality does not comprise the address list item of the source MAC of described first service message, cancel the foundation of the address list item of the source MAC to described first service message;
When determining that described first service message is gratuitous ARP packet, and the mac address table of this locality is when comprising the address list item of the source MAC of described first service message, the interface message of described pseudo-line corresponding interface is used to upgrade forwarding interface information corresponding with described source MAC in the address list item of described source MAC.
2. the method for claim 1, is characterized in that, also comprises:
Described PE receives the second service message by coupled connection circuit AC; And
When the mac address table of this locality does not comprise the address list item of the source MAC of described second service message, set up the address list item of the source MAC of described second service message.
3. method as claimed in claim 1 or 2, it is characterized in that, described PE is user oriented provider edge equipment U-PE, described PW is the Spoke-PW between described U-PE and network operator edge device N-PE.
4. the method for claim 1, is characterized in that, described PE the first pseudo-line Hub-PW that to be first network provider edge equipment N-PE, described PW be between a described N-PE and the 2nd N-PE.
5. method as claimed in claim 4, is characterized in that, also comprise:
A described N-PE receives the 3rd service message by the pseudo-line Spoke-PW of second between user oriented provider edge equipment U-PE; And
When the mac address table of this locality does not comprise the address list item of the source MAC of described 3rd service message, set up the address list item of the source MAC of described 3rd service message.
6. a provider edge equipment PE, is characterized in that, comprising:
First receiving element, receives the first service message for the pseudo-line PW by being connected with PE;
Set up unit, for when determining that described first service message is specified type message, cancel the foundation to the address list item of the source MAC of described first service message, described specified type message is the broadcasting packet of unknown name unicast message, multicast message or non-free ARP message; When determining that described first service message is gratuitous ARP packet, and when the mac address table of this locality does not comprise the address list item of the source MAC of described first service message, cancel the foundation of the address list item of the source MAC to described first service message; When determining that described first service message is gratuitous ARP packet, and the mac address table of this locality is when comprising the address list item of the source MAC of described first service message, the interface message of described pseudo-line corresponding interface is used to upgrade forwarding interface information corresponding with described source MAC in the address list item of described source MAC.
7. provider edge equipment as claimed in claim 6, is characterized in that, also comprise:
Second receiving element, receives the second service message for the connection circuit AC by being connected with this PE;
Describedly set up unit, also for when local mac address table does not comprise the address list item of the source MAC of described second service message, set up the address list item of the source MAC of described second service message.
8. provider edge equipment as claimed in claims 6 or 7, it is characterized in that, described PE is user oriented provider edge equipment U-PE, described PW is the Spoke-PW between described U-PE and network operator edge device N-PE.
9. provider edge equipment as claimed in claim 6, it is characterized in that, described PE is network operator edge device N-PE, and described PW is the first pseudo-line Hub-PW between described N-PE and other N-PE.
10. network operator edge device as claimed in claim 9, is characterized in that, also comprise:
3rd receiving element, for receiving the 3rd service message by the pseudo-line Spoke-PW of second between user oriented provider edge equipment U-PE;
Describedly set up unit, also for when local mac address table does not comprise the address list item of the source MAC of described 3rd service message, set up the address list item of the source MAC of described 3rd service message.
CN201110124582.0A 2011-05-13 2011-05-13 Method for building MAC (Media Access Control) address table and provider edge device Active CN102164091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110124582.0A CN102164091B (en) 2011-05-13 2011-05-13 Method for building MAC (Media Access Control) address table and provider edge device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110124582.0A CN102164091B (en) 2011-05-13 2011-05-13 Method for building MAC (Media Access Control) address table and provider edge device

Publications (2)

Publication Number Publication Date
CN102164091A CN102164091A (en) 2011-08-24
CN102164091B true CN102164091B (en) 2015-01-21

Family

ID=44465072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110124582.0A Active CN102164091B (en) 2011-05-13 2011-05-13 Method for building MAC (Media Access Control) address table and provider edge device

Country Status (1)

Country Link
CN (1) CN102164091B (en)

Families Citing this family (63)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736065B2 (en) 2011-06-24 2017-08-15 Cisco Technology, Inc. Level of hierarchy in MST for traffic localization and load balancing
CN102355511B (en) * 2011-10-31 2015-01-21 福建星网锐捷网络有限公司 MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same
US8908698B2 (en) 2012-01-13 2014-12-09 Cisco Technology, Inc. System and method for managing site-to-site VPNs of a cloud managed network
CN103379185B (en) 2012-04-26 2016-08-03 华为技术有限公司 A kind of method, apparatus and system of network address translation
CN103428091A (en) * 2012-05-15 2013-12-04 中兴通讯股份有限公司 Control method of MAC address study and forwarding equipment
CN102801715B (en) * 2012-07-30 2015-03-11 华为技术有限公司 Method for virtual machine migration in network, gateway and system
CN102946353A (en) * 2012-11-08 2013-02-27 中兴通讯股份有限公司 Virtual private local area network service network message forwarding method and edge device
US9043439B2 (en) 2013-03-14 2015-05-26 Cisco Technology, Inc. Method for streaming packet captures from network access devices to a cloud server over HTTP
WO2014172907A1 (en) 2013-04-27 2014-10-30 华为技术有限公司 Video conference processing method and device
CN104869063B (en) 2014-02-21 2019-02-12 华为技术有限公司 Host routes processing method and relevant device and communication system in virtual subnet
CN104954218B (en) * 2014-03-24 2018-02-09 新华三技术有限公司 Distributed virtual switch and retransmission method
US9755858B2 (en) 2014-04-15 2017-09-05 Cisco Technology, Inc. Programmable infrastructure gateway for enabling hybrid cloud services in a network environment
US9473365B2 (en) 2014-05-08 2016-10-18 Cisco Technology, Inc. Collaborative inter-service scheduling of logical resources in cloud platforms
US10122605B2 (en) 2014-07-09 2018-11-06 Cisco Technology, Inc Annotation of network activity through different phases of execution
US9825878B2 (en) 2014-09-26 2017-11-21 Cisco Technology, Inc. Distributed application framework for prioritizing network traffic using application priority awareness
CN104639453B (en) * 2014-12-31 2017-12-29 北京华为数字技术有限公司 Pseudo-wire flow control methods and relevant device
US10050862B2 (en) 2015-02-09 2018-08-14 Cisco Technology, Inc. Distributed application framework that uses network and application awareness for placing data
US10708342B2 (en) 2015-02-27 2020-07-07 Cisco Technology, Inc. Dynamic troubleshooting workspaces for cloud and network management systems
US10037617B2 (en) 2015-02-27 2018-07-31 Cisco Technology, Inc. Enhanced user interface systems including dynamic context selection for cloud-based networks
US10382534B1 (en) 2015-04-04 2019-08-13 Cisco Technology, Inc. Selective load balancing of network traffic
US10476982B2 (en) 2015-05-15 2019-11-12 Cisco Technology, Inc. Multi-datacenter message queue
US10034201B2 (en) 2015-07-09 2018-07-24 Cisco Technology, Inc. Stateless load-balancing across multiple tunnels
US10067780B2 (en) 2015-10-06 2018-09-04 Cisco Technology, Inc. Performance-based public cloud selection for a hybrid cloud environment
US11005682B2 (en) 2015-10-06 2021-05-11 Cisco Technology, Inc. Policy-driven switch overlay bypass in a hybrid cloud network environment
US10462136B2 (en) 2015-10-13 2019-10-29 Cisco Technology, Inc. Hybrid cloud security groups
US10523657B2 (en) 2015-11-16 2019-12-31 Cisco Technology, Inc. Endpoint privacy preservation with cloud conferencing
US10205677B2 (en) 2015-11-24 2019-02-12 Cisco Technology, Inc. Cloud resource placement optimization and migration execution in federated clouds
US10084703B2 (en) 2015-12-04 2018-09-25 Cisco Technology, Inc. Infrastructure-exclusive service forwarding
US10367914B2 (en) 2016-01-12 2019-07-30 Cisco Technology, Inc. Attaching service level agreements to application containers and enabling service assurance
US10129177B2 (en) 2016-05-23 2018-11-13 Cisco Technology, Inc. Inter-cloud broker for hybrid cloud networks
US10659283B2 (en) 2016-07-08 2020-05-19 Cisco Technology, Inc. Reducing ARP/ND flooding in cloud environment
US10432532B2 (en) 2016-07-12 2019-10-01 Cisco Technology, Inc. Dynamically pinning micro-service to uplink port
US10263898B2 (en) 2016-07-20 2019-04-16 Cisco Technology, Inc. System and method for implementing universal cloud classification (UCC) as a service (UCCaaS)
US10382597B2 (en) 2016-07-20 2019-08-13 Cisco Technology, Inc. System and method for transport-layer level identification and isolation of container traffic
US10142346B2 (en) 2016-07-28 2018-11-27 Cisco Technology, Inc. Extension of a private cloud end-point group to a public cloud
US10567344B2 (en) 2016-08-23 2020-02-18 Cisco Technology, Inc. Automatic firewall configuration based on aggregated cloud managed information
US10523592B2 (en) 2016-10-10 2019-12-31 Cisco Technology, Inc. Orchestration system for migrating user data and services based on user information
US11044162B2 (en) 2016-12-06 2021-06-22 Cisco Technology, Inc. Orchestration of cloud and fog interactions
US10326817B2 (en) 2016-12-20 2019-06-18 Cisco Technology, Inc. System and method for quality-aware recording in large scale collaborate clouds
US10334029B2 (en) 2017-01-10 2019-06-25 Cisco Technology, Inc. Forming neighborhood groups from disperse cloud providers
US10552191B2 (en) 2017-01-26 2020-02-04 Cisco Technology, Inc. Distributed hybrid cloud orchestration model
US10320683B2 (en) 2017-01-30 2019-06-11 Cisco Technology, Inc. Reliable load-balancer using segment routing and real-time application monitoring
US10671571B2 (en) 2017-01-31 2020-06-02 Cisco Technology, Inc. Fast network performance in containerized environments for network function virtualization
US11005731B2 (en) 2017-04-05 2021-05-11 Cisco Technology, Inc. Estimating model parameters for automatic deployment of scalable micro services
CN107105072B (en) * 2017-05-18 2020-02-11 杭州迪普科技股份有限公司 Method and device for creating ARP (Address resolution protocol) table entry
US10382274B2 (en) 2017-06-26 2019-08-13 Cisco Technology, Inc. System and method for wide area zero-configuration network auto configuration
US10439877B2 (en) 2017-06-26 2019-10-08 Cisco Technology, Inc. Systems and methods for enabling wide area multicast domain name system
US10892940B2 (en) 2017-07-21 2021-01-12 Cisco Technology, Inc. Scalable statistics and analytics mechanisms in cloud networking
US10425288B2 (en) 2017-07-21 2019-09-24 Cisco Technology, Inc. Container telemetry in data center environments with blade servers and switches
US10601693B2 (en) 2017-07-24 2020-03-24 Cisco Technology, Inc. System and method for providing scalable flow monitoring in a data center fabric
US10541866B2 (en) 2017-07-25 2020-01-21 Cisco Technology, Inc. Detecting and resolving multicast traffic performance issues
US10353800B2 (en) 2017-10-18 2019-07-16 Cisco Technology, Inc. System and method for graph based monitoring and management of distributed systems
US11481362B2 (en) 2017-11-13 2022-10-25 Cisco Technology, Inc. Using persistent memory to enable restartability of bulk load transactions in cloud databases
US10705882B2 (en) 2017-12-21 2020-07-07 Cisco Technology, Inc. System and method for resource placement across clouds for data intensive workloads
US11595474B2 (en) 2017-12-28 2023-02-28 Cisco Technology, Inc. Accelerating data replication using multicast and non-volatile memory enabled nodes
US10511534B2 (en) 2018-04-06 2019-12-17 Cisco Technology, Inc. Stateless distributed load-balancing
US10728361B2 (en) 2018-05-29 2020-07-28 Cisco Technology, Inc. System for association of customer information across subscribers
US10904322B2 (en) 2018-06-15 2021-01-26 Cisco Technology, Inc. Systems and methods for scaling down cloud-based servers handling secure connections
US10764266B2 (en) 2018-06-19 2020-09-01 Cisco Technology, Inc. Distributed authentication and authorization for rapid scaling of containerized services
US11019083B2 (en) 2018-06-20 2021-05-25 Cisco Technology, Inc. System for coordinating distributed website analysis
US10819571B2 (en) 2018-06-29 2020-10-27 Cisco Technology, Inc. Network traffic optimization using in-situ notification system
US10904342B2 (en) 2018-07-30 2021-01-26 Cisco Technology, Inc. Container networking using communication tunnels
CN113794642B (en) * 2021-08-27 2022-11-18 新华三信息安全技术有限公司 MAC table item synchronization method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809032A (en) * 2006-02-20 2006-07-26 杭州华为三康技术有限公司 Method of dynamically learning address on MAC layer
CN1822565A (en) * 2004-10-15 2006-08-23 阿尔卡特公司 Network with MAC table overflow protection
CN1929444A (en) * 2006-09-05 2007-03-14 华为技术有限公司 Operator's boundary notes, virtual special LAN service communication method and system
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
CN101110721A (en) * 2006-07-18 2008-01-23 中兴通讯股份有限公司 Method for accessing into control address table spacing using Ethernet switch medium
CN101123614A (en) * 2007-09-04 2008-02-13 中兴通讯股份有限公司 A method and communication device for processing address parsing protocol packet
CN101540733A (en) * 2009-05-08 2009-09-23 深圳市维信联合科技有限公司 ARP message processing method and network side apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1822565A (en) * 2004-10-15 2006-08-23 阿尔卡特公司 Network with MAC table overflow protection
CN1809032A (en) * 2006-02-20 2006-07-26 杭州华为三康技术有限公司 Method of dynamically learning address on MAC layer
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
CN101110721A (en) * 2006-07-18 2008-01-23 中兴通讯股份有限公司 Method for accessing into control address table spacing using Ethernet switch medium
CN1929444A (en) * 2006-09-05 2007-03-14 华为技术有限公司 Operator's boundary notes, virtual special LAN service communication method and system
CN101123614A (en) * 2007-09-04 2008-02-13 中兴通讯股份有限公司 A method and communication device for processing address parsing protocol packet
CN101540733A (en) * 2009-05-08 2009-09-23 深圳市维信联合科技有限公司 ARP message processing method and network side apparatus

Also Published As

Publication number Publication date
CN102164091A (en) 2011-08-24

Similar Documents

Publication Publication Date Title
CN102164091B (en) Method for building MAC (Media Access Control) address table and provider edge device
US10516590B2 (en) External health checking of virtual private cloud network environments
CN112470436B (en) Systems, methods, and computer-readable media for providing multi-cloud connectivity
US10666561B2 (en) Virtual machine migration
CN103200069B (en) A kind of method and apparatus of Message processing
CN102291320B (en) MAC (media access control) address learning method and edge device
CN106452857B (en) Method for generating configuration information and network control unit
US10164868B2 (en) Hypervisor routing between networks in a virtual networking environment
CN103179192B (en) The message forwarding method that virtual server moves, system and NAT service equipment
CN103685022B (en) Message forwarding method and service provider network edge equipment
CN103259725B (en) Messaging method and network equipment
CN106254256B (en) Data message forwarding method and equipment based on three layers of VXLAN gateway
CN106712988B (en) A kind of virtual network management method and device
US20190109780A1 (en) Routing information validation in sdn environments
CN111092801B (en) Data transmission method and device
CN104717081A (en) Gateway function realization method and device
CN103139075B (en) A kind of message transmitting method and equipment
CN103036702B (en) A kind of N+1 backup method of cross-network segment and device
JP2019521619A (en) Packet forwarding
CN111556110A (en) Automatic adaptation method for different physical service networks of private cloud system
CN104579729B (en) The notification method and device of CGN single board default
CN108512737B (en) Data center IP layer interconnection method and SDN controller
US20130258871A1 (en) Psuedowire extended group messaging in a packet switched network
JP2015512587A (en) Pseudowire groups in packet switched networks
CN109088767B (en) Route updating method and device

Legal Events

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