WO2016086670A1 - Vxlan报文传输方法及装置、存储介质 - Google Patents

Vxlan报文传输方法及装置、存储介质 Download PDF

Info

Publication number
WO2016086670A1
WO2016086670A1 PCT/CN2015/084479 CN2015084479W WO2016086670A1 WO 2016086670 A1 WO2016086670 A1 WO 2016086670A1 CN 2015084479 W CN2015084479 W CN 2015084479W WO 2016086670 A1 WO2016086670 A1 WO 2016086670A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
ipv6
header
vxlan
protocol type
Prior art date
Application number
PCT/CN2015/084479
Other languages
English (en)
French (fr)
Inventor
白晓宁
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016086670A1 publication Critical patent/WO2016086670A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to a Virtual Extensible Local Area Network (VXLAN) message transmission technology, and in particular, to a VXLAN message transmission method and apparatus, and a storage medium.
  • VXLAN Virtual Extensible Local Area Network
  • VXLAN is an overlay network technology that uses MAC in UDP to encapsulate data to solve the problem of insufficient vlan in data center multi-tenant communication and isolation.
  • IPV4 the encapsulation format of the IPV6
  • the UDP checksum is strongly set to 0.
  • VXLAN packets are processed according to UDP encapsulation under IPV6, and the UDP checksum is subject to IPV6 mandatory verification processing.
  • an embodiment of the present invention provides a VXLAN message transmission method and apparatus, and a storage medium.
  • a VXLAN message transmission method includes:
  • the user data protocol UDP check digit is not inserted in the encapsulated IPv6 packet, that is, the UDP check is removed, and the IP header protocol of the IPv6 packet is The type field is filled in the set protocol type field;
  • the encapsulated IPv6 packet is transmitted through the IPv6 network.
  • the virtual scalable LAN VXLAN packet is encapsulated into an IPv6 packet, including:
  • the source VXLAN tunnel endpoint VTEP After receiving the VXLAN packet sent by the source VM, the source VXLAN tunnel endpoint VTEP adds an IPv6 IP header and an outer MAC header to the VXLAN packet, and fills in the protocol in the protocol type field of the IP header. Type field.
  • the method further includes:
  • the destination VTEP After receiving the IPv6 packet, the destination VTEP removes the IP header of the IPv6 packet without performing UDP check when the protocol type is determined according to the protocol type field in the IP header of the IPv6 packet. And the outer MAC header, parsing the VXLAN message;
  • the parsed VXLAN packet is sent to the destination virtual machine.
  • the virtual scalable LAN VXLAN packet is encapsulated into an IPv6 packet, including:
  • the source VTEP After receiving the VXLAN message sent by the source virtual machine, the source VTEP adds an IPv4 IP header, a UDP check bit, and an outer MAC header to the VXLAN message, and encapsulates the packet into an IPv4 packet, and the IPv4 packet is forwarded to the V4LAN packet.
  • the source IPV4-IPV6 conversion gateway sends;
  • the source IPV4-IPV6 translation gateway parses the VXLAN packet from the IPv4 packet, adds an IPv6 IP header and an outer MAC header to the parsed VXLAN packet, and is in the IPv6 IP header.
  • the protocol type field is filled in the set protocol type field.
  • the method further includes:
  • the destination IPV4-IPV6 switching gateway After receiving the IPv6 packet through the IPv6 network, the destination IPV4-IPV6 switching gateway removes the IPv6 packet without performing UDP check according to the protocol type field in the IP header of the IPv6 packet.
  • the IP header and the outer MAC header of the text parse the VXLAN message;
  • IPv4 IP header, a UDP check bit, and an outer MAC header are added to the parsed VXLAN packet and encapsulated into an IPv4 packet, and the re-encapsulated IPv4 packet is sent to the destination virtual machine.
  • the set protocol type field ranges from 133 to 255;
  • the protocol type field of the IP header of an IPv4 packet is 17.
  • a VXLAN message transmission device includes: a first encapsulation unit and a transmission unit, wherein:
  • the first encapsulating unit is configured to encapsulate the virtual scalable local area network (VXLAN) packet into an IPv6 packet, and the UDP check bit is removed without inserting the user data protocol UDP check bit in the encapsulated IPv6 packet, where the UDP check is removed.
  • the protocol type field of the IP header of the message is filled in the set protocol type field;
  • the transmission unit is configured to transmit the encapsulated IPv6 packet through the IPv6 network.
  • the first encapsulating unit is further configured to add an IPv6 IP header and an outer MAC header to the VXLAN message, and fill in a set protocol type field in a protocol type field of the IP header.
  • the apparatus further includes: a first receiving unit, a first determining unit, and a first analyzing unit, where:
  • the first receiving unit is configured to receive the IPv6 packet by using the IPv6 network
  • the first determining unit is configured to determine, according to the protocol type field in the IP header of the IPv6 packet, whether the protocol type is set, and trigger the parsing unit;
  • the first parsing unit is configured to remove the IP header and the outer MAC header of the IPv6 packet without performing UDP check, and parse the VXLAN packet.
  • the first package unit includes: a first package subunit and a second package subunit, wherein:
  • the first encapsulation sub-unit is configured to add an IPv4 IP header, a UDP check bit, and an outer MAC header to the VXLAN message, and encapsulate the packet into an IPv4 packet, and send the IPv4 packet to the second encapsulation subunit.
  • the second encapsulation sub-unit is configured to receive the IPv4 packet, parse the VXLAN packet from the IPv4 packet, and add an IPv6 IP header and an outer MAC header to the parsed VXLAN packet, and The protocol type field of the IPv6 IP header is filled in the set protocol type field.
  • the apparatus further includes: a second receiving unit, a second determining unit, and a second analyzing unit, where:
  • a second receiving unit configured to receive an IPv6 packet by using an IPv6 network
  • a second determining unit configured to determine, according to a protocol type field in an IP header of the IPv6 packet, whether it is a set protocol type, and trigger a second parsing unit;
  • the second parsing unit is configured to remove the IP header and the outer MAC header of the IPv6 packet without performing UDP check, and parse the VXLAN packet.
  • the set protocol type field ranges from 133 to 255;
  • the protocol type field of the IP header of an IPv4 packet is 17.
  • a storage medium storing a computer program configured to perform the VXLAN message transmission method.
  • the UDP check digit is not set in the IPv6 packet encapsulating the VXLAN packet, and the protocol type field of the IP header of the IPv6 packet is filled in.
  • the protocol type field is used to identify the IPv6 packet that carries the VXLAN packet. In this way, the receiver can identify the IPv6 packet through the set protocol type field and successfully parse the VXLAN packet.
  • the UDP header is not used in the IPv6 packet carrying the VXLAN packet, and the UDP mandatory check of the VXLAN packet in the case of the IPV6 transmission is avoided, and the UDP header overhead of the VXLAN packet is reduced. Improve the transmission efficiency of VXLAN messages.
  • FIG. 1 is a flowchart of a VXLAN message transmission method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an IPv6 packet encapsulated with a VXLAN packet according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a VXLAN packet encapsulation and transmission according to an embodiment of the present invention
  • FIG. 4 is another schematic diagram of VXLAN packet encapsulation and transmission according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a VXLAN message transmission apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a VXLAN packet transmission method according to an embodiment of the present invention. As shown in FIG. 1 , a VXLAN packet transmission method according to an embodiment of the present invention includes the following steps:
  • Step 101 Encapsulate the VXLAN packet into an IPv6 packet.
  • the User Data Protocol (UDP) check bit is not inserted in the encapsulated IPv6 packet, and the IP address of the IPv6 packet is not inserted.
  • the protocol type field of the header is filled in the set protocol type field.
  • the VXLAN packet is encapsulated into an IPv6 packet without the UDP check digit.
  • the first method is to encapsulate the VXLAN packet by the VTEP of the source VXLAN tunnel endpoint, specifically:
  • the source VTEP After receiving the VXLAN packet sent by the source virtual machine, the source VTEP adds an IPv6 IP header and an outer MAC header to the VXLAN packet, and fills in a protocol type field in the protocol type field of the IP header.
  • the source IPV4-IPV6 conversion gateway performs IPV6 encapsulation on VXLAN packets. Specifically, after receiving the VXLAN message sent by the source virtual machine, the source VTEP adds an IPv4 IP header, a UDP check bit, and an outer MAC header to the VXLAN message, and encapsulates the packet into an IPv4 packet, and encapsulates the IPv4 packet. The packet is sent to the source IPV4-IPV6 switching gateway. The source IPV4-IPV6 switching gateway parses the VXLAN packet from the IPv4 packet, and adds an IPv6 IP header and an outer layer to the parsed VXLAN packet. The MAC header is filled in the protocol type field of the IPv6 IP header.
  • the set protocol type field ranges from 133 to 255.
  • the value of the set protocol type field may be 200. Of course, it may be 133 to Any value in 255.
  • the protocol type field of the IP header of an IPv4 packet is 17.
  • Step 102 Transmit the encapsulated IPv6 packet through the IPv6 network.
  • the VXLAN packet After the VXLAN packet is encapsulated into an IPv6 packet, the VXLAN packet can be transmitted over the IPv6 network.
  • the receiving end VTEP also receives and parses the IPv6 packet. Specifically, the following two methods are adopted: one is: after the destination VTEP receives the IPv6 packet through the IPv6 network, and determines the protocol type according to the protocol type field in the IP header of the IPv6 packet, the UDP school is not performed. The IP header and the outer MAC header of the IPv6 packet are removed, and the VXLAN packet is parsed; and the parsed VXLAN packet is sent to the destination virtual machine.
  • the first one is: when the destination IPV4-IPV6 conversion gateway receives the IPv6 packet through the IPv6 network, and determines the protocol type according to the protocol type field in the IP header of the IPv6 packet, the UDP check is not performed.
  • the IP header and the outer MAC header of the IPv6 packet are parsed into a VXLAN packet, and the IPv4 IP header, the UDP check digit, and the outer MAC header are added to the parsed VXLAN packet and encapsulated into an IPv4 packet, and The re-encapsulated IPv4 packet is sent to the destination virtual machine.
  • FIG. 2 is a schematic structural diagram of an IPv6 packet encapsulated with a VXLAN packet according to an embodiment of the present invention.
  • the IPv6 packet in the embodiment of the present invention directly adds a MAC header and an IP packet based on a VXLAN packet.
  • the header forms a new IPv6 packet and does not include the UDP check digit.
  • FIG. 3 is a schematic diagram of a VXLAN packet encapsulation and transmission according to an embodiment of the present invention. As shown in FIG. 3, the VXLAN packet encapsulation and transmission in the embodiment of the present invention includes the following steps:
  • Step 1 The virtual machine (VM, Virtual Machine) 1 sends a VXLAN message to the VM2.
  • the packet encapsulation format is a medium access control sub-layer protocol (MAC, Media Access Control) + IP packet.
  • MAC medium access control sub-layer protocol
  • Step 2 VTEP1 searches for the VTEP table according to the MAC address of the VM2 in the VXLAN message, and finds the corresponding VTEP entry.
  • Step 3 VTEP1 encapsulates the VXLAN packet according to the found VTEP entry, and directly adds the outer IP header and the outer MAC header to the VXLAN packet to form an IPV6 packet.
  • the IPV6 packet has no UDP check digit.
  • the protocol type field of the layer IP header selects a specific protocol type field (for example, 200 of the unassigned protocol type IDs 133-255) to indicate that the inner layer is encapsulated as a VXLAN message.
  • Step 4 After receiving the packet, VTEP2 identifies the internal VXLAN packet according to the protocol type field (200) of the IP header, and performs subsequent processing, and finally forwards the packet to the VXLAN application.
  • protocol type field (200) of the IP header After receiving the packet, VTEP2 identifies the internal VXLAN packet according to the protocol type field (200) of the IP header, and performs subsequent processing, and finally forwards the packet to the VXLAN application.
  • Step 5 After the VXLAN packet header is stripped, the VTEP2 delivers the Ethernet packet in the payload to the VM2.
  • FIG. 4 is another schematic diagram of the VXLAN packet encapsulation and transmission according to the embodiment of the present invention. As shown in FIG. 4, the VXLAN packet encapsulation and transmission in the embodiment of the present invention includes the following steps:
  • Step 1 VM1 sends a VXLAN message to VM2.
  • the VXLAN packet encapsulation format is a MAC+IP packet.
  • Step 2 VTEP1 searches for the VTEP table according to the MAC address of the VM2 in the packet, and finds the corresponding VTEP entry.
  • Step 3 VTEP1 encapsulates the VXLAN packet according to the hit VTEP entry, and directly adds the outer UDP header and the outer IP header to the outer MAC header in the VXLAN packet, and selects the protocol type field of the outer IP header.
  • the inner layer encapsulation protocol type is UDP type
  • the UDP port number indicates that the internal VXLAN packet (for example, the UDP port is 4789 indicates VXLAN packet).
  • Step 4 The IPV4-IPV6 gateway 1 receives the VXLAN packet from the IPV4 direction (for example, the UDP port is 4789 indicates the VXLAN packet).
  • the UDP header is stripped and the outer IP address is directly added to the VXLAN packet.
  • the header and the outer MAC header may be, and the protocol type field of the outer IP header selects a specific protocol type field (for example, 200 is obtained from the unassigned protocol type ID 133-255), indicating that the inner layer is encapsulated into a VXLAN message;
  • Step 5 The IPV4-IPV6 gateway 2 receives the VXLAN packet from the IPV6 direction, and identifies the internal VXLAN packet according to the protocol type field (200) of the IP header. When forwarding to the IPV4 direction, the UDP header is added to restore the standard VXLAN. Message format.
  • Step 6 After receiving the packet, VTEP2 strips the VXLAN packet header and delivers the Ethernet packet in the payload to VM2.
  • the format of the VXLAN packet not using the UDP header is not limited to the format described in the foregoing embodiment; the technical solution of the embodiment of the present invention may also be applied to other transmission networking scenarios.
  • the technical solution of the embodiment of the present invention enables the VXLAN packet to be succinctly carried on the IP network, which solves the limitation of the UDP check for the UDP forced by the IPV6 network, reduces the UDP header overhead of the VXLAN packet, and improves the VXLAN packet. Transmission efficiency.
  • FIG. 5 is a schematic structural diagram of a VXLAN packet transmission apparatus according to an embodiment of the present invention.
  • the VXLAN packet transmission apparatus according to the embodiment of the present invention includes: a first encapsulating unit 50 and a transmission unit 51, where:
  • the first encapsulating unit 50 is configured to encapsulate the virtual scalable local area network (VXLAN) packet into an IPv6 packet, and insert the user data protocol UDP check digit in the encapsulated IPv6 packet to remove the UDP check.
  • the protocol type field of the IP header of the IPv6 packet is filled in the set protocol type field;
  • the transmitting unit 51 is configured to transmit the encapsulated IPv6 packet through the IPv6 network.
  • the first encapsulating unit 50 is further configured to add an IPv6 IP header and an outer MAC header to the VXLAN packet, and fill in the set protocol type field in the protocol type field of the IP header.
  • the VXLAN message transmission apparatus of the embodiment of the present invention further includes: a first receiving unit (not shown in FIG. 5) and a first determining unit (FIG. 5). Not shown in 5) and a first parsing unit (not shown in Figure 5), wherein:
  • the first receiving unit is configured to receive the IPv6 packet by using the IPv6 network
  • the first determining unit is configured to determine, according to the protocol type field in the IP header of the IPv6 packet, whether the protocol type is set, and trigger the parsing unit;
  • the first parsing unit is configured to remove the IP header and the outer MAC header of the IPv6 packet without performing UDP check, and parse the VXLAN packet.
  • the first package unit 50 includes: a first package subunit (not shown in FIG. 5) and a second package subunit (not shown in FIG. 5), wherein:
  • the first encapsulation sub-unit is configured to add an IPv4 IP header, a UDP check bit, and an outer MAC header to the VXLAN message, and encapsulate the packet into an IPv4 packet, and send the IPv4 packet to the second encapsulation subunit.
  • the second encapsulation sub-unit is configured to receive the IPv4 packet, parse the VXLAN packet from the IPv4 packet, and add an IPv6 IP header and an outer MAC header to the parsed VXLAN packet, and The protocol type field of the IPv6 IP header is filled in the set protocol type field.
  • the VXLAN message transmission apparatus of the embodiment of the present invention further includes: a second receiving unit, a second determining unit, and a second analyzing unit, wherein:
  • a second receiving unit configured to receive an IPv6 packet by using an IPv6 network
  • a second determining unit configured to determine, according to a protocol type field in an IP header of the IPv6 packet, whether it is a set protocol type, and trigger a second parsing unit;
  • the second parsing unit is configured to remove the IP header and the outer MAC header of the IPv6 packet without performing UDP check, and parse the VXLAN packet.
  • the set protocol type field ranges from 133 to 255;
  • the protocol type field of the IP header of an IPv4 packet is 17.
  • each processing unit in the VXLAN message transmission apparatus of the embodiment of the present invention can refer to the related description of the VXLAN message transmission method in the foregoing embodiment. It is to be understood that each processing unit in the VXLAN message transmission apparatus of the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may perform the functions described in the embodiments of the present invention.
  • the software is implemented on a smart device.
  • the embodiment of the invention further describes a storage medium in which a computer program is stored, the computer program being configured to execute the VXLAN message transmission method of the foregoing embodiments.
  • the disclosed method and smart device may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or a light.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or a light.
  • light A variety of media that can store application code, such as disks.
  • the above-described integrated unit of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store application code.
  • the receiving end can identify the IPv6 packet through the set protocol type field, and can successfully parse the VXLAN packet.
  • the IPv4 packet carrying the VXLAN packet does not use the UDP header. This prevents the UDP mandatory check of the VXLAN packet in the case of IPV6 transmission. It also reduces the UDP header overhead of the VXLAN packet and improves the transmission efficiency of the VXLAN packet. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种VXLAN报文传输方法及装置、存储介质,所述方法包括:将VXLAN报文封装为IPv6报文时,在所封装的IPv6报文中不插入UDP校验位即去除UDP校验;并在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;通过IPv6网络传输封装后的IPv6报文。

