Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and system for sending message in virtual network

A technology for virtual network and packet sending, applied in the field of VN (virtual network), it can solve the problems of high overhead and increase in the size of the MAC table, and achieve the effect of avoiding ARP broadcast and avoiding the increase of the size of the ARP table.

Active Publication Date: 2016-12-07
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve this problem, the existing technology provides two solutions, one is to assign each subnet to a TOR switch and prohibit VM migration, and the other is to enable the Layer 3 function on TOR, but this will cause Causes high overhead and causes similar problems at Layer 3 (L3)
[0007] However, applicants have found that a flat Layer 2 (L2) network in a DC clearly requires VM migration, but existing techniques result in exponential ARP flooding and increased MAC table size on access switches

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and system for sending message in virtual network
  • Method, device and system for sending message in virtual network
  • Method, device and system for sending message in virtual network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] The embodiment of the present invention provides a method for sending messages in a virtual network. Figure 4 is a flowchart of a method according to an embodiment of the invention. Such as Figure 4 As shown, the method includes:

[0069] Step 401: The access switch receives a Layer 3 message carrying a VNID (Virtual Network ID) from a remote data center; where

[0070] The layer-3 message is sent from one VM in the data center to another VM. In this embodiment, the VMs sending the Layer 3 message are called VMs (VM source), and the VMs receiving the Layer 3 message are called VMd (VM destination). The VMs send ARP requests to find the destination MAC address. The local TOR will generate an ARP response, wherein, if the TOR is unknown or non-local, the ARP response includes the MAC of the access switch;

[0071] Wherein, the layer-3 message is used to specify a message in the layer-3, and the message may carry data, control information, and the like. This is def...

Embodiment 2

[0080] The embodiment of the present invention provides a method for sending messages in a virtual network. Figure 5 is a flowchart of a method according to an embodiment of the invention. Such as Figure 5 As shown, the method includes:

[0081] Step 501: the TOR switch receives the layer 2 frame carrying the VNID;

[0082] Wherein, the layer 2 frame also carries a MAC address so as to reach the TOR switch.

[0083] The Layer 2 frame corresponds to the Layer 3 packet described in Embodiment 1, and the Layer 2 frame is sent from the VMs to the VMd.

[0084] Step 502: the TOR switch extracts a layer-3 destination address from the layer-2 frame;

[0085] Wherein, the TOR switch can extract the layer-3 destination address by fetching numbers from the layer-2 frame. It can be realized by existing methods, and no further description will be made.

[0086] Step 503: The TOR switch determines whether the VMd is on the TOR switch or whether the VMd has been migrated.

[0087] ...

Embodiment 3

[0103] The embodiment of the present invention provides a method for sending messages in a virtual network. Figure 6 is a flowchart of a method according to an embodiment of the invention. Such as Figure 6 As shown, the method includes:

[0104] Step 601: the TOR switch receives the ARP sent by the VM migrated to the TOR switch;

[0105] Wherein, whenever a VM migrates to a new physical server such as the TOR switch, the VM will generate an ARP and the MAC address of the VM, and broadcast the ARP from its server to the physical server (the TOR switch) .

[0106] Step 602: The TOR switch determines the VNID corresponding to the ARP;

[0107] Wherein, the TOR switch will check the VNID corresponding to the ARP through an available mechanism, such as an interface or ARP, depending on the VMware implementation.

[0108] Step 603: The TOR switch judges whether the TOR switch is the DN corresponding to the VNID;

[0109] Step 604: If the TOR switch is not the DN correspondin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the present invention provides a method for sending a message in a virtual network, the method comprising: an access switch receiving a layer-3 message carrying a VNID (virtual network identifier) ​​from a VM in a remote data center; The access switch determines a DN (designated node) according to the VNID; the access switch generates a layer-2 frame according to the layer-3 message, wherein the layer-2 frame includes the MAC (media access control ) address; the access switch sends the layer-2 frame to the DN according to the MAC address of the DN, so that the DN determines a layer-3 destination address according to the layer-2 frame. In this way, packet flooding in the data center can be avoided during VM migration.

Description

technical field [0001] This application relates to VN (Virtual Network), especially to a method, device and system for sending messages in a virtual network, so as to reduce ARP (Address Resolution Protocol) flooding and MAC (Media Access Control) in DC (Data Center) ) address table size. Background technique [0002] With the introduction of VM (Virtual Machine), the migration of VM in DC to other physical servers will bring new challenges, for example, scattered multiple subnets may span different TOR (top-of-rack switches) and there may be discontinuous addresses , but the migrated VM will continue to have the same IP address. [0003] figure 1 is a schematic structural diagram of a VM topology in the prior art. The subnets in the virtual network will span many access switches or top-of-rack switches (TORs). In view of business requirements and advanced server virtualization technology, there may be hundreds of thousands of VMs in a large highly virtualized data cente...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/757H04L12/705H04L12/773H04L45/74H04L45/18
CPCH04L45/66H04L45/74
Inventor 凯沙瓦克杜如·杜豪迪
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products