This is archived content, mostly untouched since 2003. For newer content/updated versions, see netfuture.ch/Publications.

  W and AWaldvogel & Aschwanden
   Roman Pletka
   Nicola Aschwanden
   Lars Waldvogel
    Kinderlieder+Spiele
   Marcel Waldvogel
    Contact
    Publications
     Forwarding
      PODC Prefixes
    Research
    Tutorials
    Classes
    Software
    Archive
    Fun

  

Scalable Best Matching Prefix Lookups

Marcel Waldvogel, George Varghese, Jon Turner, Bernhard Plattner:
Scalable Best Matching Prefix Lookups,
PODC '98, Puerto Vallarta, June 1998.

Abstract

All global routing protocols use hierarchies to allow scaling to a world wide community while keeping the routing database size manageable. Databases of variable length prefixes are a powerful tool for providing this in a flexible manner, but require a Longest Prefix Matching algorithm. In this paper, we report a fundamentally new solution that is both algorithmically interesting and practical.

Our scheme is based on doing binary search on hash tables organized by prefix lengths, and scales very well as address and routing table sizes increase: independent of the table size, it requires a worst case time of log2(address bits) hash lookups. With the current Internet Protocol, which uses 32 bit addresses, at most 5 hash lookups are needed; for the upcoming 128 bit addresses of the next generation Internet Protocol (IPv6), 7 lookups suffice. Several refinements, including specializing the Binary Search with every match, considerably reduce the average number of hash search steps to less than 2.

Documents

BibTeX entry

@InProceedings{waldvogel98scalable,
  Author =      {Marcel Waldvogel and George Varghese and Jon Turner and
                 Bernhard Plattner},
  Title =       {Scalable Best Matching Prefix Lookups},
  BookTitle =   {PODC '98},
  Month =       jun,
  Year =        1998,
  Address =     {Puerto Vallarta, M\'exico},
  Pages =       311
}

The documents distributed by this server have been provided by the contributing authors as a means to ensure timely dissemination of scholarly and technical work on a noncommercial basis. Copyright and all rights therein are maintained by the authors or by other copyright holders, notwithstanding that they have offered their works here electronically. It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.