CN107070691B - Cross-host communication method and system for Docker containers - Google Patents
Cross-host communication method and system for Docker containers Download PDFInfo
- Publication number
- CN107070691B CN107070691B CN201710021618.XA CN201710021618A CN107070691B CN 107070691 B CN107070691 B CN 107070691B CN 201710021618 A CN201710021618 A CN 201710021618A CN 107070691 B CN107070691 B CN 107070691B
- Authority
- CN
- China
- Prior art keywords
- docker
- ovs
- service message
- network
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供一种Docker容器的跨主机通信方法和系统。所述方法包括:控制Docker在启动后,创建OVS网桥;所述控制Docker在检测到主机上的应用Docker启动后,获取所述应用Docker的网络配置信息;所述控制Docker将所述网络配置信息发送至分布式协调服务保存,所述分布式协调服务用于维护组网中各宿主主机上应用Docker的网络配置信息;所述控制Docker在监听到所述分布式协调服务中应用Docker的网络配置信息更新时,根据更新后的网络配置信息生成转发流表;所述控制Docker将所述转发流表下发给所述OVS网桥;所述OVS网桥根据所述转发流表指导应用Docker间的跨主机通信。
The present application provides a method and system for cross-host communication of a Docker container. The method includes: controlling Docker to create an OVS network bridge after starting; the controlling Docker acquiring network configuration information of the application Docker after detecting that the application Docker on the host is started; the controlling Docker configuring the network The information is sent to the distributed coordination service for storage, and the distributed coordination service is used to maintain the network configuration information of applying Docker on each host in the network; the control Docker is monitoring the distributed coordination service. The network of applying Docker When the configuration information is updated, a forwarding flow table is generated according to the updated network configuration information; the control Docker issues the forwarding flow table to the OVS bridge; the OVS bridge instructs the application Docker according to the forwarding flow table cross-host communication between them.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种Docker容器的跨主机通信方法和系统。The present application relates to the field of communication technologies, and in particular, to a method and system for cross-host communication of a Docker container.
背景技术Background technique
Docker容器是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux机器上,也可以实现虚拟化。Docker Container is an open source application container engine that allows developers to package their applications and dependencies into a portable container, which can then be distributed to any popular Linux machine, and can also be virtualized.
相关技术中,Docker容器原生提供有三种网络模型,分别为bridge、host以及none。其中,bridge模型以及none模型无法实现Docker容器的跨主机通信,host模型虽然可以实现跨主机通信,但是又无法同时做到同一宿主主机上Docker容器间的网络隔离。In related technologies, the Docker container natively provides three network models, namely bridge, host, and none. Among them, the bridge model and the none model cannot realize cross-host communication of Docker containers. Although the host model can realize cross-host communication, it cannot achieve network isolation between Docker containers on the same host at the same time.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请提供一种Docker容器的跨主机通信方法和系统。In view of this, the present application provides a method and system for cross-host communication of Docker containers.
具体地,本申请是通过如下技术方案实现的:Specifically, the application is achieved through the following technical solutions:
一种Docker容器的跨主机通信方法,所述方法包括:A cross-host communication method for a Docker container, the method comprising:
控制Docker在启动后,创建OVS网桥;Control Docker to create an OVS bridge after startup;
所述控制Docker在检测到主机上的应用Docker启动后,获取所述应用Docker的网络配置信息;The control Docker obtains the network configuration information of the application Docker after detecting that the application Docker on the host is started;
所述控制Docker将所述网络配置信息发送至分布式协调服务保存,所述分布式协调服务用于维护组网中各宿主主机上应用Docker的网络配置信息;The control Docker sends the network configuration information to a distributed coordination service for storage, and the distributed coordination service is used to maintain the network configuration information of Docker applied on each host in the networking;
所述控制Docker在监听到所述分布式协调服务中应用Docker的网络配置信息更新时,根据更新后的网络配置信息生成转发流表;The control Docker generates a forwarding flow table according to the updated network configuration information when monitoring the update of the network configuration information of the application Docker in the distributed coordination service;
所述控制Docker将所述转发流表下发给所述OVS网桥;The control Docker sends the forwarding flow table to the OVS bridge;
所述OVS网桥根据所述转发流表指导应用Docker间的跨主机通信。The OVS bridge guides the cross-host communication between the application Dockers according to the forwarding flow table.
一种Docker容器的跨主机通信系统,所述系统包括:控制Docker、OVS网桥以及应用Docker,其中,A cross-host communication system of a Docker container, the system comprising: controlling Docker, an OVS bridge and applying Docker, wherein,
所述控制Docker在启动后,创建所述OVS网桥;After the control Docker is started, the OVS bridge is created;
所述控制Docker在检测到主机上的应用Docker启动后,获取所述应用Docker的网络配置信息;The control Docker obtains the network configuration information of the application Docker after detecting that the application Docker on the host is started;
所述控制Docker将所述网络配置信息发送至分布式协调服务保存,所述分布式协调服务用于维护组网中各宿主主机上应用Docker的网络配置信息;The control Docker sends the network configuration information to a distributed coordination service for storage, and the distributed coordination service is used to maintain the network configuration information of Docker applied on each host in the networking;
所述控制Docker在监听到所述分布式协调服务中应用Docker的网络配置信息更新时,根据更新后的网络配置信息生成转发流表;The control Docker generates a forwarding flow table according to the updated network configuration information when monitoring the update of the network configuration information of the application Docker in the distributed coordination service;
所述控制Docker将所述转发流表下发给所述OVS网桥;The control Docker sends the forwarding flow table to the OVS bridge;
所述OVS网桥根据所述转发流表指导应用Docker间的跨主机通信。The OVS bridge guides the cross-host communication between the application Dockers according to the forwarding flow table.
由以上描述可以看出,本申请可以通过分布式协调服务维护组网中应用Docker的网络配置信息,控制Docker可以通过对分布式协调服务的监听,及时为启动的应用Docker生成转发流表,并下发给OVS网桥指导转发,实现了应用Docker间的跨主机通信。同时,采用分布式协调服务对应用Docker的网络配置信息进行维护,相较于Gossip协议实现更为简单、可靠。It can be seen from the above description that the application can maintain the network configuration information of Docker in the networking through the distributed coordination service, and the control Docker can generate a forwarding flow table for the started application Docker in time by monitoring the distributed coordination service. It is sent to the OVS bridge to guide forwarding, which realizes cross-host communication between applications and Docker. At the same time, the distributed coordination service is used to maintain the network configuration information of the application Docker, which is simpler and more reliable than the Gossip protocol.
附图说明Description of drawings
图1是相关技术中的一种Docker Overlay网络架构示意图。FIG. 1 is a schematic diagram of a Docker Overlay network architecture in the related art.
图2是本申请一示例性实施例示出的一种Docker容器的跨主机通信方法的流程示意图。FIG. 2 is a schematic flowchart of a cross-host communication method for a Docker container according to an exemplary embodiment of the present application.
图3是本申请一示例性实施例示出的一种Docker容器的跨主机通信的组网架构图。FIG. 3 is a networking architecture diagram of cross-host communication of a Docker container according to an exemplary embodiment of the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of the present application. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
相关技术中,可以通过DockerOverlay网络实现Docker的跨主机通信。请参考图1所示的组网架构,当创建一个Overlay网络时,可同时在宿主主机上创建一个networknamespace,然后在这个network namespace中创建br0网桥,并创建一个Vxlan(VirtualExtensible LAN,虚拟可扩展局域网)的虚拟网络设备连接到该br0网桥上,Docker容器内部的虚拟网卡eth0也可以连接到br0网桥上。In the related art, the cross-host communication of Docker can be realized through the DockerOverlay network. Please refer to the networking architecture shown in Figure 1. When creating an Overlay network, you can create a networknamespace on the host at the same time, then create a br0 bridge in this network namespace, and create a Vxlan (VirtualExtensible LAN, virtual extensible LAN) The virtual network device of the local area network) is connected to the br0 bridge, and the virtual network card eth0 inside the Docker container can also be connected to the br0 bridge.
宿主主机可以通过Gossip协议管理集群关系,当某宿主主机启动时,其他宿主主机可以接收到新节点加入事件,通过这个事件的相关信息,可以更新本地br0网桥的FDB(Forwarding DataBase)表项。请继续参考图1,若宿主主机A上的Docker容器1第一次访问宿主主机B上的Docker容器3时,由于Docker容器1上没有Docker容器3的MAC地址,因此Linux内核会发送L3miss,内核会转化为一个事件通知到用户态,后续转换为一个查询请求,并广播到Overlay网络中的其他宿主主机。宿主主机B上的Docker容器3会应答其MAC地址。基于这个过程,Docker容器1可获取到Docker容器3的MAC地址。接着,结合br0FDB表项,Docker容器1和Docker容器3可通过Vxlan1实现通信。The host host can manage the cluster relationship through the Gossip protocol. When a host host starts, other host hosts can receive a new node joining event. Through the relevant information of this event, the FDB (Forwarding DataBase) entry of the local br0 bridge can be updated. Please continue to refer to Figure 1. If Docker
然而,上述Overlay网络的实现方式存在以下问题:However, the implementation of the above-mentioned Overlay network has the following problems:
1)Docker容器的Overlay网络要求Linux内核版本至少在3.8以上,而目前市面上流行的低版本(2.6.32)内核无法支撑,这就导致Overlay网络的适用范围较小。1) The Overlay network of the Docker container requires that the Linux kernel version be at least 3.8 or above, and the currently popular low version (2.6.32) kernel cannot be supported, which leads to a small scope of application of the Overlay network.
2)Docker容器Overlay网络的节点发现要通过Gossip协议。Gossip协议是一个动态发现协议,当新节点加入时,需要和现有的节点完成信息同步,还需要更新Vxlan设备的FDB表项,可靠性较差。2) The nodes of the Docker container Overlay network are discovered through the Gossip protocol. The Gossip protocol is a dynamic discovery protocol. When a new node joins, it needs to complete the information synchronization with the existing node, and also needs to update the FDB entry of the Vxlan device, which is less reliable.
3)Docker容器Overlay网络采用广播ARP(Address Resolution Protocol,地址解析协议)请求报文的方式进行MAC地址寻址,ARP的广播报文会在集群中传输,消耗一定的网络带宽。此外,还需要Docker容器的在网络内具有唯一的MAC地址,增加了管理的复杂度。3) The Docker container overlay network uses the broadcast ARP (Address Resolution Protocol, Address Resolution Protocol) request message to address the MAC address, and the ARP broadcast message will be transmitted in the cluster, consuming a certain network bandwidth. In addition, the Docker container needs to have a unique MAC address within the network, which increases the complexity of management.
4)Docker容器Overlay网络中Docker容器内有两张虚拟网卡,一张用于Docker容器间的跨主机通信,另一张用于与外部网络的互访,增加了应用处理的复杂度。4) There are two virtual network cards in the Docker container in the Docker container Overlay network, one is used for cross-host communication between Docker containers, and the other is used for mutual access with external networks, which increases the complexity of application processing.
5)Docker容器Overlay网络不支持多子网的架构,无法进行子网规划,灵活性较差。5) The Docker container Overlay network does not support the multi-subnet architecture, and the subnet planning cannot be performed, and the flexibility is poor.
6)Docker容器Overlay网络采用Linux的原生Vxlan虚拟设备,Vxlan协议的封装均需要宿主主机的CPU参与,增加了宿主主机的性能损耗。6) The Docker container Overlay network adopts the native Vxlan virtual device of Linux. The encapsulation of the Vxlan protocol requires the participation of the CPU of the host host, which increases the performance loss of the host host.
针对上述问题,本申请提供一种Docker容器的跨主机通信方案。In view of the above problems, the present application provides a cross-host communication solution for Docker containers.
图2是本申请一示例性实施例示出的一种Docker容器的跨主机通信方法的流程示意图。FIG. 2 is a schematic flowchart of a cross-host communication method for a Docker container according to an exemplary embodiment of the present application.
请参考图2,所述Docker容器的跨主机通信方法可以包括以下步骤:Please refer to FIG. 2, the cross-host communication method of the Docker container may include the following steps:
步骤201,控制Docker在启动后,创建OVS网桥。Step 201, after controlling Docker to start, create an OVS bridge.
在本实施例中,可以在宿主主机中配置控制Docker,用于业务Docker转发流表的下发,所述控制Docker可以通过宿主主机的CPU实现。具体地,所述控制Docker在启动后,可以在宿主主机上创建OVS(Open VSwitch)网桥。在一个例子中,控制Docker可以基于CPU创建所述OVS网桥。在另一个例子中,当宿主主机中配置有支持OVS的智能网卡时,也可以在智能网卡中创建OVS网桥,以节省CPU的开销。In this embodiment, a control Docker may be configured in the host host for issuing the business Docker forwarding flow table, and the control Docker may be implemented by the CPU of the host host. Specifically, after the control Docker is started, an OVS (Open VSwitch) bridge can be created on the host host. In one example, controlling Docker can create the OVS bridge based on the CPU. In another example, when an OVS-supporting smart network card is configured in the host host, an OVS bridge can also be created in the smart network card to save CPU overhead.
在本实施例中,低版本的Linux内核也可以支持OVS技术,采用OVS技术实现虚拟交互可有效解决Overlay网络适用范围小的问题。In this embodiment, the low-version Linux kernel can also support the OVS technology, and the implementation of virtual interaction by using the OVS technology can effectively solve the problem of the limited scope of application of the overlay network.
步骤202,控制Docker在检测到主机上的应用Docker启动后,获取所述应用Docker的网络配置信息。Step 202: After detecting that the application Docker on the host is started, the control Docker acquires the network configuration information of the application Docker.
在本实施例中,控制Docker在启动后,可以通过Docker间的插件机制检测到宿主主机上应用Docker的启动。在检测到应用Docker启动后,可以获取该应用Docker的网络配置信息。其中,所述网络配置信息可以包括:应用Docker的ID、IP地址、MAC地址、OVS端口、宿主主机的IP地址等。In this embodiment, after the Docker is controlled to start, the startup of the application Docker on the host can be detected through the plug-in mechanism between Dockers. After it is detected that the application Docker is started, the network configuration information of the application Docker can be obtained. Wherein, the network configuration information may include: application Docker ID, IP address, MAC address, OVS port, IP address of the host host, and the like.
步骤203,控制Docker将所述网络配置信息发送至分布式协调服务保存,所述分布式协调服务用于维护组网中各宿主主机上应用Docker的网络配置信息。Step 203: Control Docker to send the network configuration information to a distributed coordination service for storage, and the distributed coordination service is used to maintain the network configuration information of Docker applied on each host in the networking.
在本实施例中,控制Docker在获取到所述应用Docker的网络配置信息后,可以将该网络配置信息发送至分布式协调服务保存。其中,所述分布式协调服务通常是一个外部的服务,可用于维护组网中各宿主主机上应用Docker的网络配置信息。所述分布式协调服务可以采用zookeeper等,本申请对此不作特殊限制。In this embodiment, after the control Docker obtains the network configuration information of the application Docker, the network configuration information can be sent to the distributed coordination service for storage. The distributed coordination service is usually an external service, which can be used to maintain the network configuration information of Docker applied on each host in the networking. The distributed coordination service may use zookeeper or the like, which is not particularly limited in this application.
在本实施例中,若基于Vxlan协议实现Docker间的跨主机通信,则所述网络配置信息中通常还会包括有所述应用Docker所属的Vxlan ID。相应的,分布式协调服务可以基于Vxlan ID实现对应用Docker网络配置信息的隔离存储,比如:分布式协调服务中可以以Vxlan ID为名称建立网络配置信息的存储目录,控制Docker可以将应用Docker的网络配置信息存储在其Vxlan ID的目录下,以方便对应用Docker网络配置信息的管理。In this embodiment, if the cross-host communication between Dockers is implemented based on the Vxlan protocol, the network configuration information usually also includes the Vxlan ID to which the application Docker belongs. Correspondingly, the distributed coordination service can realize the isolated storage of the application Docker network configuration information based on the Vxlan ID. The network configuration information is stored in the directory of its Vxlan ID to facilitate the management of the application Docker network configuration information.
步骤204,控制Docker在监听到所述分布式协调服务中应用Docker的网络配置信息更新时,根据更新后的网络配置信息生成转发流表。Step 204: When monitoring the update of the network configuration information of the application Docker in the distributed coordination service, the Docker is controlled to generate a forwarding flow table according to the updated network configuration information.
在本实施例中,控制Docker可以启动监听线程监听所述分布式协调服务中应用Docker网络配置信息的更新,其中,所述更新包括新增、修改等。比如:若监听到所述分布式协调服务中新增应用Docker的网络配置信息,控制Docker可以根据新增的网络配置信息生成转发流表。若监听到所述分布式协调服务中已存储的应用Docker的网络配置信息有修改时,控制Docker也可以根据修改后的网络配置信息生成转发流表。In this embodiment, the controlling Docker may start a monitoring thread to monitor the update of the network configuration information of the application Docker in the distributed coordination service, wherein the update includes addition, modification, and the like. For example, if the network configuration information of the newly added application Docker in the distributed coordination service is monitored, the control Docker can generate a forwarding flow table according to the newly added network configuration information. If it is monitored that the network configuration information of the application Docker stored in the distributed coordination service is modified, the control Docker can also generate a forwarding flow table according to the modified network configuration information.
在本实施例中,所述转发流表中包括对应应用Docker的网络配置信息,比如:IP地址、MAC地址、所在宿主主机的IP地址等。In this embodiment, the forwarding flow table includes network configuration information corresponding to the application Docker, such as: IP address, MAC address, and IP address of the host host where it is located.
步骤205,控制Docker将所述转发流表下发给OVS网桥。Step 205, controlling Docker to deliver the forwarding flow table to the OVS bridge.
步骤206,OVS网桥根据所述转发流表指导应用Docker间的跨主机通信。Step 206, the OVS bridge guides the cross-host communication between the application Dockers according to the forwarding flow table.
基于前述步骤204,控制Docker在生成转发流表后,可以将转发流表下发给OVS网桥,后续OVS网桥可以根据已下发的转发流表指导应用Docker间的跨主机通信,比如:报文封装、解封装等。Based on the foregoing step 204, after controlling Docker to generate the forwarding flow table, it can send the forwarding flow table to the OVS bridge, and the subsequent OVS bridge can guide the cross-host communication between the application Dockers according to the forwarding flow table that has been issued, such as: Packet encapsulation, decapsulation, etc.
由以上描述可以看出,本申请可以通过分布式协调服务维护组网中应用Docker的网络配置信息,控制Docker可以通过对分布式协调服务的监听,及时为启动的应用Docker生成转发流表,并下发给OVS网桥指导转发,实现了应用Docker间的跨主机通信。同时,采用分布式协调服务对应用Docker的网络配置信息进行维护,相较于Gossip协议实现更为简单、可靠。It can be seen from the above description that the application can maintain the network configuration information of Docker in the networking through the distributed coordination service, and the control Docker can generate a forwarding flow table for the started application Docker in time by monitoring the distributed coordination service. It is sent to the OVS bridge to guide forwarding, which realizes cross-host communication between applications and Docker. At the same time, the distributed coordination service is used to maintain the network configuration information of the application Docker, which is simpler and more reliable than the Gossip protocol.
下面分别通过MAC地址获取、业务报文转发、应用Docker外部通信三个方面,对本申请的技术方案进行详细描述。The technical solution of the present application is described in detail below through three aspects: MAC address acquisition, service message forwarding, and external communication using Docker.
一、应用Docker的MAC地址获取First, the application of Docker's MAC address acquisition
在本实施例中,应用Docker在与其他应用Docker通信前,可以通过ARP请求报文获取其他应用Docker的MAC地址。OVS网桥在接收到所述ARP请求报文后,可以基于预设的MAC地址构造ARP应答报文,并将所述ARP应答报文发送给应用Docker。In this embodiment, before the application Docker communicates with the other application Docker, the MAC address of the other application Docker can be obtained through an ARP request message. After receiving the ARP request message, the OVS bridge may construct an ARP reply message based on the preset MAC address, and send the ARP reply message to the application Docker.
请参考图3所示的组网架构,假设宿主主机A上的应用Docker1发送ARP请求报文1以请求宿主主机B上应用Docker3的MAC地址,OVS网桥1接收到ARP请求报文1后,可以根据该ARP请求报文1的目的IP地址(即应用Docker3的IP地址)确定ARP请求报文1是跨网段ARP请求报文还是同网段ARP请求报文。具体地,若ARP请求报文1的目的IP地址与源IP地址(即应用Docker1的IP地址)属于同一网段,则可以确定ARP请求报文1是同网段ARP请求报文,OVS网桥1进而可以根据预设的伪MAC地址构造ARP应答报文1,并将该ARP应答报文1发送给Docker1。其中,所述伪MAC地址可以由管理人员进行设置,本申请对此不作特殊限制。Please refer to the networking architecture shown in Figure 3. Suppose application Docker1 on host A sends
请继续参考图3,假设宿主主机A上的应用Docker1发送ARP请求报文2以请求宿主主机B上应用Docker4的MAC地址,OVS网桥1接收到ARP请求报文2后,可以根据该ARP请求报文2的目的IP地址(即应用Docker4的IP地址)确定ARP请求报文2是跨网段ARP请求报文还是同网段ARP请求报文。具体地,若ARP请求报文2的目的IP地址与源IP地址(即应用Docker1的IP地址)属于不同网段,则可以确定ARP请求报文2是跨网段ARP请求报文,OVS网桥1进而可以根据容器网关的MAC地址构造ARP应答报文2,并将该ARP应答报文2发送给Docker1。Please continue to refer to Figure 3, assuming that the application Docker1 on the host host A sends an
基于上述描述可知,在本例中,对于应用Docker而言,同网段内其他应用Docker的MAC地址均为固定的伪MAC地址,不同网段应用Docker的MAC地址均为容器网关的MAC地址,通过ARP代理机制实现应用Docker MAC地址的获取,可以避免ARP请求报文在集群中跨主机传输,节省了大量的网络带宽。Based on the above description, in this example, for the application Docker, the MAC addresses of other Docker applications in the same network segment are fixed pseudo-MAC addresses, and the MAC addresses of Docker applications in different network segments are the MAC addresses of the container gateway. The ARP proxy mechanism is used to obtain the MAC address of the application Docker, which can avoid the transmission of ARP request packets across hosts in the cluster and save a lot of network bandwidth.
二、业务报文转发2. Service message forwarding
在本实施例中,OVS网桥在接收到应用Docker发送的业务报文后,可以根据所述业务报文的目的IP地址在转发流表中查询目标应用Docker所在的主机地址信息。接着,OVS网桥可以根据查询到的主机地址信息对所述业务报文进行封装,然后通过隧道将封装后的业务报文发送给所述目标应用Docker所在的主机。其中,所述目标应用Docker是所述业务报文发往的应用Docker。In this embodiment, after receiving the service message sent by the application Docker, the OVS bridge can query the host address information of the target application Docker in the forwarding flow table according to the destination IP address of the service message. Next, the OVS bridge can encapsulate the service message according to the queried host address information, and then send the encapsulated service message to the host where the target application Docker is located through the tunnel. Wherein, the target application Docker is the application Docker to which the business message is sent.
请继续参考图3,假设OVS网桥1接收到应用Docker1发送的业务报文,OVS网桥1可以根据该业务报文的目的IP地址确定目标应用Docker。假设,该业务报文的目的IP地址为应用Docker3的IP地址,则可确定目标应用Docker为Docker3。OVS网桥1可以在转发流表中查询应用Docker3的网络配置信息,比如:应用Docker3所在的宿主主机B的IP地址、Vxlan端口等信息,基于查询到的主机B的网络配置信息,OVS网桥1可以对所述业务报文进行Vxlan隧道封装,并将封装后的业务报文通过Vxlan隧道发送给宿主主机B的OVS网桥2。Please continue to refer to FIG. 3 , assuming that the
需要说明的是,本申请以Vxlan协议为示例进行描述,在实际应用中,并不限制于Vxlan协议。It should be noted that this application takes the Vxlan protocol as an example for description, and in practical applications, it is not limited to the Vxlan protocol.
在本实施例中,OVS网桥在接收到来自其他主机的隧道封装业务报文后,可以对所述隧道封装业务报文进行解封装,以得到解封装后的业务报文。基于该业务报文的目的IP地址,OVS网桥可以在转发流表中查询目标应用Docker的真实MAC地址。OVS网桥可以将该业务报文的目的MAC地址修改为所述真实MAC地址,并在确定该业务报文是同网段业务报文时,将该业务报文的源MAC地址修改为伪MAC地址,在确定该业务报文是跨网段业务报文时,将该业务报文的源MAC地址修改为容器网关的MAC地址。在完成MAC地址修改后OVS网桥可将修改后的业务报文发送给目标应用Docker。In this embodiment, after receiving the tunnel encapsulation service packet from other hosts, the OVS bridge may decapsulate the tunnel encapsulation service packet to obtain the decapsulated service packet. Based on the destination IP address of the service packet, the OVS bridge can query the real MAC address of the target application Docker in the forwarding flow table. The OVS bridge can modify the destination MAC address of the service packet to the real MAC address, and when determining that the service packet is a service packet on the same network segment, modify the source MAC address of the service packet to a pseudo-MAC address, when it is determined that the service packet is a cross-network segment service packet, the source MAC address of the service packet is modified to the MAC address of the container gateway. After the MAC address modification is completed, the OVS bridge can send the modified service message to the target application Docker.
请继续参考图3,仍以上述例子为例,OVS网桥2在通过Vxlan隧道接收到封装后的业务报文后,可以进行解封装,以还原所述业务报文。OVS网桥2可以根据该业务报文的目的IP地址(应用Docker3的IP地址)查询转发流表,以查询应用Docker3的真实MAC地址,并将该业务报文的目的MAC地址修改为应用Docker3的真实MAC地址。针对该业务报文的源MAC地址,在进行修改之前,OVS网桥2还需进行子网的判断,若该业务报文为同网段业务报文(应用Docker1和应用Docker3的IP地址属于同一网段),则可以将该业务报文的源MAC地址修改为伪MAC地址。若该业务报文为跨网段业务报文(应用Docker1和应用Docker3的IP地址属于不同网段),则可以将该业务报文的源MAC地址修改为容器网关的MAC地址。OVS网桥2可以将MAC地址修改后的业务报文发送给应用Docker3,以实现应用Docker1与应用Docker3之间的跨主机通信。Please continue to refer to FIG. 3 , still taking the above example as an example, after receiving the encapsulated service packet through the Vxlan tunnel, the
由以上描述可以看出,本申请提供的Docker容器的跨主机通信方案可以支持子网的规划,提高了业务的灵活性。It can be seen from the above description that the cross-host communication solution of the Docker container provided by the present application can support the planning of the subnet and improve the flexibility of the business.
需要说明的是,上述业务报文的封装、转发可以通过OVS网桥上建立的虚拟设备来实现。具体地,控制Docker在创建OVS网桥后,还可以在该OVS网桥上创建Vxlan设备和Veth设备,其中,所述Vxlan设备可用于业务报文的封装与解封装,所述Veth设备可用于实现容器网关功能等。这部分的处理与实现可以参照相关技术,本申请在此不再一一赘述。It should be noted that the encapsulation and forwarding of the above-mentioned service packets may be implemented through a virtual device established on the OVS bridge. Specifically, after controlling Docker to create an OVS bridge, it can also create a Vxlan device and a Veth device on the OVS bridge, where the Vxlan device can be used for encapsulation and decapsulation of service packets, and the Veth device can be used for Implement container gateway functions, etc. For the processing and implementation of this part, reference may be made to the related art, which will not be repeated here in this application.
三、应用Docker外部通信3. Apply Docker external communication
在本实施例中,可以预先配置一条优先级最低的转发流表项,该转发流表项可以为:目的MAC地址为容器网关MAC的地址转发至虚拟主机网关。具体地,OVS网桥在接收到应用Docker发送的业务报文后,若确定所述业务报文的目的MAC地址为容器网关的MAC地址,且匹配上述优先级最低的转发流表项,则可以确定该业务报文是需要发送到外网的业务报文,OVS网桥可以将该业务报文发送给虚拟主机网关,由所述虚拟主机网关结合iptable的snat或dnat以将所述业务报文发送至外部网络。In this embodiment, a forwarding flow entry with the lowest priority may be preconfigured, and the forwarding flow entry may be: the destination MAC address is the address of the container gateway MAC and forwarded to the virtual host gateway. Specifically, after receiving the service packet sent by the application Docker, if the OVS bridge determines that the destination MAC address of the service packet is the MAC address of the container gateway and matches the forwarding flow entry with the lowest priority, it can It is determined that the service packet is a service packet that needs to be sent to the external network. The OVS bridge can send the service packet to the virtual host gateway, and the virtual host gateway combines the iptable snat or dnat to send the service packet. Send to external network.
具体地,控制Docker在创建OVS网桥后,可以将容器网关的地址配置到虚拟主机网关中。后续,若OVS网桥接收到匹配上述优先级最低的转发流表项的业务报文时,可以确定该业务报文是发送给外部网络的业务报文,进而可以通过容器网关将该业务报文发送给虚拟主机网关,由虚拟主机网关发送至外部网络。相反,若OVS网桥接收到来自虚拟主机网关的业务报文,则可以将该业务报文的源MAC地址修改为容器网关的MAC地址后,发送给对应的应用Docker。Specifically, after controlling Docker to create an OVS bridge, the address of the container gateway can be configured into the virtual host gateway. Subsequently, if the OVS bridge receives a service packet that matches the forwarding flow entry with the lowest priority, it can determine that the service packet is a service packet sent to an external network, and can then use the container gateway to send the service packet to the external network. Sent to the virtual host gateway, and sent by the virtual host gateway to the external network. On the contrary, if the OVS bridge receives a service packet from the virtual host gateway, it can modify the source MAC address of the service packet to the MAC address of the container gateway and send it to the corresponding application Docker.
由以上描述可以看出,本申请可以通过容器网关同时实现应用Docker间的跨主机通信以及应用Docker与外部网络的通信,无需配置两张虚拟网卡,对于应用而言,处理更为简单。It can be seen from the above description that the present application can simultaneously realize the cross-host communication between the application Docker and the communication between the application Docker and the external network through the container gateway, without the need to configure two virtual network cards, and the processing is simpler for the application.
与前述Docker容器的跨主机通信方法的实施例相对应,本申请还提供了Docker容器的跨主机通信系统的实施例。所述Docker容器的跨主机通信系统可以包括:控制Docker、OVS网桥以及应用Docker。Corresponding to the foregoing embodiments of the cross-host communication method of the Docker container, the present application also provides an embodiment of the cross-host communication system of the Docker container. The cross-host communication system of the Docker container may include: controlling Docker, an OVS bridge, and applying Docker.
其中,所述控制Docker在启动后,创建所述OVS网桥;Wherein, after the control Docker is started, the OVS bridge is created;
所述控制Docker在检测到主机上的应用Docker启动后,获取所述应用Docker的网络配置信息;The control Docker obtains the network configuration information of the application Docker after detecting that the application Docker on the host is started;
所述控制Docker将所述网络配置信息发送至分布式协调服务保存,所述分布式协调服务用于维护组网中各宿主主机上应用Docker的网络配置信息;The control Docker sends the network configuration information to a distributed coordination service for storage, and the distributed coordination service is used to maintain the network configuration information of Docker applied on each host in the networking;
所述控制Docker在监听到所述分布式协调服务中应用Docker的网络配置信息更新时,根据更新后的网络配置信息生成转发流表;The control Docker generates a forwarding flow table according to the updated network configuration information when monitoring the update of the network configuration information of the application Docker in the distributed coordination service;
所述控制Docker将所述转发流表下发给所述OVS网桥;The control Docker sends the forwarding flow table to the OVS bridge;
所述OVS网桥根据所述转发流表指导应用Docker间的跨主机通信。The OVS bridge guides the cross-host communication between the application Dockers according to the forwarding flow table.
可选的,所述OVS网桥接收到应用Docker发送的ARP请求报文;Optionally, the OVS bridge receives the ARP request message sent by the application Docker;
所述OVS网桥若确定所述ARP请求报文是跨网段ARP请求报文,则基于容器网关的MAC地址构造ARP应答报文,并返回给所述应用Docker;If the OVS bridge determines that the ARP request message is a cross-network segment ARP request message, it constructs an ARP response message based on the MAC address of the container gateway, and returns it to the application Docker;
所述OVS网桥若确定所述ARP请求报文是同网段ARP请求报文,则基于预设的伪MAC地址构造ARP应答报文,并返回给所述应用Docker。If the OVS bridge determines that the ARP request message is an ARP request message on the same network segment, it constructs an ARP reply message based on the preset pseudo-MAC address, and returns it to the application Docker.
可选的,所述OVS网桥在接收到主机上的应用Docker发送的业务报文后,根据所述业务报文的目的IP地址在所述转发流表中查询目标应用Docker所在的主机地址信息;Optionally, after receiving the service message sent by the application Docker on the host, the OVS bridge queries the host address information of the target application Docker in the forwarding flow table according to the destination IP address of the service message in the forwarding flow table. ;
所述OVS网桥根据所述主机地址信息对所述业务报文进行封装,并通过隧道将封装后的业务报文发送给所述目标应用Docker所在的主机。The OVS bridge encapsulates the service message according to the host address information, and sends the encapsulated service message to the host where the target application Docker is located through a tunnel.
可选的,所述OVS网桥在接收到来自其他主机的隧道封装业务报文后,对所述隧道封装业务报文进行解封装;Optionally, after receiving the tunnel encapsulation service packet from other hosts, the OVS bridge decapsulates the tunnel encapsulation service packet;
所述OVS网桥根据解封装后的业务报文的目的IP地址在所述转发流表中查询所述目标应用Docker的真实MAC地址;The OVS bridge queries the real MAC address of the target application Docker in the forwarding flow table according to the destination IP address of the decapsulated service message;
所述OVS网桥将解封装后的业务报文的目的MAC地址修改为所述真实MAC地址,并在确定解封装后的业务报文是同网段业务报文时,将所述业务报文的源MAC地址修改为所述伪MAC地址,在确定解封装后的业务报文是跨网段业务报文时,将所述业务报文的源MAC地址修改为所述容器网关的MAC地址;The OVS bridge modifies the destination MAC address of the decapsulated service message to the real MAC address, and when it is determined that the decapsulated service message is a service message on the same network segment, the service message The source MAC address of the service packet is modified to the pseudo MAC address, and when it is determined that the decapsulated service packet is a cross-network segment service packet, the source MAC address of the service packet is modified to the MAC address of the container gateway;
所述OVS网桥将修改后的业务报文发送给所述目标应用Docker。The OVS bridge sends the modified service message to the target application Docker.
可选的,所述OVS网桥在接收到主机上的应用Docker发送的业务报文后,若确定所述业务报文匹配优先级最低的转发流表项,则将所述业务报文发送给虚拟主机网关,由所述虚拟主机网关将所述业务报文发送至外部网络;Optionally, after receiving the service message sent by the application Docker on the host, if the OVS bridge determines that the service message matches the forwarding flow entry with the lowest priority, the OVS bridge sends the service message to a virtual host gateway, where the virtual host gateway sends the service message to an external network;
其中,所述优先级最低的转发流表项是将目的MAC地址为容器网关MAC地址的业务报文发送至所述虚拟主机网关。The forwarding flow entry with the lowest priority is to send the service packet whose destination MAC address is the MAC address of the container gateway to the virtual host gateway.
可选的,所述控制Docker在智能网卡中创建OVS网桥。Optionally, the controlling Docker creates an OVS bridge in the smart network card.
可选的,所述OVS网桥上还创建有Vxlan设备、Veth设备;Optionally, a Vxlan device and a Veth device are also created on the OVS bridge;
其中,所述Vxlan设备用于业务报文的封装与解封装,所述Veth设备用于实现容器网关功能。The Vxlan device is used for encapsulation and decapsulation of service packets, and the Veth device is used to implement the container gateway function.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementing device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email sending and receiving device, game control desktop, tablet, wearable device, or a combination of any of these devices.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710021618.XA CN107070691B (en) | 2017-01-12 | 2017-01-12 | Cross-host communication method and system for Docker containers |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710021618.XA CN107070691B (en) | 2017-01-12 | 2017-01-12 | Cross-host communication method and system for Docker containers |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107070691A CN107070691A (en) | 2017-08-18 |
| CN107070691B true CN107070691B (en) | 2020-01-21 |
Family
ID=59598500
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710021618.XA Active CN107070691B (en) | 2017-01-12 | 2017-01-12 | Cross-host communication method and system for Docker containers |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107070691B (en) |
Families Citing this family (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107395762A (en) * | 2017-08-30 | 2017-11-24 | 四川长虹电器股份有限公司 | A kind of application service based on Docker containers accesses system and method |
| CN107579898B (en) * | 2017-09-14 | 2020-08-14 | 快云信息科技有限公司 | Method and device for interconnection communication among multiple containers |
| CN107770066B (en) * | 2017-10-20 | 2020-06-02 | 成都精灵云科技有限公司 | Cross-host, cross-VLAN and cross-cluster Docker container diversion method |
| CN107948041B (en) * | 2017-11-22 | 2020-12-18 | 锐捷网络股份有限公司 | Method and device for constructing VXLAN centralized multi-active gateway |
| CN109379269A (en) * | 2018-11-29 | 2019-02-22 | 南京中孚信息技术有限公司 | Virtual swap device data forwarding method, device and computer equipment |
| CN111294268B (en) * | 2018-12-07 | 2021-06-08 | 华为技术有限公司 | Method and device for avoiding IP address conflict |
| CN109871258A (en) * | 2019-01-17 | 2019-06-11 | 珠海金山网络游戏科技有限公司 | The method and device of modification host configuration based on distributed container |
| CN110430234B (en) * | 2019-06-28 | 2022-03-01 | 苏州浪潮智能科技有限公司 | A method and device for building a parallel information transfer interface cluster for containers |
| CN110601949B (en) * | 2019-09-10 | 2021-05-04 | 中国人民解放军国防科技大学 | A multi-virtual device container networking method |
| CN110445709B (en) * | 2019-09-11 | 2021-12-28 | 成都千立网络科技有限公司 | Intelligent gateway for bearing docker application |
| CN110932907B (en) * | 2019-12-03 | 2020-10-16 | 北京大学 | Linux container network configuration method and network system |
| CN113132218B (en) * | 2019-12-31 | 2023-10-20 | 中兴通讯股份有限公司 | A home gateway access method, device, system processor and storage medium |
| CN111262784B (en) * | 2020-01-13 | 2022-05-17 | 杭州朗和科技有限公司 | Message forwarding method, message forwarding device, storage medium and electronic device |
| CN111541651B (en) * | 2020-03-31 | 2022-10-21 | 新华三技术有限公司 | Communication method and device |
| CN113630300B (en) * | 2020-05-09 | 2023-08-08 | 华为技术有限公司 | Method and node for message transmission |
| CN112383594B (en) * | 2020-10-30 | 2022-04-22 | 新华三技术有限公司 | Cross-host communication method and device based on hyper-directory Fabric network |
| CN113452806B (en) * | 2021-06-24 | 2022-10-04 | 上海道客网络科技有限公司 | Container adaptation SDN network management method and system based on Kubernets system |
| CN113676471B (en) * | 2021-08-17 | 2023-04-07 | 上海道客网络科技有限公司 | Cross-node communication method, system, medium and electronic device based on container cloud platform |
| CN114629844B (en) * | 2022-02-28 | 2024-04-05 | 浙江大华技术股份有限公司 | Message forwarding method and device and electronic equipment |
| US20250094537A1 (en) * | 2022-07-15 | 2025-03-20 | Boe Technology Group Co., Ltd. | Methods of deploying big data cluster and big data cluster based data processing methods |
| CN115499434B (en) * | 2022-07-29 | 2024-10-01 | 天翼云科技有限公司 | Traffic forwarding across VPCs |
| CN115208888B (en) * | 2022-09-13 | 2022-12-27 | 杭州优云科技有限公司 | Communication method and device for cloud instance to cross available areas and electronic equipment |
| CN115714671A (en) * | 2022-10-26 | 2023-02-24 | 郑州云智信安安全技术有限公司 | Ovs-based method and device for automatically establishing cross-host virtual environment communication and isolation |
| CN115412512B (en) * | 2022-10-31 | 2023-03-24 | 浙江九州云信息科技有限公司 | IPv 6-based multi-cloud cross-network intercommunication method and device |
| CN116319167A (en) * | 2023-03-16 | 2023-06-23 | 成都烽火云网信息技术有限公司 | Method and system for non-standard Ethernet message communication between containers |
| CN116567082A (en) * | 2023-04-24 | 2023-08-08 | 上海交通大学 | Method and apparatus for container network communication |
| CN116566862A (en) * | 2023-06-28 | 2023-08-08 | 中国建设银行股份有限公司 | Method, device and storage medium for determining delay information of data packet |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105607954A (en) * | 2015-12-21 | 2016-05-25 | 华南师范大学 | Stateful container online migration method and apparatus |
| CN105630574A (en) * | 2015-12-21 | 2016-06-01 | 中国电子科技网络信息安全有限公司 | Container based message queue bus management system and method |
| CN105847157A (en) * | 2016-03-21 | 2016-08-10 | 中国人民解放军国防科学技术大学 | End-to-end communication method between identification networks based on SDN |
| CN106027643A (en) * | 2016-05-18 | 2016-10-12 | 无锡华云数据技术服务有限公司 | Resource scheduling method based on Kubernetes container cluster management system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9971624B2 (en) * | 2015-05-17 | 2018-05-15 | Nicira, Inc. | Logical processing for containers |
-
2017
- 2017-01-12 CN CN201710021618.XA patent/CN107070691B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105607954A (en) * | 2015-12-21 | 2016-05-25 | 华南师范大学 | Stateful container online migration method and apparatus |
| CN105630574A (en) * | 2015-12-21 | 2016-06-01 | 中国电子科技网络信息安全有限公司 | Container based message queue bus management system and method |
| CN105847157A (en) * | 2016-03-21 | 2016-08-10 | 中国人民解放军国防科学技术大学 | End-to-end communication method between identification networks based on SDN |
| CN106027643A (en) * | 2016-05-18 | 2016-10-12 | 无锡华云数据技术服务有限公司 | Resource scheduling method based on Kubernetes container cluster management system |
Non-Patent Citations (1)
| Title |
|---|
| OpenvSwitch实现Docker容器跨宿主机互联;红黑联盟;《https://www.2cto.com/net/201602/489233.html》;20160215;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107070691A (en) | 2017-08-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107070691B (en) | Cross-host communication method and system for Docker containers | |
| US12494944B2 (en) | Method for sending virtual extensible local area network packet, computer device, and computer readable medium | |
| CN102859973B (en) | Method, apparatus and system for address resolution | |
| US9281955B2 (en) | Interoperability of data plane based overlays and control plane based overlays in a network environment | |
| CN112398817B (en) | Data sending method and device | |
| CN103997414B (en) | Method and network control unit for generating configuration information | |
| CN103404084B (en) | MAC address forced forwarding device and method | |
| CN110896371B (en) | Virtual network equipment and related method | |
| EP2843906B1 (en) | Method, apparatus, and system for data transmission | |
| US20150358232A1 (en) | Packet Forwarding Method and VXLAN Gateway | |
| CN114745255B (en) | Hardware chip, DPU, server, communication method and related device | |
| US20160261496A1 (en) | Packet forwarding in data center network | |
| US10572291B2 (en) | Virtual network management | |
| CN107579900B (en) | Method, device and system for accessing VX L AN network from V L AN network | |
| WO2018137369A1 (en) | Hybrid cloud management method, device, and computing apparatus | |
| CN104601432A (en) | Method and device for transmitting message | |
| JP6928076B2 (en) | Packet monitoring | |
| WO2015096495A1 (en) | Method for acquiring physical address of virtual machine | |
| CN105379228A (en) | Method, switch, and controller for implementing ARP | |
| CN108270878A (en) | Method, the VTEP equipment of ARP messages are sent in VXLAN | |
| WO2019042303A1 (en) | Message forwarding | |
| EP2584742A1 (en) | Method and switch for sending packet | |
| CN111404797A (en) | Control method, SDN controller, SDN access point, SDN gateway and CE | |
| JP2019526208A (en) | Device detection | |
| CN105812221B (en) | The device and method of data transmission in virtual expansible Local Area Network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20200923 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Patentee after: Innovative advanced technology Co.,Ltd. Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Patentee before: Advanced innovation technology Co.,Ltd. Effective date of registration: 20200923 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Patentee after: Advanced innovation technology Co.,Ltd. Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Patentee before: Alibaba Group Holding Ltd. |
