Described are an apparatus and method of forwarding Internet Protocol (IP)
packets. At least one fixed-length key having a predetermined number of
bits is produced in response to an IP address in an IP packet. At least a
portion of the fixed-length key is hashed to obtain a hash value. The
fixed-length key is compared with a key value stored in each data-item in
a hash bucket associated with the hash value to find the data item that
has the key value that matches the fixed-sized key and to obtain from
that data item routing information that is used to forward the IP packet.