CN103346900B - Method for configuring route after live migration of virtual machine and gateway in big double layer network - Google Patents
Method for configuring route after live migration of virtual machine and gateway in big double layer network Download PDFInfo
- Publication number
- CN103346900B CN103346900B CN201310211338.7A CN201310211338A CN103346900B CN 103346900 B CN103346900 B CN 103346900B CN 201310211338 A CN201310211338 A CN 201310211338A CN 103346900 B CN103346900 B CN 103346900B
- Authority
- CN
- China
- Prior art keywords
- gateway
- address information
- subnet
- channel
- packet
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供了一种大二层网络中虚拟机热迁移后的路由配置方法和网关。方法包括:网关获取迁入第一子网的VM的地址信息及与VM通信的CN的地址信息,其中,VM从第二子网热迁移至第一子网;网关根据CN的地址信息向CN发送通道建立请求消息,其中,通道建立请求消息用于请求建立网关与CN之间的通道并将通道配置到CN至VM的路由上。本发明实施例中,网关通过获取热迁移至网关所在子网的VM的地址信息及与VM通信的CN的地址信息,并向CN发送通道建立请求消息以建立网关到CN的通道并将通道配置到CN至VM之间的路由,缩短了CN至VM之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。
The embodiment of the present invention provides a routing configuration method and a gateway after virtual machine hot migration in a large two-layer network. The method includes: the gateway obtains the address information of the VM moving into the first subnet and the address information of the CN communicating with the VM, wherein the VM is hot migrated from the second subnet to the first subnet; the gateway sends the CN address information to the CN according to the address information of the CN A channel establishment request message is sent, wherein the channel establishment request message is used to request to establish a channel between the gateway and the CN and to configure the channel on the route from the CN to the VM. In the embodiment of the present invention, the gateway obtains the address information of the VM that is hot migrated to the subnet where the gateway is located and the address information of the CN that communicates with the VM, and sends a channel establishment request message to the CN to establish a channel from the gateway to the CN and configure the channel The routing between CN and VM shortens the routing path between CN and VM, which can reduce the communication delay after VM live migration in a large layer 2 network to a certain extent.
Description
技术领域technical field
本发明实施例涉及计算机网络领域,并且更具体地,涉及一种大二层网络中虚拟机热迁移后的路由配置方法和网关。Embodiments of the present invention relate to the field of computer networks, and more specifically, relate to a routing configuration method and a gateway after live migration of a virtual machine in a large two-layer network.
背景技术Background technique
云计算和虚拟化技术使人们对数据中心的部署和管理提出了新的需求,包括多租户(Multi-tenant)管理、多个虚拟网络实现信息隔离以及跨数据中心、实现虚拟局域网(Virtual LAN,VLAN)全球部署等等。Cloud computing and virtualization technology have made people put forward new requirements for the deployment and management of data centers, including multi-tenant (Multi-tenant) management, multiple virtual networks to achieve information isolation, and cross-data centers to realize virtual local area networks (Virtual LAN, VLAN) global deployment and so on.
大二层网络技术通过利用互联网协议(Internet Protocol,IP)隧道技术,使VLAN之间可以互联互通,形成一个IP网络之上的一个重叠覆盖网络(Overlay network)。Large Layer 2 network technology uses Internet Protocol (IP) tunneling technology to enable VLANs to communicate with each other, forming an overlay network (Overlay network) on top of an IP network.
但是,在虚拟机(Virtual Machine,VM)热迁移(live migration)后,与VM通信的对端节点(Corresponding Node,CN)并不知道VM的迁移动作,仍会与VM迁移之前的网络保持连接,从对端节点CN发出的数据抵达源网络后,再经由大二层网络的内部路由,抵达VM迁移后的网络,由此产生一个通信路径上的一个大的绕弯,导致VM与CN通信的延迟增加,该现象称之为traffic trombone现象。However, after the virtual machine (Virtual Machine, VM) live migration (live migration), the peer node (Corresponding Node, CN) communicating with the VM does not know the migration action of the VM, and will still maintain the connection with the network before the VM migration , after the data sent from the peer node CN arrives at the source network, and then passes through the internal routing of the large layer 2 network, it arrives at the network after the migration of the VM, resulting in a large detour on the communication path, resulting in the communication between the VM and the CN The delay increases, and this phenomenon is called the traffic trombone phenomenon.
发明内容Contents of the invention
本发明实施例提供一种大二层网络中虚拟机热迁移后的路由配置方法和网关,能够一定程度上减少大二层网络VM热迁移后的通信延迟。Embodiments of the present invention provide a routing configuration method and a gateway after virtual machine hot migration in a large layer 2 network, which can reduce communication delay after VM hot migration in a large layer 2 network to a certain extent.
第一方面,提供了一种大二层网络中虚拟机热迁移后的路由配置方法,该方法包括:网关获取迁入第一子网的虚拟机VM的地址信息及与该VM通信的对端节点CN的地址信息,其中,该网关为该第一子网中用于与该第一子网的外部网络交互数据的网关,该VM从第二子网热迁移至该第一子网;该网关根据该CN的地址信息向该CN发送通道建立请求消息,其中,该通道建立请求消息用于请求建立该网关与该CN之间的通道并将该通道配置到该CN至该VM的路由上,该通道用于传输该CN与该VM之间的数据包。In the first aspect, a routing configuration method after live migration of a virtual machine in a large layer 2 network is provided, the method includes: the gateway obtains the address information of the virtual machine VM moved into the first subnet and the peer end communicating with the VM Address information of the node CN, wherein the gateway is a gateway in the first subnet for exchanging data with an external network of the first subnet, and the VM is hot migrated from the second subnet to the first subnet; The gateway sends a channel establishment request message to the CN according to the address information of the CN, wherein the channel establishment request message is used to request the establishment of a channel between the gateway and the CN and configure the channel on the route from the CN to the VM , the channel is used to transmit data packets between the CN and the VM.
结合第一方面,在第一种可能的实现方式中,该方法还包括:该网关接收该CN根据该通道建立请求消息发送的通道建立确认消息;该网关根据该通道建立确认消息配置该通道在该网关的端口;该网关将该通道配置到该VM至该CN的路由上。With reference to the first aspect, in a first possible implementation manner, the method further includes: the gateway receiving a channel establishment confirmation message sent by the CN according to the channel establishment request message; and the gateway configuring the channel in accordance with the channel establishment confirmation message The port of the gateway; the gateway configures the channel on the route from the VM to the CN.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,该网关获取迁入第一子网的虚拟机VM的地址信息包括具体实现为:该网关获取来自该第二子网的地址解析协议ARP请求包,在该第一子网广播发送该ARP请求包,该ARP请求包携带有该VM的IP地址信息;该网关获取该VM根据该ARP请求包所返回的ARP响应包,该ARP响应包携带该VM的MAC地址信息;该网关根据该ARP请求包及该ARP响应包获取该VM的地址信息,该VM的地址信息包括该VM的IP地址和该VM的MAC地址。In combination with the first aspect or the first possible implementation of the first aspect, in the second possible implementation, the gateway acquiring the address information of the virtual machine VM relocated to the first subnet includes specifically implementing: the gateway Obtain an address resolution protocol ARP request packet from the second subnet, broadcast and send the ARP request packet on the first subnet, the ARP request packet carries the IP address information of the VM; the gateway obtains the VM according to the ARP request The ARP response packet returned by the packet, the ARP response packet carries the MAC address information of the VM; the gateway obtains the address information of the VM according to the ARP request packet and the ARP response packet, and the address information of the VM includes the IP address of the VM and the MAC address of that VM.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,该网关获取与该VM通信的对端节点CN的地址信息具体实现为:该网关获取经过该网关到达该VM的数据包,该数据包携带该CN的IP地址信息;该网关根据该数据包获取该CN的地址信息,该CN的地址信息包括该CN的IP地址信息。In combination with the second possible implementation of the first aspect, in the third possible implementation, the gateway obtains the address information of the peer node CN communicating with the VM as follows: the gateway obtains the A data packet of the VM, the data packet carries the IP address information of the CN; the gateway obtains the address information of the CN according to the data packet, and the address information of the CN includes the IP address information of the CN.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第三种可能的实现方式中任一种可能的实现方式,在第四种可能的实现方式中,具体实现为:该通道建立请求消息携带该通道的类型、该网关的IP地址信息和端口信息。Combining the first aspect or any possible implementation manner of the first possible implementation manner of the first aspect to the third possible implementation manner of the first aspect, in the fourth possible implementation manner, the specific implementation is as : The channel establishment request message carries the type of the channel, the IP address information and port information of the gateway.
第二方面,提供了一种网关,该网关包括:获取单元,用于获取迁入第一子网的虚拟机VM的地址信息及与该VM通信的对端节点CN的地址信息,其中,该网关为该第一子网中用于与该第一子网的外部网络交互数据的网关,该VM从第二子网热迁移至该第一子网;输出单元,用于根据该CN的地址信息向该CN发送通道建立请求消息,其中,该通道建立请求消息用于请求建立该网关与该CN之间的通道并将该通道更新到该CN至该VM的路由上,该通道用于传输该CN与该VM之间的数据包。In a second aspect, a gateway is provided, and the gateway includes: an acquisition unit, configured to acquire address information of a virtual machine VM migrated into the first subnet and address information of a peer node CN communicating with the VM, wherein the The gateway is a gateway in the first subnet for exchanging data with the external network of the first subnet, and the VM is hot migrated from the second subnet to the first subnet; the output unit is used to Information sends a channel establishment request message to the CN, wherein the channel establishment request message is used to request the establishment of a channel between the gateway and the CN and update the channel to the route from the CN to the VM, and the channel is used for transmission Packets between this CN and this VM.
结合第二方面,在第一种可能的实现方式中,该网关还包括:输入单元,用于接收该CN根据该通道建立请求消息发送的通道建立确认消息;配置单元,用于根据该通道建立确认消息配置该通道在该网关的端口;该配置单元还用于将该通道配置到该VM至该CN的路由上。With reference to the second aspect, in a first possible implementation manner, the gateway further includes: an input unit, configured to receive a channel establishment confirmation message sent by the CN according to the channel establishment request message; The confirmation message configures the channel on the port of the gateway; the configuration unit is also used to configure the channel on the route from the VM to the CN.
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,在获取迁入第一子网的虚拟机VM的地址信息,该获取单元具体实现为:获取来自该第二子网的地址解析协议ARP请求包,并通过输出单元在该第一子网广播发送该ARP请求包,该ARP请求包携带有该VM的IP地址信息;获取该VM根据该ARP请求包所返回的ARP响应包,该ARP响应包携带有该VM的MAC地址信息;根据该ARP请求包及该ARP响应包获取该VM的地址信息,该VM的地址信息包括该VM的IP地址和该VM的MAC地址;相应地,该输出单元还用于在该第一子网广播发送该ARP请求包。In combination with the second aspect or the first possible implementation of the second aspect, in the second possible implementation, when acquiring the address information of the virtual machine VM that migrated into the first subnet, the acquiring unit is specifically implemented as: Obtaining the address resolution protocol ARP request packet from the second subnet, and broadcasting the ARP request packet on the first subnet through the output unit, the ARP request packet carrying the IP address information of the VM; obtaining the VM according to the The ARP response packet returned by the ARP request packet, the ARP response packet carries the MAC address information of the VM; obtain the address information of the VM according to the ARP request packet and the ARP response packet, and the address information of the VM includes the IP address of the VM address and the MAC address of the VM; correspondingly, the output unit is also used to broadcast and send the ARP request packet on the first subnet.
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,在获取与该VM通信的对端节点CN的地址信息,该获取单元具体实现为:获取经过该网关到达该VM的数据包,该数据包携带有该CN的IP地址信息;根据该数据包获取该CN的地址信息,该CN的地址信息包括该CN的IP地址信息。In combination with the second possible implementation of the second aspect, in the third possible implementation, when obtaining the address information of the peer node CN communicating with the VM, the obtaining unit is specifically implemented as: obtaining The data packet of the VM, the data packet carries the IP address information of the CN; the address information of the CN is obtained according to the data packet, and the address information of the CN includes the IP address information of the CN.
结合第二方面或第二方面的第一种可能的实现方式至第二方面的第三种可能的实现方式中任一种可能的实现方式,在第四种可能的实现方式中,具体实现为:该通道建立请求消息携带该通道的类型、该网关的IP地址信息和端口信息。Combining the second aspect or any possible implementation manner of the first possible implementation manner of the second aspect to the third possible implementation manner of the second aspect, in the fourth possible implementation manner, the specific implementation is as : The channel establishment request message carries the type of the channel, the IP address information and port information of the gateway.
基于以上技术方案,大二层网络中虚拟机热迁移后的路由配置方法和网关,通过获取热迁移至网关所在子网的VM的地址信息及与VM通信的CN的地址信息,并向CN发送通道建立请求消息以建立网关到CN的通道并将通道配置到CN至VM之间的路由,缩短了CN至VM之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。Based on the above technical solutions, the routing configuration method and gateway after the live migration of virtual machines in a large layer 2 network obtain the address information of the VM that is live migrated to the subnet where the gateway is located and the address information of the CN that communicates with the VM, and send it to the CN The channel establishment request message is used to establish the channel from the gateway to the CN and configure the channel to the route between the CN and the VM, which shortens the routing path between the CN and the VM, and can reduce the communication after the live migration of the VM in the large layer 2 network to a certain extent Delay.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例虚拟机热迁移前的应用场景示意图。FIG. 1 is a schematic diagram of an application scenario before virtual machine live migration according to an embodiment of the present invention.
图2是本发明实施例虚拟机热迁移后的应用场景示意图。FIG. 2 is a schematic diagram of an application scenario after virtual machine live migration according to an embodiment of the present invention.
图3是本发明实施例大二层网络虚拟机热迁移后的路由配置方法的一种流程示意图。FIG. 3 is a schematic flowchart of a routing configuration method after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention.
图4是本发明实施例大二层网络虚拟机热迁移后的路由配置方法的另一种流程示意图。FIG. 4 is another schematic flowchart of a routing configuration method after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention.
图5是本发明实施例大二层网络虚拟机热迁移后请求建立通道的应用场景示意图。FIG. 5 is a schematic diagram of an application scenario in which a virtual machine in a large Layer 2 network requests channel establishment after hot migration according to an embodiment of the present invention.
图6是本发明实施例大二层网络虚拟机热迁移后的路由配置效果示意图。FIG. 6 is a schematic diagram of routing configuration effects after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention.
图7是本发明实施例大二层网络虚拟机热迁移后的通信方法的交互流程图。FIG. 7 is an interaction flowchart of a communication method after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention.
图8是本发明实施例网关的结构示意图。Fig. 8 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
图9是本发明实施例另一网关的结构示意图。Fig. 9 is a schematic structural diagram of another gateway according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
为了方便理解本发明实施例,首先在此介绍本发明实施例描述中会引入的几个要素。In order to facilitate understanding of the embodiments of the present invention, several elements that will be introduced in the description of the embodiments of the present invention are firstly introduced here.
为了方便理解本发明实施例,首先在此介绍本发明实施例描述中会引入的几个要素:In order to facilitate the understanding of the embodiments of the present invention, here are several elements that will be introduced in the description of the embodiments of the present invention:
虚拟机VM,指通过虚拟机软件可以在一台物理计算机上模拟出一台或者多台虚拟的计算机,而这些虚拟机就像真正的计算机那样进行工作,虚拟机上可以安装操作系统和应用程序,虚拟机还可访问网络资源。对于在虚拟机中运行的应用程序而言,虚拟机就像是在真正的计算机中进行工作。Virtual machine VM means that one or more virtual computers can be simulated on a physical computer through virtual machine software, and these virtual machines work like real computers, and operating systems and applications can be installed on virtual machines , the virtual machine can also access network resources. To the applications running in the virtual machine, the virtual machine looks like working on a real computer.
大二层网络技术,是指利用隧道等技术,使VLAN可以跨越互联网协议(Internet Protocol,IP)网络,实现二层网络互联互通的技术。另外,本发明中提到的大二层网络技术,指使用IP网络互联技术,实现跨越三层网络的二层扩展网络技术,包括但不限于虚拟扩展局域网(Virtual eXtensibleLocal Area Network,VxLAN)技术、通用路由封装网络虚拟化(NetworkVirtualization using Generic Routing Encapsulation,NVGRE)技术、覆盖网络传输虚拟化(Overlay Transport Virtualization,OTV)等。Large Layer 2 network technology refers to the technology that uses technologies such as tunnels to enable VLANs to cross the Internet Protocol (IP) network and realize Layer 2 network interconnection and intercommunication. In addition, the large layer-2 network technology mentioned in the present invention refers to the use of IP network interconnection technology to realize the layer-2 extended network technology across the layer-3 network, including but not limited to virtual extended local area network (Virtual eXtensibleLocal Area Network, VxLAN) technology, Generic Routing Encapsulation Network Virtualization (NetworkVirtualization using Generic Routing Encapsulation, NVGRE) technology, Overlay Transport Virtualization (Overlay Transport Virtualization, OTV), etc.
热迁移(live migration),指VM在不同的物理主机之间迁移的过程。迁移过程中VM不掉电,迁移后VM的媒体接入控制((Media Access Control,MAC)地址和IP地址保持不变。Live migration refers to the process of migrating a VM between different physical hosts. During the migration process, the VM is not powered off, and the Media Access Control (MAC) address and IP address of the VM remain unchanged after migration.
traffic trombone现象,是指网络内部的信息往返流动。在云计算环境里VM热迁移后,与其通信的CN会将数据先发到VM原网络,再经过大二层网络内部路由到VM,形成通信路径上一个大的绕弯,导致通信延迟增加等问题。The traffic trombone phenomenon refers to the back and forth flow of information within the network. After VM hot migration in cloud computing environment, the CN that communicates with it will first send the data to the original VM network, and then route to the VM through the internal routing of the large layer 2 network, forming a large detour on the communication path, resulting in increased communication delays and other issues .
网关(Gateway,GW),是一个网络连接到另一个网络的“关口”,又称网间连接器、协议转换器。网关在传输层上以实现网络互连,是最复杂的网络互连设备,仅用于两个高层协议不同的网络互连。网关既可以用于广域网互连,也可以用于局域网互连。网关是一种充当转换重任的计算机系统或设备。在使用不同的通信协议、数据格式或语言,甚至体系结构完全不同的两种系统之间,网关是一个翻译器。与网桥只是简单地传达信息不同,网关对收到的信息要重新打包,以适应目的系统的需求。同时,网关也可以提供过滤和安全功能。A gateway (Gateway, GW) is a "gateway" that connects one network to another network, also known as an Internet connector or a protocol converter. The gateway implements network interconnection on the transport layer and is the most complex network interconnection device, which is only used for the interconnection of two networks with different high-level protocols. Gateways can be used for both WAN interconnection and LAN interconnection. A gateway is a computer system or device that acts as a switch. A gateway is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. Unlike bridges, which simply convey information, gateways repackage received information to suit the needs of the destination system. At the same time, the gateway can also provide filtering and security functions.
图1是本发明实施例虚拟机热迁移前的应用场景示意图。图1中,虚拟机(Virtual Machine,VM)108处于第二子网中,通过GW103经路由器102与对端节点(Corresponding Node,CN)101通信。图1中,路由器102是一个泛指的概念,指代网络的路由器。GW103为第二子网中用于与第二子网的外部网络交互数据的网关。第二子网的外部网络,在图1中可以是第一子网或CN101所在的子网。VM108准备从第二子网迁移至第一子网。这里的第二子网可以理解为源子网,第一子网可以理解为目标子网。FIG. 1 is a schematic diagram of an application scenario before virtual machine live migration according to an embodiment of the present invention. In FIG. 1 , a virtual machine (Virtual Machine, VM) 108 is in the second subnet, and communicates with a corresponding node (Corresponding Node, CN) 101 through a router 102 through a GW 103 . In FIG. 1 , router 102 is a general concept, referring to a router of a network. GW103 is a gateway in the second subnet for exchanging data with the external network of the second subnet. The external network of the second subnet may be the first subnet or the subnet where CN101 is located in FIG. 1 . VM 108 is ready to migrate from the second subnet to the first subnet. The second subnet here can be understood as a source subnet, and the first subnet can be understood as a target subnet.
图2是本发明实施例虚拟机热迁移后的应用场景示意图。如图2所示,VM108从第二子网热迁移至第一子网后,与VM108通信的CN101向VM发送的数据包会仍然先抵达第二子网,经过大二层网络的内部的ARP和路由机制,抵达VM108所在的第一子网。如图2所示,CN101发送的数据包可经过路由器102、GW103、第二子网VxLAN代理节点(VxLAN Tunnel EndPoint,VTEP)104、路由器105、VTEP106、GW107,到达VM108。图2中,路由器102和路由器105是一个泛指的概念,指代网络上的路由器。GW103为第二子网中用于与第二子网的外部网络交互数据的网关;GW107为第一子网中用于与第一子网的外部网络交互数据的网关。第二子网的外部网络在图2中可以是第一子网或CN101所在的子网。第一子网的外部网络在图2中可以是第二子网或CN101所在的子网。VM108从第二子网迁移至第一子网后,第二子网可通过VTEP104与VTEP106的隧道建立与VM108的连接。FIG. 2 is a schematic diagram of an application scenario after virtual machine live migration according to an embodiment of the present invention. As shown in Figure 2, after VM108 is hot-migrated from the second subnet to the first subnet, the data packets sent by CN101 communicating with VM108 to the VM will still arrive at the second subnet first, and go through the internal ARP of the large layer-2 network. and the routing mechanism to reach the first subnet where the VM 108 is located. As shown in Figure 2, the data packet sent by CN101 can reach VM108 through router 102, GW103, second subnet VxLAN proxy node (VxLAN Tunnel EndPoint, VTEP) 104, router 105, VTEP106, and GW107. In FIG. 2 , router 102 and router 105 are a general concept, referring to routers on the network. GW103 is a gateway in the second subnet for exchanging data with the external network of the second subnet; GW107 is a gateway for exchanging data with the external network of the first subnet in the first subnet. The external network of the second subnet in FIG. 2 may be the first subnet or the subnet where CN101 is located. The external network of the first subnet in FIG. 2 may be the second subnet or the subnet where CN101 is located. After VM 108 migrates from the second subnet to the first subnet, the second subnet can establish a connection with VM 108 through the tunnel between VTEP 104 and VTEP 106 .
当然,本发明中,图1和图2所示的场景仅仅是一个示意图,并不表示本发明的实施例应用的场景中仅限于图中所示的网络节点,也可以对图中所示的节点作一定的添加、删除或替换,只要不影响本发明实施例方法的运行,本发明实施例在此并不作限制。Of course, in the present invention, the scenarios shown in Fig. 1 and Fig. 2 are only schematic diagrams, which does not mean that the application scenarios of the embodiments of the present invention are limited to the network nodes shown in the figure, and the network nodes shown in the figure can also be used Nodes may be added, deleted or replaced, as long as the operation of the method in the embodiment of the present invention is not affected, the embodiment of the present invention is not limited here.
另外,本发明任何地方提到的第二子网均指VM热迁移前所在的子网;本发明任何地方提到的第一子网均指VM热迁移后所在的子网。In addition, the second subnet mentioned anywhere in the present invention refers to the subnet where the VM resides before live migration; the first subnet mentioned anywhere in the present invention refers to the subnet where the VM resides after live migration.
另外,本发明中,与VM通信的CN的具体形态,可以是PC机、虚拟机或其它形态,本发明实施例在此不作限制。In addition, in the present invention, the specific form of the CN communicating with the VM may be a PC, a virtual machine or other forms, which are not limited in this embodiment of the present invention.
图3是本发明实施例大二层网络虚拟机热迁移后的路由配置方法的一种流程示意图。图3的方法由网关执行。FIG. 3 is a schematic flowchart of a routing configuration method after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention. The method in Fig. 3 is executed by the gateway.
301,网关获取迁入第一子网的VM的地址信息及与该VM通信的对端节点CN的地址信息。301. The gateway obtains the address information of the VM migrating into the first subnet and the address information of the peer node CN communicating with the VM.
其中,该网关为第一子网中用于与第一子网的外部网络交互数据的网关,该VM从第二子网热迁移至第一子网。当VM热迁移至第一子网时,IP地址和MAC地址不变。Wherein, the gateway is a gateway in the first subnet for exchanging data with an external network of the first subnet, and the VM is hot migrated from the second subnet to the first subnet. When the VM is hot-migrated to the first subnet, the IP address and MAC address remain unchanged.
以图2为例,第二子网可通过第二子网的VTEP104与第一子网的VTEP106的隧道建立与VM108的连接。第一子网的GW107可检查VTEP104与VTEP106的隧道承载的数据包,发现迁入第一子网的虚拟机VM108,并获取与VM108通信的CN101的地址信息。Taking FIG. 2 as an example, the second subnet can establish a connection with the VM 108 through the tunnel between the VTEP 104 of the second subnet and the VTEP 106 of the first subnet. The GW107 of the first subnet can check the data packets carried by the tunnel between the VTEP104 and the VTEP106, discover the virtual machine VM108 migrated into the first subnet, and obtain the address information of the CN101 communicating with the VM108.
302,该网关根据该CN的地址信息向该CN发送通道建立请求消息。302. The gateway sends a channel establishment request message to the CN according to the address information of the CN.
其中,该通道建立请求消息用于请求建立该VM与该CN的通道,并将通道配置到该CN至该VM的路由上,该通道用于传输CN与VM之间的数据包。Wherein, the channel establishment request message is used to request to establish a channel between the VM and the CN, and configure the channel on the route from the CN to the VM, and the channel is used to transmit data packets between the CN and the VM.
网关根据该CN的地址信息向该CN发送通道建立请求消息的场景可如图5所示。图5是本发明实施例虚拟机热迁移后请求建立通道的场景示意图。图5中,GW107经由路由器105向CN101发送通道建立请求,以请求建立GW107与CN101之间的通道并将该通道配置到GW107与CN101之间的路由上。图5中,虽然VTEP104与VTEP106的隧道也经过路由器105,但并不表示VTEP104与VTEP106的隧道、GW107与CN101之间的通道二者之间必然包含相同的路由器。A scenario in which the gateway sends a channel establishment request message to the CN according to the address information of the CN may be shown in FIG. 5 . FIG. 5 is a schematic diagram of a scenario where a virtual machine requests channel establishment after live migration according to an embodiment of the present invention. In FIG. 5 , GW107 sends a tunnel establishment request to CN101 via router 105 to request to establish a tunnel between GW107 and CN101 and to configure the tunnel on the route between GW107 and CN101. In Fig. 5, although the tunnel between VTEP104 and VTEP106 also passes through router 105, it does not mean that the tunnel between VTEP104 and VTEP106 and the channel between GW107 and CN101 necessarily include the same router.
可见,本发明实施例中,网关通过获取热迁移至网关所在子网的VM的地址信息及与VM通信的CN的地址信息,并向CN发送通道建立请求消息以建立网关到CN的通道并将通道配置到CN至VM之间的路由,缩短了CN至VM之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that, in the embodiment of the present invention, the gateway obtains the address information of the VM that is live-migrated to the subnet where the gateway is located and the address information of the CN that communicates with the VM, and sends a channel establishment request message to the CN to establish a channel from the gateway to the CN and The channel is configured to route between CN and VM, which shortens the routing path between CN and VM, and can reduce the communication delay after VM live migration in a large Layer 2 network to a certain extent.
图4是本发明实施例大二层网络虚拟机热迁移后的路由配置方法的另一种流程示意图。FIG. 4 is another schematic flowchart of a routing configuration method after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention.
可选地,如图4所示,在该网关根据该CN的地址信息向该CN发送通道建立请求消息之后,该方法还可包括:Optionally, as shown in FIG. 4, after the gateway sends a channel establishment request message to the CN according to the address information of the CN, the method may further include:
303,该网关接收该CN根据该通道建立请求消息发送的通道建立确认消息。303. The gateway receives a channel establishment confirmation message sent by the CN according to the channel establishment request message.
CN接收到通道建立请求消息后,如果同意建立通道,则配置通道在CN侧的端口,并向网关发送通道建立确认消息,指示网关配置通道在网关侧的端口。After the CN receives the channel establishment request message, if it agrees to establish the channel, it configures the port on the CN side of the channel, and sends a channel establishment confirmation message to the gateway, instructing the gateway to configure the port on the gateway side of the channel.
304,该网关根据该通道建立确认消息配置该通道在该网关的端口。304. The gateway configures the channel on the port of the gateway according to the channel establishment confirmation message.
网关根据通道建立确认消息,完成通道在网关侧的配置。The gateway establishes a confirmation message according to the channel, and completes the configuration of the channel on the gateway side.
305,该网关将该通道配置到该VM至该CN的路由上。305. The gateway configures the channel on the route from the VM to the CN.
网关建立通道后,可将该通道配置到VM至CN之间的路由上。此时,CN与VM通信的效果可如图6所示。图6是本发明实施例大二层网络虚拟机热迁移后的路由配置效果示意图。图6中,CN101与VM108之间的数据包通过CN101与GW107的通道进行传输,不再经过第二子网。After the gateway establishes a channel, the channel can be configured on the route between the VM and the CN. At this time, the effect of the communication between the CN and the VM can be shown in FIG. 6 . FIG. 6 is a schematic diagram of routing configuration effects after live migration of a virtual machine in a large Layer 2 network according to an embodiment of the present invention. In Fig. 6, the data packet between CN101 and VM108 is transmitted through the channel between CN101 and GW107, and no longer passes through the second subnet.
可见,本发明实施例中,网关根据通道确认消息配置通道在网关侧的端口,并将该通道配置到该VM至该CN的路由上,缩短了VM至CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that in the embodiment of the present invention, the gateway configures the port of the channel on the gateway side according to the channel confirmation message, and configures the channel on the route from the VM to the CN, which shortens the routing path between the VM and the CN, and can to a certain extent To reduce the communication delay after VM live migration on a large Layer 2 network.
可选地,步骤301中,该网关获取迁入第一子网的VM的地址信息可包括:该网关获取来自该第二子网的地址解析协议(Address ResolutionProtocol,ARP)请求包并在该第一子网广播发送该ARP请求包,该网关获取该VM根据该ARP请求包所返回的ARP响应包,该网关根据该ARP请求包和该ARP响应包获取该VM的地址信息。其中,该ARP请求包可携带有该VM的IP地址信息,该ARP响应包可携带有该VM的MAC地址信息,该VM的地址信息可包括该VM的IP地址信息和该VM的MAC地址信息。网关在获取VM对ARP请求包的ARP响应包后,可确认该VM为新迁入第一子网的VM,并获取该VM的地址信息(包括IP地址和MAC地址)。同时,第二子网通过ARP流程,可建立第二子网与VM通信的路由。Optionally, in step 301, the gateway obtaining the address information of the VM relocated to the first subnet may include: the gateway obtaining an Address Resolution Protocol (Address Resolution Protocol, ARP) request packet from the second subnet and A subnet broadcasts the ARP request packet, the gateway obtains the ARP response packet returned by the VM according to the ARP request packet, and the gateway obtains the address information of the VM according to the ARP request packet and the ARP response packet. Wherein, the ARP request packet may carry the IP address information of the VM, the ARP response packet may carry the MAC address information of the VM, and the address information of the VM may include the IP address information of the VM and the MAC address information of the VM . After the gateway obtains the ARP response packet of the VM to the ARP request packet, it can confirm that the VM is a VM newly relocated to the first subnet, and obtain the address information (including IP address and MAC address) of the VM. At the same time, the second subnet can establish a communication route between the second subnet and the VM through the ARP process.
进一步地,该网关获取与该VM通信的CN的地址信息可包括:该网关获取经过该网关到达该VM的数据包,该网关根据该数据包获取该CN的地址信息。其中,该数据包可携带有该CN的IP地址信息,该CN的地址信息可包括该CN的IP地址信息。当然,该数据包中还可携带该VM的IP地址信息和/或该VM的MAC地址信息。Further, the gateway acquiring the address information of the CN communicating with the VM may include: the gateway acquiring a data packet passing through the gateway and arriving at the VM, and the gateway acquiring the CN address information according to the data packet. Wherein, the data packet may carry the IP address information of the CN, and the address information of the CN may include the IP address information of the CN. Certainly, the data packet may also carry the IP address information of the VM and/or the MAC address information of the VM.
可选地,该通道建立请求可携带该通道的类型、该网关的IP地址信息和端口信息。Optionally, the channel establishment request may carry the channel type, IP address information and port information of the gateway.
可见,本发明实施例中,网关通过获取热迁移至网关所在子网的VM的地址信息及与VM通信的CN的地址信息,建立与CN之间的通道并将该通道配置到VM与CN之间的路由上,缩短了VM与CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that, in the embodiment of the present invention, the gateway establishes a channel with the CN by obtaining the address information of the VM that is live-migrated to the subnet where the gateway is located and the address information of the CN that communicates with the VM, and configures the channel between the VM and the CN. In terms of routing between VMs and CNs, the routing path between VMs and CNs is shortened, which can reduce the communication delay after VM hot migration in a large Layer 2 network to a certain extent.
下面将结合具体实施例,对本发明实施例的方法作进一步的说明。The method in the embodiment of the present invention will be further described below in conjunction with specific embodiments.
图7是本发明实施例通信方法具体流程示意图,应用于如图1、图2、图5或图6所述的应用场景中。其中,第一子网GW为第一子网中用于与第一子网外部网络交互数据的网关,第二子网GW为第二子网中用于与第二子网外部网络交互数据的网关。FIG. 7 is a schematic flowchart of a communication method according to an embodiment of the present invention, which is applied to the application scenarios described in FIG. 1 , FIG. 2 , FIG. 5 or FIG. 6 . Wherein, the first subnet GW is a gateway in the first subnet for exchanging data with the external network of the first subnet, and the second subnet GW is a gateway for exchanging data with the external network of the second subnet in the second subnet. gateway.
701,VM在第二子网上与CN通信。701. The VM communicates with the CN on the second subnet.
702,VM从第二子网热迁移至第一子网。702. The VM is hot-migrated from the second subnet to the first subnet.
其中,VM的IP地址和MAC地址保持不变。Among them, the IP address and MAC address of the VM remain unchanged.
703,第二子网GW向第一子网GW发送ARP请求包。703. The second subnet GW sends an ARP request packet to the first subnet GW.
VM从第二子网热迁移至第一网关后,第二子网可通过第二子网GW向第一子网GW发起ARP流程,以获取第二子网GW至VM的路由的下一跳地址。具体地,第二子网GW可向第一子网GW发送ARP请求包,该ARP请求包中携带VM的IP地址信息。以图2为例,GW103可通过VTEP104与VTEP106之间的隧道向GW107发送ARP请求包。此时,ARP请求包中目标IP地址和目标MAC地址为VM的IP地址和全0的MAC地址。After the VM is hot-migrated from the second subnet to the first gateway, the second subnet can initiate an ARP process to the first subnet GW through the second subnet GW to obtain the next hop of the route from the second subnet GW to the VM address. Specifically, the second subnet GW may send an ARP request packet to the first subnet GW, and the ARP request packet carries the IP address information of the VM. Taking FIG. 2 as an example, GW103 can send an ARP request packet to GW107 through the tunnel between VTEP104 and VTEP106. At this time, the target IP address and target MAC address in the ARP request packet are the IP address of the VM and the MAC address of all 0s.
704,第一子网GW在第一子网内广播发送ARP请求包。704. The first subnet GW broadcasts and sends the ARP request packet in the first subnet.
第一子网GW可截获来自第二子网的ARP请求包后,并在第一子网内广播该ARP请求包。The first subnet GW may intercept the ARP request packet from the second subnet, and broadcast the ARP request packet in the first subnet.
705,VM返回ARP请求包的ARP响应包至第一子网GW。705. The VM returns the ARP response packet of the ARP request packet to the first subnet GW.
VM接收到第一子网GW广播的ARP请求包后,提取ARP请求包中携带的目标主机的IP地址。如果VM发现该IP地址与自身的IP地址一致,则确认该ARP请求包是发给该VM的。此时,VM可向第一子网GW返回该ARP请求包的ARP响应包,该ARP响应包中携带VM的MAC地址信息。After receiving the ARP request packet broadcast by the first subnet GW, the VM extracts the IP address of the target host carried in the ARP request packet. If the VM finds that the IP address is consistent with its own IP address, it is confirmed that the ARP request packet is sent to the VM. At this time, the VM may return the ARP response packet of the ARP request packet to the first subnetwork GW, and the ARP response packet carries the MAC address information of the VM.
此时,第一子网GW可根据ARP请求包及ARP请求包的ARP响应包判断新迁入第一子网的VM,并获取该VM的IP地址信息及MAC地址信息。At this time, the GW of the first subnet can determine the VM newly moved into the first subnet according to the ARP request packet and the ARP response packet of the ARP request packet, and obtain the IP address information and MAC address information of the VM.
其中,第一子网GW根据ARP请求包及ARP请求包的ARP响应包获取VM的IP地址信息及MAC地址信息的方法可以参考现有技术来实现,本发明实施例在此不再赘述。Wherein, the method for the first subnetwork GW to obtain the IP address information and MAC address information of the VM according to the ARP request packet and the ARP response packet of the ARP request packet can be implemented with reference to the existing technology, and the embodiments of the present invention will not be repeated here.
706,第一子网GW向第二子网GW转发VM的ARP响应包。706. The first subnet GW forwards the ARP response packet of the VM to the second subnet GW.
第一子网GW向第二子网GW转发VM的ARP响应包,第二子网GW可根据ARP请求包的ARP响应包,建立第二子网至VM的路由。The first subnet GW forwards the ARP response packet of the VM to the second subnet GW, and the second subnet GW can establish a route from the second subnet to the VM according to the ARP response packet of the ARP request packet.
707,第二子网GW建立第二子网至VM的路由。707. The second subnet GW establishes a route from the second subnet to the VM.
第二子网GW接收到VM发送的ARP响应包后,可根据该ARP响应包建立第二子网至VM的路由。After receiving the ARP response packet sent by the VM, the GW of the second subnet may establish a route from the second subnet to the VM according to the ARP response packet.
708,CN发送给VM的数据包通过第二子网GW发送。708. The data packet sent by the CN to the VM is sent through the second subnetwork GW.
其中,该数据包可携带CN的IP地址信息。当然,该数据包指向的目标IP地址为VM的IP地址,该数据包指向的MAC地址为VM的MAC地址,第一子网GW可根据数据包的目标IP地址或目的MAC地址判断数据包是否为VM的数据包。Wherein, the data packet may carry the IP address information of the CN. Of course, the target IP address pointed to by the data packet is the IP address of the VM, and the MAC address pointed to by the data packet is the MAC address of the VM. The first subnet GW can judge whether the data packet is Packets for the VM.
709,CN发送给VM的数据包通过第一子网GW发送。709. The data packet sent by the CN to the VM is sent through the first subnet GW.
710,第一子网GW获取CN的地址信息。710. The first subnet GW obtains the address information of the CN.
第一子网GW根据CN发送给VM的数据包,可获取CN的地址信息。该CN的地址信息可包括CN的IP地址信息。The first subnetwork GW can obtain the address information of the CN according to the data packet sent by the CN to the VM. The address information of the CN may include the IP address information of the CN.
第一子网GW根据CN发送给VM的数据包获取CN的地址信息的方法可以参考现有技术来实现,本发明实施例在此不再赘述。The method for the first subnetwork GW to obtain the address information of the CN according to the data packet sent by the CN to the VM can be implemented with reference to the prior art, and the embodiments of the present invention will not be repeated here.
当然,第一子网GW可向VM转发该数据包,本发明实施例在此不再赘述。Certainly, the first subnetwork GW may forward the data packet to the VM, which will not be repeated in this embodiment of the present invention.
711,第一子网GW向CN发送通道建立请求。711. The first subnetwork GW sends a tunnel establishment request to the CN.
以图5为例,GW107可根据已提取的CN101的地址信息,向CN101发起通道建立请求。Taking Fig. 5 as an example, GW107 may initiate a channel establishment request to CN101 according to the extracted address information of CN101.
第一子网GW根据CN的IP地址,可向CN发送通道建立请求。其中,该通道建立请求中可携带以下信息:该通道的类型、该网关的IP地址信息和端口信息。According to the IP address of the CN, the first subnet GW can send a channel establishment request to the CN. Wherein, the channel establishment request may carry the following information: the type of the channel, the IP address information and port information of the gateway.
通道的类型,包括但不限于IP隧道、UDP隧道、MAC隧道,应用层网关(Application Layer Gateway,ALG)以及附带协议翻译的网络地址转换器(Network Address Translation-Protocol,NAT-PT)等类型。Types of tunnels, including but not limited to IP tunnels, UDP tunnels, MAC tunnels, Application Layer Gateways (Application Layer Gateway, ALG), and Network Address Translation-Protocol (NAT-PT) with protocol translation.
可选地,该通道建立请求还可携带该VM的IP地址信息。Optionally, the channel establishment request may also carry the IP address information of the VM.
712,CN根据通道建立请求配置通道在CN的端口,并将通道配置到CN至VM的路由。712. The CN configures the port of the channel on the CN according to the channel establishment request, and configures the channel to a route from the CN to the VM.
CN在接收到通道建立请求后,可根据CN的当前状态判断是否同意建立通道。After the CN receives the channel establishment request, it can judge whether to agree to establish the channel according to the current state of the CN.
如果CN拒绝建立通道,则CN与VM的通信路由保持不变,本发明实施例在此不再赘述。If the CN refuses to establish the channel, the communication route between the CN and the VM remains unchanged, and the embodiments of the present invention will not be repeated here.
如果CN同意建立通道,则建立该通道,配置通道在CN的端口,并将通道加入CN的路由表项,并将通道的路由表项配置到CN至VM的路由中。If the CN agrees to establish the channel, establish the channel, configure the port of the channel on the CN, add the channel to the routing table entry of the CN, and configure the routing table item of the channel to the route from the CN to the VM.
713,CN向第一子网GW发送通道建立确认消息。713. The CN sends a tunnel establishment confirmation message to the first subnetwork GW.
CN完成通道在CN侧的配置后,可向第一子网GW发送通道建立请求的通道建立确认消息,该通道建立确认消息指示第一子网GW完成通道在第一子网GW侧的配置。After the CN completes the channel configuration on the CN side, it may send a channel establishment confirmation message to the first subnet GW requesting channel establishment, and the channel establishment confirmation message instructs the first subnet GW to complete the channel configuration on the first subnet GW side.
714,第一子网GW配置通道在第一子网GW的端口,并将通道配置到VM至CN的路由。714. The first subnet GW configures the channel on the port of the first subnet GW, and configures the channel to the route from the VM to the CN.
第一子网GW根据通道建立确认消息配置通道在第一子网GW侧的端口,并将通道加入第一子网GW的路由表项,并将通道的路由表项配置到VM至CN的路由中。The first subnet GW configures the port of the channel on the side of the first subnet GW according to the channel establishment confirmation message, and adds the channel to the routing table item of the first subnet GW, and configures the routing table item of the channel to the route from VM to CN middle.
715,CN通过通道与VM通信。715. The CN communicates with the VM through the channel.
以图6为例,CN101与VM108之间的数据包通过CN101与GW107的通道进行传输,不再经过第二子网。Taking Fig. 6 as an example, the data packets between CN101 and VM108 are transmitted through the channel between CN101 and GW107, and no longer pass through the second subnet.
可见,本发明实施例中,第一子网GW通过建立第一子网GW与CN之间的通道并将该通道配置到VM与CN之间的路由上,缩短了VM与CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that in the embodiment of the present invention, the first subnet GW shortens the route between the VM and the CN by establishing the channel between the first subnet GW and the CN and configuring the channel on the route between the VM and the CN. The path can reduce the communication delay after VM live migration in a large Layer 2 network to a certain extent.
图8是本发明实施例网关800的结构示意图。网关800可包括:获取单元801和输出单元802。FIG. 8 is a schematic structural diagram of a gateway 800 according to an embodiment of the present invention. The gateway 800 may include: an acquisition unit 801 and an output unit 802 .
获取单元801,用于获取迁入第一子网的虚拟机VM的地址信息及与该VM通信的对端节点CN的地址信息。其中,网关800该第一子网中用于与该第一子网外部网络交互数据的网关,该VM从该第二子网热迁移至该第一子网。The obtaining unit 801 is configured to obtain address information of a virtual machine VM migrated into the first subnet and address information of a peer node CN communicating with the VM. Wherein, the gateway 800 is a gateway in the first subnet for exchanging data with an external network of the first subnet, and the VM is hot migrated from the second subnet to the first subnet.
输出单元802,用于根据该CN的地址信息向该CN发送通道建立请求消息。其中,该通道建立请求消息可请求建立网关800与该CN之间的通道,并将该通道更新到该CN至该VM的路由上,该通道用于传输该CN与该VM之间的数据包。The output unit 802 is configured to send a channel establishment request message to the CN according to the address information of the CN. Wherein, the channel establishment request message may request to establish a channel between the gateway 800 and the CN, and update the channel to the route from the CN to the VM, and the channel is used to transmit data packets between the CN and the VM .
本发明实施例中,网关800通过获取热迁移至网关800所在子网的VM的地址信息及与VM通信的CN的地址信息,并向CN发送通道建立请求消息以建立网关800到CN的通道,并将该通道配置到CN至VM之间的路由,缩短了CN至VM之间的路由路径,一定程度上减少了大二层网络VM热迁移后的通信延迟。In the embodiment of the present invention, the gateway 800 obtains the address information of the VM that is live migrated to the subnet where the gateway 800 is located and the address information of the CN that communicates with the VM, and sends a channel establishment request message to the CN to establish a channel from the gateway 800 to the CN. And configure the channel to the route between CN and VM, which shortens the routing path between CN and VM, and reduces the communication delay after VM live migration in a large layer 2 network to a certain extent.
可选地,网关800还可包括输入单元803,配置单元804。Optionally, the gateway 800 may further include an input unit 803 and a configuration unit 804 .
输入单元803,用于接收该CN根据该通道建立请求消息发送的通道建立确认消息。The input unit 803 is configured to receive a channel establishment confirmation message sent by the CN according to the channel establishment request message.
配置单元804,用于根据该通道建立确认消息配置该通道在网关800的端口。The configuration unit 804 is configured to configure the port of the channel on the gateway 800 according to the channel establishment confirmation message.
配置单元804还用于将该通道配置到该VM至该CN的路由上。The configuration unit 804 is also configured to configure the channel on the route from the VM to the CN.
可见,本发明实施例中,网关800根据通道确认消息配置通道在网关侧的端口,并将该通道配置到该VM至该CN的路由上,缩短了VM至CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that in the embodiment of the present invention, the gateway 800 configures the port of the channel on the gateway side according to the channel confirmation message, and configures the channel on the route from the VM to the CN, which shortens the routing path between the VM and the CN, and can ensure Minimize the communication delay after VM live migration in a large Layer 2 network.
可选地,在获取迁入第一子网的VM的地址信息,获取单元801具体用于获取来自该第二子网的ARP请求包并通过输出单元802在该第一子网广播发送该ARP请求包,获取该VM根据该ARP请求包所返回的ARP响应包,并根据该ARP请求包和该ARP响应包获取该VM的地址信息。其中,该ARP请求包可携带有该VM的IP地址信息,该ARP响应包可携带有该VM的MAC地址信息,该VM的地址信息可包括该VM的IP地址信息和该VM的MAC地址信息;Optionally, after obtaining the address information of the VM that migrated into the first subnet, the obtaining unit 801 is specifically configured to obtain the ARP request packet from the second subnet and broadcast the ARP request packet on the first subnet through the output unit 802 The request packet is used to obtain the ARP response packet returned by the VM according to the ARP request packet, and to obtain the address information of the VM according to the ARP request packet and the ARP response packet. Wherein, the ARP request packet may carry the IP address information of the VM, the ARP response packet may carry the MAC address information of the VM, and the address information of the VM may include the IP address information of the VM and the MAC address information of the VM ;
相应地,输出单元802还用于在该第一子网广播发送该ARP请求包。Correspondingly, the output unit 802 is further configured to broadcast and send the ARP request packet on the first subnet.
可选地,在获取与该VM通信的CN的地址信息,获取单元801具体用于获取经过网关800到达该VM的数据包,并根据该数据包获取该CN的地址信息。其中,该数据包可携带有该CN的IP地址信息,该CN的地址信息可包括该CN的IP地址信息。Optionally, when obtaining the address information of the CN communicating with the VM, the obtaining unit 801 is specifically configured to obtain a data packet arriving at the VM through the gateway 800, and obtain the address information of the CN according to the data packet. Wherein, the data packet may carry the IP address information of the CN, and the address information of the CN may include the IP address information of the CN.
可选地,该通道建立请求消息携带该通道的类型、网关800的IP地址信息和端口信息。Optionally, the channel establishment request message carries the channel type, IP address information and port information of the gateway 800 .
可见,本发明实施例中,网关800通过获取热迁移至网关800所在子网的VM的地址信息及与VM通信的CN的地址信息,建立与CN之间的通道并将该通道配置到VM与CN之间的路由上,缩短了VM与CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。It can be seen that, in the embodiment of the present invention, the gateway 800 establishes a channel with the CN by obtaining the address information of the VM that is live-migrated to the subnet where the gateway 800 is located and the address information of the CN that communicates with the VM, and configures the channel between the VM and the CN. For routing between CNs, the routing path between VMs and CNs is shortened, which can reduce the communication delay after VM hot migration in a large Layer 2 network to a certain extent.
图9是本发明实施例网关900的结构示意图。网关900可包括输入设备901、输出设备904、处理器902和存储器903。FIG. 9 is a schematic structural diagram of a gateway 900 according to an embodiment of the present invention. The gateway 900 may include an input device 901 , an output device 904 , a processor 902 and a memory 903 .
存储器903可以包括只读存储器和随机存取存储器,并向处理器902提供指令和数据。存储器903的一部分还可以包括非易失性随机存取存储器(NVRAM)。The memory 903 may include read-only memory and random-access memory, and provides instructions and data to the processor 902 . A portion of memory 903 may also include non-volatile random access memory (NVRAM).
存储器903存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:The memory 903 stores the following elements, executable modules or data structures, or their subsets, or their extended sets:
操作指令:包括各种操作指令,用于实现各种操作。Operation instructions: include various operation instructions for realizing various operations.
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。Operating system: includes various system programs for implementing various basic services and processing hardware-based tasks.
在本发明实施例中,处理器902通过调用存储器903存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:In the embodiment of the present invention, the processor 902 executes the following operations by calling the operation instruction stored in the memory 903 (the operation instruction can be stored in the operating system):
通过输入设备901获取迁入第一子网的虚拟机VM的地址信息及与该VM通信的对端节点CN的地址信息;根据该CN的地址信息通过输出设备904向该CN发送通道建立请求消息。其中,网关900为第一子网中用于与第一子网的外部网络交互数据的网关,该VM从该第二子网热迁移至该第一子网,该通道建立请求消息可请求建立网关900与该CN的通道,并将该通道更新到该CN至该VM的路由上,该通道用于传输该CN与该VM之间的数据包。Obtain the address information of the virtual machine VM moving into the first subnet and the address information of the peer node CN communicating with the VM through the input device 901; send a channel establishment request message to the CN through the output device 904 according to the address information of the CN . Wherein, the gateway 900 is a gateway in the first subnet for exchanging data with the external network of the first subnet, the VM is hot migrated from the second subnet to the first subnet, and the channel establishment request message may request to establish The channel between the gateway 900 and the CN, and update the channel to the route from the CN to the VM, and the channel is used to transmit data packets between the CN and the VM.
可见,本发明实施例中,网关900通过获取热迁移至网关900所在子网的VM的地址信息及与VM通信的CN的地址信息,并向CN发送通道建立请求消息以建立网关900到CN的通道,并将该通道配置到CN至VM之间的路由,缩短了CN至VM之间的路由路径,一定程度上减少了大二层网络VM热迁移后的通信延迟。It can be seen that, in the embodiment of the present invention, the gateway 900 obtains the address information of the VM that is live migrated to the subnet where the gateway 900 is located and the address information of the CN that communicates with the VM, and sends a channel establishment request message to the CN to establish a connection between the gateway 900 and the CN. Channel, and configure the channel as the route between CN and VM, shorten the routing path between CN and VM, and reduce the communication delay after VM hot migration in a large layer 2 network to a certain extent.
处理器902控制网关900的操作,处理器902还可以称为CPU(CentralProcessing Unit,中央处理单元)。存储器903可以包括只读存储器和随机存取存储器,并向处理器902提供指令和数据。存储器903的一部分还可以包括非易失性随机存取存储器(NVRAM)。具体的应用中,用户设备900的各个组件通过总线系统905耦合在一起,其中总线系统905除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统905。The processor 902 controls operations of the gateway 900, and the processor 902 may also be referred to as a CPU (Central Processing Unit, central processing unit). The memory 903 may include read-only memory and random-access memory, and provides instructions and data to the processor 902 . A portion of memory 903 may also include non-volatile random access memory (NVRAM). In a specific application, various components of the user equipment 900 are coupled together through a bus system 905, where the bus system 905 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for clarity of illustration, the various buses are labeled as bus system 905 in the figure.
上述本发明实施例揭示的方法可以应用于处理器902中,或者由处理器902实现。处理器902可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器902中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器902可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器903,处理器902读取存储器903中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 902 or implemented by the processor 902 . The processor 902 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 902 or instructions in the form of software. The above-mentioned processor 902 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 903, and the processor 902 reads the information in the memory 903, and completes the steps of the above method in combination with its hardware.
可选地,输入设备901还可接收该CN根据该通道建立请求消息发送的通道建立确认消息;处理器902还可根据该通道建立确认消息配置该通道在网关900的端口,并可将该通道配置到该VM至该CN的路由上。Optionally, the input device 901 can also receive the channel establishment confirmation message sent by the CN according to the channel establishment request message; the processor 902 can also configure the port of the channel on the gateway 900 according to the channel establishment confirmation message, and can make the channel Configure it on the route from the VM to the CN.
本发明实施例中,网关900根据通道确认消息配置通道在网关侧的端口,并将该通道配置到该VM至该CN的路由上,缩短了VM至CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。In the embodiment of the present invention, the gateway 900 configures the port of the channel on the gateway side according to the channel confirmation message, and configures the channel on the route from the VM to the CN, which shortens the routing path between the VM and the CN, and can to a certain extent Reduce the communication delay after VM live migration on a large Layer 2 network.
可选地,在获取迁入第一子网的VM的地址信息,处理器902具体可用于获取来自该第二子网的ARP请求包,并通过输出设备904在该第一子网广播发送该ARP请求包,通过输入设备901获取该VM根据该ARP请求包所返回的ARP响应包,并根据该ARP请求包和该ARP响应包获取该VM的地址信息。其中,该ARP请求包可携带有该VM的IP地址信息,该ARP响应包可携带有该VM的MAC地址信息,该VM的地址信息可包括该VM的IP地址信息和该VM的MAC地址信息。Optionally, after obtaining the address information of the VM migrating into the first subnet, the processor 902 may be specifically configured to obtain an ARP request packet from the second subnet, and broadcast the ARP request packet on the first subnet through the output device 904. For the ARP request packet, the ARP response packet returned by the VM according to the ARP request packet is obtained through the input device 901, and the address information of the VM is obtained according to the ARP request packet and the ARP response packet. Wherein, the ARP request packet may carry the IP address information of the VM, the ARP response packet may carry the MAC address information of the VM, and the address information of the VM may include the IP address information of the VM and the MAC address information of the VM .
可选地,在获取该CN的地址信息,处理器902具体可用于通过输入设备901获取经过网关900到达该VM的数据包,并根据该数据包获取该CN的地址信息。其中,该数据包可携带有该CN的IP地址信息,该CN的地址信息可包括该CN的IP地址信息。Optionally, when obtaining the address information of the CN, the processor 902 may be specifically configured to obtain, through the input device 901, a data packet arriving at the VM via the gateway 900, and obtain the address information of the CN according to the data packet. Wherein, the data packet may carry the IP address information of the CN, and the address information of the CN may include the IP address information of the CN.
可选地,该通道建立请求消息携带该通道的类型、网关900的IP地址信息和端口信息。Optionally, the channel establishment request message carries the channel type, IP address information and port information of the gateway 900 .
本发明实施例中,网关900通过获取热迁移至网关900所在子网的VM的地址信息及与VM通信的CN的地址信息,建立与CN之间的通道并将该通道配置到VM与CN之间的路由上,缩短了VM与CN之间的路由路径,能够一定程度上减少大二层网络VM热迁移后的通信延迟。In the embodiment of the present invention, the gateway 900 establishes a channel with the CN by acquiring the address information of the VM that is live-migrated to the subnet where the gateway 900 is located and the address information of the CN that communicates with the VM, and configures the channel between the VM and the CN. In terms of routing between VMs and CNs, the routing path between VMs and CNs is shortened, which can reduce the communication delay after VM hot migration in a large Layer 2 network to a certain extent.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310211338.7A CN103346900B (en) | 2013-05-31 | 2013-05-31 | Method for configuring route after live migration of virtual machine and gateway in big double layer network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310211338.7A CN103346900B (en) | 2013-05-31 | 2013-05-31 | Method for configuring route after live migration of virtual machine and gateway in big double layer network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103346900A CN103346900A (en) | 2013-10-09 |
CN103346900B true CN103346900B (en) | 2016-12-28 |
Family
ID=49281676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310211338.7A Active CN103346900B (en) | 2013-05-31 | 2013-05-31 | Method for configuring route after live migration of virtual machine and gateway in big double layer network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103346900B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607347B (en) * | 2013-11-15 | 2017-07-28 | 华为技术有限公司 | Set up the method and controller of transmission channel |
CN103647853B (en) * | 2013-12-04 | 2018-07-03 | 华为技术有限公司 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
CN103716221B (en) * | 2013-12-10 | 2017-02-01 | 同济大学 | On-line migration method of virtual machine in wide area network under future network NDN (Named Data Network) |
US9590901B2 (en) | 2014-03-14 | 2017-03-07 | Nicira, Inc. | Route advertisement by managed gateways |
CN106134137B (en) * | 2014-03-14 | 2020-04-17 | Nicira股份有限公司 | Route advertisement for managed gateways |
CN104243265B (en) * | 2014-09-05 | 2018-01-05 | 华为技术有限公司 | A kind of gateway control method, apparatus and system based on virtual machine (vm) migration |
CN104283980B (en) | 2014-10-09 | 2018-02-09 | 新华三技术有限公司 | A kind of address resolution protocol pickup method and device |
CN105577417B (en) * | 2014-11-06 | 2019-02-22 | 新华三技术有限公司 | Message forwarding method and device based on VXLAN network |
US10038628B2 (en) | 2015-04-04 | 2018-07-31 | Nicira, Inc. | Route server mode for dynamic routing between logical and physical networks |
CN105337858B (en) * | 2015-11-20 | 2019-10-18 | 北京百度网讯科技有限公司 | Virtual router cluster, data forwarding method and device |
CN106130867B (en) * | 2016-08-30 | 2019-06-14 | 锐捷网络股份有限公司 | Virtual machine communication method and device across data center |
CN108512678B (en) * | 2017-02-27 | 2020-12-25 | 中国科学院信息工程研究所 | Method and system for accessing physical equipment to virtual network based on overlay technology |
CN109426547B (en) | 2017-09-04 | 2022-05-17 | 华为技术有限公司 | Thermal migration method, device and system of virtual machine |
CN111225071B (en) * | 2018-11-23 | 2022-11-22 | 深信服科技股份有限公司 | Cloud platform and cross-cloud platform network intercommunication system and method |
CN113301070B (en) * | 2020-04-07 | 2024-07-19 | 阿里巴巴集团控股有限公司 | Method and device for establishing data transmission channel |
CN113872844B (en) * | 2020-06-30 | 2023-07-18 | 华为技术有限公司 | Method for establishing VXLAN tunnel and related equipment |
CN114338397B (en) * | 2021-12-27 | 2023-11-03 | 中国联合网络通信集团有限公司 | Cloud platform network configuration method, device, server, storage medium and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102884763A (en) * | 2012-06-30 | 2013-01-16 | 华为技术有限公司 | Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration |
US8924560B2 (en) * | 2010-11-29 | 2014-12-30 | At&T Intellectual Property I, L.P. | Optimized game server relocation environment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465812B (en) * | 2009-01-06 | 2012-03-21 | 北京航空航天大学 | Redirection method for virtual machine network connection when on-line migrating striding sub network |
CN102118458A (en) * | 2011-03-10 | 2011-07-06 | 浪潮(北京)电子信息产业有限公司 | Method and system for live migration of virtual machine |
CN102801715B (en) * | 2012-07-30 | 2015-03-11 | 华为技术有限公司 | Method for virtual machine migration in network, gateway and system |
-
2013
- 2013-05-31 CN CN201310211338.7A patent/CN103346900B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8924560B2 (en) * | 2010-11-29 | 2014-12-30 | At&T Intellectual Property I, L.P. | Optimized game server relocation environment |
CN102884763A (en) * | 2012-06-30 | 2013-01-16 | 华为技术有限公司 | Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration |
Also Published As
Publication number | Publication date |
---|---|
CN103346900A (en) | 2013-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103346900B (en) | Method for configuring route after live migration of virtual machine and gateway in big double layer network | |
CN112470436B (en) | System, method, and computer-readable medium for providing multi-cloud connectivity | |
CN113132201B (en) | Communication method and device between VPCs | |
US11546288B2 (en) | Techniques for managing software defined networking controller in-band communications in a data center network | |
CN103200069B (en) | A kind of method and apparatus of Message processing | |
CN106209553B (en) | Message processing method, equipment and system | |
CN105791463B (en) | A method and device for realizing virtual machine communication | |
CN106101023B (en) | A kind of VPLS message processing method and equipment | |
CN105612719B (en) | Advanced network virtualization using metadata in encapsulation headers | |
US9374323B2 (en) | Communication between endpoints in different VXLAN networks | |
CN104869042B (en) | Message forwarding method and device | |
WO2018137369A1 (en) | Hybrid cloud management method, device, and computing apparatus | |
CN107113241B (en) | Route determination method, network configuration method and related device | |
WO2018054177A1 (en) | Inter-cloud communication method and related device, inter-cloud communication configuration method and related device | |
JP4764737B2 (en) | Network system, terminal and gateway device | |
CN110999265A (en) | Managing network connectivity between cloud computing service endpoints and virtual machines | |
JP5871063B2 (en) | Multi-tenant system, switch, controller, and packet transfer method | |
WO2015043168A1 (en) | Method, apparatus and system for implementing communication of virtual network | |
WO2014201974A1 (en) | Service routing packet processing method, device and network system | |
CN115442184A (en) | Access system and method, access server, system and storage medium | |
WO2024188167A1 (en) | Tunnel technology-based packet processing method and apparatus | |
WO2022267875A1 (en) | Packet transmission method and related device | |
CN113994639A (en) | Virtual local presence based on L3 virtual mapping of remote network nodes | |
US10020961B2 (en) | Method and apparatus for network virtualization | |
CN103379187A (en) | Data processing method and gateway network element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |