CN102164091A - 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
CN102164091A
CN102164091A CN 201110124582 CN201110124582A CN102164091A CN 102164091 A CN102164091 A CN 102164091A CN 201110124582 CN201110124582 CN 201110124582 CN 201110124582 A CN201110124582 A CN 201110124582A CN 102164091 A CN102164091 A CN 102164091A
Authority
CN
China
Prior art keywords
mac address
pe
packet
service
address
Prior art date
Application number
CN 201110124582
Other languages
Chinese (zh)
Other versions
CN102164091B (en
Inventor
吴治国
陈兴斌
Original Assignee
北京星网锐捷网络技术有限公司
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 北京星网锐捷网络技术有限公司 filed Critical 北京星网锐捷网络技术有限公司
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

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

一种MAC地址表建立方法及运营商边缘设备 One kind of method for establishing a MAC address table and a provider edge device

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及一种MAC (Media Access Control,介质访问控制)地址表建立方法及运营商边缘设备。 [0001] The present invention relates to communication technologies, particularly to a MAC (Media Access Control, media access control) address table creating method and a provider edge device.

背景技术 Background technique

[0002] 随着数据通信技术的发展,以及云计算/分布式计算的出现,计算能力也成为一种商品,比如可以依托虚拟机对外进行销售,此时数据中心则为这类商品的物理承载体。 [0002] With the development of data communication technologies, and cloud computing / distributed computing occurrence, computing power has become a commodity, can rely on a virtual machine such as in foreign sales, when compared with the data center physical carrier such goods body. 数据中心(Data center,简称DC),是一个设施,由计算系统,存储系统,通讯系统,网络设备, 环境控制系统(如散热系统和火灾防御系统),安全系统等组件构成。 Data Center (Data center, referred to as the DC), is a facility, by the computing systems, storage systems, communication systems, network equipment, environmental control system (e.g., cooling systems and fire prevention systems), and other components that make up the security system. 并且通过提供大量的冗余方案来提高数据中心的可靠性,比如供电冗余,通讯连接冗余等等,其常用于公司级别的核心业务计算和存储,或者公司组织运营数据的计算和存储。 And by providing a large amount to improve the reliability of the redundancy scheme of the data center, such as a redundant power supply, redundancy communication connections, etc., which are commonly used in the company's core business level computing and storage, organization or company data computing and storage operations.

[0003] 虚拟机(Virtual Machine,简称VM)是指通过软件模拟的具有完整硬件系统功能的,运行在一个完全隔离环境中的完整计算机系统。 [0003] VM (Virtual Machine, referred to as VM) refers to a complete hardware system functions, run a full computer system through software simulation in a completely isolated environment. 通常能够在一台物理计算机上模拟出多台虚拟机。 You can usually simulate multiple virtual machines on a single physical computer.

[0004] 目前,虚拟化已经成为数据中心发展的特性,因为数据中心的主要运算单元为服务器,即物理CPU,但是其运算任务并不能完全匹配到CPU的运算能力,所以由单个物理CPU 模拟出多个虚拟CPU,将运算任务分散到各个虚拟CPU能够使得数据中心的计算能力得到最大化。 [0004] Currently, virtualization has become characteristic data center of development, because the data center of the main operating unit of the server, i.e. the physical CPU, but its computing tasks can not be completely matched to the computing capability of the CPU, it is simulated by a single physical CPU a plurality of virtual CPU, the virtual computing tasks to each CPU can be dispersed so that the data center computing power is maximized.

[0005] 图1所示为现有技术中虚拟机迁移的网络架构示意图,其中,VM部署在虚拟机服务器上,虚拟机服务器通过网关接入网络,网关相当于数据中心网络中的机架顶部(Top of Rack,简称TOR)交换机,TOR交换机实质相当于接入交换机,用于将虚拟机服务器接入数据中心网络;多个TOR交换机通过一个机架尾部(End of Rack,简称E0R)交换机进行互联汇聚。 [0005] FIG. 1 shows a network architecture diagram of the prior art machines to migrate virtual, wherein, the VM deployed on the virtual machine server, the virtual machine server through a gateway access network, the data network gateway corresponding to the top center of the frame (Top of rack, referred TOR) switches, access switches TOR switches corresponding to the substance, for network access to the virtual machine server data center; TOR switch by a plurality of rack tail (End of rack, referred E0R) switches Internet convergence. 在现有技术中,当虚拟机服务器A上没有足够资源运行或发生故障时,对于虚拟机服务器A上IP地址为192. 168. 1. 101的VM,虚拟机管理系统需要将该VM迁移至空闲的虚拟机服务器B上,该动作对于用户而言是不可见的。 In the prior art, when a virtual machine on the server A does not have sufficient resources to run or when a failure occurs, the virtual machine for server 192. A IP address of the VM 168. 1.101, virtual machine management system needs to migrate the VM on an idle virtual machine server B, the operation for the user is not visible. 由于虚拟机服务器A和虚拟机服务器B,分别从IP地址为192. 168. 1. 1的网关和IP地址为192. 168. 2. 1的网关接入网络,所以在该VM迁移后,该VM的网关地址和自身的IP地址均发生了变化,迁移后该VM的IP地址变更为192. 168. 2. 101,从而虚拟机管理系统需要将变更的该VM的网关地址和自身的IP地址通告给用户,使得用户使用新的地址和配置进行访问,这无疑增加了虚拟机管理系统的维护成本。 Because virtual machines and virtual machine server A server B, respectively, from the gateway IP address 192. 1.1 168. The IP address of the gateway and access network 192. 168. 2.1, so that after this VM migration, the VM gateway address and its own IP address was changed, after migration of the VM's IP address was changed to 192. 168. 2.101, so that the virtual machine management system will need to change the gateway address for the VM and its own IP address notice to users, allows users to use the new address and configured to be accessible, it will increase the cost of maintenance of virtual machine management systems.

[0006] 为解决这一问题,现有技术中出现了基于VPLS(Virtual Private Lan Service, 虚拟专用局域网业务)技术实现虚拟机部署的方案,如图2所示,其中,虚拟机服务器相当于VPLS网络中的CE(Customer Edge Device,用户边缘设备),该方案中采用VPLS技术将各个虚拟机服务器,通过PE (Provider Edge Device,运营商边缘设备)连接在同一个LAN (Local Area Network,局域网)中,即各个虚拟机服务器均通过该LAN的同一个网关接入网络,所以当VM从一个虚拟机服务器迁移至另一个虚拟机服务器上时,该VM的网关地址和自身的IP地址均不再需要改变。 [0006] To solve this problem, the prior art appears in the virtual machine deployment scheme based on VPLS (Virtual Private Lan Service, VPLS) technique, shown in Figure 2, which corresponds to the virtual machine server VPLS network CE (Customer edge device, customer edge device), used in this embodiment VPLS technology individual virtual machine server, connected to the same LAN (Local Area network, LAN) through the PE (provider edge device, provider edge) , i.e. each virtual machine servers via the same gateway access network to the LAN, when the VM migrated from one virtual machine to another virtual machine server servers, gateway address and IP address of the VM itself are no longer We need to change. 该方案配置简单、协议成熟,且容易管理。 The program is simple to configure protocols mature and easy to manage.

[0007] 然而,在上述基于VPLS技术实现虚拟机部署的方案中,如果采用现有技术中的MAC地址表建立方法,PE将对所接收的全部报文的源MAC地址均进行学习,即建立源MAC地址的地址表项,从而使得该LAN中的所有PE均可能要学习到该LAN中所有VM的MAC地址, 而PE所支持的MAC地址的数量是有限的,所以这将导致数据中心网络所能承载的虚拟机服务器的数量有限,而如果采用大容量MAC地址表的PE以增加所能承载的虚拟机服务器的数量,则会造成较高的数据中心网络的组网成本。 [0007] However, in the VPLS-based virtual machine technology deployment scenario, if the MAC address table is established in the prior art method, the source MAC address of the PE will be received all the packets are learning, i.e., to establish address table the source MAC address, so that all PE that the LAN are likely to learn the LAN MAC address for all the VM, and the number of PE supported MAC addresses is limited, this will result in a data center network finite virtual machine server can carry amount, and if the MAC address table PE large capacity to increase the number of the virtual machine server can carry, will result in a higher cost network data center network.

发明内容 SUMMARY

[0008] 本发明实施例提供一种MAC地址表建立方法及运营商边缘设备,用以解决现有技术中存在的VPLS网络中PE需要较大容量的MAC地址表的问题。 Embodiment [0008] The present invention provides a method for establishing a MAC address table and a provider edge device, the VPLS network to solve the problem present in the prior art requires a large-capacity PE MAC address table.

[0009] 本发明实施例提供一种介质访问控制MAC地址表建立方法,包括: [0009] The present invention provides a media access control MAC address table creating method, comprising:

[0010] 运营商边缘设备PE通过与其相连的伪线PW接收第一业务报文;并 [0010] The provider edge PE through its pseudo wire service PW connected to receive a first packet; and

[0011] 当确定所述第一业务报文为指定类型报文时,取消对所述第一业务报文的源MAC 地址的地址表项的建立,所述指定类型报文为未知名单播报文、组播报文或非免费地址解析协议ARP报文的广播报文。 [0011] When it is determined that the first packet of the specified type of service packets, establishing cancel the MAC address of the first source packet of the service address entry, the unknown packet type specified list of multicast packets , multicast packets or free ARP ARP packets broadcast packets.

[0012] 本发明实施例还提供一种运营商边缘设备PE,包括: Example [0012] The present invention also provides a provider edge PE, comprising:

[0013] 第一接收单元,用于通过与PE相连的伪线PW接收第一业务报文; [0013] a first receiving means for receiving a first packet via pseudo wire service PW connected to the PE;

[0014] 建立单元,用于当确定所述第一业务报文为指定类型报文时,取消对所述第一业务报文的源MAC地址的地址表项的建立,所述指定类型报文为未知名单播报文、组播报文或非免费地址解析协议ARP报文的广播报文。 [0014] establishing means for determining when the first traffic packet of the specified type packets, the source MAC address to cancel the establishment of the first traffic packet of address entries, the packet of the specified type list unknown multicast packets, multicast packets or free ARP ARP packets broadcast packets.

[0015] 本发明实施例提供的方法中,PE针对通过PW(Pseud0 Wire,伪线)接收的业务报文,不再是对所接收的所有业务报文的源MAC地址均建立对应的地址表项,而是对业务报文的类型进行了区分,针对指定类型报文,如未知名单播报文、组播报文或非免费ARP(Address Resolution Protocol,地址解析协议)报文的广播报文,取消对接收的该业务报文的源MAC地址的地址表项的建立,从而减少了该PE所建立的地址表项的数量,即减少了其MAC地址表的容量。 [0015] The method provided by the embodiments of the present invention, PE for the service packet received by the PW (Pseud0 Wire, PW), is no longer a source MAC address of the received packets are all the service address correspondence table term, but for the type of service packets make a distinction, for a given type of message, such as a list of unknown multicast packets, multicast packets or free ARP (Address Resolution Protocol, ARP) packets broadcast packets, cancel establish the service source MAC address of the received packet address entries, thus reducing the number of address entries of the PE established, i.e., to reduce the capacity of the MAC address table.

附图说明 BRIEF DESCRIPTION

[0016] 图1为现有技术中虚拟机迁移的网络架构示意图; [0016] FIG. 1 is a prior art schematic diagram of a network architecture of virtual machine migration;

[0017] 图2为现有技术中基于VPLS技术实现虚拟机部署的网络架构示意图; [0017] FIG. 2 is a schematic diagram of a network architecture implemented deployed virtual machines based on the prior art technology VPLS;

[0018] 图3为本发明实施例提供的MAC地址表建立方法的流程图; [0018] FIG. 3 flowchart of a method of establishing the MAC address table according to an embodiment of the present invention;

[0019] 图4为本发明实施例1中提供的MAC地址表建立方法的流程图; [0019] FIG 4 is a flowchart of a method to establish the MAC address table provided in Example 1 of the present embodiment of the invention;

[0020] 图5为现有技术中基于VPLS技术实现虚拟机部署的网络架构的简化示意图; [0020] FIG. 5 is a simplified schematic diagram of a network architecture deployed virtual machines of the prior art to achieve the VPLS-based technology;

[0021] 图6、图7和图8为采用本发明实施例1提供的MAC地址表建立方法,报文的传输和MAC地址表项建立的示意图; [0021] Figures 6, 7 and 8 are established using the MAC address table provided in the method of Example 1 of the present embodiment of the invention, a schematic diagram of packet transmission and MAC address entries created;

[0022] 图9为采用分层拓扑模型的H-VPLS网络的结构示意图; [0022] FIG. 9 is a schematic structural hierarchical model using H-VPLS network;

[0023] 图10为本发明实施例2中提供的MAC地址表建立方法的流程图; [0023] FIG. 10 is a flowchart method of establishing the MAC address table provided in Example 2 of the present embodiment of the invention;

[0024] 图11为本发明实施例3中提供的运营商边缘设备的结构示意图。 [0024] FIG. 11 is a schematic configuration provider edge device provided in Example 3 of the present embodiment of the invention. 具体实施方式 Detailed ways

[0025] 为了给出减少VPLS网络中PE的地址表容量的实现方案,本发明实施例提供了一种MAC地址表建立方法及运营商边缘设备,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。 [0025] In order to reduce the VPLS network is given in the address table PE implementations, embodiments provide a method for establishing a MAC address table and a provider edge equipment according to the present invention, the following description in conjunction with the accompanying drawings of the preferred embodiments of the present invention description, it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention. 并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 And in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0026] 本发明实施例提供一种MAC地址表建立方法,如图3所示,包括: [0026] The embodiments of the present invention provides a method for establishing a MAC address table, shown in Figure 3, comprising:

[0027] 步骤S301、PE通过与其相连的PW接收第一业务报文。 [0027] Step S301, PW PE connected thereto by a first traffic packet received.

[0028] 步骤S302、当确定接收的该第一业务报文为指定类型报文时,取消对该第一业务报文的源MAC地址的地址表项的建立,其中,指定类型报文为未知名单播报文、组播报文或非免费ARP报文的广播报文。 [0028] Step S302, the determining when the received packet is the first traffic packet of the specified type, to cancel the establishment of the address entry from the MAC address of the first service packets, wherein the packets of the specified type unknown list multicast packets, multicast packets or gratuitous ARP packets broadcast packets.

[0029] 下面结合附图,用具体实施例对本发明提供的方法及装置进行详细描述。 [0029] below with reference to the accompanying drawings, the present invention provides a method and apparatus are described in detail with specific embodiments.

[0030] 实施例1 : [0030] Example 1:

[0031] 图4为本发明实施例1中提供的MAC地址表建立方法的流程图,具体包括: [0031] FIG 4 is a flowchart of a method to establish the MAC address table provided in Example 1 of the present embodiment of the invention, comprises:

[0032] 步骤S401、PE通过与其相连的PW接收用户的业务报文。 [0032] Step S401, PW PE connected thereto by a user receiving a service packet.

[0033] 在VPLS网络中,两个PE之间的虚拟线路称作PW,在PW上传输用户的二层报文,不同的PW可以用MPLS (Multi-Protocol Label Switching,多协议标签交换)标签来区分。 [0033] In a VPLS network, the virtual line between the two referred to as PE PW, PW transmitting user on Layer 2 packets may be different PW MPLS (Multi-Protocol Label Switching, MPLS) Label to distinguish.