Description

VXLAN报文传输方法及装置、存储介质 技术领域
本发明涉及虚拟可扩展局域网(VXLAN,Virtual eXtensible Local Area Network)报文传输技术,尤其涉及一种VXLAN报文传输方法及装置、存储介质。
背景技术
VXLAN是overlay的网络技术,使用MAC in UDP的方法进行数据封装,用以解决数据中心多租户间通信和隔离时vlan不够的问题。目前仅定义了VXLAN报文的IPV4的封装格式,IPV6的封装格式将在以后确定。在IPV4的封装格式中,UDP校验和强制定为0,另外根据rfc7348协议,VXLAN报文在IPV6下按照UDP封装处理,UDP的校验和则需按照IPV6强制校验处理。
因此,目前并无VXLAN报文在IPV6下的封装处理方案可供参考。
发明内容
为解决上述技术问题,本发明实施例提供一种VXLAN报文传输方法及装置、存储介质。
本发明实施例的技术方案是这样实现的:
一种VXLAN报文传输方法,包括:
将虚拟可扩展局域网VXLAN报文封装为IPv6报文时,在所封装的IPv6报文中不插入用户数据协议UDP校验位即去除UDP校验,并在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;
通过IPv6网络传输封装后的IPv6报文。
作为一种实现方式,所述将虚拟可扩展局域网VXLAN报文封装为IPv6报文,包括:
源VXLAN隧道端点VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。
作为一种实现方式,所述方法还包括:
目的VTEP通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;
将所解析的VXLAN报文向目的虚拟机发送。
作为一种实现方式,所述将虚拟可扩展局域网VXLAN报文封装为IPv6报文,包括:
源VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所述IPv4报文向源IPV4-IPV6转换网关发送;
所述源IPV4-IPV6转换网关从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。
作为一种实现方式,所述方法还包括:
目的IPV4-IPV6转换网关通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;
对所解析的VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所重新封装的IPv4报文向目的虚拟机发送。
作为一种实现方式,所述设定的协议类型字段的取值范围为133至255;
IPv4报文的IP头的协议类型字段取值为17。
一种VXLAN报文传输装置,包括:第一封装单元和传输单元,其中:
第一封装单元,配置为将虚拟可扩展局域网VXLAN报文封装为IPv6报文,并在所封装的IPv6报文中不插入用户数据协议UDP校验位即去除了UDP校验,在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;
传输单元,配置为通过IPv6网络传输封装后的IPv6报文。
作为一种实现方式,所述第一封装单元,还配置为对VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。
作为一种实现方式,所述装置还包括:第一接收单元、第一确定单元和第一解析单元,其中:
第一接收单元,配置为通过IPv6网络接收到IPv6报文;
第一确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发解析单元;
第一解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
作为一种实现方式,所述第一封装单元包括:第一封装子单元和第二封装子单元,其中:
第一封装子单元,配置为对VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并向所述第二封装子单元发送所述IPv4报文;
第二封装子单元,配置为接收所述IPv4报文,从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。
作为一种实现方式,所述装置还包括:第二接收单元、第二确定单元和第二解析单元,其中:
第二接收单元,配置为通过IPv6网络接收到IPv6报文;
第二确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发第二解析单元;
第二解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
作为一种实现方式,所述设定的协议类型字段的取值范围为133至255;
IPv4报文的IP头的协议类型字段取值为17。
一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行所述的VXLAN报文传输方法。
本发明实施例中,在将VXLAN报文通过IPv6网络传输时,不必为封装了VXLAN报文的IPv6报文中设置UDP校验位,并在IPv6报文的IP头的协议类型字段填入设定的协议类型字段,以此来标识是承载了VXLAN报文的IPv6报文;这样,在接收端,可以通过设定的协议类型字段来识别IPv6报文,并能成功解析出VXLAN报文。本发明实施例的技术方案,由于承载了VXLAN报文的IPv6报文中不使用UDP头,避免VXLAN报文在IPV6传输情况下的UDP强制校验,同时减少了VXLAN报文的UDP头开销,提高了VXLAN报文的传输效率。
附图说明
图1为本发明实施例的VXLAN报文传输方法的流程图;
图2为本发明实施例的封装有VXLAN报文的IPv6报文的结构示意图;
图3为本发明实施例的VXLAN报文封装及传输示意图;
图4为本发明实施例的VXLAN报文封装及传输的另一示意图;
图5为本发明实施例的VXLAN报文传输装置的组成结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图1为本发明实施例的VXLAN报文传输方法的流程图,如图1所示,本发明实施例的VXLAN报文传输方法包括以下步骤:
步骤101,将VXLAN报文封装为IPv6报文。
本发明实施例中,将VXLAN报文封装为IPv6报文时,在所封装的IPv6报文中不插入用户数据协议(UDP,User Datagram Protocol)校验位,并在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段。
本发明实施例中,将VXLAN报文封装为不含UDP校验位的IPv6报文,共有两种方式。第一种方式,是由源VXLAN隧道端点VTEP对VXLAN报文进行封装,具体为:
源VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。
第二种方式,是由源IPV4-IPV6转换网关对VXLAN报文进行IPV6封装。具体为:源VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所述IPv4报文向源IPV4-IPV6转换网关发送;所述源IPV4-IPV6转换网关从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。
本发明实施例中,所述设定的协议类型字段的取值范围为133至255。本实施例中,设定的协议类型字段的值可以为200,当然,也可以是133至 255中的任一值。
IPv4报文的IP头的协议类型字段取值为17。
步骤102,通过IPv6网络传输封装后的IPv6报文。
将VXLAN报文封装为IPv6报文后,通过IPv6网络进行传输即可。
本发明实施例中,接收端VTEP还接收IPv6报文并进行解析。具体包括以下两种方式,其一为:目的VTEP通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;将所解析的VXLAN报文向目的虚拟机发送。
其一为:目的IPV4-IPV6转换网关通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;对所解析的VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所重新封装的IPv4报文向目的虚拟机发送。
以下通过具体示例,进一步阐明本发明实施例的技术方案的实质。
图2为本发明实施例的封装有VXLAN报文的IPv6报文的结构示意图,如图2所示,本发明实施例的IPv6报文是在VXLAN报文的基础上,直接添加MAC头和IP头而形成新的IPv6报文,并不包括UDP校验位。
图3为本发明实施例的VXLAN报文封装及传输示意图,如图3所示,本发明实施例的VXLAN报文封装及传输包括以下步骤:
步骤1,虚拟机(VM,Virtual Machine)1发送VXLAN报文给VM2,这时报文封装格式就是媒体访问控制子层协议(MAC,Media Access Control)+IP的报文。
步骤2,VTEP1根据VXLAN报文中的VM2的MAC地址,查找VTEP表,并找到对应的VTEP表项。
步骤3,VTEP1根据查找到的VTEP表项封装VXLAN报文,直接在VXLAN报文前加外层IP头,外层MAC头而形成IPV6报文,该IPV6报文中没有UDP校验位;外层IP头的协议类型字段选择特定协议类型字段(例如从未分配的协议类型ID 133-255中选200)指示为内层封装为VXLAN报文。
步骤4,VTEP2接收到报文后,根据IP头的协议类型字段(200)识别内部为VXLAN报文,进行后续处理,从而最终转发到VXLAN应用处理.
步骤5,VTEP2将VXLAN报文头剥离后,将净荷中的以太网报文投递给VM2。
图4为本发明实施例的VXLAN报文封装及传输的另一示意图,如图4所示,本发明实施例的VXLAN报文封装及传输包括以下步骤:
步骤1,VM1发送VXLAN报文给VM2,这时VXLAN报文封装格式就是MAC+IP的报文;
步骤2,VTEP1根据报文中的VM2的MAC地址,查找VTEP表,找到了对应的VTEP表项;
步骤3,VTEP1根据命中的VTEP表项封装VXLAN报文,直接在VXLAN报文前加外层UDP头、外层IP头,外层MAC头即可,外层IP头的协议类型字段选择17,指示内层封装协议类型为UDP类型,UDP端口号指示内部为VXLAN报文(例如UDP端口为4789指示为VXLAN报文)。
步骤4,IPV4-IPV6网关1从IPV4方向收到VXLAN报文(例如UDP端口为4789指示为VXLAN报文),转发给IPV6方向时,剥掉UDP头,直接在VXLAN报文前加外层IP头,外层MAC头即可,外层IP头的协议类型字段选择特定协议类型字段(例如从未分配的协议类型ID 133-255中取200)指示为内层封装为VXLAN报文;
步骤5,IPV4-IPV6网关2从IPV6方向收到VXLAN报文,根据IP头的协议类型字段(200)识别内部为VXLAN报文,转发给IPV4方向时,再添加UDP头,恢复为标准的VXLAN报文格式。
步骤6,VTEP2收到报文后,将VXLAN报文头剥离后,将净荷中的以太网报文投递给VM2。
本发明实施例中,VXLAN报文不使用UDP头的格式不限于前述实施例中记载的格式;本发明实施例的技术方案,还可以应用于其他传输组网情况。
本发明实施例的技术方案使得VXLAN报文的简洁地承载于IP网络上,解决了IPV6网络对UDP强制进行UDP校验的限制,同时减少了VXLAN报文的UDP头开销,提高了VXLAN报文的传输效率。
图5为本发明实施例的VXLAN报文传输装置的组成结构示意图,如图5所示,本发明实施例的VXLAN报文传输装置包括:第一封装单元50和传输单元51,其中:
第一封装单元50,配置为将虚拟可扩展局域网VXLAN报文封装为IPv6报文,并在所封装的IPv6报文中不插入用户数据协议UDP校验位即去除了UDP校验,在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;
传输单元51,配置为通过IPv6网络传输封装后的IPv6报文。
本发明实施例中,所述第一封装单元50,还配置为对VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。对应地,在图5所示的VXLAN报文传输装置的基础上,本发明实施例的VXLAN报文传输装置还包括:第一接收单元(图5中未示出)、第一确定单元(图5中未示出)和第一解析单元(图5中未示出),其中:
第一接收单元,配置为通过IPv6网络接收到IPv6报文;
第一确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发解析单元;
第一解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
作为一种实现方式,所述第一封装单元50包括:第一封装子单元(图5中未示出)和第二封装子单元(图5中未示出),其中:
第一封装子单元,配置为对VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并向所述第二封装子单元发送所述IPv4报文;
第二封装子单元,配置为接收所述IPv4报文,从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。对应地,在图5所示的VXLAN报文传输装置的基础上,本发明实施例的VXLAN报文传输装置还包括:第二接收单元、第二确定单元和第二解析单元,其中:
第二接收单元,配置为通过IPv6网络接收到IPv6报文;
第二确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发第二解析单元;
第二解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
本发明实施例中,所述设定的协议类型字段的取值范围为133至255;
IPv4报文的IP头的协议类型字段取值为17。
本领域技术人员应当理解,本发明实施例的VXLAN报文传输装置中各处理单元的功能,可参照前述实施例的VXLAN报文传输方法的相关描 述而理解,本发明实施例的VXLAN报文传输装置中的各处理单元,可通过实现本发明实施例所述的功能的模拟电路而实现,也可以通过执行本发明实施例所述的功能的软件在智能设备上的运行而实现。
本发明实施例还记载了一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行前述各实施例的VXLAN报文传输方法。
在本发明所提供的几个实施例中,应该理解到,所揭露的方法和智能设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过应用指令相关的硬件来完成,前述的应用可以存储于一计算机可读取存储介质中,该应用在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光 盘等各种可以存储应用代码的介质。
或者,本发明实施例上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储应用代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。
工业实用性
本发明中,接收端可以通过设定的协议类型字段来识别IPv6报文,并能成功解析出VXLAN报文。由于承载了VXLAN报文的IPv6报文中不使用UDP头,避免VXLAN报文在IPV6传输情况下的UDP强制校验,同时减少了VXLAN报文的UDP头开销,提高了VXLAN报文的传输效率。

