发明名称 Method and system for routing packets
摘要 A system for routing packets that includes leaf network devices, spine network devices, and a border gateway protocol controller to perform a method for routing packets in a network. The method includes receiving packets at a leaf device and, using the destination IP address of the packet to determine to which spine network device the packet is to be sent. The spine network devices each include a non-overlapping portion of a routing table. The spine network devices include functionality to determine a route for the packet based on its destination IP address, to determine to which leaf network device the packet is to be sent, and to send the packet to the discovered leaf network device. The leaf network device that receives the packet includes functionality to, based on the destination MAC address of the packet, determine out of which leaf network device interface to send the packet.
申请公布号 US9118604(B2) 申请公布日期 2015.08.25
申请号 US201314100727 申请日期 2013.12.09
申请人 Arista Networks, Inc. 发明人 Brar Jagwinder Singh;Premji Ariff
分类号 H04L12/28;H04L12/721;H04L12/741 主分类号 H04L12/28
代理机构 Osha • Liang LLP 代理人 Osha • Liang LLP
主权项 1. A method for routing packets, the method comprising: receiving, at an interface of a first network device of a plurality of network devices in a leaf tier, a first packet, wherein the first packet comprises a first destination Internet Protocol (IP) address and wherein each of the plurality of network devices comprises a supernet table and a non-overlapping portion of a routing table; determining, using the first destination IP address and the supernet table, a first IP address of a second network device to which the packet is to be sent, wherein the second network device is one of the plurality of network devices in the leaf tier, wherein the supernet table comprises a plurality of entries, wherein each of the plurality of entries comprises a non-overlapping IP address range and specifies a corresponding one of the plurality of network devices in the leaf tier, and wherein the non-overlapping portion of the routing table on the second network device comprises a route for the first packet; determining, by the first network device, a first media access control (MAC) address of the second network device using the first IP address; rewriting, by the first network device, the first packet to obtain a first rewritten packet, wherein the first rewritten packet comprises the first MAC address as a destination MAC address of the first rewritten packet and the first destination IP address; sending the first rewritten packet to a third network device, wherein the third network device is not in the leaf tier; determining, by the third network device using the destination MAC address of the first rewritten packet, to forward the first rewritten packet from the third network device to the second network device; sending the first rewritten packet to the second network device; performing, by the second network device using the destination MAC address of the first rewritten packet, a first MAC pointer table lookup to determine that a first routing table lookup is to be performed using the first destination IP address of the first rewritten packet; performing, by the second network device, the first routing table lookup, wherein the first routing table lookup comprises using the non-overlapping portion of the routing table on the second network device to determine a second IP address corresponding to a first external network device to which the packet is to be sent; determining, by the second network device, a second MAC address of the first external network device using the second IP address; rewriting the first rewritten packet to obtain a second rewritten packet, by the second network device using the second MAC address, wherein the second rewritten packet comprises the second MAC address as a destination MAC address of the second rewritten packet and the first destination IP address; sending the second rewritten packet from a first interface on the second network device to the first external network device, wherein the first interface is associated with the second MAC address.
地址 Santa Clara CA US