Patent · US Active

Method and apparatus for forwarding packets by obtaining addresses of the packets using a preset forwarding information base entry

US8879555B2 · kind B2 · utility

1Cited by
5References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 18, 2011
Grant dateNov 4, 2014
Priority date
Expiry dateJun 4, 2032

Classification

  • Technology area (CPC H)Electricity
  • CPC primaryH04L45/74
  • WIPO fieldDigital communication
  • WIPO sectorElectrical engineering

Abstract

The present invention relates to the field of communication technologies, and discloses a method and an apparatus for forwarding packets to solve the problems in the prior art, namely, if a long Internet Protocol (IP) address needs to be searched for at the time of forwarding a packet, the number of Ternary Content Addressable Memories (TCAMs) need to be increased, or an external Random Access Memory (RAM) needs to be accessed for more times, which leads to a high cost and low performance. The method includes: extracting a first bit sequence from a destination address of a received packet, and using the first bit sequence as a key value; searching for a preset TCAM entry by using the key value, and obtaining an index value returned by the TCAM entry; and using the index value and a second group of bits in the destination address of the packet as conditions for searching, according to a predetermined algorithm, for a preset Forwarding Information Base (FIB) entry, and obtaining a forwarding address of the packet. The technical solution under the present invention is applicable to searching a table for an Internet Protocol version 6 (IPv6) address in a router.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.