Using Forgetful Routing to Control BGP Table Size Elliott Karpilovsky Jennifer Rexford Computer Science Department Computer Science Department Princeton University Princeton University
[email protected] [email protected] ABSTRACT prefixes1. A router stores the BGP routes it learns for each Running the Border Gateway Protocol (BGP), the Inter- destination prefix in a routing table, known as a Routing net’s interdomain routing protocol, consumes a large amount Information Base (RIB), and selects a single “best” route of memory. A BGP-speaking router typically stores one or for forwarding data traffic; all other routes are “alternates,” more routes, each with multiple attributes, for more than used when the primary path becomes unavailable. Upon 170,000 address blocks, and growing. When the router does running out of memory for storing the routing table, today’s not have enough memory to store a new route, it may crash BGP-speaking routers crash, stop accepting new informa- or enter into other unspecified behavior, causing serious dis- tion, or enter some indeterminate state, leading to serious ruptions for the data traffic. In this paper, we propose a new disruptions in the end-to-end delivery of data traffic [1]. In mechanism for routers to handle memory limitations with- this paper, we propose and evaluate a new technique for out modifying the underlying routing protocol and without containing the size of a BGP routing table, while remaining negatively affecting convergence delay. Upon running out of backwards compatible with the BGP protocol. memory, the router simply discards information about some In the remainder of this section, we discuss the memory alternate routes, and requests a “refresh” from its neighbors constraints on routers and the limitations of existing reme- later if necessary.