WO2017054576A1 - Unicast tunnel building method, apparatus and system - Google Patents

Unicast tunnel building method, apparatus and system Download PDF

Info

Publication number
WO2017054576A1
WO2017054576A1 PCT/CN2016/094241 CN2016094241W WO2017054576A1 WO 2017054576 A1 WO2017054576 A1 WO 2017054576A1 CN 2016094241 W CN2016094241 W CN 2016094241W WO 2017054576 A1 WO2017054576 A1 WO 2017054576A1
Authority
WO
WIPO (PCT)
Prior art keywords
vxlan
network device
packet
tunnel
message
Prior art date
Application number
PCT/CN2016/094241
Other languages
French (fr)
Chinese (zh)
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
Priority to CN201510644150.0A priority Critical patent/CN106559302A/en
Priority to CN201510644150.0 priority
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017054576A1 publication Critical patent/WO2017054576A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Abstract

The present invention provides a unicast tunnel building method, apparatus and system. The method comprises: first network equipment receiving a VxLAN message transmitted by second network equipment; the first network equipment analyzing identification information of the VxLAN message; and according to the identification information, the first network equipment building a VxLAN unicast tunnel of which the destination address is the second network equipment. The present invention solved the problem that relevant technologies used for building a VxLAN unicast tunnel through private protocol interaction are low in efficiency, and fast building of a VxLAN unicast tunnel is achieved.

Description

