A network forwarding device, comprising:N search engines connected in series, where N is an integer greater than one, each search engine including:a memory having an address input and a data output; a first comparator having an input coupled to a first search key; a second comparator having an input coupled to a second search key; a first address register coupled to the first comparator for storin