Claims (13)

  1. 一种VXLAN报文传输方法,所述方法包括:
    将虚拟可扩展局域网VXLAN报文封装为IPv6报文时,在所封装的IPv6报文中不插入用户数据协议UDP校验位,并在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;
    通过IPv6网络传输封装后的IPv6报文。
  2. 根据权利要求1所述的方法,其中,所述将虚拟可扩展局域网VXLAN报文封装为IPv6报文,包括:
    源VXLAN隧道端点VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    目的VTEP通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;
    将所解析的VXLAN报文向目的虚拟机发送。
  4. 根据权利要求1所述的方法,其中,所述将虚拟可扩展局域网VXLAN报文封装为IPv6报文,包括:
    源VTEP接收到源虚拟机发送的VXLAN报文后,对所述VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所述IPv4报文向源IPV4-IPV6转换网关发送;
    所述源IPV4-IPV6转换网关从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    目的IPV4-IPV6转换网关通过IPv6网络接收到IPv6报文后,根据所述IPv6报文的IP头中的协议类型字段确定为设定的协议类型时,不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文;
    对所解析的VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并将所重新封装的IPv4报文向目的虚拟机发送。
  6. 根据权利要求1至5任一项所述的方法,其中,所述设定的协议类型字段的取值范围为133至255;
    IPv4报文的IP头的协议类型字段取值为17。
  7. 一种VXLAN报文传输装置,所述装置包括:第一封装单元和传输单元,其中:
    第一封装单元,配置为将虚拟可扩展局域网VXLAN报文封装为IPv6报文,并在所封装的IPv6报文中不插入用户数据协议UDP校验位,在所述IPv6报文的IP头的协议类型字段填入设定的协议类型字段;
    传输单元,配置为通过IPv6网络传输封装后的IPv6报文。
  8. 根据权利要求7所述的装置,其中,所述第一封装单元,还配置为对VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IP头的协议类型字段填入设定的协议类型字段。
  9. 根据权利要求8所述的装置,其中,所述装置还包括:第一接收单元、第一确定单元和第一解析单元,
    第一接收单元,配置为通过IPv6网络接收到IPv6报文;
    第一确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发解析单元;
    第一解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
  10. 根据权利要求7所述的装置,其中,所述第一封装单元包括:第 一封装子单元和第二封装子单元,
    第一封装子单元,配置为对VXLAN报文添加IPv4的IP头、UDP校验位及外层MAC头而封装为IPv4报文,并向所述第二封装子单元发送所述IPv4报文;
    第二封装子单元,配置为接收所述IPv4报文,从所述IPv4报文中解析出所述VXLAN报文,并对所解析的VXLAN报文添加IPv6的IP头及外层MAC头,并在所述IPv6的IP头的协议类型字段填入设定的协议类型字段。
  11. 根据权利要求10所述的装置,其中,所述装置还包括:第二接收单元、第二确定单元和第二解析单元,
    第二接收单元,配置为通过IPv6网络接收到IPv6报文;
    第二确定单元,配置为根据所述IPv6报文的IP头中的协议类型字段确定是否为设定的协议类型,是时触发第二解析单元;
    第二解析单元,配置为不进行UDP校验而去除所述IPv6报文的IP头及外层MAC头,解析出VXLAN报文。
  12. 根据权利要求7至11任一项所述的装置,其中,所述设定的协议类型字段的取值范围为133至255;
    IPv4报文的IP头的协议类型字段取值为17。
  13. 一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行权利要求1至6任一项所述的VXLAN报文传输方法。