单播隧道建立方法、装置和系统Unicast tunnel establishment method, device and system 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种单播隧道建立方法、装置和系统。The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for establishing a unicast tunnel.
背景技术Background technique
虚拟可扩展局域网(Virtual eXtensible Local Area Network,简称为VxLAN)是一种将以太网二层(L2,数据链路层)数据报文用三层(L3,网络层)协议进行封装的技术,可以对二层网络在三层网络范围进行扩展。它应用于数据中心内部,使虚拟机可以在互相连通的三层网络范围内迁移,而不需要改变互联网协议(Internet Protocol,简称为IP)地址和媒体接入控制(Media Access Control,简称为MAC)地址,保证业务的连续性。A virtual eXtensible Local Area Network (VxLAN) is a technology for encapsulating Ethernet Layer 2 (L2, Data Link Layer) data packets with a Layer 3 (L3, Network Layer) protocol. The Layer 2 network is extended in the scope of the Layer 3 network. It is applied to the data center to enable virtual machines to migrate within a three-layer network that is connected to each other without changing the Internet Protocol (IP) address and Media Access Control (MAC). ) Address to ensure continuity of business.
VxLAN采用24数据位的网络标识符(VxLAN Network Identifier,简称为VNI),使用户可以创建16M相互隔离的虚拟网络,突破了目前广泛采用的VLAN所能表示的4K个隔离网络的限制,这使得大规模多租户的云环境中具有了充足的虚拟网络分区资源,并且实现了二层网络互通业务部署在不同的IP子网的物理区域的业务。VxLAN uses a 24-bit network identifier (VNI), which allows users to create 16M isolated virtual networks, breaking through the limitations of 4K isolated networks that can be represented by widely used VLANs. A large-scale multi-tenant cloud environment has sufficient virtual network partition resources, and services for realizing Layer 2 network interworking services in physical areas of different IP subnets are realized.
图1是根据相关技术的VxLAN隧道封装的结构框图,如图1所示,VxLAN技术在网络设备C和网络设备D上分别实现:主机/客户端A发送主机/客户端B的内层报文(即Native报文),到达网络设备C后被封装成为VxLAN报文;网络设备C将封装后的VxLAN组播报文或VxLAN单播报文,通过VxLAN组播隧道或VxLAN单播隧道,穿透云端网络,到达网络设备D;网络设备D将VxLAN报文解封装后,将内层报文发送给主机/客户端B;主机/客户端B发送主机/客户端A的内层报文,也以同样的方式,遵循VxLAN业务规范标准封装、传输和解封装,发送给主机/客户端A。1 is a structural block diagram of a VxLAN tunnel encapsulation according to the related art. As shown in FIG. 1, the VxLAN technology is implemented on the network device C and the network device D respectively: the host/client A sends the inner layer packet of the host/client B. (Native packet), which is encapsulated into a VxLAN packet after being sent to the network device C. The network device C passes the encapsulated VxLAN multicast packet or the VxLAN unicast packet through the VxLAN multicast tunnel or the VxLAN unicast tunnel. The cloud network reaches the network device D. After decapsulating the VxLAN packet, the network device D sends the inner layer packet to the host/client B. The host/client B sends the inner layer packet of the host/client A. In the same way, it is packaged, transmitted and decapsulated according to the VxLAN service specification standard and sent to the host/client A.
网络设备C和网络设备D接入云端网络,实现VxLAN隧道封装技术;主机/客户端A和主机/客户端B可以部署在不同的物理区域,分别通过网络设备C和网络设备D接入云端网络,在网络设备C和网络设备D上实现将以太网二层数据报文用三层协议进行封装和解封装,在云端网络实现三层协议报文传输。The network device C and the network device D are connected to the cloud network to implement the VxLAN tunnel encapsulation technology; the host/client A and the host/client B can be deployed in different physical areas, and access the cloud network through the network device C and the network device D respectively. On the network device C and the network device D, the Layer 2 protocol packet is encapsulated and decapsulated by the Layer 3 protocol, and the Layer 3 protocol packet is transmitted in the cloud network.
在网络设备C和网络设备D上分别配置VxLAN隧道终结点(VxLAN Tunnel End Point,简称为VTEP),实现跨越云端网络的VxLAN隧道业务。VTEP用于承载一条VxLAN组播隧道,也可以承载多条跨越云端网络的VxLAN单播隧道。A VxLAN Tunnel End Point (VTEP) is configured on the network device C and the network device D to implement VxLAN tunnel services across the cloud network. VTEP is used to carry a VxLAN multicast tunnel, and can also carry multiple VxLAN unicast tunnels across the cloud network.
建立VxLAN组播隧道时,网络设备C和网络设备D需要分别依据本地设备VTEP和VxLAN组播业务公有信息建立隧道。When a VxLAN multicast tunnel is established, network device C and network device D need to establish tunnels based on the local device VTEP and VxLAN multicast service public information.
建立VxLAN单播隧道时,网络设备C和网络设备D必须获取远端网络设备的IP地址信息,和VxLAN报文的MAC、虚拟局域网(Virtual Local Area Network,简称为VLAN)、IP、 VNI等信息,分别依据本地设备VTEP和对端网络设备的设备信息建立隧道。内层报文即VxLAN封装的以太网业务报文。When a VxLAN unicast tunnel is established, the network device C and the network device D must obtain the IP address information of the remote network device, the MAC address of the VxLAN packet, the virtual local area network (VLAN), and the IP address. Information such as the VNI is established based on the local device VTEP and the device information of the peer network device. The inner layer packet is the Ethernet service packet encapsulated in the VxLAN.
建立VxLAN单播隧道目前的实现方案,通常需要在两端网络设备上分别建立协议栈,通过私有协议的报文交互,在两端网络设备交换数据,获取远端设备的IP地址、VLAN、VNI等信息,远端设备下的客户端的MAC地址IP地址、以及根据远端设备的IP地址查询得到的Next HOP等标识信息后,在网络设备本地建立VxLAN单播隧道。To establish a VxLAN unicast tunnel, you need to establish a protocol stack on the network devices at both ends. The packets are exchanged between the network devices at both ends to obtain the IP address, VLAN, and VNI of the remote device. After the information, the MAC address IP address of the client under the remote device, and the identification information such as Next HOP obtained by querying the IP address of the remote device, a VxLAN unicast tunnel is established locally on the network device.
针对相关技术通过私有协议报文交互建立VxLAN单播隧道效率低的问题,目前尚未提出有效的解决方案。An effective solution for the low efficiency of establishing a VxLAN unicast tunnel through private protocol packet interaction has not been proposed.
发明内容Summary of the invention
本发明实施例提供了一种单播隧道建立方法、装置和系统,以至少解决相关技术中通过私有协议报文交互建立VxLAN单播隧道效率低的问题。The embodiment of the invention provides a method, a device and a system for establishing a unicast tunnel, so as to at least solve the problem that the VxLAN unicast tunnel is inefficiently established by the private protocol packet interaction in the related art.
根据本发明的一个实施例,提供了一种单播隧道建立方法,包括:According to an embodiment of the present invention, a unicast tunnel establishment method is provided, including:
第一网络设备接收第二网络设备发送的VxLAN报文;Receiving, by the first network device, a VxLAN message sent by the second network device;
所述第一网络设备解析所述VxLAN报文的标识信息;Determining, by the first network device, identifier information of the VxLAN packet;
所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道。The first network device establishes, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device.
可选地,所述第一网络设备解析所述VxLAN报文的所述标识信息包括:Optionally, the identifying, by the first network device, the identifier information of the VxLAN packet includes:
所述第一网络设备判断是否已建立目的地址为所述第二网络设备的VxLAN单播隧道;Determining, by the first network device, whether a VxLAN unicast tunnel whose destination address is the second network device is established;
在判断到未建立目的地址为所述第二网络设备的VxLAN单播隧道的情况下,所述第一网络设备解析所述VxLAN报文的所述标识信息。When it is determined that the VxLAN unicast tunnel of the second network device is not established, the first network device parses the identifier information of the VxLAN packet.
可选地,在所述VxLAN报文中封装的内层报文的目的地址为第一客户端的情况下,在所述第一网络设备接收所述第二网络设备发送的所述VxLAN报文之后,所述方法还包括:Optionally, after the destination address of the inner layer packet encapsulated in the VxLAN packet is the first client, after the first network device receives the VxLAN packet sent by the second network device The method further includes:
所述第一网络设备解封装所述VxLAN报文,得到所述VxLAN报文中封装的所述内层报文;Decapsulating the VxLAN message by the first network device, and obtaining the inner layer packet encapsulated in the VxLAN message;
所述第一网络设备将所述内层报文发送至所述第一客户端,其中,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端。The first network device sends the inner layer packet to the first client, where the first client is a client that communicates with the network side by using the first network device.
可选地,所述VxLAN报文是由所述第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的;Optionally, the VxLAN packet is obtained by encapsulating the inner layer packet by the second network device according to the VxLAN service specification standard;
其中,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源MAC地址;或者,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN 报文中封装的内层报文的源IP地址。The identifier information includes: an IP address of the second network device and a source MAC address of an inner layer packet encapsulated in the VxLAN packet; or the identifier information includes: the second network device IP address and the VxLAN Source IP address of the inner packet encapsulated in the packet.
可选地,所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道包括:Optionally, the first network device, according to the identifier information, establishing a VxLAN unicast tunnel whose destination address is the second network device includes:
所述第一网络设备判断所述VxLAN报文是否在所述第一网络设备的本地终结;Determining, by the first network device, whether the VxLAN message is locally terminated by the first network device;
在判断结果为是的情况下,所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道;If the result of the determination is yes, the first network device establishes, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device;
其中,在所述标识信息包括所述内层报文的源MAC地址的情况下,所述VxLAN单播隧道为L2VxLAN单播隧道;在所述标识信息包括所述内层报文的源IP地址的情况下,所述VxLAN单播隧道为L3VxLAN单播隧道。The VxLAN unicast tunnel is an L2VxLAN unicast tunnel, and the identifier information includes a source IP address of the inner layer packet, where the identifier information includes a source MAC address of the inner layer packet. In the case, the VxLAN unicast tunnel is an L3VxLAN unicast tunnel.
可选地,所述标识信息还包括以下至少之一:所述VxLAN报文的外层标签中携带的VLAN信息、所述VxLAN报文的外层标签中携带的VNI信息、根据所述第二网络设备的IP地址查询到的Next HOP信息。Optionally, the identifier information further includes at least one of the following: the VLAN information carried in the outer label of the VxLAN packet, and the VNI information carried in the outer label of the VxLAN packet, according to the second The Next HOP information queried by the IP address of the network device.
可选地,在所述第一网络设备接收所述网络设备发送的所述VxLAN报文之前,所述方法还包括:Optionally, before the first network device receives the VxLAN packet sent by the network device, the method further includes:
所述第二网络设备接收第二客户端向所述第一网络设备发送的内层报文,其中,所述第二客户端为通过所述第二网络设备与网络侧通信的客户端;Receiving, by the second network device, an inner layer packet sent by the second client to the first network device, where the second client is a client that communicates with the network side by using the second network device;
所述第二网络设备根据VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文;The second network device encapsulates the inner layer packet into the VxLAN packet according to a VxLAN service specification standard;
所述第二网络设备发送所述VxLAN报文至所述第一网络设备。The second network device sends the VxLAN message to the first network device.
可选地,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文包括:Optionally, the encapsulating, by the second network device, the inner layer packet into the VxLAN message according to the VxLAN service specification standard includes:
所述第二网络设备判断是否已建立目的地址为所述第一网络设备的VxLAN单播隧道;Determining, by the second network device, whether a VxLAN unicast tunnel whose destination address is the first network device is established;
在判断到未建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN组播报文;When it is determined that the VxLAN unicast tunnel of the first network device is not established, the second network device encapsulates the inner layer packet into the VxLAN packet according to the VxLAN service specification standard. The VxLAN packet is a VxLAN multicast packet.
其中,所述第二网络设备发送所述VxLAN报文至所述第一网络设备包括:所述第二网络设备通过VxLAN组播隧道发送所述VxLAN报文,以供所述第一网络设备接收。The sending, by the second network device, the VxLAN message to the first network device includes: sending, by the second network device, the VxLAN message by using a VxLAN multicast tunnel, for the first network device to receive .
可选地,所述第二网络设备根据所述VxLAN业务规范标准将向所述第一网络设备发送的内层报文封装为所述VxLAN报文还包括:Optionally, the encapsulating, by the second network device, the inner layer packet sent by the first network device to the VxLAN message according to the VxLAN service specification standard further includes:
在判断到已建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN单播报文; When it is determined that the VxLAN unicast tunnel of the first network device is established, the second network device encapsulates the inner layer packet into the VxLAN packet according to the VxLAN service specification standard. The VxLAN message is a VxLAN unicast message;
其中,所述第二网络设备发送所述VxLAN报文至所述第一网络设备包括:所述第二网络设备通过目的地址为所述第一网络设备的VxLAN单播隧道发送所述VxLAN报文至所述第一网络设备。The sending, by the second network device, the VxLAN message to the first network device includes: sending, by the second network device, the VxLAN message to a VxLAN unicast tunnel of the first network device by using a destination address To the first network device.
可选地,在所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道之后,所述方法还包括:Optionally, after the first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information, the method further includes:
所述第一网络设备统计在预设时间段内所述第一网络设备建立的VxLAN隧道的使用率,其中,所述第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN组播隧道;The first network device collects a usage rate of the VxLAN tunnel established by the first network device in a preset time period, where the VxLAN tunnel established by the first network device includes: a VxLAN unicast tunnel and/or a VxLAN group Broadcast tunnel
所述第一网络设备根据统计结果判断所述第一网络设备建立的VxLAN隧道的所述使用率是否低于预设值;Determining, by the first network device, whether the usage rate of the VxLAN tunnel established by the first network device is lower than a preset value according to a statistical result;
所述第一网络设备删除所述第一网络设备建立的VxLAN隧道中所述使用率低于所述预设值的VxLAN隧道。The first network device deletes the VxLAN tunnel whose usage rate is lower than the preset value in the VxLAN tunnel established by the first network device.
根据本发明的另一个实施例,还提供了一种单播隧道建立装置,应用于第一网络设备,包括:According to another embodiment of the present invention, a unicast tunnel establishing apparatus is further applied to the first network device, including:
第一接收模块,设置为接收第二网络设备发送的VxLAN报文;a first receiving module, configured to receive a VxLAN message sent by the second network device;
解析模块,设置为解析所述VxLAN报文的标识信息;The parsing module is configured to parse the identifier information of the VxLAN packet;
建立模块,设置为根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道。And establishing a module, configured to establish, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device.
可选地,所述解析模块包括:Optionally, the parsing module includes:
判断单元,设置为判断是否已建立目的地址为所述第二网络设备的VxLAN单播隧道;a determining unit, configured to determine whether a VxLAN unicast tunnel whose destination address is the second network device is established;
解析单元,设置为在判断到未建立目的地址为所述第二网络设备的VxLAN单播隧道的情况下,所述第一网络设备解析所述VxLAN报文的所述标识信息。The parsing unit is configured to parse the identifier information of the VxLAN packet in the case that it is determined that the VxLAN unicast tunnel of the second network device is not established.
可选地,所述装置还包括:Optionally, the device further includes:
解封装模块,设置为在所述VxLAN报文中封装的内层报文的目的地址为第一客户端的情况下,解封装所述VxLAN报文,得到所述VxLAN报文中封装的所述内层报文;Decapsulating the module, configured to decapsulate the VxLAN message in the case where the destination address of the inner layer packet encapsulated in the VxLAN message is the first client, to obtain the inner package encapsulated in the VxLAN message Layer message
第一发送模块,设置为将所述内层报文发送至所述第一客户端,其中,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端。The first sending module is configured to send the inner layer packet to the first client, where the first client is a client that communicates with the network side by using the first network device.
可选地,所述VxLAN报文是由所述第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的;Optionally, the VxLAN packet is obtained by encapsulating the inner layer packet by the second network device according to the VxLAN service specification standard;
其中,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内 层报文的源MAC地址;或者,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源IP地址。The identifier information includes: an IP address of the second network device and an encapsulation in the VxLAN packet The source MAC address of the layer packet; or the identifier information includes: an IP address of the second network device and a source IP address of an inner layer packet encapsulated in the VxLAN message.
可选地,所述建立模块包括:Optionally, the establishing module includes:
第一判断单元,设置为判断所述VxLAN报文是否在所述第一网络设备的本地终结;a first determining unit, configured to determine whether the VxLAN message is locally terminated by the first network device;
第一建立单元,设置为在判断结果为是的情况下,根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道;a first establishing unit, configured to: when the determination result is yes, establish a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information;
其中,在所述标识信息包括所述内层报文的源MAC地址的情况下,所述VxLAN单播隧道为L2VxLAN单播隧道;在所述标识信息包括所述内层报文的源IP地址的情况下,所述VxLAN单播隧道为L3VxLAN单播隧道。The VxLAN unicast tunnel is an L2VxLAN unicast tunnel, and the identifier information includes a source IP address of the inner layer packet, where the identifier information includes a source MAC address of the inner layer packet. In the case, the VxLAN unicast tunnel is an L3VxLAN unicast tunnel.
可选地,所述标识信息还包括以下至少之一:所述VxLAN报文的外层标签中携带的VLAN信息、所述VxLAN报文的外层标签中携带的VNI信息、根据所述第二网络设备的IP地址查询到的Next HOP信息。Optionally, the identifier information further includes at least one of the following: the VLAN information carried in the outer label of the VxLAN packet, and the VNI information carried in the outer label of the VxLAN packet, according to the second The Next HOP information queried by the IP address of the network device.
可选地,所述装置还包括:Optionally, the device further includes:
统计模块,设置为统计在预设时间段内所述第一网络设备建立的VxLAN隧道的使用率,其中,所述第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN组播隧道;The statistic module is configured to collect the usage rate of the VxLAN tunnel established by the first network device in the preset time period, where the VxLAN tunnel established by the first network device includes: a VxLAN unicast tunnel and/or a VxLAN multicast tunnel;
第二判断模块,设置为根据统计结果判断所述第一网络设备建立的VxLAN隧道的所述使用率是否低于预设值;The second determining module is configured to determine, according to the statistical result, whether the usage rate of the VxLAN tunnel established by the first network device is lower than a preset value;
删除模块,设置为删除所述第一网络设备建立的VxLAN隧道中所述使用率低于所述预设值的VxLAN隧道。And deleting the module, configured to delete the VxLAN tunnel whose usage rate is lower than the preset value in the VxLAN tunnel established by the first network device.
根据本发明的另一个实施例,还提供了一种单播隧道建立系统,包括:第一网络设备和第二网络设备,其中,According to another embodiment of the present invention, a unicast tunnel establishment system is further provided, including: a first network device and a second network device, where
所述第一网络设备包括上述的单播隧道建立装置;The first network device includes the unicast tunnel establishing device described above;
所述第二网络设备,耦合至所述第一网络设备,设置为发送所述VxLAN报文至所述第一网络设备。The second network device is coupled to the first network device and configured to send the VxLAN message to the first network device.
可选地,所述第二网络设备包括:Optionally, the second network device includes:
第二接收模块,设置为接收第二客户端向第一客户端发送的所述内层报文,其中,所述第二客户端为通过所述第二网络设备与网络侧通信的客户端,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端;The second receiving module is configured to receive the inner layer packet sent by the second client to the first client, where the second client is a client that communicates with the network side by using the second network device, The first client is a client that communicates with the network side by using the first network device;
封装模块,设置为根据VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文; The encapsulating module is configured to encapsulate the inner layer packet into the VxLAN packet according to a VxLAN service specification standard;
第二发送模块,设置为发送所述VxLAN报文至所述第一网络设备。The second sending module is configured to send the VxLAN message to the first network device.
可选地,所述封装模块包括:Optionally, the encapsulating module includes:
第三判断单元,设置为判断是否已建立目的地址为所述第一网络设备的VxLAN单播隧道;a third determining unit, configured to determine whether a VxLAN unicast tunnel whose destination address is the first network device is established;
第一封装单元,设置为在判断到未建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN组播报文;a first encapsulating unit, configured to: when it is determined that the VxLAN unicast tunnel of the first network device is not established, the second network device sends the inner packet according to the VxLAN service specification Encapsulated as the VxLAN packet, where the VxLAN packet is a VxLAN multicast packet;
其中,所述第二发送模块,设置为通过VxLAN组播隧道发送所述VxLAN报文,以供所述第一网络设备接收。The second sending module is configured to send the VxLAN message through the VxLAN multicast tunnel for the first network device to receive.
可选地,所述封装模块还包括:Optionally, the encapsulating module further includes:
第二封装单元,设置为在判断到已建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN单播报文;a second encapsulating unit, configured to encapsulate the inner layer packet into the VxLAN packet according to the VxLAN service specification standard, if it is determined that the VxLAN unicast tunnel with the destination address being the first network device is established. The VxLAN message is a VxLAN unicast message;
其中,所述第二发送模块,设置为通过目的地址为所述第一网络设备的VxLAN单播隧道发送所述VxLAN报文至所述第一网络设备。The second sending module is configured to send the VxLAN message to the first network device by using a VxLAN unicast tunnel whose destination address is the first network device.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的单播隧道建立方法的实现。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the unicast tunnel establishment method in the foregoing embodiment.
通过本发明实施例,采用第一网络设备接收第二网络设备发送的VxLAN报文;第一网络设备解析VxLAN报文的标识信息;第一网络设备根据标识信息,建立目的地址为第二网络设备的VxLAN单播隧道的方式,解决了相关技术通过私有协议报文交互建立VxLAN单播隧道效率低的问题,实现了快速建立VxLAN单播隧道的效果。According to the embodiment of the present invention, the first network device receives the VxLAN message sent by the second network device, and the first network device parses the identification information of the VxLAN message; the first network device establishes the destination address as the second network device according to the identifier information. The VxLAN unicast tunneling method solves the problem that the related technology establishes a VxLAN unicast tunnel through the interaction of private protocol packets, and achieves the effect of quickly establishing a VxLAN unicast tunnel.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据相关技术的VxLAN隧道封装的结构框图;1 is a structural block diagram of a VxLAN tunnel encapsulation according to the related art;
图2是根据本发明实施例的单播隧道建立方法的流程图;2 is a flowchart of a method for establishing a unicast tunnel according to an embodiment of the present invention;
图3是根据本发明实施例的单播隧道建立装置的结构框图;3 is a structural block diagram of a unicast tunnel establishing apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的单播隧道建立装置的可选结构框图一;4 is a block diagram 1 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的单播隧道建立装置的可选结构框图二;FIG. 5 is a block diagram 2 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的单播隧道建立装置的可选结构框图三; 6 is a block diagram 3 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的单播隧道建立装置的可选结构框图四;7 is a block diagram 4 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention;
图8是根据本发明实施例的单播隧道建立装置的可选结构框图五;FIG. 8 is a block diagram 5 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的单播隧道建立系统的结构框图;9 is a structural block diagram of a unicast tunnel establishment system according to an embodiment of the present invention;
图10是根据本发明实施例的单播隧道建立系统的可选结构框图一;10 is a block diagram 1 of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention;
图11是根据本发明实施例的单播隧道建立系统的可选结构框图二;11 is a block diagram 2 of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention;
图12是根据本发明实施例的单播隧道建立系统的可选结构框图三;12 is a block diagram 3 of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention;
图13是根据本发明可选实施例的快速建立VxLAN单播隧道装置的结构框图;FIG. 13 is a structural block diagram of a device for rapidly establishing a VxLAN unicast tunnel according to an alternative embodiment of the present invention; FIG.
图14是根据本发明可选实施例的快速建立VxLAN单播隧道系统的结构框图。14 is a structural block diagram of a fast setup VxLAN unicast tunnel system in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种单播隧道建立方法,图2是根据本发明实施例的单播隧道建立方法的流程图,如图2所示,该流程包括如下步骤:A method for establishing a unicast tunnel is provided in this embodiment. FIG. 2 is a flowchart of a method for establishing a unicast tunnel according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,第一网络设备接收第二网络设备发送的VxLAN报文;Step S202: The first network device receives the VxLAN packet sent by the second network device.
步骤S204,第一网络设备解析VxLAN报文中携带的标识信息;Step S204: The first network device parses the identifier information carried in the VxLAN packet.
步骤S206,第一网络设备根据标识信息,建立目的地址为第二网络设备的VxLAN单播隧道。Step S206: The first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information.
通过上述步骤,第一网络设备根据第二网络设备发送的VxLAN报文的标识信息建立目的地址为第二网络设备的VxLAN单播隧道,不必借助于在网络设备间建立协议栈通过私有协议报文交互建立网络设备间的VxLAN单播隧道。可见,采用上述步骤,解决了相关技术通过私有协议报文交互建立VxLAN单播隧道效率低的问题,实现了快速建立VxLAN单播隧道,提高了建立VxLAN单播隧道的效率。The first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information of the VxLAN packet sent by the second network device, and does not need to establish a protocol stack between the network devices to pass the private protocol packet. Interactively establish a VxLAN unicast tunnel between network devices. It can be seen that the above-mentioned steps solve the problem that the related technology can effectively establish a VxLAN unicast tunnel through the exchange of private protocol packets, and realize the rapid establishment of a VxLAN unicast tunnel, thereby improving the efficiency of establishing a VxLAN unicast tunnel.
可选地,在上述步骤S204中,第一网络设备首先判断是否已经建立了目的地址为第二网络设备的VxLAN单播隧道,在判断到未建立目的地址为第二网络设备的VxLAN单播隧道的情况下,第一网络设备解析VxLAN报文的标识信息。通过上述步骤,使第一网络设备可以选择性地建立VxLAN单播隧道,达到了节约资源的目的,实现了资源的合理利用。对于已经建立了目的地址为第二网络设备的VxLAN单播隧道的情况,第一网络设备可以不必解析用于建立单播隧道的信息,直接对收到的VxLAN报文进行常规的转发即可。 Optionally, in the foregoing step S204, the first network device first determines whether a VxLAN unicast tunnel whose destination address is the second network device has been established, and determines that the VxLAN unicast tunnel whose destination address is the second network device is not established. In the case of the first network device, the identifier information of the VxLAN packet is parsed. Through the above steps, the first network device can selectively establish a VxLAN unicast tunnel, thereby achieving the purpose of saving resources and realizing the rational use of resources. In the case that the VxLAN unicast tunnel whose destination address is the second network device has been established, the first network device may directly forward the received VxLAN message without having to parse the information used to establish the unicast tunnel.
可选地,VxLAN报文中可以封装有发送至第一客户端的内层报文,在上述步骤S202之后,第一网络设备可以对VxLAN报文进行解封装,并将解封装得到的VxLAN报文中的内层报文发送至通过第一网络设备与网络侧通信的第一客户端,使第一网络设备可以通过从用于与上述第一客户端通信的VxLAN报文中获取标识信息,并完成VxLAN报文中内层报文向上述第一客户端的转发。可见,通过上述步骤,第一网络设备可以在客户端之间内层报文的交互过程中实现VxLAN单播隧道的快速建立,提高了建立VxLAN单播隧道的效率。Optionally, the VxLAN packet may be encapsulated with an inner layer packet sent to the first client. After the step S202, the first network device may decapsulate the VxLAN packet and decapsulate the obtained VxLAN packet. Sending the inner layer message to the first client communicating with the network side through the first network device, so that the first network device can obtain the identification information by using the VxLAN message for communicating with the first client, and The forwarding of the inner layer packet in the VxLAN message to the first client is completed. It can be seen that, through the foregoing steps, the first network device can quickly establish a VxLAN unicast tunnel during the interaction of the inner layer packets between the clients, and improve the efficiency of establishing a VxLAN unicast tunnel.
可选地,上述VxLAN报文可以是由第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的,为了确定上述第二网络设备的位置,从而建立目的地址为第二网络设备的VxLAN单播隧道,上述标识信息包括:第二网络设备的IP地址和VxLAN报文中封装的内层报文的源MAC地址;或者上述标识信息包括:第二网络设备的IP地址和VxLAN报文中封装的内层报文的源IP地址。Optionally, the foregoing VxLAN packet may be obtained by the second network device encapsulating the inner layer packet according to the VxLAN service specification standard. To determine the location of the second network device, the destination address is the second network device. The VxLAN unicast tunnel, the identifier information includes: an IP address of the second network device and a source MAC address of the inner layer packet encapsulated in the VxLAN packet; or the identifier information includes: an IP address of the second network device and a VxLAN packet Source IP address of the inner packet encapsulated in the medium.
其中,由于上述VxLAN报文是由第二网络设备封装得到的,因此,上述的第二网络设备的IP地址为VxLAN报文的外层标签中的源IP地址。The IP address of the second network device is the source IP address in the outer label of the VxLAN packet, because the VxLAN packet is encapsulated by the second network device.
可选地,在上述步骤S206中,第一网络设备可以通过判断VxLAN报文是否在第一网络设备的本地终结;在判断结果为是的情况下,获取VxLAN报文中的第二网络设备的IP地址和内层报文的源MAC地址等标识信息,实现建立目的地址为第二网络设备的VxLAN单播隧道,其中,由于VxLAN单播隧道是通过内层报文中的MAC地址建立的,因此VxLAN单播隧道为L2VxLAN单播隧道。Optionally, in the foregoing step S206, the first network device may determine whether the VxLAN message is locally terminated in the first network device, and if the determination result is yes, obtain the second network device in the VxLAN message. The identification information such as the IP address and the source MAC address of the inner layer packet is used to establish a VxLAN unicast tunnel whose destination address is the second network device. The VxLAN unicast tunnel is established through the MAC address in the inner layer packet. Therefore, the VxLAN unicast tunnel is an L2VxLAN unicast tunnel.
可选地,在上述步骤S206中,第一网络设备可以通过判断VxLAN报文是否在第一网络设备的本地终结;在判断结果为是的情况下,获取VxLAN报文中的第二网络设备的IP地址和内层报文的源IP地址等标识信息,实现建立目的地址为第二网络设备的VxLAN单播隧道,其中,由于VxLAN单播隧道是通过内层报文中的IP地址建立的,因此VxLAN单播隧道为L3VxLAN单播隧道。Optionally, in the foregoing step S206, the first network device may determine whether the VxLAN message is locally terminated in the first network device, and if the determination result is yes, obtain the second network device in the VxLAN message. The identification information such as the IP address and the source IP address of the inner layer packet is used to establish a VxLAN unicast tunnel whose destination address is the second network device. The VxLAN unicast tunnel is established through the IP address in the inner layer packet. Therefore, the VxLAN unicast tunnel is an L3VxLAN unicast tunnel.
可选地,上述标识信息还可以包括以下至少之一:VxLAN报文的外层标签中携带的VLAN信息、VxLAN报文的外层标签中携带的VNI信息、根据所述第二网络设备的IP地址查询到的下一跳Next HOP信息。Optionally, the identifier information may further include at least one of the following: the VLAN information carried in the outer label of the VxLAN packet, the VNI information carried in the outer label of the VxLAN packet, and the IP according to the second network device. The next hop Next HOP information queried by the address.
可选地,在上述步骤S204中,第一网络设备可以解析出VxLAN报文中携带的第二网络设备的IP地址,并且仅根据第二网络设备的IP地址建立目的地址为第二网络设备的VxLAN单播隧道,对于VxLAN报文中封装的其他报文进行常规的转发。可见,通过上述步骤,第一网络设备只需根据VxLAN报文中携带的第二网络设备的IP地址建立目的地址为第二网络设备的VxLAN单播隧道,实现了VxLAN单播隧道的快速建立。Optionally, in the foregoing step S204, the first network device may parse the IP address of the second network device carried in the VxLAN message, and establish the destination address as the second network device only according to the IP address of the second network device. A VxLAN unicast tunnel performs regular forwarding of other packets encapsulated in VxLAN packets. It can be seen that, by using the foregoing steps, the first network device only needs to establish a VxLAN unicast tunnel whose destination address is the second network device according to the IP address of the second network device carried in the VxLAN message, thereby realizing the rapid establishment of the VxLAN unicast tunnel.
可选地,在上述步骤S202之前,第二网络设备可以接收通过第二网络设备与网络侧通信的第二客户端向通过第一网络设备与网络侧通信的第一客户端发送的内层报文,再根据VxLAN业务规范标准将内层报文封装为VxLAN报文,并且将VxLAN报文发送至第一网络设备。通过上述步骤,使上述VxLAN报文携带了标识信息,从而使第一网络设备可以根据上 述VxLAN报文中携带的标识信息快速建立目的地址为第二网络设备的VxLAN单播隧道,提高了建立VxLAN单播隧道的效率。Optionally, before the step S202, the second network device may receive the inner layer report sent by the second client that communicates with the network side by using the second network device to the first client that communicates with the network side by using the first network device. Then, the inner layer packet is encapsulated into a VxLAN packet according to the VxLAN service specification standard, and the VxLAN packet is sent to the first network device. Through the foregoing steps, the VxLAN packet carries the identifier information, so that the first network device can be based on the The VxLAN unicast tunnel with the destination address being the second network device is quickly established to improve the efficiency of establishing a VxLAN unicast tunnel.
可选地,第二网络设备在根据VxLAN业务规范标准将内层报文封装为VxLAN报文时,可以首先判断是否已经建立里目的地址为第一网络设备的VxLAN单播隧道,在判断到未建立目的地址为第一网络设备的VxLAN单播隧道的情况下,再根据VxLAN业务规范标准将内层报文封装为VxLAN组播报文,通过VxLAN组播隧道发送上述VxLAN组播报文,以供第一网络设备接收。可见,通过上述步骤,第二网络设备可以有选择的在尚未建立目的地址为第一网络设备的VxLAN单播隧道的情况下,通过组播隧道发送VxLAN报文,使上述第一网络设备能够接收到上述VxLAN报文,并根据上述VxLAN报文快速建立目的地址为第二网络设备的VxLAN单播隧道。Optionally, when the second network device encapsulates the inner layer packet into the VxLAN packet according to the VxLAN service specification, the network device may first determine whether the VxLAN unicast tunnel with the destination address is the first network device is established, and the If the VxLAN unicast tunnel is configured as the first network device, the inner-layer packet is encapsulated into a VxLAN multicast packet according to the VxLAN service specification, and the VxLAN multicast packet is sent through the VxLAN multicast tunnel. Received by the first network device. It can be seen that, by using the foregoing steps, the second network device can selectively send the VxLAN message through the multicast tunnel to enable the first network device to receive, if the VxLAN unicast tunnel whose destination address is the first network device is not established. The VxLAN packet is sent to the VxLAN packet, and the VxLAN unicast tunnel whose destination address is the second network device is quickly established according to the VxLAN packet.
可选地,第二网络设备还可以在判断到已经建立了目的地址为第一网络设备的VxLAN单播隧道的情况下,根据VxLAN业务规范标准将内层报文封装为VxLAN单播报文,再通过目的地址为第一网络设备的VxLAN单播隧道发送上述VxLAN单播报文至第一网络设备。可见,通过上述步骤,第二网络设备可以有选择的在已经建立了目的地址为第一网络设备的VxLAN单播隧道的情况下,通过单播隧道发送VxLAN单播报文,使上述第一网络设备能够接收到上述VxLAN单播报文,并根据上述VxLAN报文快速建立目的地址为第二网络设备的VxLAN单播隧道。Optionally, the second network device may further encapsulate the inner layer packet into a VxLAN unicast packet according to the VxLAN service specification standard, if the VxLAN unicast tunnel with the destination address being the first network device is established. The VxLAN unicast message is sent to the first network device by using the destination address as the VxLAN unicast tunnel of the first network device. It can be seen that, by using the foregoing steps, the second network device can selectively send the VxLAN unicast packet to the first network device by using the unicast tunnel in the case that the VxLAN unicast tunnel whose destination address is the first network device has been established. The VxLAN unicast packet can be received, and the VxLAN unicast tunnel whose destination address is the second network device is quickly established according to the VxLAN packet.
可选地,为了实现第一网络设备对第一网络设备建立的VxLAN隧道的监控,从而完成对VxLAN隧道的管理,在上述步骤S206之后,第一网络设备可以统计在预设时间段内第一网络设备建立的VxLAN隧道的使用率,再根据统计结果与预设值的比较,删除使用率低于预设值的第一网络设备建立的VxLAN隧道,其中,第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN组播隧道。Optionally, in order to implement the monitoring of the VxLAN tunnel established by the first network device by the first network device, to complete the management of the VxLAN tunnel, after the foregoing step S206, the first network device may count the first time in the preset time period. The VxLAN tunnel established by the network device is deleted, and the VxLAN tunnel established by the first network device whose usage rate is lower than the preset value is deleted according to the comparison between the statistics and the preset value, where the VxLAN tunnel established by the first network device includes : VxLAN unicast tunnel and / or VxLAN multicast tunnel.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种单播隧道建立装置,应用于第一网络设备,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for establishing a unicast tunnel is also provided, which is applied to the first network device, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的单播隧道建立装置的结构框图,如图3所示,该装置包括:第一接收模块32、解析模块34和建立模块36,其中,第一接收模块32,设置为接收第二网络设备发送的VxLAN报文;解析模块34,耦合至第一接收模块32,设置为解析VxLAN报 文的标识信息;建立模块36,耦合至解析模块34,设置为根据标识信息,建立目的地址为第二网络设备的VxLAN单播隧道。FIG. 3 is a structural block diagram of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes: a first receiving module 32, a parsing module 34, and an establishing module 36, wherein the first receiving module 32, The method is configured to receive the VxLAN message sent by the second network device, and the parsing module 34 is coupled to the first receiving module 32 and configured to parse the VxLAN message. The identification information of the text is established, and the establishing module 36 is coupled to the parsing module 34, and is configured to establish a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information.
图4是根据本发明实施例的单播隧道建立装置的可选结构框图一,如图4所示,可选地,上述解析模块34包括:判断单元42和解析单元44,其中,判断单元42,设置为判断是否已建立目的地址为第二网络设备的VxLAN单播隧道;解析单元44,耦合至判断单元42,设置为在判断到未建立目的地址为第二网络设备的VxLAN单播隧道的情况下,第一网络设备解析VxLAN报文的标识信息。FIG. 4 is a block diagram of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the parsing module 34 includes: a judging unit 42 and a parsing unit 44, wherein the judging unit 42 And determining to determine whether the VxLAN unicast tunnel whose destination address is the second network device is established; the parsing unit 44 is coupled to the determining unit 42 and configured to determine that the VxLAN unicast tunnel whose destination address is the second network device is not established. In the case, the first network device parses the identification information of the VxLAN message.
图5是根据本发明实施例的单播隧道建立装置的可选结构框图二,如图5所示,可选地,该装置还包括:解封装模块52和第一发送模块54,其中,解封装模块52,耦合至第一接收模块32,设置为在VxLAN报文中封装的内层报文的目的地址为第一客户端的情况下,解封装VxLAN报文,得到VxLAN报文中封装的内层报文;第一发送模块54,耦合至解封装模块52,设置为将内层报文发送至第一客户端,其中,第一客户端为通过第一网络设备与网络侧通信的客户端。FIG. 5 is a block diagram 2 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus further includes: a decapsulation module 52 and a first sending module 54, where The encapsulation module 52 is coupled to the first receiving module 32, and is configured to decapsulate the VxLAN packet and obtain the encapsulation in the VxLAN packet when the destination address of the inner packet encapsulated in the VxLAN packet is the first client. The first sending module is configured to send the inner layer packet to the first client, where the first client is the client that communicates with the network side through the first network device. .
可选地,上述VxLAN报文可以是由第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的,上述解析模块34中标识信息包括:第二网络设备的IP地址和VxLAN报文中封装的内层报文的源MAC地址。Optionally, the foregoing VxLAN packet may be obtained by the second network device encapsulating the inner layer packet according to the VxLAN service specification standard. The identifier information in the parsing module 34 includes: an IP address of the second network device and a VxLAN packet. Source MAC address of the inner packet encapsulated in the medium.
图6是根据本发明实施例的单播隧道建立装置的可选结构框图三,如图6所示,可选地,上述建立模块36包括:第一判断单元62和第一建立单元64,其中,第一判断单元62,设置为判断VxLAN报文是否在第一网络设备的本地终结;第一建立单元64,耦合至第一判断单元62,设置为在判断结果为是的情况下,根据包括第二网络设备的IP地址和内层报文的源MAC地址的标识信息,建立目的地址为第二网络设备的VxLAN单播隧道,其中,VxLAN单播隧道为L2VxLAN单播隧道。FIG. 6 is a block diagram 3 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the foregoing establishing module 36 includes: a first determining unit 62 and a first establishing unit 64, where The first determining unit 62 is configured to determine whether the VxLAN message is locally terminated in the first network device. The first establishing unit 64 is coupled to the first determining unit 62, and is configured to include, if the determination result is yes, The VxLAN unicast tunnel is established by the IP address of the second network device and the source MAC address of the inner layer packet, and the VxLAN unicast tunnel is the L2VxLAN unicast tunnel.
可选地,上述的标识信息还包括以下至少之一:VxLAN报文的外层标签中携带的VLAN信息、VxLAN报文的外层标签中携带的VNI信息、根据第二网络设备的IP地址查询到的Next HOP信息。Optionally, the foregoing identification information further includes at least one of the following: the VLAN information carried in the outer label of the VxLAN packet, the VNI information carried in the outer label of the VxLAN packet, and the query according to the IP address of the second network device. Next HOP information.
可选地,以内层报文为ARP请求报文的情况下,上述标识信息可以包括:第二网络设备的IP地址和ARP请求报文的源IP地址。Optionally, in the case that the inner layer packet is an ARP request packet, the identifier information may include: an IP address of the second network device and a source IP address of the ARP request packet.
图7是根据本发明实施例的单播隧道建立装置的可选结构框图四,如图7所示,可选地,上述建立模块36还包括:第二判断单元72和第二建立单元74,其中,第二判断单元72,设置为判断VxLAN报文是否在第一网络设备的本地终结;第二建立单元74,耦合至第二判断单元72,设置为在判断结果为是的情况下,根据包括第二网络设备的IP地址和ARP请求报文的源IP地址的标识信息,建立目的地址为第二网络设备的VxLAN单播隧道,其中,VxLAN单播隧道为L3VxLAN单播隧道。FIG. 7 is a block diagram of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 7 , the foregoing establishing module 36 further includes: a second determining unit 72 and a second establishing unit 74. The second determining unit 72 is configured to determine whether the VxLAN message is locally terminated in the first network device, and the second establishing unit 74 is coupled to the second determining unit 72, and is configured to, if the determination result is yes, The VxLAN unicast tunnel is established by the IP address of the second network device and the source IP address of the ARP request packet, and the VxLAN unicast tunnel is the L3VxLAN unicast tunnel.
可选地,上述标识信息还包括以下至少之一:VxLAN报文的外层标签中携带的VLAN信 息、VxLAN报文的外层标签中携带的VNI信息、根据第二网络设备的IP地址(即VxLAN报文的源IP地址)查询到的Next HOP信息。Optionally, the foregoing identifier information further includes at least one of the following: a VLAN letter carried in an outer label of the VxLAN packet. The VNI information carried in the outer label of the VxLAN packet and the Next HOP information queried according to the IP address of the second network device (that is, the source IP address of the VxLAN packet).
图8是根据本发明实施例的单播隧道建立装置的可选结构框图五,如图8所示,可选地,该装置还包括:统计模块82、第二判断模块84和删除模块86,其中,统计模块82,耦合至建立模块36,设置为统计在预设时间段内第一网络设备建立的VxLAN隧道的使用率,其中,第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN组播隧道;第二判断模块84,耦合至统计模块82,设置为根据统计结果判断第一网络设备建立的VxLAN隧道的使用率是否低于预设值;删除模块86,耦合至第二判断模块84,设置为删除第一网络设备建立的VxLAN隧道中使用率低于预设值的VxLAN隧道。FIG. 8 is a block diagram 5 of an optional structure of a unicast tunnel establishing apparatus according to an embodiment of the present invention. As shown in FIG. 8 , the apparatus further includes: a statistics module 82, a second determining module 84, and a deleting module 86. The statistic module 82 is coupled to the establishing module 36, and configured to count the usage rate of the VxLAN tunnel established by the first network device in the preset time period, where the VxLAN tunnel established by the first network device includes: a VxLAN unicast tunnel and And a VxLAN multicast tunnel; the second determining module 84 is coupled to the statistic module 82, and configured to determine, according to the statistical result, whether the usage rate of the VxLAN tunnel established by the first network device is lower than a preset value; the deleting module 86 is coupled to the first The second determining module 84 is configured to delete the VxLAN tunnel whose usage rate in the VxLAN tunnel established by the first network device is lower than a preset value.
在本实施例中还提供了一种单播隧道建立系统,图9是根据本发明实施例的单播隧道建立系统的结构框图,如图9所示,该系统包括:第一网络设备92和第二网络设备94,其中,第一网络设备92包括上述任一项单播隧道建立装置;第二网络设备94,耦合至第一网络设备92,设置为发送VxLAN报文至第一网络设备。A unicast tunnel establishment system is also provided in this embodiment. FIG. 9 is a structural block diagram of a unicast tunnel establishment system according to an embodiment of the present invention. As shown in FIG. 9, the system includes: a first network device 92 and The second network device 94, wherein the first network device 92 comprises any of the unicast tunnel establishment devices described above; the second network device 94 is coupled to the first network device 92 and configured to transmit the VxLAN message to the first network device.
图10是根据本发明实施例的单播隧道建立系统的可选结构框图一,如图10所示,可选地,上述第二网络设备94包括:第二接收模块102、封装模块104和第二发送模块106,其中,第二接收模块102,设置为接收第二客户端向第一客户端发送的内层报文,其中,第二客户端为通过第二网络设备与网络侧通信的客户端,第一客户端为通过第一网络设备与网络侧通信的客户端;封装模块104,耦合至第二接收模块102,设置为根据VxLAN业务规范标准将内层报文封装为VxLAN报文;第二发送模块106,耦合至封装模块104,设置为发送VxLAN报文至第一网络设备。FIG. 10 is a block diagram of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention. As shown in FIG. 10, optionally, the second network device 94 includes: a second receiving module 102, a packaging module 104, and a The second sending module 106 is configured to receive an inner layer message sent by the second client to the first client, where the second client is a client that communicates with the network side by using the second network device. The first client is a client that communicates with the network through the first network device, and the encapsulating module 104 is coupled to the second receiving module 102, and is configured to encapsulate the inner packet into a VxLAN packet according to the VxLAN service specification standard. The second sending module 106 is coupled to the encapsulating module 104 and configured to send the VxLAN message to the first network device.
图11是根据本发明实施例的单播隧道建立系统的可选结构框图二,如图11所示,可选地,上述封装模块104包括:第三判断单元112和第一封装单元114,其中,第三判断单元112,设置为判断是否已建立目的地址为第一网络设备的VxLAN单播隧道;第一封装单元114,耦合至第三判断单元112,设置为在判断到未建立目的地址为第一网络设备的VxLAN单播隧道的情况下,第二网络设备根据VxLAN业务规范标准将内层报文封装为VxLAN报文,其中,VxLAN报文为VxLAN组播报文;其中,第二网络设备的第二发送模块,设置为通过VxLAN组播隧道发送VxLAN报文,以供第一网络设备接收。FIG. 11 is a block diagram of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention. As shown in FIG. 11 , the package module 104 includes: a third determining unit 112 and a first encapsulating unit 114. The third determining unit 112 is configured to determine whether the destination address is a VxLAN unicast tunnel of the first network device, and the first encapsulating unit 114 is coupled to the third determining unit 112, and is configured to determine that the destination address is not established. In the case of the VxLAN unicast tunnel of the first network device, the second network device encapsulates the inner layer packet into a VxLAN packet according to the VxLAN service specification standard, where the VxLAN packet is a VxLAN multicast packet; wherein, the second network The second sending module of the device is configured to send the VxLAN message through the VxLAN multicast tunnel for the first network device to receive.
图12是根据本发明实施例的单播隧道建立系统的可选结构框图三,如图12所示,可选地,上述封装模块104还包括:第二封装单元122,耦合至第三判断单元112,设置为在判断到已建立目的地址为第一网络设备的VxLAN单播隧道的情况下,根据VxLAN业务规范标准将内层报文封装为VxLAN报文,其中,VxLAN报文为VxLAN单播报文;其中,第二网络设备的第二发送模块,设置为通过目的地址为第一网络设备的VxLAN单播隧道发送VxLAN报文至第一网络设备。FIG. 12 is a block diagram 3 of an optional structure of a unicast tunnel establishment system according to an embodiment of the present invention. As shown in FIG. 12, the package module 104 further includes: a second encapsulation unit 122 coupled to the third determination unit. In the case of determining that the VxLAN unicast tunnel with the destination address being the first network device is established, the inner layer packet is encapsulated into a VxLAN packet according to the VxLAN service specification standard, where the VxLAN packet is a VxLAN unicast packet. The second sending module of the second network device is configured to send the VxLAN message to the first network device by using the VxLAN unicast tunnel whose destination address is the first network device.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处 理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple At In the processor.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
步骤S202,第一网络设备接收第二网络设备发送的VxLAN报文;Step S202: The first network device receives the VxLAN packet sent by the second network device.
步骤S204,第一网络设备解析VxLAN报文的标识信息;Step S204: The first network device parses the identifier information of the VxLAN packet.
步骤S206,第一网络设备根据标识信息,建立目的地址为第二网络设备的VxLAN单播隧道。Step S206: The first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
本发明可选实施例提供了一种快速建立VxLAN单播隧道的方法和装置,可以节省在两端网络设备上分别建立协议栈的组件,节省网络设备之间私有协议的报文交互,以及节省报文交互过程所消耗的传输时间。An alternative embodiment of the present invention provides a method and a device for quickly establishing a VxLAN unicast tunnel, which can save the components of the protocol stack on the network devices at both ends, save the packet exchange of the private protocol between the network devices, and save the The transmission time consumed by the message exchange process.
本发明可选实施例提供的建立单播隧道的方法包括:源端(相当于上述第二网络设备)发送VxLAN报文,该报文通过VxLAN组播隧道(或者单播隧道)传输到对端(相当于上述第一网络设备),对端接受该VxLAN报文后建立VxLAN单播隧道,这种单向VxLAN报文的交互,可以节省在两端网络设备上分别建立协议栈的业务部署需求及其硬件资源,并且,可以节省在两端网络设备之间通过云端网络进行所述私有协议的报文交互所消耗的传输时间,达到快速建立VxLAN单播隧道的效果。The method for establishing a unicast tunnel provided by the optional embodiment of the present invention includes: the source end (corresponding to the second network device) sends a VxLAN message, and the packet is transmitted to the peer end through a VxLAN multicast tunnel (or a unicast tunnel). (equivalent to the first network device), the peer end accepts the VxLAN message and establishes a VxLAN unicast tunnel. The interaction of the unidirectional VxLAN message can save the service deployment requirement of establishing the protocol stack on the network devices at both ends. And the hardware resources thereof, and the transmission time consumed by the packet exchange between the network devices at both ends through the cloud network for the private protocol can be saved, and the effect of quickly establishing a VxLAN unicast tunnel is achieved.
本发明可选实施例提供的建立单播隧道的装置包括:The apparatus for establishing a unicast tunnel provided by the optional embodiment of the present invention includes:
发送和接收单元,实现网络设备和主机/客户端之间的数据交换,以及网络设备之间通过云端网络的数据交换。The transmitting and receiving unit implements data exchange between the network device and the host/client, and data exchange between the network devices through the cloud network.
VxLAN编码单元,实现网络设备对其发送和接收单元接收到的,从主机/客户端发送的内层报文的,遵循VxLAN业务规范标准的封装的操作;并且,也实现统计内层报文编码使用的VxLAN组播隧道或VxLAN单播隧道的使用率信息。The VxLAN coding unit implements the encapsulation operation of the inner layer message sent by the network device to the transmitting/receiving unit and follows the VxLAN service specification standard; and also implements the statistical inner layer message coding. Usage information of the VxLAN multicast tunnel or VxLAN unicast tunnel used.
VxLAN解码单元,实现网络设备对其发送和接收单元接收到的,从云端网络传输的VxLAN业务报文的,遵循VxLAN业务规范标准的解封装的操作;并且,也实现解析VxLAN业务报文所携带的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的下一跳(Next HOP) 等标识信息,然后传递给数据管理单元、隧道配置单元的操作。The VxLAN decoding unit implements the decapsulation operation of the VxLAN service packet transmitted by the network device to the transmitting and receiving unit and follows the VxLAN service specification standard; and also implements the parsing of the VxLAN service packet. IP address information of the remote network device, the VLAN of the VxLAN packet, the VNI, and the source IP address or source MAC address of the inner packet, and the next hop queried according to the source IP address of the VxLAN packet. HOP) The identification information is then passed to the data management unit and the tunnel configuration unit.
数据管理单元,设置为在网络设备上存储需要建立VxLAN单播隧道的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址(即远端网络设备的IP地址)查询到的Next HOP等标识信息;并且,也存储本地网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息。还提供通用数据库接口。The data management unit is configured to store, on the network device, the IP address information of the remote network device that needs to establish a VxLAN unicast tunnel, and the VLAN, the VNI of the VxLAN packet, and the source IP address or the source MAC address of the inner layer packet. And identifying information such as Next HOP according to the source IP address of the VxLAN packet (that is, the IP address of the remote network device); and storing the IP address information of the local network device, and the VLAN, VNI, and VxLAN packet, and The source IP address or source MAC address of the inner packet, and the next HOP and other identifiers that are queried according to the source IP address of the VxLAN packet. A generic database interface is also provided.
隧道配置单元,实现在本地网络设备建立VTEP的操作;也实现根据VTEP和VxLAN组播信息建立VxLAN组播隧道的操作;并且,也实现根据VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立VxLAN单播隧道的操作;并且,也实现根据已经建立的VxLAN组播隧道和VxLAN单播隧道的使用率执行删除VxLAN隧道的操作;并且,还实现通过数据管理单元提供的通用数据库接口的对数据管理单元的记录进行访问和修改等操作。The tunnel configuration unit implements the operation of establishing a VTEP on the local network device; and also implements the operation of establishing a VxLAN multicast tunnel according to the VTEP and VxLAN multicast information; and also implements the IP address information according to the VTEP and the remote network device, and the VxLAN report. The operation of the VxLAN unicast tunnel is established by the VLAN, the VNI, and the source IP address or the source MAC address of the inner-layer packet, and the identification information such as the Next HOP that is queried according to the source IP address of the VxLAN packet. The usage of the established VxLAN multicast tunnel and the VxLAN unicast tunnel performs the operation of deleting the VxLAN tunnel; and, also, accessing and modifying the records of the data management unit through the general database interface provided by the data management unit.
本发明可选实施例提供的建立单播隧道的方法可以包括以下步骤:The method for establishing a unicast tunnel provided by an optional embodiment of the present invention may include the following steps:
步骤11,首先在网络设备之间建立全连接的VxLAN组播隧道;Step 11, first establishing a fully connected VxLAN multicast tunnel between the network devices;
步骤12,对未建立VxLAN单播隧道的内层报文,可以先通过VxLAN组播隧道传输;Step 12: The inner layer packet of the VxLAN unicast tunnel is not successfully transmitted through the VxLAN multicast tunnel.
步骤13,远端网络设备接收到VxLAN组播报文后,利用其携带的本端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息,在远端网络设备上建立一条目的地址为本端网络设备的VxLAN单播隧道;Step 13: After receiving the VxLAN multicast packet, the remote network device uses the IP address information of the local network device carried by the remote network device, the VLAN of the VxLAN packet, the VNI, and the source IP address or source MAC address of the inner layer packet. The address, and the next HOP and other identification information that is queried according to the source IP address of the VxLAN packet, establish a VxLAN unicast tunnel with the destination address as the local network device on the remote network device;
步骤14,远端网络设备可以通过VxLAN单播隧道发送VxLAN单播报文到本端网络设备,并且,本端网络设备接收到VxLAN单播报文后,利用其携带的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息携带,在本端网络设备上建立一条目的地址为远端网络设备的VxLAN单播隧道;Step 14: The remote network device can send the VxLAN unicast message to the local network device through the VxLAN unicast tunnel, and the local network device uses the IP address information of the remote network device carried by the local network device after receiving the VxLAN unicast message. And the VXLAN packet's VLAN, the VNI, and the source IP address or the source MAC address of the inner-layer packet, and the next HOP and other identifiers that are queried according to the source IP address of the VxLAN packet, and are established on the local network device. A VxLAN unicast tunnel with a destination address being the remote network device;
步骤15,网络设备在封装和发送内层报文的时候,可以灵活选择不同业务类型的VxLAN隧道:Step 15: When the network device encapsulates and sends the inner layer packet, the network device can flexibly select the VxLAN tunnel of different service types:
如果网络设备已经建立了一条以内层报文的目的地址为远端网络设备的VxLAN单播隧道,可以将内层报文封装为VxLAN单播报文,通过VxLAN单播隧道发送;If the network device has established a VxLAN unicast tunnel with the destination address of the inner-layer packet as the remote network device, the inner-layer packet can be encapsulated into a VxLAN unicast packet and sent through a VxLAN unicast tunnel.
如果尚未建立以内层报文的目的地址为远端网络设备的VxLAN单播隧道,可以将内层报文封装为VxLAN组播报文,通过VxLAN组播隧道发送;If the VxLAN unicast tunnel is configured as the remote network device, the inner-layer packet can be encapsulated into a VxLAN multicast packet and sent through the VxLAN multicast tunnel.
步骤16,网络设备对于已经建立的VxLAN组播隧道和VxLAN单播隧道,统计其使用率, 在一定时间期限内,使用率为0的VxLAN组播隧道和VxLAN单播隧道可以删除。Step 16. The network device counts the usage rate of the VxLAN multicast tunnel and the VxLAN unicast tunnel that have been established. VxLAN multicast tunnels and VxLAN unicast tunnels with a usage rate of 0 can be deleted within a certain period of time.
本发明可选实施例提供的建立单播隧道的方法还可以包括以下步骤:The method for establishing a unicast tunnel provided by the optional embodiment of the present invention may further include the following steps:
步骤21,在网络设备配置VTEP,用于识别VxLAN组播报文,和用于识别目的地址为本端网络设备的VxLAN单播报文;Step 21: Configure a VTEP on the network device to identify the VxLAN multicast packet, and the VxLAN unicast packet used to identify the destination address of the local network device.
步骤22,在网络设备上配置隧道配置单元,设置为根据VTEP和VxLAN组播信息建立VxLAN组播隧道;Step 22: Configure a tunnel configuration unit on the network device, and set to establish a VxLAN multicast tunnel according to the VTEP and VxLAN multicast information.
步骤23,在网络设备上配置隧道配置单元,设置为根据VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立VxLAN单播隧道的操作;Step 23: Configure a tunnel configuration unit on the network device, and set the IP address information according to the VTEP and the remote network device, the VLAN of the VxLAN packet, the VNI, and the source IP address or the source MAC address of the inner layer packet, and Establishing a VxLAN unicast tunnel according to the identification information such as Next HOP queried by the source IP address of the VxLAN packet;
步骤24,在网络设备上配置数据管理单元,设置为存储本地网络设备的IP地址信息,需要建立VxLAN单播隧道的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息;Step 24: Configure a data management unit on the network device, set to store the IP address information of the local network device, and set the IP address information of the remote network device of the VxLAN unicast tunnel, and the VLAN, VNI, and VxLAN packet. The source IP address or source MAC address of the layer packet, and the identification information such as Next HOP that is queried according to the source IP address of the VxLAN packet.
步骤25,在网络设备上配置数据管理单元,设置为存储VxLAN编码单元统计的,本地网络设备建立的VxLAN组播隧道和VxLAN单播隧道的使用率。Step 25: Configure a data management unit on the network device, and set the usage rate of the VxLAN multicast tunnel and the VxLAN unicast tunnel established by the local network device, which are counted by the VxLAN coding unit.
下面结合附图对本发明可选实施例进行说明。The optional embodiments of the present invention are described below with reference to the accompanying drawings.
下面结合附图对本发明的技术方案进一步详细阐述。The technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings.
图13是根据本发明可选实施例的快速建立VxLAN单播隧道装置的结构框图,如图13所示,该装置包括:FIG. 13 is a structural block diagram of a device for rapidly establishing a VxLAN unicast tunnel according to an alternative embodiment of the present invention. As shown in FIG. 13, the device includes:
发送和接收单元1302,设置为对VxLAN业务报文按照以太网三层(网络层)协议报文的方式进行传输;The sending and receiving unit 1302 is configured to transmit the VxLAN service packet according to the Ethernet Layer 3 (network layer) protocol packet;
VxLAN编码单元1304,设置为接收主机/客户端发送的内层报文,遵循VxLAN业务规范标准,对其进行VxLAN业务封装;The VxLAN encoding unit 1304 is configured to receive the inner layer packet sent by the host/client, and perform VxLAN service encapsulation according to the VxLAN service specification standard;
VxLAN解码单元1306,设置为接收来自云端网络的VxLAN业务报文,按照VxLAN业务规范标准进行解封装,然后,将内层报文发送至主机/客户端。并且,VxLAN解码单元也解析VxLAN业务报文携带的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息,传递给数据管理单元,并且通知隧道配置单元;The VxLAN decoding unit 1306 is configured to receive the VxLAN service packet from the cloud network, decapsulate according to the VxLAN service specification standard, and then send the inner layer packet to the host/client. The VxLAN decoding unit also parses the IP address information of the remote network device carried in the VxLAN service packet, and the VLAN, the VNI of the VxLAN packet, the source IP address or the source MAC address of the inner layer packet, and the VxLAN packet according to the VxLAN packet. The identification information such as Next HOP queried by the source IP address is transmitted to the data management unit, and the tunnel configuration unit is notified;
数据管理单元1308,设置为存储需要建立VxLAN单播隧道的远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息。数据管理单元也保存本地网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据 VxLAN报文的源IP地址查询到的Next HOP等标识信息;The data management unit 1308 is configured to store IP address information of a remote network device that needs to establish a VxLAN unicast tunnel, and a VLAN, a VNI of the VxLAN message, and a source IP address or a source MAC address of the inner layer packet, and according to the VxLAN The next HOP and other identification information that is queried by the source IP address of the packet. The data management unit also stores the IP address information of the local network device, the VLAN of the VxLAN message, the VNI, and the source IP address or source MAC address of the inner layer packet, and Identification information such as Next HOP that is queried by the source IP address of the VxLAN packet;
隧道配置单元1310,设置为在本地网络设备建立VTEP,以及根据VTEP和VxLAN组播信息建立VxLAN组播隧道;其中,a tunnel configuration unit 1310, configured to establish a VTEP on the local network device, and establish a VxLAN multicast tunnel according to the VTEP and VxLAN multicast information;
隧道配置单元1310,还设置为根据VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源IP地址或者源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立VxLAN单播隧道;The tunnel configuration unit 1310 is further configured to: according to the VTEP and the IP address information of the remote network device, the VLAN of the VxLAN message, the VNI, and the source IP address or source MAC address of the inner layer packet, and the source according to the VxLAN message. The identification information such as Next HOP queried by the IP address establishes a VxLAN unicast tunnel;
隧道配置单元1310,还设置为根据VxLAN隧道使用率删除冗余的隧道;The tunnel configuration unit 1310 is further configured to delete the redundant tunnel according to the VxLAN tunnel usage rate;
隧道配置单元1310,还设置为访问数据管理单元的记录,也可以对数据管理单元的记录进行标识和修改。The tunnel configuration unit 1310 is further configured to access the records of the data management unit, and may also identify and modify the records of the data management unit.
图14是根据本发明可选实施例的快速建立VxLAN单播隧道系统的结构框图,如图14所示,该系统包括:网络设备C;网络设备D,通过云端网络耦合至网络设备C;主机/客户端A,通过耦合至网络设备C实现网络侧通信;主机/客户端B,通过耦合至网络设备D实现网络侧通信;其中,14 is a structural block diagram of a system for rapidly establishing a VxLAN unicast tunnel according to an alternative embodiment of the present invention. As shown in FIG. 14, the system includes: a network device C; a network device D coupled to the network device C through a cloud network; /Client A, network-side communication is implemented by coupling to the network device C; the host/client B is coupled to the network device D to implement network-side communication;
网络设备C包括:发送和接收单元C101,VxLAN编码单元C102,VxLAN解码单元C103,数据管理单元C104,定时器C105和隧道配置单元C106;The network device C includes: a transmitting and receiving unit C101, a VxLAN encoding unit C102, a VxLAN decoding unit C103, a data management unit C104, a timer C105, and a tunnel configuration unit C106;
网络设备D包括:发送和接收单元D201,VxLAN编码单元D202,VxLAN解码单元D203,数据管理单元D204,定时器D205和隧道配置单元D206。The network device D includes a transmitting and receiving unit D201, a VxLAN encoding unit D202, a VxLAN decoding unit D203, a data management unit D204, a timer D205, and a tunnel configuration unit D206.
在建立L2VxLAN单播隧道(主机/客户端A与主机/客户端B属于同一个VLAN内)的情况下,该系统可以实现如下步骤:In the case of establishing an L2VxLAN unicast tunnel (host/client A and host/client B belong to the same VLAN), the system can implement the following steps:
步骤1,隧道配置单元C106根据网络设备C的本地设备信息,以及VxLAN组播业务公有信息,在网络设备C配置VTEP,并且,根据VTEP和VxLAN组播信息建立VxLAN组播隧道;Step 1, the tunnel configuration unit C106 configures the VTEP in the network device C according to the local device information of the network device C and the public information of the VxLAN multicast service, and establishes a VxLAN multicast tunnel according to the VTEP and the VxLAN multicast information.
步骤2,隧道配置单元D206根据网络设备D的本地设备信息,以及VxLAN组播业务公有信息,在网络设备D配置VTEP,并且,根据VTEP和VxLAN组播信息建立VxLAN组播隧道;Step 2: The tunnel configuration unit D206 configures the VTEP in the network device D according to the local device information of the network device D and the public information of the VxLAN multicast service, and establishes a VxLAN multicast tunnel according to the VTEP and the VxLAN multicast information.
步骤3,主机/客户端A发送内层报文到网络设备C时,VxLAN编码单元C102根据MAC判定:如果内层报文是未知单播,则通过VxLAN组播隧道传输;如果内层报文是单播业务报文,尝试封装为VxLAN单播报文,通过VxLAN单播隧道传递。由于网络设备C尚未建立此单播业务报文的目的地址(即主机/客户端B)所需要的VxLAN单播隧道,只能按照未知单播报文的处理方式。VxLAN编码单元C102将内层报文封装为VxLAN组播报文,通过VxLAN组播隧道传输; Step 3: When the host/client A sends the inner layer packet to the network device C, the VxLAN encoding unit C102 determines according to the MAC: if the inner layer packet is unknown unicast, it transmits through the VxLAN multicast tunnel; if the inner layer packet It is a unicast service packet. It is encapsulated as a VxLAN unicast packet and delivered through a VxLAN unicast tunnel. The network device C has not yet established the VxLAN unicast tunnel required by the destination address of the unicast service packet, that is, the host/client B. The VxLAN coding unit C102 encapsulates the inner layer packet into a VxLAN multicast packet and transmits the data through the VxLAN multicast tunnel.
步骤4,VxLAN组播隧道传输报文,从网络设备C的VTEP封装并发送,穿透云端网络,到达网络中所有网络设备的VTEP,完成隧道传输;Step 4: The VxLAN multicast tunneling packet is encapsulated and sent from the VTEP of the network device C, penetrates the cloud network, reaches the VTEP of all the network devices in the network, and completes the tunnel transmission;
步骤5,网络设备D接收来自云端网络的VxLAN业务报文,VxLAN解码单元D203按照VxLAN业务规范标准对其解封装,将内层报文下发至主机/客户端B。同时,网络设备D可以解析出VxLAN组播报文携带的远端设备(网络设备C)的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源MAC地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息,传递给数据管理单元D204,并且通知隧道配置单元D206;Step 5: The network device D receives the VxLAN service packet from the cloud network, and the VxLAN decoding unit D203 decapsulates the packet according to the VxLAN service specification standard, and delivers the inner layer packet to the host/client B. At the same time, the network device D can parse the IP address information of the remote device (network device C) carried in the VxLAN multicast packet, the VLAN of the VxLAN packet, the VNI, and the source MAC address of the inner layer packet, and according to the VxLAN. The information such as Next HOP queried by the source IP address of the packet is transmitted to the data management unit D204, and the tunnel configuration unit D206 is notified;
步骤6,数据管理单元D204记录所有接收到的远端设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源MAC地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息,提供通用数据库接口(包括增加、删除、修改和查询记录);Step 6: The data management unit D204 records the IP address information of all the received remote devices, the VLAN of the VxLAN message, the VNI, and the source MAC address of the inner layer packet, and the source IP address of the VxLAN message is queried. Identification information such as Next HOP, providing a common database interface (including adding, deleting, modifying, and querying records);
步骤7,隧道配置单元D206在接收到VTEP的通知后,根据本端设备VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源MAC地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立VxLAN单播隧道。当再次收到目的IP为远端网络设备的报文时,直接解封装,并通告配置单元;Step 7: After receiving the notification of the VTEP, the tunnel configuration unit D206, according to the local device VTEP and the IP address information of the remote network device, and the VLAN, VNI of the VxLAN message, and the source MAC address of the inner layer packet, and A VxLAN unicast tunnel is established according to the identification information such as Next HOP queried by the source IP address of the VxLAN packet. When the packet whose destination IP address is the remote network device is received again, the packet is directly decapsulated and the configuration unit is advertised.
步骤8,主机/客户端B发送内层报文到网络设备D时,VxLAN编码单元D202判定:如果内层报文是未知单播业务报文,封装为VxLAN组播报文,通过VxLAN组播隧道传输;如果内层报文是单播业务报文,尝试封装为VxLAN单播报文,通过VxLAN单播隧道传递。由于网络设备D已经建立此单播业务报文的目的地址(即主机/客户端A)所需要的VxLAN单播隧道,可以按照已知单播报文的处理方式。VxLAN编码单元D202将内层报文封装为VxLAN单播报文,通过VxLAN单播隧道传输;Step 8: When the host/client B sends the inner layer packet to the network device D, the VxLAN coding unit D202 determines that if the inner layer packet is an unknown unicast service packet, the packet is a VxLAN multicast packet and is multicast through the VxLAN. Tunnel transmission; if the inner-layer packet is a unicast service packet, it is encapsulated as a VxLAN unicast packet and transmitted through a VxLAN unicast tunnel. The network device D has already established the VxLAN unicast tunnel required by the destination address of the unicast service packet (ie, the host/client A), and can be processed according to the known unicast packet. The VxLAN coding unit D202 encapsulates the inner layer packet into a VxLAN unicast message and transmits the signal through a VxLAN unicast tunnel.
步骤9,VxLAN单播隧道传输报文,从网络设备D的VTEP封装并发送,穿透云端网络,到达网络设备C的VTEP,完成隧道传输;Step 9: The VxLAN unicast tunnel transmits the packet, encapsulates and sends the packet from the VTEP of the network device D, penetrates the cloud network, reaches the VTEP of the network device C, and completes the tunnel transmission;
步骤10,网络设备C接收来自云端网络的VxLAN业务报文,VxLAN解码单元C103按照VxLAN业务规范标准对其解封装,将内层报文下发至主机/客户端A。同时,网络设备C可以解析出VxLAN报文携带的远端设备(网络设备D)的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源MAC地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息;Step 10: The network device C receives the VxLAN service packet from the cloud network, and the VxLAN decoding unit C103 decapsulates the packet according to the VxLAN service specification standard, and delivers the inner layer packet to the host/client A. At the same time, the network device C can parse the IP address information of the remote device (network device D) carried in the VxLAN message, the VLAN of the VxLAN message, the VNI, and the source MAC address of the inner layer packet, and the VxLAN message according to the VxLAN message. The source IP address is queried to the next HOP and other identification information;
步骤11,网络设备C接收来自云端网络的VxLAN业务报文,参照步骤5至步骤7类似的方式,在网络设备C端根据本端设备的VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和内层报文的源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立VxLAN单播隧道;Step 11: The network device C receives the VxLAN service packet from the cloud network, and refers to the VTEP of the local device and the IP address information of the remote network device, and the VxLAN report at the C end of the network device, in a manner similar to steps 5 to 7. The VxLAN unicast tunnel is established by the VLAN, the VNI, and the source MAC address of the inner packet, and the next HOP and other identifiers that are queried according to the source IP address of the VxLAN packet.
步骤12,统计VxLAN单播隧道的使用率,删除使用率为0的VxLAN隧道。In step 12, the usage rate of the VxLAN unicast tunnel is counted, and the VxLAN tunnel with the usage rate of 0 is deleted.
在建立L3VxLAN单播隧道(主机/客户端A与主机/客户端B属于不同VLAN)的情况 下,以集中网关的方式将网关配置在网络设备D上为例进行描述和说明。该系统还可以实现如下步骤:In the case of establishing an L3VxLAN unicast tunnel (host/client A and host/client B belong to different VLANs) The gateway is configured on the network device D in the manner of a centralized gateway as an example for description and description. The system can also implement the following steps:
步骤1,隧道配置单元C106根据网络设备C的本地设备信息,以及VxLAN组播业务公有信息,在网络设备C配置VTEP,并且,根据VTEP和VxLAN组播信息建立VxLAN组播隧道;Step 1, the tunnel configuration unit C106 configures the VTEP in the network device C according to the local device information of the network device C and the public information of the VxLAN multicast service, and establishes a VxLAN multicast tunnel according to the VTEP and the VxLAN multicast information.
步骤2,隧道配置单元D206根据网络设备D的本地设备信息,以及VxLAN组播业务公有信息,在网络设备D配置VTEP,并且,根据VTEP和VxLAN组播信息建立VxLAN组播隧道;Step 2: The tunnel configuration unit D206 configures the VTEP in the network device D according to the local device information of the network device D and the public information of the VxLAN multicast service, and establishes a VxLAN multicast tunnel according to the VTEP and the VxLAN multicast information.
步骤3,在建立目的地址为网络设备C的VxLAN单播隧道时,内层报文为ARP请求报文。主机/客户端A发送ARP请求报文到网络设备D请求网关(即网络设备D)的MAC,VxLAN编码单元C102判定:如果ARP请求报文是未知单播,则通过VxLAN组播隧道传输;如果ARP请求报文是单播业务报文,尝试封装为VxLAN单播报文,通过VxLAN单播隧道传递。由于网络设备C尚未建立此单播业务报文的目的地址(即网络设备D)所需要的VxLAN单播隧道,只能按照未知单播报文的处理方式。VxLAN编码单元C102将ARP请求报文封装为VxLAN组播报文,通过VxLAN组播隧道传输;Step 3: When the VxLAN unicast tunnel with the destination address being the network device C is established, the inner layer packet is an ARP request packet. The host/client A sends an ARP request message to the network device D to request the MAC of the gateway (ie, network device D), and the VxLAN coding unit C102 determines that if the ARP request message is unknown unicast, it is transmitted through the VxLAN multicast tunnel; The ARP request packet is a unicast service packet and is encapsulated as a VxLAN unicast packet and transmitted through a VxLAN unicast tunnel. The network device C has not yet established the VxLAN unicast tunnel required by the destination address of the unicast service packet (that is, the network device D), and can only process the unknown unicast packet. The VxLAN coding unit C102 encapsulates the ARP request packet into a VxLAN multicast packet and transmits the data through the VxLAN multicast tunnel.
步骤4,VxLAN组播隧道传输报文,从网络设备C的VTEP封装并发送,穿透云端网络,到达网络中所有网络设备的VTEP,完成隧道传输;Step 4: The VxLAN multicast tunneling packet is encapsulated and sent from the VTEP of the network device C, penetrates the cloud network, reaches the VTEP of all the network devices in the network, and completes the tunnel transmission;
步骤5,网络设备D作为网关接收来自云端网络的VxLAN封装的ARP请求报文,网络设备D可以解析出VxLAN组播报文携带的远端设备(网络设备C)的IP地址信息,和VxLAN报文的VLAN、VNI,和ARP请求报文的源IP地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等信息,传递给数据管理单元D204,并且通知隧道配置单元D206;Step 5: The network device D receives the ARP request packet of the VxLAN encapsulation from the cloud network as the gateway, and the network device D can parse the IP address information of the remote device (network device C) carried by the VxLAN multicast packet, and the VxLAN report. The source VLAN address of the VLAN, the VNI, and the ARP request packet, and the information such as the Next HOP, which is queried according to the source IP address of the VxLAN packet, are transmitted to the data management unit D204, and the tunnel configuration unit D206 is notified;
步骤6,数据管理单元D204记录所有接收到的远端设备的IP地址信息,和VXLAN报文的VLAN、VNI,和ARP请求报文的源IP地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息,提供通用数据库接口(包括增加、删除、修改和查询记录);Step 6: The data management unit D204 records the IP address information of all the received remote devices, the VLAN, the VNI of the VXLAN packet, and the source IP address of the ARP request packet, and the source IP address of the VxLAN packet is queried. Identification information such as Next HOP, providing a common database interface (including adding, deleting, modifying, and querying records);
步骤7,隧道配置单元D206在接收到VTEP的通知后,根据本端设备VTEP和远端网络设备的IP地址信息,和VxLAN报文的VLAN、VNI,和ARP请求报文的源IP地址,以及根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立L3VxLAN单播隧道。当再次收到目的IP为远端网络设备的报文时,直接解封装,并通告配置单元;Step 7: After receiving the notification of the VTEP, the tunnel configuration unit D206, according to the local device VTEP and the IP address information of the remote network device, and the VLAN, the VNI of the VxLAN message, and the source IP address of the ARP request packet, and An L3VxLAN unicast tunnel is established based on the identification information such as Next HOP queried by the source IP address of the VxLAN packet. When the packet whose destination IP address is the remote network device is received again, the packet is directly decapsulated and the configuration unit is advertised.
步骤8,在建立目的地址为网络设备D的VxLAN单播隧道时,内层报文为REPLY报文。网络设备D会回复一条ARP的REPLY报文通告网关的MAC,该报文利用刚刚已经建好的单播隧道,以VxLAN单播的方式发送给网络设备C,网络设备C可以解析出VxLAN报文携带的远端设备(网络设备D)的IP地址信息,和VxLAN报文的VLAN、VNI,和REPLY报文的源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息;Step 8: When the VxLAN unicast tunnel with the destination address being the network device D is established, the inner layer packet is a REPLY packet. The network device D replies to the ARP REPLY message to advertise the MAC address of the gateway. The packet is sent to the network device C in a VxLAN unicast mode. The network device C can parse the VxLAN packet. IP address information of the remote device (network device D) and the source MAC address of the VLAN, VNI, and REPLY packets of the VxLAN packet, and the next HOP and other identifiers that are queried according to the source IP address of the VxLAN packet. ;
步骤9,网络设备C接收来自云端网络的VxLAN业务报文,参照前述步骤5至步骤7类 似的方式,在网络设备C端根据本端设备的VTEP和远端网络设备的IP地址信息,和VXLAN报文的VLAN、VNI,和REPLY报文的源MAC地址,和根据VxLAN报文的源IP地址查询到的Next HOP等标识信息建立L2VxLAN单播隧道;Step 9: The network device C receives the VxLAN service packet from the cloud network, and refers to the foregoing steps 5 to 7 In a similar manner, the network device C is based on the VTEP of the local device and the IP address information of the remote network device, and the source MAC address of the VLAN, VNI, and REPLY message of the VXLAN message, and the source according to the VxLAN message. Establishing an L2VxLAN unicast tunnel by identifying information such as Next HOP that is queried by the IP address;
步骤10,主机/客户端B要与A通信时,发送目的IP为主机/客户端B、目的MAC为网络设备D的报文到网络设备D。由于网络设备D已经建立此单播业务报文的目的地址(即主机/客户端A)所需要的VxLAN单播隧道,VxLAN编码单元D202可以按照已知单播报文的处理方式对主机/客户端B发送的报文进行处理。VxLAN编码单元D202将内层报文封装为VxLAN单播报文,通过VxLAN单播隧道传输;Step 10: When the host/client B wants to communicate with the A, the host sends a packet whose destination IP address is the host/client B and the destination MAC address is the network device D to the network device D. The VxLAN coding unit D202 can process the host/client according to the known unicast packet processing mode, because the network device D has established the VxLAN unicast tunnel required by the destination address of the unicast service packet (ie, the host/client A). The packet sent by B is processed. The VxLAN coding unit D202 encapsulates the inner layer packet into a VxLAN unicast message and transmits the signal through a VxLAN unicast tunnel.
步骤11,VxLAN单播隧道传输报文,从网络设备D的VTEP封装并发送,穿透云端网络,到达网络设备C的VTEP,完成隧道传输;Step 11: The VxLAN unicast tunnel transmits the packet, encapsulates and sends the packet from the VTEP of the network device D, penetrates the cloud network, reaches the VTEP of the network device C, and completes the tunnel transmission;
步骤12,网络设备C接收来自云端网络的VxLAN业务报文,VxLAN解码单元C103按照VxLAN业务规范标准对其解封装,将内层报文二层转发给主机/客户端A;Step 12: The network device C receives the VxLAN service packet from the cloud network, and the VxLAN decoding unit C103 decapsulates the packet according to the VxLAN service specification standard, and forwards the inner layer packet to the host/client A;
步骤13,主机/客户端A要与B通信时,发送目的MAC为网络设备D、目的IP为主机/客户端B的报文到网络设备C,网络设备C根据刚刚建立起来的L3VXLAN隧道将报文通过公网转发到网络设备D,网络设备D解封装该VXLAN报文然后查路由后将报文转发给主机/客户端B。Step 13: When the host/client A wants to communicate with the B, the device sends the destination MAC address to the network device D and the destination IP address to the host device/client B to the network device C. The network device C reports according to the newly established L3VXLAN tunnel. The packet is forwarded to the network device D through the public network. The network device D decapsulates the VXLAN packet and then forwards the packet to the host/client B.
在上述实施例中,L2VxLAN与L3VxLAN的不同在于:解封装方面,L2VxLAN解封装后,根据内层报文的源MAC地址查MAC表进行报文转发,L3VxLAN业务解封装后根据内层报文的源IP地址查路由表进行报文转发;封装方面,L2VxLAN查MAC表获取封装信息,L3VxLAN查路由表获取封装信息。In the above embodiment, the difference between the L2VxLAN and the L3VxLAN is that, in the decapsulation, after the L2VxLAN is decapsulated, the MAC address table is forwarded according to the source MAC address of the inner layer packet, and the L3VxLAN service is decapsulated according to the inner layer packet. The source IP address is used to check the routing table for packet forwarding. For encapsulation, L2VxLAN checks the MAC table for encapsulation information, and L3VxLAN checks the routing table for encapsulation information.
综上所述,通过本发明的上述实施例和可选实施例,新增了一种单播隧道建立模式,可以节省在两端网络设备上分别建立协议栈的业务部署及其硬件资源,并且,节省在两端网络设备之间通过云端网络进行所述私有协议的报文交互所消耗的传输时间,达到快速建立VxLAN单播隧道的效果。In summary, the unicast tunnel establishment mode is added to the above-mentioned embodiments and the optional embodiments of the present invention, which can save the service deployment and hardware resources of the protocol stack respectively on the network devices at both ends, and The transmission time consumed by the packet exchange between the network devices at the two ends through the cloud network for the private protocol is saved, and the effect of quickly establishing a VxLAN unicast tunnel is achieved.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的上述技术方案,可以应用于单播隧道的建立过程中,采用第一网络设备接收第二网络设备发送的VxLAN报文;第一网络设备解析VxLAN报文的标识信息;第一网络设备根据标识信息,建立目的地址为第二网络设备的VxLAN单播隧道的方式,解决了相关技术通过私有协议报文交互建立VxLAN单播隧道效率低的问题,实现了快速建立VxLAN单播隧道的效果。 The foregoing technical solution of the embodiment of the present invention may be applied to the process of establishing a unicast tunnel, using the first network device to receive the VxLAN packet sent by the second network device, and the first network device parsing the identifier information of the VxLAN packet; The network device establishes a VxLAN unicast tunnel with the destination address as the second network device according to the identification information, and solves the problem that the related technology has low efficiency of establishing a VxLAN unicast tunnel through the private protocol packet exchange, and realizes the rapid establishment of the VxLAN unicast tunnel. Effect.

