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

Method and apparatus for forwarding message of distributed virtual switch system

A virtual switch and message forwarding technology, which is applied in the field of message forwarding in a distributed virtual switch system, can solve problems such as single control and inflexible business implementation

Active Publication Date: 2015-03-25
NEW H3C TECH CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] Although the OVS in the prior art realizes distributed virtual switching and can simply support OpenFlow, when forwarding packets, it still relies on the hardware forwarding chip to forward packets based on the MAC address. The service implementation is inflexible, and the control Single, currently there is no technology that can realize packet forwarding based on OpenFlow supporting VLAN

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 and apparatus for forwarding message of distributed virtual switch system
  • Method and apparatus for forwarding message of distributed virtual switch system
  • Method and apparatus for forwarding message of distributed virtual switch system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as Figure 5 As shown, the message forwarding method of the distributed virtual switch system in Embodiment 1 of the present application is executed by the controller, and the method includes the following steps:

[0046] Step 502, obtain the interface information corresponding to the VM, and add the entry containing the interface information corresponding to the VM to the VLAN forwarding table, wherein the interface information corresponding to the VM includes: the DataPath (data path) of the OF switch to which the VM is connected. Forwarding path) ID (identification), the MAC address of the virtual network card interface connected to the OF switch on the VM, the VLAN ID of the VLAN to which the dvport port connected to the VM on the OF switch belongs, and the port identifier of the dvport port;

[0047] In step S502, the controller obtains the interface information corresponding to the VM, and the method of adding the entry containing the interface information co...

Embodiment 2

[0111] by Figure 5 The illustrated OF switch is taken as an example to describe the method in the first embodiment above in detail. exist Figure 5 Among them, the OF switch in a server is connected to 4 VMs: VM1-VM4, where the OF switch is connected to the dvport port of VM1-VM3 (that is, VM1-VM3 is connected to the virtual network card interface of the OF switch): Port1-Port3 belongs to VLAN1, the OF switch is connected to the dvport port of VM4 (that is, VM4 is connected to the virtual network card interface of the OF switch): Port4 belongs to VLAN2; the uplink port of the OF switch connected to the physical switch ToR is Port5. The DataPath ID of the OF switch is Dpid1, and the MAC addresses of the virtual network card interfaces on VM1-VM4 are: MAC1-MAC4 respectively.

[0112] According to steps 11-13 in the first embodiment, the controller adds 4 entries respectively in the VLAN forwarding table and the VLAN port table. At this time, the VLAN forwarding table is shown...

Embodiment 3

[0139] For the method in the first embodiment above, a controller of a distributed virtual switch system is provided in the embodiment of the present application. Such as Figure 7 As shown, the controller includes the following modules:

[0140] The acquiring and adding module 101 is used to acquire the interface information corresponding to the VM, and add the entry containing the interface information corresponding to the VM to the VLAN forwarding table, wherein the interface information corresponding to the VM includes: the OF switch to which the VM is connected The DataPath ID of the VM, the MAC address of the virtual network card interface connected to the OF switch on the VM, the VLAN ID of the VLAN to which the dvport port connected to the VM on the OF switch belongs, and the port identifier of the dvport port;

[0141] Receiving module 102, for receiving the message that OF switch sends;

[0142] Table entry generating module 103, used for when the message received by...

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

The present application discloses a method and apparatus for forwarding a message of a distributed virtual switch system. The method includes: a controller obtaining interface information corresponding to a VM, and adding a table item containing the interface information corresponding to the VM to a VLAN forwarding table, wherein the interface information corresponding to the VM includes: a DataPath ID of an OF switch connected to the VM, an MAC address of a virtual network card interface connected to the OF switch on the VM, a VLAN ID of the VLAN to which the dvport port connected to the VM on the OF switch belongs, and a port identifier of the dvport port; receiving a message sent by the OF switch; generating a table item of a flow table for guiding the forwarding of a downlink unicast message and storing the table item into a local flow table according to information in a message head of the downlink unicast message and the VLAN forwarding table when the received message is the downlink unicast message received by the OF switch via connecting an uplink port of a physical switch; and sending the generated table item of the flow table and the received message to the OF switch sending the message.

Description

technical field [0001] The present application relates to the technical field of network communication, and in particular to a message forwarding method and device of a distributed virtual switch system. Background technique [0002] EVB (Edge Virtual Bridging) technology is divided into switch EVB technology and server (station) EVB technology. Among them, server EVB technology is applied to data center servers, specifically implemented in virtual switches on data center servers. It is used to simplify the implementation of traffic forwarding of virtual servers, centrally control the network switching, traffic management and policy delivery of virtual servers, and realize the automatic migration of network management and policies during virtual migration. [0003] There are two types of virtual switches that support EVB: VEB (Virtual Ethernet Bridge, virtual edge switch) and VEPA (Virtual Edge Port Aggregator, virtual edge port aggregation). The pure software VEB implement...

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 Applications(China)
IPC IPC(8): H04L29/06H04L12/801
Inventor 林涛任维春张连雷吴少伯张祥辉
Owner NEW H3C 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