PCT/CN2015/084479 2014-12-04 2015-07-20 Vxlan报文传输方法及装置、存储介质 WO2016086670A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410733645.6A CN105721359B (zh) 2014-12-04 2014-12-04 Vxlan报文传输方法及装置
CN201410733645.6 2014-12-04

Publications (1)

Publication Number Publication Date
WO2016086670A1 true WO2016086670A1 (zh) 2016-06-09

Family

ID=56090947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084479 WO2016086670A1 (zh) 2014-12-04 2015-07-20 Vxlan报文传输方法及装置、存储介质

Country Status (2)

Country Link
CN (1) CN105721359B (zh)
WO (1) WO2016086670A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230656A (zh) * 2016-07-22 2016-12-14 无锡华云数据技术服务有限公司 VxLAN数据包封装方法及使用物理网卡发送VxLAN数据包的卸载方法
CN116455991A (zh) * 2023-06-13 2023-07-18 珠海星云智联科技有限公司 隧道封装报文校验和计算方法及相关装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786410B (zh) * 2016-12-29 2020-08-28 平安科技(深圳)有限公司 一种基于以太网封装的vxlan实现方法及终端
CN108667945B (zh) * 2017-03-30 2020-10-23 华为技术有限公司 一种报文传输方法及装置
CN108809793A (zh) * 2017-04-27 2018-11-13 华为技术有限公司 一种数据传输方法、装置及系统
CN109150673B (zh) 2017-06-16 2020-04-03 华为技术有限公司 基于bras系统的报文封装方法、装置及系统
CN109936492B (zh) * 2017-12-15 2021-12-03 华为技术有限公司 一种通过隧道传输报文的方法、装置和系统
CN110912859B (zh) 2018-09-17 2021-12-14 华为技术有限公司 发送报文的方法、接收报文的方法及网络设备
CN114915589B (zh) * 2021-02-10 2024-06-04 华为技术有限公司 报文传输方法及装置
CN113595849B (zh) * 2021-08-17 2022-05-20 中国联合网络通信集团有限公司 报文转发方法、发送端vtep及网关vtep
WO2023125767A1 (zh) * 2021-12-31 2023-07-06 华为技术有限公司 一种报文传输方法、网络设备及系统
CN116016242B (zh) * 2023-01-11 2023-06-06 南京易科腾信息技术有限公司 基于ovs架构的nat日志采集方法、系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618596A (zh) * 2013-05-15 2014-03-05 盛科网络(苏州)有限公司 Vxlan隧道中内层信息的加密方法
CN103944797A (zh) * 2014-03-18 2014-07-23 杭州华三通信技术有限公司 一种数据中心站点间区分多实例的方法和装置
CN103973673A (zh) * 2014-04-09 2014-08-06 汉柏科技有限公司 划分虚拟防火墙的方法和设备
WO2014189793A1 (en) * 2013-05-24 2014-11-27 Alcatel Lucent Method for transmitting an alert using a virtual extensible lan (vxlan) tunneling mechanism

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801729B (zh) * 2012-08-13 2015-06-17 福建星网锐捷网络有限公司 虚拟机报文转发方法、网络交换设备及通信系统
CN103795636B (zh) * 2012-11-02 2017-04-12 华为技术有限公司 组播处理方法、装置及系统
CN105635190B (zh) * 2014-10-27 2018-11-09 新华三技术有限公司 数据中心网络中的服务执行方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618596A (zh) * 2013-05-15 2014-03-05 盛科网络(苏州)有限公司 Vxlan隧道中内层信息的加密方法
WO2014189793A1 (en) * 2013-05-24 2014-11-27 Alcatel Lucent Method for transmitting an alert using a virtual extensible lan (vxlan) tunneling mechanism
CN103944797A (zh) * 2014-03-18 2014-07-23 杭州华三通信技术有限公司 一种数据中心站点间区分多实例的方法和装置
CN103973673A (zh) * 2014-04-09 2014-08-06 汉柏科技有限公司 划分虚拟防火墙的方法和设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LU , ZHIGANG ET AL.: "A Virtual Network Access Control Method Based on VXLAN", COMPUTER ENGINEERING, vol. 40, no. 8, 31 August 2014 (2014-08-31) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230656A (zh) * 2016-07-22 2016-12-14 无锡华云数据技术服务有限公司 VxLAN数据包封装方法及使用物理网卡发送VxLAN数据包的卸载方法
CN106230656B (zh) * 2016-07-22 2019-03-01 无锡华云数据技术服务有限公司 VxLAN数据包封装方法及使用物理网卡发送VxLAN数据包的卸载方法
CN116455991A (zh) * 2023-06-13 2023-07-18 珠海星云智联科技有限公司 隧道封装报文校验和计算方法及相关装置
CN116455991B (zh) * 2023-06-13 2023-08-22 珠海星云智联科技有限公司 隧道封装报文校验和计算方法及相关装置