Claims (21)

  1. 一种单播隧道建立方法,包括:A method for establishing a unicast tunnel includes:
    第一网络设备接收第二网络设备发送的VxLAN报文;Receiving, by the first network device, a VxLAN message sent by the second network device;
    所述第一网络设备解析所述VxLAN报文的标识信息;Determining, by the first network device, identifier information of the VxLAN packet;
    所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道。The first network device establishes, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device.
  2. 根据权利要求1所述的方法,其中,所述第一网络设备解析所述VxLAN报文的所述标识信息包括:The method of claim 1, wherein the identifying, by the first network device, the identifier information of the VxLAN message comprises:
    所述第一网络设备判断是否已建立目的地址为所述第二网络设备的VxLAN单播隧道;Determining, by the first network device, whether a VxLAN unicast tunnel whose destination address is the second network device is established;
    在判断到未建立目的地址为所述第二网络设备的VxLAN单播隧道的情况下,所述第一网络设备解析所述VxLAN报文的所述标识信息。When it is determined that the VxLAN unicast tunnel of the second network device is not established, the first network device parses the identifier information of the VxLAN packet.
  3. 根据权利要求1所述的方法,其中,在所述VxLAN报文中封装的内层报文的目的地址为第一客户端的情况下,在所述第一网络设备接收所述第二网络设备发送的所述VxLAN报文之后,所述方法还包括:The method according to claim 1, wherein, in a case where the destination address of the inner layer packet encapsulated in the VxLAN message is the first client, the first network device receives the second network device to send After the VxLAN message, the method further includes:
    所述第一网络设备解封装所述VxLAN报文,得到所述VxLAN报文中封装的所述内层报文;Decapsulating the VxLAN message by the first network device, and obtaining the inner layer packet encapsulated in the VxLAN message;
    所述第一网络设备将所述内层报文发送至所述第一客户端,其中,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端。The first network device sends the inner layer packet to the first client, where the first client is a client that communicates with the network side by using the first network device.
  4. 根据权利要求1所述的方法,其中,所述VxLAN报文是由所述第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的;The method according to claim 1, wherein the VxLAN message is obtained by the second network device encapsulating an inner layer packet according to a VxLAN service specification standard;
    其中,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源MAC地址;或者,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源IP地址。The identifier information includes: an IP address of the second network device and a source MAC address of an inner layer packet encapsulated in the VxLAN packet; or the identifier information includes: the second network device IP address and source IP address of the inner packet encapsulated in the VxLAN packet.
  5. 根据权利要求4所述的方法,其中,所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道包括:The method according to claim 4, wherein the first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information, including:
    所述第一网络设备判断所述VxLAN报文是否在所述第一网络设备的本地终结;Determining, by the first network device, whether the VxLAN message is locally terminated by the first network device;
    在判断结果为是的情况下,所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道;If the result of the determination is yes, the first network device establishes, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device;
    其中,在所述标识信息包括所述内层报文的源MAC地址的情况下,所述VxLAN单播隧道为L2VxLAN单播隧道;在所述标识信息包括所述内层报文的源IP地址的情况下, 所述VxLAN单播隧道为L3VxLAN单播隧道。The VxLAN unicast tunnel is an L2VxLAN unicast tunnel, and the identifier information includes a source IP address of the inner layer packet, where the identifier information includes a source MAC address of the inner layer packet. in the case of, The VxLAN unicast tunnel is an L3VxLAN unicast tunnel.
  6. 根据权利要求4所述的方法,其中,所述标识信息还包括以下至少之一:所述VxLAN报文的外层标签中携带的VLAN信息、所述VxLAN报文的外层标签中携带的VNI信息、根据所述第二网络设备的IP地址查询到的Next HOP信息。The method of claim 4, wherein the identification information further comprises at least one of: VLAN information carried in an outer label of the VxLAN message, and a VNI carried in an outer label of the VxLAN message. Information, Next HOP information queried according to the IP address of the second network device.
  7. 根据权利要求1至6中任一项所述的方法,其中,在所述第一网络设备接收所述网络设备发送的所述VxLAN报文之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the first network device receives the VxLAN message sent by the network device, the method further includes:
    所述第二网络设备接收第二客户端向所述第一网络设备发送的内层报文,其中,所述第二客户端为通过所述第二网络设备与网络侧通信的客户端;Receiving, by the second network device, an inner layer packet sent by the second client to the first network device, where the second client is a client that communicates with the network side by using the second network device;
    所述第二网络设备根据VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文;The second network device encapsulates the inner layer packet into the VxLAN packet according to a VxLAN service specification standard;
    所述第二网络设备发送所述VxLAN报文至所述第一网络设备。The second network device sends the VxLAN message to the first network device.
  8. 根据权利要求7所述的方法,其中,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文包括:The method of claim 7, wherein the encapsulating the inner layer packet into the VxLAN message according to the VxLAN service specification standard comprises:
    所述第二网络设备判断是否已建立目的地址为所述第一网络设备的VxLAN单播隧道;Determining, by the second network device, whether a VxLAN unicast tunnel whose destination address is the first network device is established;
    在判断到未建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN组播报文;When it is determined that the VxLAN unicast tunnel of the first network device is not established, the second network device encapsulates the inner layer packet into the VxLAN packet according to the VxLAN service specification standard. The VxLAN packet is a VxLAN multicast packet.
    其中,所述第二网络设备发送所述VxLAN报文至所述第一网络设备包括:所述第二网络设备通过VxLAN组播隧道发送所述VxLAN报文,以供所述第一网络设备接收。The sending, by the second network device, the VxLAN message to the first network device includes: sending, by the second network device, the VxLAN message by using a VxLAN multicast tunnel, for the first network device to receive .
  9. 根据权利要求7所述的方法,其中,所述第二网络设备根据所述VxLAN业务规范标准将向所述第一网络设备发送的内层报文封装为所述VxLAN报文还包括:The method of claim 7, wherein the encapsulating, by the second network device, the inner layer packet sent to the first network device as the VxLAN message according to the VxLAN service specification standard further comprises:
    在判断到已建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN单播报文;When it is determined that the VxLAN unicast tunnel of the first network device is established, the second network device encapsulates the inner layer packet into the VxLAN packet according to the VxLAN service specification standard. The VxLAN message is a VxLAN unicast message;
    其中,所述第二网络设备发送所述VxLAN报文至所述第一网络设备包括:所述第二网络设备通过目的地址为所述第一网络设备的VxLAN单播隧道发送所述VxLAN报文至所述第一网络设备。The sending, by the second network device, the VxLAN message to the first network device includes: sending, by the second network device, the VxLAN message to a VxLAN unicast tunnel of the first network device by using a destination address To the first network device.
  10. 根据权利要求1至6中任一项所述的方法,其中,在所述第一网络设备根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道之后,所述方法还包括:The method according to any one of claims 1 to 6, wherein after the first network device establishes a VxLAN unicast tunnel whose destination address is the second network device according to the identification information, the method Also includes:
    所述第一网络设备统计在预设时间段内所述第一网络设备建立的VxLAN隧道的使用率,其中,所述第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN 组播隧道;The first network device collects a usage rate of the VxLAN tunnel established by the first network device in a preset time period, where the VxLAN tunnel established by the first network device includes: a VxLAN unicast tunnel and/or a VxLAN Multicast tunnel
    所述第一网络设备根据统计结果判断所述第一网络设备建立的VxLAN隧道的所述使用率是否低于预设值;Determining, by the first network device, whether the usage rate of the VxLAN tunnel established by the first network device is lower than a preset value according to a statistical result;
    所述第一网络设备删除所述第一网络设备建立的VxLAN隧道中所述使用率低于所述预设值的VxLAN隧道。The first network device deletes the VxLAN tunnel whose usage rate is lower than the preset value in the VxLAN tunnel established by the first network device.
  11. 一种单播隧道建立装置,应用于第一网络设备,包括:A unicast tunnel establishing apparatus is applied to a first network device, including:
    第一接收模块,设置为接收第二网络设备发送的VxLAN报文;a first receiving module, configured to receive a VxLAN message sent by the second network device;
    解析模块,设置为解析所述VxLAN报文的标识信息;The parsing module is configured to parse the identifier information of the VxLAN packet;
    建立模块,设置为根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道。And establishing a module, configured to establish, according to the identifier information, a VxLAN unicast tunnel whose destination address is the second network device.
  12. 根据权利要求11所述的装置,其中,所述解析模块包括:The apparatus of claim 11 wherein said parsing module comprises:
    判断单元,设置为判断是否已建立目的地址为所述第二网络设备的VxLAN单播隧道;a determining unit, configured to determine whether a VxLAN unicast tunnel whose destination address is the second network device is established;
    解析单元,设置为在判断到未建立目的地址为所述第二网络设备的VxLAN单播隧道的情况下,所述第一网络设备解析所述VxLAN报文的所述标识信息。The parsing unit is configured to parse the identifier information of the VxLAN packet in the case that it is determined that the VxLAN unicast tunnel of the second network device is not established.
  13. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    解封装模块,设置为在所述VxLAN报文中封装的内层报文的目的地址为第一客户端的情况下,解封装所述VxLAN报文,得到所述VxLAN报文中封装的所述内层报文;Decapsulating the module, configured to decapsulate the VxLAN message in the case where the destination address of the inner layer packet encapsulated in the VxLAN message is the first client, to obtain the inner package encapsulated in the VxLAN message Layer message
    第一发送模块,设置为将所述内层报文发送至所述第一客户端,其中,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端。The first sending module is configured to send the inner layer packet to the first client, where the first client is a client that communicates with the network side by using the first network device.
  14. 根据权利要求11所述的装置,其中,所述VxLAN报文是由所述第二网络设备根据VxLAN业务规范标准对内层报文进行封装得到的;The apparatus according to claim 11, wherein the VxLAN message is obtained by the second network device encapsulating an inner layer packet according to a VxLAN service specification standard;
    其中,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源MAC地址;或者,所述标识信息包括:所述第二网络设备的IP地址和所述VxLAN报文中封装的内层报文的源IP地址。The identifier information includes: an IP address of the second network device and a source MAC address of an inner layer packet encapsulated in the VxLAN packet; or the identifier information includes: the second network device IP address and source IP address of the inner packet encapsulated in the VxLAN packet.
  15. 根据权利要求14所述的装置,其中,所述建立模块包括:The apparatus of claim 14, wherein the establishing module comprises:
    第一判断单元,设置为判断所述VxLAN报文是否在所述第一网络设备的本地终结;a first determining unit, configured to determine whether the VxLAN message is locally terminated by the first network device;
    第一建立单元,设置为在判断结果为是的情况下,根据所述标识信息,建立目的地址为所述第二网络设备的VxLAN单播隧道;a first establishing unit, configured to: when the determination result is yes, establish a VxLAN unicast tunnel whose destination address is the second network device according to the identifier information;
    其中,在所述标识信息包括所述内层报文的源MAC地址的情况下,所述VxLAN单 播隧道为L2VxLAN单播隧道;在所述标识信息包括所述内层报文的源IP地址的情况下,所述VxLAN单播隧道为L3VxLAN单播隧道。Wherein, in the case that the identifier information includes a source MAC address of the inner layer packet, the VxLAN ticket The broadcast tunnel is an L2VxLAN unicast tunnel. If the identifier information includes the source IP address of the inner layer packet, the VxLAN unicast tunnel is an L3VxLAN unicast tunnel.
  16. 根据权利要求14所述的装置,其中,所述标识信息还包括以下至少之一:所述VxLAN报文的外层标签中携带的VLAN信息、所述VxLAN报文的外层标签中携带的VNI信息、根据所述第二网络设备的IP地址查询到的Next HOP信息。The device according to claim 14, wherein the identification information further comprises at least one of: VLAN information carried in an outer label of the VxLAN message, and a VNI carried in an outer label of the VxLAN message. Information, Next HOP information queried according to the IP address of the second network device.
  17. 根据权利要求11至16中任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 11 to 16, wherein the device further comprises:
    统计模块,设置为统计在预设时间段内所述第一网络设备建立的VxLAN隧道的使用率,其中,所述第一网络设备建立的VxLAN隧道包括:VxLAN单播隧道和/或VxLAN组播隧道;The statistic module is configured to collect the usage rate of the VxLAN tunnel established by the first network device in the preset time period, where the VxLAN tunnel established by the first network device includes: a VxLAN unicast tunnel and/or a VxLAN multicast tunnel;
    第二判断模块,设置为根据统计结果判断所述第一网络设备建立的VxLAN隧道的所述使用率是否低于预设值;The second determining module is configured to determine, according to the statistical result, whether the usage rate of the VxLAN tunnel established by the first network device is lower than a preset value;
    删除模块,设置为删除所述第一网络设备建立的VxLAN隧道中所述使用率低于所述预设值的VxLAN隧道。And deleting the module, configured to delete the VxLAN tunnel whose usage rate is lower than the preset value in the VxLAN tunnel established by the first network device.
  18. 一种单播隧道建立系统,包括:第一网络设备和第二网络设备,其中,A unicast tunnel establishment system includes: a first network device and a second network device, where
    所述第一网络设备包括如权利要求11至17中任一项所述的单播隧道建立装置;The first network device includes the unicast tunnel establishing apparatus according to any one of claims 11 to 17;
    所述第二网络设备,耦合至所述第一网络设备,设置为发送所述VxLAN报文至所述第一网络设备。The second network device is coupled to the first network device and configured to send the VxLAN message to the first network device.
  19. 根据权利要求18所述的系统,其中,所述第二网络设备包括:The system of claim 18 wherein said second network device comprises:
    第二接收模块,设置为接收第二客户端向第一客户端发送的所述内层报文,其中,所述第二客户端为通过所述第二网络设备与网络侧通信的客户端,所述第一客户端为通过所述第一网络设备与网络侧通信的客户端;The second receiving module is configured to receive the inner layer packet sent by the second client to the first client, where the second client is a client that communicates with the network side by using the second network device, The first client is a client that communicates with the network side by using the first network device;
    封装模块,设置为根据VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文;The encapsulating module is configured to encapsulate the inner layer packet into the VxLAN packet according to a VxLAN service specification standard;
    第二发送模块,设置为发送所述VxLAN报文至所述第一网络设备。The second sending module is configured to send the VxLAN message to the first network device.
  20. 根据权利要求19所述的系统,其中,所述封装模块包括:The system of claim 19 wherein said packaging module comprises:
    第三判断单元,设置为判断是否已建立目的地址为所述第一网络设备的VxLAN单播隧道;a third determining unit, configured to determine whether a VxLAN unicast tunnel whose destination address is the first network device is established;
    第一封装单元,设置为在判断到未建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,所述第二网络设备根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN组播报文;a first encapsulating unit, configured to: when it is determined that the VxLAN unicast tunnel of the first network device is not established, the second network device sends the inner packet according to the VxLAN service specification Encapsulated as the VxLAN packet, where the VxLAN packet is a VxLAN multicast packet;
    其中,所述第二发送模块,设置为通过VxLAN组播隧道发送所述VxLAN报文,以 供所述第一网络设备接收。The second sending module is configured to send the VxLAN packet through a VxLAN multicast tunnel, to Received by the first network device.
  21. 根据权利要求19所述的系统,其中,所述封装模块还包括:The system of claim 19, wherein the package module further comprises:
    第二封装单元,设置为在判断到已建立目的地址为所述第一网络设备的VxLAN单播隧道的情况下,根据所述VxLAN业务规范标准将所述内层报文封装为所述VxLAN报文,其中,所述VxLAN报文为VxLAN单播报文;a second encapsulating unit, configured to encapsulate the inner layer packet into the VxLAN packet according to the VxLAN service specification standard, if it is determined that the VxLAN unicast tunnel with the destination address being the first network device is established. The VxLAN message is a VxLAN unicast message;
    其中,所述第二发送模块,设置为通过目的地址为所述第一网络设备的VxLAN单播隧道发送所述VxLAN报文至所述第一网络设备。 The second sending module is configured to send the VxLAN message to the first network device by using a VxLAN unicast tunnel whose destination address is the first network device.
