Equal and weighted cost multipath load balancing in a network device
First Claim
1. A method of mediating the flow of datagrams to a destination in a network, said method comprising:
- receiving a datagram at a port of a network device;
evaluating a destination address for the datagram based on fields in the incoming datagram;
searching a longest prefix match (LPM) table using the destination address as a LPM key;
determining an address table index and an offset based on entries found in the search of the longest prefix match table;
searching an address table using the address table index and the offset as an address key to determine an egress port number of the network device; and
forwarding the datagram based upon at least the egress port number.
8 Assignments
0 Petitions
Accused Products
Abstract
A method of mediating the flow of datagrams to a destination in a network is disclosed. The method includes the steps of receiving a datagram at a port of a network device, evaluating a destination address for the datagram based on fields in the incoming packet, searching a longest prefix match (LPM) table using the destination address as a LPM key, determining an address table index and an offset based on entries found in the search of the longest prefix match table, searching an address table using the address table index and the offset as an address key to determine an egress port number of the network device and forwarding the packet based upon at least the egress port number.
93 Citations
17 Claims
-
1. A method of mediating the flow of datagrams to a destination in a network, said method comprising:
-
receiving a datagram at a port of a network device;
evaluating a destination address for the datagram based on fields in the incoming datagram;
searching a longest prefix match (LPM) table using the destination address as a LPM key;
determining an address table index and an offset based on entries found in the search of the longest prefix match table;
searching an address table using the address table index and the offset as an address key to determine an egress port number of the network device; and
forwarding the datagram based upon at least the egress port number. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A network device for mediating the flow of datagrams to a destination in a network, said method comprising:
-
receiving means for receiving a datagram at a port of a network device;
evaluating means for evaluating a destination address for the datagram based on fields in the incoming datagram;
first searching means for searching a longest prefix match (LPM) table using the destination address as a LPM key;
determining means for determining an address table index and an offset based on entries found in the search of the longest prefix match table;
second searching means for searching an address table using the address table index and the offset as an address key to determine an egress port number of the network device; and
forwarding means forwarding the datagram based upon at least the egress port number. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A network device for handling data datagrams, comprising:
-
at least one data port interface, said at least one data port interface supporting a plurality of data ports transmitting and receiving data;
a plurality of lookup tables to determine an egress port based on a destination address contained in a datagram received at one of the plurality of data ports;
wherein the plurality of lookup tables comprises a longest prefix match (LPM) table and an address table and wherein the at least one data port interface is configured to search the LPM table to obtain an entry in the address table containing at least an egress port number of the network device, such that each entry in the address table for the destination address is utilized approximately equally. - View Dependent Claims (15, 16, 17)
-
Specification