[0034] 步骤S402、判断通过PW接收的业务报文是否为指定类型报文,指定类型报文为非免费ARP报文的广播报文、未知名单播报文或组播报文,其中,非免费ARP报文的广播报文包括了除免费ARP报文外的全部广播报文,未知名单播报文为报文中的目的MAC地址为单播MAC地址,且在PE本地的MAC地址表中未查找到该目的MAC地址的地址表项的报文。 [0034] step S402, the PW is determined by the received service message is the specified message type, the message type specified non gratuitous ARP packets broadcast packets, multicast packets or unknown list of multicast packets, wherein the non-free ARP packets are broadcast packets includes all broadcast packets except gratuitous ARP packets, unknown list of multicast packets to the destination MAC address in the packet is a unicast MAC address, and is not found in the PE local MAC address table packet address entry to the destination MAC address.

[0035] 免费ARP报文是标准ARP请求报文的特例,目的MAC地址仍是二层广播地址FFFF-FFFF-FFFF,源MAC地址是发送该免费ARP报文的设备的MAC地址,然而,源IP地址和目的IP地址都是发送该免费ARP报文的设备的IP地址。 [0035] The standard gratuitous ARP packet is a special case of the ARP request message, the destination MAC address is still Layer broadcast address FFFF-FFFF-FFFF, the transmission source MAC address is gratuitous ARP packets the MAC address of the device, however, the source IP address and destination IP addresses are free to send the IP address of the ARP packet equipment.

[0036] 如果通过PW接收的业务报文是指定类型报文,则进入步骤S403,否则,进入步骤S404。 [0036] If the service packet received by the PW is to specify the type of the packet, the process proceeds to step S403, the otherwise, to step S404.

[0037] 步骤S403、当PE通过PW接收的业务报文是上述指定类型报文时,由于该业务报文的目的MAC地址可能不是唯一确定的,例如,非免费ARP报文的广播报文和组播报文,也可能是唯一确定的,但本地MAC地址表中未包括该目的MAC地址的地址表项,例如,未知名单播报文,此时,对于非免费ARP报文的广播报文和未知名单播报文,PE采用泛洪方式转发该业务报文,对于组播报文,PE也需要根据组播地址将该业务报文转发给多个目的设备,也就是说,PE需要将该业务报文转发给多个目的设备,然而后续接收到该业务报文的目的设备可能不会与该业务报文的源MAC地址的对应设备进行交互,PE也就不需要将后续所接收的业务报文转发给该业务报文的源MAC地址的对应设备,因此,本步骤中,PE取消对该业务报文的源MAC地址的地址表项的建立。 [0037] step S403, the when the service packet PE received by the PW is specified above type packet, since the destination MAC address of the service packet may not be uniquely determined, e.g., non-gratuitous ARP packet is broadcast packet and multicast packets, or it may be uniquely determined, but the local MAC address table does not include the destination MAC address entry address, for example, a list of unknown multicast packets, this time, for non-gratuitous ARP packets and broadcast packets list of unknown multicast packets, PE from flooding the service packet forwarding mode for multicast packets, PE need to be forwarded to the plurality of destination devices based on the multicast address of the packet service, i.e., PE requires the traffic forwards the packet to the plurality of destination devices, however, the subsequently received service packet destination device may not interact with the device corresponding to the source MAC address of the service packet, PE there is no need to follow the received traffic messages forwards the message to the device corresponding to the source MAC address of the packet service, therefore, in this step, PE cancel the establishment address entry from the MAC address of the service packet.

[0038] 步骤S404、判断通过PW接收的业务报文是免费ARP报文,还是知名单播报文,如果是知名单播报文,进入步骤S405,如果是免费ARP报文,进入步骤S406。 [0038] step S404, the judgment by the PW service packet is received gratuitous ARP packets, the list of known or multicast packet, if it is known list of multicast packets and proceeds to step S405, if it is gratuitous ARP packets and proceeds to step S406.

[0039] 步骤S405、当PE通过PW接收的业务报文是知名单播报文时,按照现有技术中对于知名单播报文的源MAC地址的学习方式建立地址表项,即获取该业务报文的源MAC地址,并当本地的MAC地址表中未包括获取的该源MAC地址的地址表项时,建立该源MAC地址的地址表项。 [0039] In step S405, the service packet when received by PE PW is known list of multicast messages, the establishment of learning in accordance with address entries for known prior art, the list of multicast MAC address as the source, i.e., obtain the service packet the source MAC address, when the address and the source MAC address entry of the local MAC address table does not include the acquired address entries to establish the source MAC address.

[0040] 步骤S406、当PE通过PW接收的业务报文是免费ARP报文时,判断本地的MAC地址表中是否包括了该业务报文的源MAC地址的地址表项,如果未包括,进入步骤S407,否则, 进入步骤S408。 [0040] step S406, when a service packet PE received by PW is a gratuitous ARP packet, determining a local MAC address table is included the address table the source MAC address of the service packet, if not included, into the step S407, otherwise, to step S408.

[0041] 步骤S407、当本地的MAC地址表中未包括了该业务报文的源MAC地址的地址表项时,取消对该业务报文的源MAC地址的地址表项的建立。 [0041] step S407, when the local MAC address table does not include the source MAC address entry address of the service packet, the address entry to cancel the establishment of the source MAC address of the service packet.

[0042] 步骤S408、当本地的MAC地址表中包括了该业务报文的源MAC地址的地址表项时, 从MAC地址表中的该源MAC地址表项中获取该源MAC地址对应的转发接口信息,并使用接收该业务报文的PW的对应接口的接口信息,更新所获取的该源MAC地址对应的转发接口信肩、ο [0042] In step S408, when the local MAC address table included in the address table the source MAC address of the service packet when, acquires the source MAC address is forwarded from the MAC address table of the source MAC address entry the source MAC address of the interface information corresponding to the interface to the update information, and the service using the received packet forwarding PW acquired interface channel shoulder, o

[0043] 由于免费ARP报文可用于更新源MAC地址的转发接口信息,所以,本实施例中将免费ARP报文与其它广播报文进行区分,并在本步骤中,实现对源MAC地址的转发接口信息的更新,以便后续准确的将目的MAC地址为该源MAC地址的报文转发给该源MAC地址对应的设备。 [0043] Since the gratuitous ARP packet can be used to update the forwarding information of the source MAC address of the interface, therefore, in the present embodiment, the gratuitous ARP packet distinguished from other broadcast messages, and in this step, the source MAC address to realize forwarding update interface information, so that subsequent accurate the destination MAC address as the source MAC address to forward the packet to the source MAC address of the device.

[0044] 通过上述步骤S401-步骤S408,对本实施例1提出的方案中,PE针对从PW接收的业务报文建立MAC地址表的详细流程,然而,在VPLS网络中,一个PE可以与其它PE相连, 也可以与CE相连,PE与CE之间的物理线路或者虚拟线路称为AC (Attachment Circuits, 联接电路),因此,PE也可以通过与其相连的AC接收来自AC的业务报文。 [0044] Through the above steps S401- step S408, the program of the present embodiment 1 proposed, PE established the detailed flow of the MAC address table for the service packet received from the PW, however, in a VPLS network, a PE may be associated with other PE is connected, may be connected with the CE, the physical line between PE and CE or a virtual circuit is called AC (Attachment circuits, coupling circuit), and therefore, PE may be service packet received from the AC connected thereto via the AC.

[0045] 对于PE通过AC接收的业务报文,较佳的,本实施例1提出如下具体方案: [0045] For the service packet received by the PE AC, preferred, embodiment 1 of the present embodiment proposes the following specific programs:

[0046] PE通过AC接收的业务报文,获取该业务报文的源MAC地址,并当本地的MAC地址表中未包括获取的该源MAC地址的地址表项时,建立该源MAC地址的地址表项。 [0046] PE received via the AC service packet, obtains the source MAC address of the service packet, and when the local MAC address table does not include an address table entry for the source MAC address acquired when the establishment of the source MAC address address entries.