PCT/CN2016/094241 2015-09-30 2016-08-09 Unicast tunnel building method, apparatus and system WO2017054576A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510644150.0A CN106559302A (en) 2015-09-30 2015-09-30 Single tunnel method for building up, device and system
CN201510644150.0 2015-09-30

Publications (1)

Publication Number Publication Date
WO2017054576A1 true WO2017054576A1 (en) 2017-04-06

Family

ID=58418025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/094241 WO2017054576A1 (en) 2015-09-30 2016-08-09 Unicast tunnel building method, apparatus and system

Country Status (2)

Country Link
CN (1) CN106559302A (en)
WO (1) WO2017054576A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337118A (en) * 2018-01-31 2018-07-27 新华三技术有限公司 Message forwarding method and device
CN112511991A (en) * 2020-11-27 2021-03-16 锐捷网络股份有限公司 On-demand method, equipment and storage medium
CN113037883A (en) * 2021-02-23 2021-06-25 中国联合网络通信集团有限公司 Method and device for updating MAC address table entries
WO2022166464A1 (en) * 2021-02-07 2022-08-11 华为技术有限公司 Packet transmission method and system, and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171966B (en) * 2017-07-27 2019-11-26 迈普通信技术股份有限公司 A kind of VXLAN file transmitting method, VTEP and VXLAN system
CN109981455A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 A kind of tunnel implementation and device
CN112532501A (en) * 2019-09-18 2021-03-19 中国电信股份有限公司 Host physical address processing method and device and computer readable storage medium
CN111371667A (en) * 2019-10-23 2020-07-03 上海科技网络通信有限公司 LTE VPDN networking method based on VxLAN technology under cloud computing environment
CN112187611B (en) * 2020-09-30 2022-03-25 瑞斯康达科技发展股份有限公司 Method, storage medium and device for establishing service tunnel

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938415A (en) * 2010-08-30 2011-01-05 北京傲天动联技术有限公司 Rapid forwarding method for network forwarding device
US20140192804A1 (en) * 2013-01-09 2014-07-10 Dell Products L.P. Systems and methods for providing multicast routing in an overlay network
CN103957160A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Message sending method and device
CN104243268A (en) * 2014-09-19 2014-12-24 杭州华三通信技术有限公司 Association method and device between virtual extensible local area networks (VXLAN) and tunnel
CN104601427A (en) * 2013-10-31 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in data center network
CN104767666A (en) * 2015-04-15 2015-07-08 杭州华三通信技术有限公司 Virtual extensible local area network tunnel terminal tunnel building method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917682B (en) * 2014-03-14 2017-12-15 新华三技术有限公司 The collocation method and device of a kind of stacking network
CN104158718B (en) * 2014-08-25 2017-06-13 新华三技术有限公司 A kind of message processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938415A (en) * 2010-08-30 2011-01-05 北京傲天动联技术有限公司 Rapid forwarding method for network forwarding device
US20140192804A1 (en) * 2013-01-09 2014-07-10 Dell Products L.P. Systems and methods for providing multicast routing in an overlay network
CN104601427A (en) * 2013-10-31 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in data center network
CN103957160A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Message sending method and device
CN104243268A (en) * 2014-09-19 2014-12-24 杭州华三通信技术有限公司 Association method and device between virtual extensible local area networks (VXLAN) and tunnel
CN104767666A (en) * 2015-04-15 2015-07-08 杭州华三通信技术有限公司 Virtual extensible local area network tunnel terminal tunnel building method and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337118A (en) * 2018-01-31 2018-07-27 新华三技术有限公司 Message forwarding method and device
CN108337118B (en) * 2018-01-31 2021-01-26 新华三技术有限公司 Message forwarding method and device
CN112511991A (en) * 2020-11-27 2021-03-16 锐捷网络股份有限公司 On-demand method, equipment and storage medium
WO2022166464A1 (en) * 2021-02-07 2022-08-11 华为技术有限公司 Packet transmission method and system, and device
CN113037883A (en) * 2021-02-23 2021-06-25 中国联合网络通信集团有限公司 Method and device for updating MAC address table entries

