• DocumentCode
    1083047
  • Title

    O(log n) dynamic router-tables for prefixes and ranges

  • Author

    Lu, Haibin ; Sahni, Sartaj

  • Author_Institution
    Dept. of Comput. Sci., Missouri Univ., Columbia, MO, USA
  • Volume
    53
  • Issue
    10
  • fYear
    2004
  • Firstpage
    1217
  • Lastpage
    1230
  • Abstract
    Two versions of the Internet (IP) router-table problem are considered. In the first, the router table consists of n pairs of tuples of the form (p, a), where p is an address prefix and a is the next-hop information. In this version of the router-table problem, we are to perform the following operations: insert a new tuple, delete an existing tuple, and find the tuple with longest matching-prefix for a given destination address. We show that each of these three operations may be performed in O(log n) time in the worst case using a priority-search tree. In the second version of the router-table problem considered by us, each tuple in the table has the form (r, a), where r is a range of destination addresses matched by the tuple. The set of tuples in the table is conflict-free. For this version of the router-table problem, we develop a data structure that employs priority-search trees as well as red-black trees. This data structure permits us to perform each of the operations insert, delete, and find the tuple with most-specific matching-range for a given destination address in O(log n) time each in the worst case. The insert and delete operations preserve the conflict-free property of the set of tuples. Experimental results are also presented.
  • Keywords
    IP networks; Internet; computational complexity; packet switching; table lookup; telecommunication network routing; tree data structures; Internet router-table problem; conflict-free property; delete operation; destination address; dynamic router table; insert operation; longest prefix matching; packet routing; priority-search tree; red-black tree; Data structures; Internet; Routing; Tree data structures; 65; Index Terms- Packet routing; conflict-free ranges.; dynamic router-tables; longest-prefix matching; most-specific-range matching;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.2004.81
  • Filename
    1327574