[0047] 图5为上述图2所示网络架构的简化示意图,基于图5所示的网络架构,在现有技术中,当部署在虚拟机服务器A上的VMl将要和部署在虚拟机服务器B上的VM2通信时,由于VMl上没有VM2的MAC地址,所以会先发送ARP请求报文的广播报文,该ARP请求报文会在二层的VPLS域内转发,从而到达该VPLS域内的所有PE上,进而所有PE都将学习该ARP 请求报文的源MAC地址,即建立VMl的MAC地址的地址表项,而实际上是由于要在VMl和VM2 之间进行通信,因此最理想的情况是只要在PEl和PE2上对VMl的MAC地址进行地址学习即可,而VMl与网关并没有发生通信,则PE3是不需要对VMl的MAC地址进行地址学习的。 [0047] FIG. 5 is a simplified schematic diagram of FIG. 2 above network architecture, network-based architecture shown in FIG. 5, in the prior art, when deployed on a virtual machine VMl server A and to be deployed in the virtual machine server B when communicating on the VM2, since no MAC address VM2 on VMl, it will first send an ARP request packets broadcast packets, the ARP request packet will be forwarded on the second floor of the VPLS domain so as to reach all of the PE domain VPLS on all PE will further learns the source MAC address in the ARP request packet, i.e., establishing the address of the MAC address entry VMl, and in fact is due to communication between the VMl and VM2, the ideal situation is therefore As long as the address to the MAC address learning on the VMl PEl and PE2, and VMl and no communication with the gateway, the MAC address is not required PE3 VMl be learned address.

[0048] 而采用本发明上述实施例1中提供的方案,如图6所示,当VMl发送ARP请求报文的广播报文,该ARP请求报文同样会在二层的VPLS域内转发,此时,PEl是从与其相连的AC 接收的该ARP请求报文,所以,将建立该ARP报文的源MAC地址的地址表项,PE2和PE3是分别从与其相连的PW3和PWl接收该ARP请求报文,所以,将取消对该ARP请求报文的源MAC 地址的地址表项的建立。 [0048] The use of the above-described embodiment provides an embodiment of the invention, shown in FIG. 6, when VMl sends an ARP request packets broadcast packets, the ARP request packet in the same VPLS domain forwards the second floor, this when the ARP PEl is received from an AC connected thereto request packet, it will be established address table the source MAC address of the ARP packet, PE2 and PE3 respectively from the connected thereto PW3 and PWl receives the ARP request message, it will cancel the established address entry packet's source MAC address of the ARP request.

[0049] 如图7所示,VM2在接收到该ARP请求报文后,将向VMl返回ARP应答报文,该ARP 应答报文到达PE2后,由于PE2本地的MAC地址表中未包括该ARP应答报文的目的MAC地址(即VMl的MAC地址)的地址表项,所以该ARP应答报文对于PE2来说是未知名单播报文,将采用泛洪的方式转发该ARP应答报文,并且,PE2是通过与其相连的AC接收该ARP应答报文,所以,将建立该ARP应答报文的源MAC地址(即VM2的MAC地址)的地址表项。 [0049] 7, after VM2 upon receiving the ARP request packet, returns will VMl ARP response packet, the ARP reply packet PE2, PE2 since the local MAC address table does not include the ARP reply packet destination MAC address (i.e., MAC address VMl) address entry, the ARP response packet which is unknown to the PE2 list of multicast packets from flooding the way forward the ARP response packet, and, PE2 is connected thereto via the AC receives the ARP response packet, therefore, the establishment of the ARP response packet to the source MAC address (i.e., MAC address of VM2) in address entries.

[0050] 由于PE3本地的MAC地址表中也未包括该ARP应答报文的目的MAC地址的地址表项,且PE3是从PW2接收的该ARP应答报文,所以,将取消对该ARP应答报文的源MAC地址的地址表项的建立。 [0050] Since PE3 local MAC address table does not include also the address entries ARP reply packet destination MAC address, and PE3 is the ARP response packet received from the PW2, so that the ARP response packet will be canceled establish the source MAC address entry address of the text.

[0051 ] 由于PE1本地的MAC地址表中包括该ARP应答报文中的目的MAC地址的地址表项, 所以该ARP应答报文对于PEl来说是知名单播报文,所以PEl将按照地址表中该目的MAC 地址的地址表项,将该ARP应答报文转发给目的MAC地址对应的设备,即转发给VM1,并且, 建立该ARP应答报文的源MAC地址(即VM2的MAC地址)的地址表项。 [0051] Since the local PE1 MAC address table entry includes an address of the destination MAC address in the ARP response packet, so that the ARP response packet to a list of PEl is known to multicast packets, the address table in accordance PEl address entry of the destination MAC address, the ARP response packet to the destination MAC address of the device, i.e., forwarded to the VM1, and establishing a source MAC address in the ARP reply packet (i.e., MAC address of VM2) address entries.

[0052] 如图8所示,VMl在接收到该ARP应答报文后,即可获知VM2的MAC地址,然后可发送目的MAC地址为VM2的MAC地址的业务报文,PEl在接收到该业务报文后,则获取该业务报文的目的MAC地址,然后在本地MAC地址表中查找出该目的MAC地址的转发接口,如VM2的MAC地址的转发接口为PW3对应接口,然后从查询出的转发接口转发该业务报文,即从PW3对应接口将该业务报文转发给PE2,PE2在接收到该业务报文后,则获取该业务报文的目的MAC地址,然后在本地MAC地址表中查找出该目的MAC地址的转发接口,如VM2的MAC地址的转发接口为PortB,然后从查询出的转发接口再将该业务报文转发给VM2,并且, 该业务报文对于PE2来说是知名单播报文,所以PE2建立该业务报文的源MAC地址(即VMl 的MAC地址)的地址表项。 [0052] 8, VMl after receiving the ARP response packet, the MAC address can be known VM2, and then send the destination MAC address is the MAC address of the service packets of VM2, in receiving the service PEl after the packet, obtain the destination MAC address of the service packet, then in the local MAC address table in the forwarding interface is the destination MAC address, forwarding the MAC address as VM2 interface to PW3 corresponding to the interface, and then from the query forwarding interface to forward the packet service, i.e. corresponding to the service packet from the interface PW3 forwarded to PE2, PE2, after receiving the service packet, the destination MAC address of the service packet is acquired, then the local MAC address table the object is to find out the MAC address forwarding interface, such as MAC address forwarding interface to PortB VM2, and then forwarded from the forwarding interface is queried to VM2 traffic packet, and the packet service is known for PE2 list multicast packets, so PE2 establish the service packet's source MAC address (ie VMl MAC address) of the address entries.

[0053] 本实施例中,PE在转发从AC接收到的业务报文时,是将该业务报文封装为标签报文,再进行转发;PE接收到封装的标签报文后,解除该标签报文的封装,获取到该业务报文,再根据该业务报文的目的MAC地址将该业务报文通过AC转发给用户边缘设备CE,对于封装标签报文和解封装的具体方案可采用现有技术,在此不再详细描述。 [0053] In this embodiment, received from the PE to forward the service message to AC, the service packet is an encapsulated packet as a tag, then forwards; PE after receiving the encapsulated packet label, the label is released encapsulating packets, to obtain the service packet, and then forwarded to the user via an AC edge device CE according to the destination MAC address of the service packet service packets for a particular program packet encapsulation and decapsulation label may be any conventional technique, not described in detail herein.

[0054] 从图6-8中可见,采用本发明实施例1提供的上述方案,PE3不会在本地的MAC地址表中建立VMl的MAC地址的地址表项,所以,相比现有技术,PE3减少了MAC地址表的容量。 [0054] can be seen from Figure 6-8, the above-described embodiment of Example 1 of the embodiment of the present invention is provided, does not create the PE3 MAC address entry in the local address VMl MAC address table, so that, compared with the prior art, PE3 reduces the capacity of the MAC address table.

