Abstract

IP address lookup speed in core routers has a significant impact on service quality in communications in the Internet. The rapid growth of traffic on the Internet and the development of communication links working at speeds of several gigabits per second make IP lookup a challenge for IP routers. There are several IP lookup schemes based on counts of set bits of a bit-vector that encode the routing information in structures of a constant size that guarantee fast IP lookups. However, these schemes have exponential memory complexity and then prefix partitioning schemes are used to save memory consumption, performing the IP lookup in stages. In this work, we propose a prefix-partitioning scheme that optimizes the available memory usage in IP lookups in accordance with the prefix distribution in forwarding tables and an IP lookup scheme based in a precalculated count of set bits of a bit-vector. A complete IPv4/6 lookup has an instruction cost of two memory accesses in the best case and twice the number of stages in the worst case. The proposed prefix-partitioning scheme is based on heuristic search using genetic algorithms to find an optimal partitioning. Our proposal can be implemented in general purpose hardware for IPv4/6 lookups.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call