Also Published As

Publication number Publication date
CN106559302A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
WO2017054576A1 (en) Unicast tunnel building method, apparatus and system
CN106878065B (en) Configuration method and device of distributed aggregation system
CN104104747A (en) Method and device for message transmission
CN103944867B (en) Processing method, the device and system of dynamic host configuration protocol message
CN109391500B (en) Configuration management method, device and equipment
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
US9225622B2 (en) OAM echo messaging to verify a service-based network distribution path
CN105637819B (en) It is used for transmission the method and system of broadcast data
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
US11153207B2 (en) Data link layer-based communication method, device, and system
EP3432527B1 (en) Information processing method and device, and computer storage medium
WO2017193732A1 (en) Method for encapsulating and decapsulating pseudo-wire data message, and relevant apparatus
CN108512669A (en) It is used for transmission the method and system of broadcast data
KR20180025944A (en) Method and apparatus for implementing SDN-based ARP
CN106899500B (en) Message processing method and device for cross-virtual extensible local area network
EP3503484B1 (en) Message transmission methods and devices
CN107547691B (en) Address resolution protocol message proxy method and device
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
WO2015131739A1 (en) Data exchange method, baseband processing unit, radio frequency remote unit and relay unit
KR102113814B1 (en) Constrained application protocol compression communication method
CN109302504B (en) Method for establishing control signaling channel in PTN, PTN network element and storage medium
CN106411732B (en) Message forwarding method and device
CN105897542B (en) Tunnel establishment method and video monitoring system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16850200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16850200

Country of ref document: EP

Kind code of ref document: A1