[0055] 在采用VPLS技术实现虚拟机部署的数据中心网络中,当数据中心网络中的PE均采用上述实施例1提供的MAC地址表建立方法时,可减少PE本地MAC地址表的容量,从而提高了数据中心网络所能承载的虚拟机服务器的数量,并且避免采用大容量MAC地址表的PE,从而降低了数据中心网络的组网成本。 When the [0055] network data center using VPLS technology deployed virtual machines, when a data center network of PE are used in the MAC address table creating method of Example 1 provided, you can reduce the capacity PE local MAC address table, thereby increasing the number of the virtual machine server data center network can carry, and to avoid large-capacity PE MAC address table, thereby reducing the cost of the network data center networking.

[0056] 上述实施例1中,是在所有PE两两互联的全互联拓扑模型的VPLS网络中实现的, 对于采用分层拓扑模型的H-VPLS网络,同样可以采用相似的技术方案,下面在实施例2中对此进行详细描述。 [0056] Example 1 above, is implemented in a full-mesh topology VPLS network model PE twenty-two all interconnected, with respect to H-VPLS network using hierarchical model, can also be a similar technical solution, the following Example 2 be described in detail.

[0057] 实施例2 : [0057] Example 2:

[0058] 图9所示为采用分层拓扑模型的H-VPLS网络的结构示意图,其中,对PE进行了区分,包括网络运营商边缘设备N-PE和面向用户的运营商边缘设备U-PE,N-PE为处于骨干网络核心边缘的PE,提供在核心网之间的VPLS的透传服务,一个LAN中的所有N-PE两两互联,U-PE为面向用户的PE,与CE相连,作为为CE接入VPN的汇聚设备。 [0058] Figure 9 is a schematic view of H-VPLS network using hierarchical model, in which, to make a distinction PE, comprising a network provider edge, and N-PE user facing provider edge U-PE , N-PE in the PE core backbone network edge, providing a VPLS transparent transmission between the core network service, a N-PE twenty-two all interconnected in the LAN, U-PE PE facing the user, and is connected to CE as for the CE device to access the VPN aggregation.

[0059] 其中,两个N-PE之间的伪线称作Hub-PW,N-PE与U-PE之间的伪线称作Spoke_PW, 从图9中可见,U-PE与全互联拓扑模型的VPLS网络中PE相似,均是既有AC的接口,也有PW的接口,因此,本实施例2中,U-PE可采用与上述实施例1中PE相同的MAC地址表建立的方案,其中Spoke-PW相当于上述实施例1中的PW,具体方案在此不再进行详细描述。 [0059] wherein the pseudowire between two N-PE referred Hub-PW, PW between the N-PE and U-PE referred Spoke_PW, seen from FIG. 9, U-PE with a full-mesh topology VPLS network model similar PE, both are AC interface, there PW interface, therefore, in Example 2 embodiment, U-PE may be employed in the above-described embodiment of Example 1 with the same PE MAC address table is established, Spoke-PW which corresponds to the embodiment in Example 1 PW, specific programs will not be described in detail.

[0060] 而对于N-PE,由于其没有AC的接口,所以无法采用与上述实施例1中PE相同的MAC地址表建立的方案,但可采用相似的方案,如图10所示,具体包括: [0060] For the N-PE, not because of its AC interface, can not be employed in the above Example 1 with the same PE MAC address table creating program, a similar scheme may be employed, as shown in FIG. 10, comprises :

[0061] 步骤S1001、N_PE接收用户的业务报文。 [0061] Step S1001, N_PE received user packet traffic. 在H-VPLS网络中,一个N-PE可以与其它N-PE相连,也可以与U-PE相连,两个N-PE之间的伪线称作Hub_PW,N_PE与U-PE之间的伪线称作Spoke-PW,因此,N-PE可通过与其相连的Hub-PW接收来自Hub-PW的业务报文,也可以通过与其相连的Spoke-PW接收来自Spoke-PW的业务报文。 In the H-VPLS network, a N-PE may be connected to other N-PE, may be connected to the U-PE, the PW between the two N-PE referred Hub_PW, between the dummy and the U-PE N_PE Spoke-PW line referred to, therefore, N-PE may be connected thereto via Hub-PW traffic packet received from the Hub-PW, and may be connected thereto via Spoke-PW traffic packet received from the Spoke-PW.

[0062] 步骤S1002、当N-PE通过与其相连的Hub-PW接收用户的业务报文时,进入步骤S1003,否则,即当N-PE通过与其相连的Spoke-PW接收用户的业务报文时,进入步骤S1004。 [0062] step S1002, when Hub-PW N-PE by connected thereto receiving a user service packets, entering step S1003, the otherwise, i.e., when the N-PE by its Spoke-PW receiving a user connected to the service packet and proceeds to step S1004.

[0063] 步骤S1003、判断通过Hub-PW接收的业务报文是否为指定类型报文,指定类型报文为非免费ARP报文的广播报文、未知名单播报文或组播报文,其中,非免费ARP报文的广播报文包括了除免费ARP报文外的全部广播报文,未知名单播报文为报文中的目的MAC地址为单播MAC地址,且在N-PE本地的MAC地址表中未查找到该目的MAC地址的地址表项的报文。 [0063] step S1003, the determination by the received service packet Hub-PW is the specified message type, the message type specified non gratuitous ARP packets broadcast packets, multicast packets or unknown list of multicast packets, wherein, non gratuitous ARP packet is broadcast packet includes all broadcast messages except the gratuitous ARP packets, unknown list of multicast packets for the destination MAC address of the packet is a unicast MAC address and the MAC address of the N-PE local table packet is not found in the address entry of the destination MAC address.

[0064] 如果通过Hub-PW接收的业务报文是指定类型报文,则进入步骤S1005,否则,进入步骤S1006。 [0064] If the service packet received by the Hub-PW is to specify the type of the packet, the process proceeds to step S1005, the otherwise, to step S1006.

[0065] 步骤S1004、N-PE对于通过Spoke-PW接收的业务报文,获取该业务报文的源MAC 地址,并当本地的MAC地址表中未包括获取的该源MAC地址的地址表项时,建立该源MAC地址的地址表项。 [0065] Step S1004, N-PE for the service packets received by Spoke-PW, obtains the source MAC address of the service packet, and when the address table of the source MAC address of the local MAC address table does not include the acquired when establishing the source MAC address entry address.

[0066] 步骤S1005、当N-PE通过Hub-PW接收的业务报文是上述指定类型报文时,由于该业务报文的目的MAC地址可能不是唯一确定的,例如,非免费ARP报文的广播报文和组播报文,也可能是唯一确定的,但本地MAC地址表中未包括该目的MAC地址的地址表项,例如, 未知名单播报文,此时,对于非免费ARP报文的广播报文和未知名单播报文,N-PE采用泛洪方式转发该业务报文,对于组播报文,N-PE也需要根据组播地址将该业务报文转发给多个目的设备,也就是说,N-PE需要将该业务报文转发给多个目的设备,然而后续接收到该业务报文的目的设备可能不会与该业务报文的源MAC地址的对应设备进行交互,N-PE也就不需要将后续所接收的业务报文转发给该业务报文的源MAC地址的对应设备,因此,本步骤中, N-PE取消对该业务报文的源MAC地址的地址表项的建立。 [0066] step S1005, the when the service packet N-PE received by the Hub-PW is specified above type packet, since the destination MAC address of the service packet may not be uniquely determined, e.g., non-free ARP packets broadcast packets and multicast packets, or it may be uniquely determined, but the local MAC address table does not include the destination MAC address entry address, for example, a list of unknown multicast packets, this time for non-free ARP packet list of unknown packets and broadcast multicast packets, N-PE from flooding the service packet forwarding mode for multicast packets, N-PE also need to be forwarded to a plurality of destination devices based on the multicast address of the service packet, and that is, N-PE requires the forward service packets to destination devices, however, the subsequently received service packet destination device may not interact with the device corresponding to the source MAC address of the service packet, N- there is no need PE device corresponding to the source MAC address of the received subsequent service packets are forwarded to the service packet, and therefore, in this step, N-PE cancel MAC address table the source address of the message service establishment.

[0067] 步骤S1006、判断通过Hub-PW接收的业务报文是免费ARP报文,还是知名单播报文,如果是知名单播报文,进入步骤S1007,如果是免费ARP报文,进入步骤S1008。 [0067] Step S1006, whether the service message received by the Hub-PW is a gratuitous ARP packets, or to know the list of multicast packet, if it is known list of multicast messages, proceed to step S1007, if it is gratuitous ARP packets and proceeds to step S1008.

[0068] 步骤S1007、当N-PE通过Hub-PW接收的业务报文是知名单播报文时,按照现有技术中对于知名单播报文的源MAC地址的学习方式建立地址表项,即获取该业务报文的源MAC地址,并当本地的MAC地址表中未包括获取的该源MAC地址的地址表项时,建立该源MAC地址的地址表项。 [0068] Step S1007, when the service packet received by the N-PE Hub-PW is known list of multicast messages, the establishment of learning in accordance with address entries for known prior art, the list of multicast MAC address as the source, i.e., obtaining the source MAC address of the service packet, when the address and the source MAC address entry in the local MAC address table does not include the acquired address entries to establish the source MAC address.

[0069] 步骤S1008、当N-PE通过Hub-PW接收的业务报文是免费ARP报文时,判断本地的MAC地址表中是否包括了该业务报文的源MAC地址的地址表项,如果未包括,进入步骤S1009,否则,进入步骤SlOlO0 [0069] step S1008, when the service packet N-PE received by the Hub-PW is a gratuitous ARP packet, determining a local MAC address table is included the address table the source MAC address of the service packet, if not including advances to step S1009, otherwise, to step SlOlO0

[0070] 免费ARP报文是标准ARP请求报文的特例,目的MAC地址仍是二层广播地址FFFF-FFFF-FFFF,源MAC地址是发送该免费ARP报文的设备的MAC地址,然而,源IP地址和目的IP地址都是发送该免费ARP报文的设备的IP地址。 [0070] Standard gratuitous ARP packet is a special case of the ARP request message, the destination MAC address is still Layer broadcast address FFFF-FFFF-FFFF, the transmission source MAC address is gratuitous ARP packets the MAC address of the device, however, the source IP address and destination IP addresses are free to send the IP address of the ARP packet equipment.

[0071] 步骤S1009、当N-PE本地的MAC地址表中未包括该业务报文的源MAC地址的地址表项时,取消对该业务报文的源MAC地址的地址表项的建立。 When [0071] Step S1009, when the N-PE local MAC address table does not include the source MAC address entry of the service address message, establishing canceled address entry from the MAC address of the service packet.

[0072] 步骤S1010、当N-PE本地的MAC地址表中包括了该业务报文的源MAC地址的地址表项时,从MAC地址表中的该源MAC地址表项中获取该源MAC地址对应的转发接口,并使用接收该业务报文的Hub-PW的对应接口,更新所获取的该源MAC地址对应的转发接口。 [0072] step S1010, the when the N-PE local MAC address table included in the address table the source MAC address of the service packet when, acquires the source MAC address from the MAC address table of the source MAC address entry corresponding forwarding interface, and the service using the received packets Hub-PW corresponding to the interface, updating the acquired corresponding to the source MAC address forwarding interface.

[0073] 实施例3 : [0073] Example 3:

[0074] 基于同一发明构思,根据本发明上述实施例提供的MAC地址表建立方法,相应地, 本发明实施例3还提供了一种运营商边缘设备,其结构示意图如图11所示,具体包括: [0074] Based on the same inventive concept, according to the MAC address table to establish the above-described embodiments of the present invention provides a method, accordingly, embodiments of the present invention further provides a 3 provider edge, a schematic view of the structure shown in Figure 11, particularly include:

[0075] 第一接收单元1101,用于通过与PE相连的伪线PW接收第一业务报文; [0075] The first receiving unit 1101 for receiving a first packet via pseudo wire service PW connected to the PE;

[0076] 建立单元1102,用于当确定所述第一业务报文为指定类型报文时,取消对所述第一业务报文的源MAC地址的地址表项的建立,所述指定类型报文为未知名单播报文、组播报文或非免费地址解析协议ARP报文的广播报文。 [0076] creating unit 1102, for determining when the first traffic packet of the specified type packets, the source MAC address to cancel the establishment of the first traffic packet of address entries, the packet of the specified type Wen is the list of unknown multicast packets, multicast packets or free ARP ARP packets broadcast packets.

[0077] 较佳的,所述建立单元1102,还用于当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中未包括所述第一业务报文的源MAC地址的地址表项时,取消对所述第一业务报文的源MAC地址的地址表项的建立; [0077] Preferably, the establishing unit 1102 is further configured to determine when the source MAC packet is the first traffic gratuitous ARP packets, and the local MAC address table is not included in the first service message when the address entry address, address entry to cancel the establishment of the first traffic packet source MAC address;

[0078] 当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中包括所述第一业务报文的源MAC地址的地址表项时,使用所述伪线对应接口的接口信息更新所述源MAC 地址的地址表项中与所述源MAC地址对应的转发接口信息。 [0078] When it is determined that the first traffic packet for the free ARP packet, and the local MAC address table entry includes an address of the source MAC address of the first service message, using the pseudo wire corresponding to the interface the interface information of the source MAC address entry in the address forwarding interface information corresponding to the source MAC address.

[0079] 较佳的,上述运营商边缘设备,还包括: [0079] Preferably said PE device, further comprising:

[0080] 第二接收单元1103,用于通过与本PE相连的联接电路AC接收第二业务报文; [0080] The second receiving unit 1103, configured to receive a second service packets AC coupling circuit connected to the PE of the present;

[0081] 所述建立单元1102,还用于当本地的MAC地址表中未包括所述第二业务报文的源MAC地址的地址表项时,建立所述第二业务报文的源MAC地址的地址表项。 When [0081] the establishing unit 1102 is further configured to, when the local address table entry the MAC address table is not included in the second service message source MAC address, source MAC address establishing the second service message the address entry.

[0082] 较佳的,所述PE为面向用户的运营商边缘设备U-PE,所述PW为所述U-PE与网络运营商边缘设备N-PE之间的Spoke-PW。 [0082] Preferably, the PE is a user-facing provider edge U-PE, the PW between the U-PE with a network provider edge of the N-PE Spoke-PW.

[0083] 较佳的,所述PE为网络运营商边缘设备N-PE,所述PW为所述N-PE与其它N-PE之间的第一伪线Hub-PW。 [0083] Preferably, the PE network provider edge N-PE, PW is the first dummy line between the N-PE with other N-PE Hub-PW.

[0084] 较佳的,上述网络运营商边缘设备,还包括: [0084] Preferably, said network provider edge, further comprising:

[0085] 第三接收单元1104,用于通过与面向用户的运营商边缘设备U-PE之间的第二伪线Spoke-PW接收第三业务报文; [0085] The third receiving unit 1104, and the third service by receiving a second dummy line Spoke-PW between the user facing provider edge message U-PE;

[0086] 所述建立单元1102,还用于当本地的MAC地址表中未包括所述第三业务报文的源MAC地址的地址表项时,建立所述第三业务报文的源MAC地址的地址表项。 When [0086] the establishing unit 1102 is further configured to, when the local address table entry the MAC address table is not included in the third service packet source MAC address, establishing a third service packet's source MAC address the address entry.

[0087] 综上所述,本发明实施例提供的方案,包括:PE通过与其相连的PW接收第一业务报文;当确定接收的该第一业务报文为指定类型报文时,取消对该第一业务报文的源MAC 地址的地址表项的建立,其中,指定类型报文为未知名单播报文、组播报文或非免费ARP报文的广播报文。 [0087] In summary, the solution provided by the embodiment of the present invention, comprising: PW PE connected thereto by a first traffic packet received; when it is determined that the received packet is the first traffic packet of the specified type, the removal of establish the source address entries MAC address of the first service message, which specifies the type of packet is a list of unknown multicast packets, multicast packets or gratuitous ARP packets broadcast packets. 采用本发明实施例提供的方案,减少了PE所建立的地址表项的数量,从而减少了其MAC地址表的容量。 Using the scheme provided by the embodiment of the present invention reduces the number of address entries established PE, thereby reducing the capacity of the MAC address table.

[0088] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0088] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (12)

1. 一种介质访问控制MAC地址表建立方法,其特征在于,包括:运营商边缘设备PE通过与其相连的伪线PW接收第一业务报文;并当确定所述第一业务报文为指定类型报文时,取消对所述第一业务报文的源MAC地址的地址表项的建立,所述指定类型报文为未知名单播报文、组播报文或非免费地址解析协议ARP报文的广播报文。 A media access control MAC address table creating method comprising: a provider edge PE device by receiving the first packet service pseudo-wire PW connected thereto; and determining when the first traffic packet for the specified when the message type, cancel the establishment of the MAC address of the first source packet of the service address entry, the unknown packet type specified list of multicast packets, multicast packets or free ARP protocol packets broadcast packets.
2.如权利要求1所述的方法,其特征在于,还包括:当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中未包括所述第一业务报文的源MAC地址的地址表项时,取消对所述第一业务报文的源MAC地址的地址表项的建立;当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中包括所述第一业务报文的源MAC地址的地址表项时,使用所述伪线对应接口的接口信息更新所述源MAC地址的地址表项中与所述源MAC地址对应的转发接口信息。 2. The method according to claim 1, characterized in that, further comprising: determining when the first traffic packet for the free ARP packet, and the local MAC address table is not included in the first service message when the source MAC address entry of address, the source MAC address to cancel the establishment of the first traffic packet of address entries; when the local MAC address table to determine the first traffic packet for the free ARP packets, and when the address entry includes the source MAC address of the first service packets, using the pseudo wire corresponding to the interface to update the information of the source MAC address with the address table corresponding to the source MAC address forwarding interface information.
3.如权利要求1所述的方法,其特征在于,还包括:所述PE通过与其相连的联接电路AC接收第二业务报文;并当本地的MAC地址表中未包括所述第二业务报文的源MAC地址的地址表项时,建立所述第二业务报文的源MAC地址的地址表项。 3. The method according to claim 1, characterized in that, further comprising: a coupling circuit connected thereto through the AC PE receiving a second packet service; and, when the local MAC address table is not included in the second service when the source MAC address entry of address packets, establishing the address table the source MAC address of the second service message.
4.如权利要求1-3任一所述的方法,其特征在于,所述PE为面向用户的运营商边缘设备U-PE,所述PW为所述U-PE与网络运营商边缘设备N-PE之间的Spoke-PW。 4. The method according to any of claims 1-3, wherein said PE is a user-oriented provider edge U-PE, PW is the U-PE and the provider edge network N Spoke-PW between -PE.
5.如权利要求1或2所述的方法,其特征在于,所述PE为第一网络运营商边缘设备N-PE,所述PW为所述第一N-PE与第二N-PE之间的第一伪线Hub_PW。 5. The method of claim 1 or claim 2, wherein the PE is the first network provider edge N-PE, the PW said first and second N-PE of the N-PE a first pseudo wire between Hub_PW.
6.如权利要求5所述的方法,其特征在于,还包括:所述第一N-PE通过与面向用户的运营商边缘设备U-PE之间的第二伪线Spoke-PW接收第三业务报文;并当本地的MAC地址表中未包括所述第三业务报文的源MAC地址的地址表项时,建立所述第三业务报文的源MAC地址的地址表项。 6. The method according to claim 5, characterized in that, further comprising: said first through N-PE receives a second pseudo-wire Spoke-PW between the user-facing provider edge third U-PE service packets; and, when the local MAC address table does not include the source MAC address entry address when the third service packets, establishing the address table the source MAC address of a third service packet.
7. —种运营商边缘设备PE,其特征在于,包括:第一接收单元,用于通过与PE相连的伪线PW接收第一业务报文;建立单元,用于当确定所述第一业务报文为指定类型报文时,取消对所述第一业务报文的源MAC地址的地址表项的建立,所述指定类型报文为未知名单播报文、组播报文或非免费地址解析协议ARP报文的广播报文。 7. - kind of provider edge PE, characterized in that, comprising: a first receiving means for receiving a first packet via pseudo wire service PW connected to PE; establishing means, for determining when the first traffic packet is a packet of the specified type, to cancel the establishment of the MAC address of the first source packet of the service address entry, the unknown packet type specified list of multicast packets, multicast packets or free address Resolution ARP protocol packets broadcast packets.
8.如权利要求7所述的运营商边缘设备,其特征在于,所述建立单元,还用于当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中未包括所述第一业务报文的源MAC 地址的地址表项时,取消对所述第一业务报文的源MAC地址的地址表项的建立;当确定所述第一业务报文为免费ARP报文,且本地的MAC地址表中包括所述第一业务报文的源MAC地址的地址表项时,使用所述伪线对应接口的接口信息更新所述源MAC地址的地址表项中与所述源MAC地址对应的转发接口信息。 8. provider edge according to claim 7, wherein the establishing means for further determining when the first traffic packet for the free ARP packet, and the local MAC address table does not include when the source MAC address entry address of a first packet service, cancellation of the source MAC address to establish the first traffic packet of address entries; determining when the first traffic packet for the gratuitous ARP the text, and the local MAC address table includes the source MAC address entry address of the first service packets, using the pseudo-address entries corresponding to the interface to the line information updating the source MAC address with the forwarding said interface information corresponding to the source MAC address.
9.如权利要求7所述的运营商边缘设备,其特征在于,还包括:第二接收单元,用于通过与本PE相连的联接电路AC接收第二业务报文;所述建立单元,还用于当本地的MAC地址表中未包括所述第二业务报文的源MAC地址的地址表项时,建立所述第二业务报文的源MAC地址的地址表项。 9. The provider edge device according to claim 7, characterized in that, further comprising: a second receiving means for receiving a second service packets AC coupling circuit connected to the PE of the present; the establishing means further when the local MAC address for the table does not include the source MAC address entry address when a second message service, establishing the address table the source MAC address of the second service message.
10.如权利要求7-9任一所述的运营商边缘设备,其特征在于,所述PE为面向用户的运营商边缘设备U-PE,所述PW为所述U-PE与网络运营商边缘设备N-PE之间的Spoke-PW。 10. The provider edge device of any one of claims 7-9, wherein said PE is a user-oriented provider edge U-PE, the PW is the U-PE with the network operator Spoke-PW edge device between the N-PE.
11.如权利要求7或8所述的运营商边缘设备,其特征在于,所述PE为网络运营商边缘设备N-PE,所述PW为所述N-PE与其它N-PE之间的第一伪线Hub_PW。 11. The provider edge device of claim 7 or claim 8, wherein said PE is a network provider edge N-PE, the PW between said N-PE with the other N-PE a first pseudo wire Hub_PW.
12.如权利要求11所述的网络运营商边缘设备,其特征在于,还包括:第三接收单元,用于通过与面向用户的运营商边缘设备U-PE之间的第二伪线Spoke-Pff接收第三业务报文;所述建立单元,还用于当本地的MAC地址表中未包括所述第三业务报文的源MAC地址的地址表项时,建立所述第三业务报文的源MAC地址的地址表项。 12. The network provider edge device of claim 11, characterized in that, further comprising: a third receiving unit, a second dummy line Spoke- by the user between provider edge facing U-PE receiving a third packet service Pff; when the establishing means is further configured to address entries when the local MAC address table is not included in the third service packet source MAC address, establishing a third service packet address of the source MAC address entry.
CN201110124582.0A 2011-05-13 2011-05-13 Method for building MAC (Media Access Control) address table and provider edge device 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 true CN102164091A (en) 2011-08-24
CN102164091B CN102164091B (en) 2015-01-21

