发明名称 |
PACKET FORWARDING IN DATA CENTER NETWORK |
摘要 |
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. |
申请公布号 |
US2016261496(A1) |
申请公布日期 |
2016.09.08 |
申请号 |
US201415031522 |
申请日期 |
2014.10.31 |
申请人 |
Hangzhou H3C Technologies Co., Ltd. |
发明人 |
CHANG Huifeng |
分类号 |
H04L12/721;H04L12/931;H04L29/06;H04L12/46 |
主分类号 |
H04L12/721 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for forwarding a packet in a data center network, the data center network comprises: at least one server, a virtual Switch (vSwitch) and a Virtual Machine (VM) configured in the server, a physical switch outside of the server and connected with the VM via the vSwitch, the method applied in the physical switch, comprising:
for each 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; after receiving an Ethernet packet sent by the server, searching a Virtual eXtensible Local Area Network (VXLAN) Network Identifier (VNI) according to a source Media Access Control (MAC) address of the Ethernet packet and a Virtual Local Area Network (VLAN) Identifier (ID); and according to the searched VNI, encapsulating the Ethernet packet, obtaining a VXLAN packet, and forwarding the VXLAN packet. |
地址 |
Hangzhou, Zhejiang CN |