发明名称 |
Method and Apparatus for Forwarding Packet |
摘要 |
A method and an apparatus for forwarding a packet, where a first network virtualization edge (NVE) receives a first packet sent by a first tenant end system (TES), where a destination Internet Protocol (IP) address of the first packet is an IP address of a second TES, a destination media access control (MAC) address of the first packet is a gateway MAC address corresponding to the first NVE. The first NVE acquires an access virtual network identifier (VN ID) and a layer 3 virtual private network (VPN) instance identifier of the first TES, and searches a routing and forwarding table, to obtain an entry corresponding to the IP address of the second TES. Then the first NVE encapsulates the first packet into a network virtualization overlays (NVO3) packet according to the entry, and forwards the NVO3 packet to a second NVE to forward to the second TES. |
申请公布号 |
US2016359745(A1) |
申请公布日期 |
2016.12.08 |
申请号 |
US201615243108 |
申请日期 |
2016.08.22 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Hao Weiguo;Li Yizhou;Ni Hui;Huang Shibi |
分类号 |
H04L12/741;H04L29/12;H04L12/715;H04L12/46 |
主分类号 |
H04L12/741 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for forwarding a packet, comprising:
receiving, by a first network virtualization edge (NVE), a first packet sent by a first tenant end system (TES), wherein a destination Internet Protocol (IP) address of the first packet is an IP address of a second TES, wherein a destination media access control (MAC) address of the first packet is a gateway MAC address corresponding to the first NVE, and wherein the first TES and the second TES belong to a same layer 3 virtual private network (VPN); acquiring, by the first NVE, an access virtual network identifier (VN ID) of the first TES according to at least one of information about a port receiving the first packet and the first packet; acquiring a layer 3 VPN instance identifier of the first TES according to the access VN ID of the first TES; performing, by the first NVE, layer 2 termination on the first packet; searching, according to the IP address of the second TES, a routing and forwarding table corresponding to the layer 3 VPN instance identifier of the first TES, to obtain an entry corresponding to the IP address of the second TES; encapsulating the first packet into a network virtualization overlays (NVO3) packet according to the entry; and forwarding, by the first NVE, the NVO3 packet to a second NVE using a layer 3 network, wherein the second TES is connected to the second NVE. |
地址 |
Shenzhen CN |