Family

ID=44465072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110124582.0A 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)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355511A (en) * 2011-10-31 2012-02-15 福建星网锐捷网络有限公司 MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same
CN102801715A (en) * 2012-07-30 2012-11-28 华为技术有限公司 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
WO2013159511A1 (en) * 2012-04-26 2013-10-31 华为技术有限公司 Network address translation method, device and system
CN103428091A (en) * 2012-05-15 2013-12-04 中兴通讯股份有限公司 Control method of MAC address study and forwarding equipment
CN104639453A (en) * 2014-12-31 2015-05-20 北京华为数字技术有限公司 Pseudo-line flow rate control method and related equipment
CN104869063A (en) * 2014-02-21 2015-08-26 华为技术有限公司 Host route processing method in virtual subnet, related devices and communication system
CN104954218A (en) * 2014-03-24 2015-09-30 杭州华三通信技术有限公司 Distributed virtual switching device and forwarding method
US9392191B2 (en) 2013-04-27 2016-07-12 Huawei Technologies Co., Ltd. Method and device for processing video conference
CN107105072A (en) * 2017-05-18 2017-08-29 杭州迪普科技股份有限公司 Method and device for creating ARP table entry
US9935894B2 (en) 2014-05-08 2018-04-03 Cisco Technology, Inc. Collaborative inter-service scheduling of logical resources in cloud platforms
US10037617B2 (en) 2015-02-27 2018-07-31 Cisco Technology, Inc. Enhanced user interface systems including dynamic context selection for cloud-based networks
US10084703B2 (en) 2015-12-04 2018-09-25 Cisco Technology, Inc. Infrastructure-exclusive service forwarding
US10122605B2 (en) 2014-07-09 2018-11-06 Cisco Technology, Inc Annotation of network activity through different phases of execution
US10129177B2 (en) 2016-05-23 2018-11-13 Cisco Technology, Inc. Inter-cloud broker for hybrid cloud networks
US10142346B2 (en) 2016-07-28 2018-11-27 Cisco Technology, Inc. Extension of a private cloud end-point group to a public cloud
US10205677B2 (en) 2015-11-24 2019-02-12 Cisco Technology, Inc. Cloud resource placement optimization and migration execution in federated clouds
US10212074B2 (en) 2011-06-24 2019-02-19 Cisco Technology, Inc. Level of hierarchy in MST for traffic localization and load balancing
US10257042B2 (en) 2012-01-13 2019-04-09 Cisco Technology, Inc. System and method for managing site-to-site VPNs of a cloud managed network
US10263898B2 (en) 2016-07-20 2019-04-16 Cisco Technology, Inc. System and method for implementing universal cloud classification (UCC) as a service (UCCaaS)
US10320683B2 (en) 2017-01-30 2019-06-11 Cisco Technology, Inc. Reliable load-balancer using segment routing and real-time application monitoring
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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10050862B2 (en) 2015-02-09 2018-08-14 Cisco Technology, Inc. Distributed application framework that uses network and application awareness for placing data
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

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

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10212074B2 (en) 2011-06-24 2019-02-19 Cisco Technology, Inc. Level of hierarchy in MST for traffic localization and load balancing
CN102355511A (en) * 2011-10-31 2012-02-15 福建星网锐捷网络有限公司 MAC (Media Access Control) address table access control method, as well as apparatus and network device for the same
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
US10257042B2 (en) 2012-01-13 2019-04-09 Cisco Technology, Inc. System and method for managing site-to-site VPNs of a cloud managed network
US9515987B2 (en) 2012-04-26 2016-12-06 Huawei Technologies Co., Ltd. Method, apparatus, and system for network address translation
WO2013159511A1 (en) * 2012-04-26 2013-10-31 华为技术有限公司 Network address translation method, device and system
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
CN102801715A (en) * 2012-07-30 2012-11-28 华为技术有限公司 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
US9392191B2 (en) 2013-04-27 2016-07-12 Huawei Technologies Co., Ltd. Method and device for processing video conference
CN104869063A (en) * 2014-02-21 2015-08-26 华为技术有限公司 Host route processing method in virtual subnet, related devices and communication system
CN104869063B (en) * 2014-02-21 2019-02-12 华为技术有限公司 Host routes processing method and relevant device and communication system in virtual subnet
WO2015124041A1 (en) * 2014-02-21 2015-08-27 华为技术有限公司 Processing method and related device for host route in virtual sub-network, and communication system
US10148568B2 (en) 2014-02-21 2018-12-04 Huawei Technologies Co., Ltd. Method for processing host route in virtual subnet, related device, and communications system
CN104954218A (en) * 2014-03-24 2015-09-30 杭州华三通信技术有限公司 Distributed virtual switching device and forwarding method
CN104954218B (en) * 2014-03-24 2018-02-09 新华三技术有限公司 Apparatus and method for distributed virtual switching forwarding
US9935894B2 (en) 2014-05-08 2018-04-03 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
CN104639453A (en) * 2014-12-31 2015-05-20 北京华为数字技术有限公司 Pseudo-line flow rate control method and related equipment
CN104639453B (en) * 2014-12-31 2017-12-29 北京华为数字技术有限公司 PW flow control method and related apparatus
US10037617B2 (en) 2015-02-27 2018-07-31 Cisco Technology, Inc. Enhanced user interface systems including dynamic context selection for cloud-based networks
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
US10129177B2 (en) 2016-05-23 2018-11-13 Cisco Technology, Inc. Inter-cloud broker for hybrid cloud networks
US10263898B2 (en) 2016-07-20 2019-04-16 Cisco Technology, Inc. System and method for implementing universal cloud classification (UCC) as a service (UCCaaS)
US10142346B2 (en) 2016-07-28 2018-11-27 Cisco Technology, Inc. Extension of a private cloud end-point group to a public cloud
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
US10320683B2 (en) 2017-01-30 2019-06-11 Cisco Technology, Inc. Reliable load-balancer using segment routing and real-time application monitoring
CN107105072A (en) * 2017-05-18 2017-08-29 杭州迪普科技股份有限公司 Method and device for creating ARP table entry

Also Published As

Publication number Publication date
CN102164091B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN102594711B (en) Message forwarding method and edge device therefor
US9491002B1 (en) Managing communications involving external nodes of provided computer networks
US9749230B2 (en) Method of sending address correspondence in a second layer protocol of applying link state routing
CN102577255B (en) Layer 2 seamless site extension of enterprises in cloud computing
CN103139037B (en) Method and apparatus for implementing a flexible virtual local area network
US20110299537A1 (en) Method and system of scaling a cloud computing network
CN104335532B (en) A method and apparatus to route the packet to the distal end of the virtual address forwarding instance
US20130124750A1 (en) Network virtualization without gateway function
US8670450B2 (en) Efficient software-based private VLAN solution for distributed virtual switches
CA2751733C (en) Providing logical networking functionality for managed computer networks
US9698995B2 (en) Systems and methods for providing multicast routing in an overlay network
CN102893559B (en) Members of the virtual network interconnection
US9825900B2 (en) Overlay tunnel information exchange protocol
CN104471899B (en) 802.1aq supported by the ietf evpn
EP2491684B1 (en) Method and apparatus for transparent cloud computing with a virtualized network infrastructure
US9042384B2 (en) Distributed routing domains in multi-tenant datacenter virtual networks
US20140201733A1 (en) Scalable network overlay virtualization using conventional virtual switches
CN103259727B (en) OSPF packets forwarding method and apparatus
CN104704778B (en) A method and system for virtual and physical network integration
US8867403B2 (en) Virtual network overlays
US20130318219A1 (en) Layer-3 overlay gateways
CN101809943B (en) Method and system for virtual port communications
CN102457583B (en) Realization method of mobility of virtual machine and system thereof
US8837476B2 (en) Overlay network capable of supporting storage area network (SAN) traffic
US20110134793A1 (en) Preventing loops on network topologies built with virtual switches and vms

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model