Also Published As

Publication number Publication date
CN105721359A (zh) 2016-06-29
CN105721359B (zh) 2019-11-15

Similar Documents

Publication Publication Date Title
WO2016086670A1 (zh) Vxlan报文传输方法及装置、存储介质
US11637774B2 (en) Service routing packet processing method and apparatus, and network system
JP7023989B2 (ja) 転送エントリの生成
JP6269999B2 (ja) パケット処理方法および装置
US20140286342A1 (en) Method for generating entry, method for receiving packet, and corresponding apparatus and system
EP2680507B1 (en) Packet forwarding method and system, and relay agent device
WO2016062169A1 (zh) 一种报文传输方法及装置
US20160285820A1 (en) Method for processing address resolution protocol message, switch, and controller
CN107770072B (zh) 一种发送和接收报文的方法和设备
CN109936492B (zh) 一种通过隧道传输报文的方法、装置和系统
JP2013532438A5 (zh)
WO2016150205A1 (zh) 用于处理vxlan报文的方法、装置及系统
EP4057576A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
CN109246016B (zh) 跨vxlan的报文处理方法和装置
CN110235417B (zh) 一种sdn及其报文转发的方法和装置
US9847929B2 (en) Cluster and forwarding method
WO2017202034A1 (zh) 数据包的发送、接收方法及装置、电子设备
CN114205185B (zh) 一种控制报文的代理方法及装置
WO2015184979A1 (zh) 处理报文、发送信息、接收信息的方法及装置
CN111147520B (zh) 由防火墙执行的信息处理方法和装置
WO2017071350A1 (zh) 一种端口数据分离方法和装置
KR101522931B1 (ko) 이더넷 프레임을 지원하는 6LoWPAN 게이트웨이 및 6LoWPAN 게이트웨이의 통신방법
CN113067911A (zh) 一种nat穿越方法、装置、电子设备和存储介质
CN110943896A (zh) PPPoE数据报文传输方法、装置、设备及存储介质

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: 15866209

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15866209

Country of ref document: EP

Kind code of ref document: A1