Message forwarding method and device in data center network

A data center network and packet forwarding technology, applied in the field of network communication, can solve problems such as low forwarding performance

Active Publication Date: 2015-05-06
NEW H3C TECH CO LTD
View PDF2 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] This application provides a packet forwarding method and device in a data center network to solve the problem of low forwarding performance in the prior art where vSwitch is used as a VTEP

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
  • Message forwarding method and device in data center network
  • Message forwarding method and device in data center network
  • Message forwarding method and device in data center network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] The message forwarding method in the embodiment of the present application is as follows: image 3 The physical switches in the data center network shown are implemented. Such as Figure 4 As shown, the method includes the following steps:

[0042] Step S102, for each VM in the directly connected server, obtain the relevant information of the vNIC of the VM, and associate the obtained relevant information with the local virtual port;

[0043] Wherein, the relevant information includes: the MAC address of the vNIC, the VNI of the VXLAN where the vNIC is located, and the VLAN ID of the VLAN (virtual local area network) associated with the VXLAN where the vNIC is located.

[0044] In an actual implementation process, there may be multiple methods for obtaining relevant information of the vNIC. In this embodiment, the following four methods are exemplified for description.

[0045] method one:

[0046] The method one includes the following steps:

[0047] Step S202, th...

Embodiment 2

[0137] Regarding the method in the first embodiment above, the embodiment of the present application provides a message forwarding device to which the method can be applied. The message forwarding device is applied to a physical switch, such as Figure 10 As shown, the message forwarding device includes: a processing module 10, a receiving module 20, a search module 30, an encapsulation and decapsulation module 40, and a sending module 50, wherein:

[0138] The processing module 10 is configured to obtain relevant information of the vNIC of the VM for each VM in the server directly connected to the physical switch, and associate the obtained relevant information with the local virtual port, wherein the relevant information includes: the vNIC of the vNIC MAC address, the VNI of the VXLAN where the vNIC is located, and the VLAN ID of the VLAN associated with the VXLAN where the vNIC is located;

[0139] The receiving module 20 is used to receive the Ethernet message sent by the...

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 disclosure provides a method and apparatus for forwarding a packet, wherein the method comprising: for each Virtual Machine (VM) in the server, obtaining relevant information of a virtual Network Interface Controller (vNIC) of the VM, and associating the obtained relevant information with a local virtual port, wherein the relevant information includes a Media Access Control (MAC) address of the vNIC, a Virtual eXtensible Local Area Network (VXLAN) Network Identifier (VNI) of the VXLAN where the vNIC is located, and a Virtual Local Area Network (VLAN) Identifier (ID) of a VLAN associated with the VXLAN where the vNIC is located; after receiving an Ethernet packet sent by the server, searching a VNI according to a source MAC address of the Ethernet packet and a VLAN ID; and according to the searched VNI, encapsulating the Ethernet packet, obtaining a VXLAN packet, and forwarding the VXLAN packet.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a message forwarding method and device in a data center network. Background technique [0002] VXLAN (Virtual eXtensible Local Area Network, Virtual Extended Local Area Network) is a simple mechanism for encapsulating MAC (Media Access Control, Media Access Control) in UDP (User Data Protocol, User Datagram Protocol), which can create (Internet Protocol, Internet Protocol) subnet's virtual Layer 2 subnet. VXLAN can deploy millions of virtual networks in a data center through a 24-bit tenant ID (that is, VXLAN ID or VXLAN network ID (VXLAN Network Identifier or VXLAN Segment ID, VNI)). Moreover, the format of VXLAN packets is easy to implement in hardware, so VXLAN may be more closely integrated with physical network devices in the future. [0003] Such as figure 1 As shown, the VXLAN message is encapsulated with a VXLAN header in front of the Ethernet f...

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): H04L12/46H04L29/06H04L12/741H04L45/74
CPCH04L12/4633H04L12/4641H04L12/4675H04L45/66H04L49/70H04L69/22
Inventor 常慧锋
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products