Sciweavers

CN
2007

A longest prefix first search tree for IP lookup

13 years 11 months ago
A longest prefix first search tree for IP lookup
- One of the key design issues for IP routers is the IP Lookup mechanism. IP lookup is an important action in router that is to find the next hop of each incoming packet with a longest-prefix-match address in the routing table. In this paper, we put the routing table on a longest prefix first search tree. The tree is constructed as a heap by the prefix length. That makes a router executing IP lookup have the minimal number of memory accesses as compared with Trie [1], Patricia [2] and Prefix tree [3]. Some nodes of our tree can contain two entries of the routing table to reduce the number of tree nodes. For example, a 138286 of a routing table can be stored in 132050 nodes of our tree. Furthermore, the proposed scheme makes the tree can be updated without being reconstructed from scratch when the routing table is changed, and it can be applied in both the IPv4 and IPv6 routers. Keywords – IP lookup, routing table, CIDR, Search Tree.
Lih-Chyau Wuu, Tzong-Jye Liu, Kuo-Ming Chen
Added 12 Dec 2010
Updated 12 Dec 2010
Type Journal
Year 2007
Where CN
Authors Lih-Chyau Wuu, Tzong-Jye Liu, Kuo-Ming Chen
Comments (0)