The present invention relates broadly to packet-switched communication networks. Specifically, the present invention relates to routers in packet-switched networks that communicate with each other to determine an area border router from a group of potential area border routers.
Open Shortest Path First (OSPF) is a routing protocol developed for Internet Protocol (IP) networks. OSPF is a link-state routing protocol that calls for the sending of link-state advertisements (LSAs) to all other routers within the same hierarchical area. Information on attached interfaces, metrics used, and other variables, is included in OSPF LSAs. As OSPF routers accumulate link-state information, they use algorithms that calculate the shortest path to various routers (network nodes). The largest entity within the hierarchy is an autonomous system (AS), which is a collection of networks under a common administration that share a common routing strategy. OSPF is an intra-AS (interior gateway) routing protocol, although it is capable of receiving routes from and sending routes to other ASs. An AS can be divided into a number of areas, which are groups of contiguous networks and attached hosts. Routers with multiple interfaces can participate in multiple areas. These routers, which are called Area Border Routers (ABRs), maintain separate topological databases for each area. A topological database is essentially an overall picture of networks in relationship to routers. The topological database contains the collection of LSAs received from all routers in the same area. Because routers within the same area share the same information, they have identical topological databases.
The Shortest Path First (SPF) routing algorithm is the basis for OSPF operations. When a router using the SPF algorithm is powered up, it initializes its routing-protocol data structures and then waits for indications from lower-layer protocols that its interfaces are functional. After a router is assured that its interfaces are functioning, it uses the OSPF Hello protocol to acquire neighbors, which are routers with interfaces to a common network. The router sends hello packets to its neighbors and receives their hello packets. In addition to helping acquire neighbors, hello packets also act as “keepalives,” messages that let routers know that other routers are still functional. On multi-access networks (networks supporting more than two routers), the Hello protocol elects a designated router and a backup designated router. Among other things, the designated router is responsible for generating LSAs for the entire multi-access network. Designated routers allow a reduction in network traffic and in the size of the topological database.
When the topological databases of two neighboring routers are synchronized, the routers are said to be adjacent. Adjacencies control the distribution of routing-protocol packets, which are sent and received only on adjacencies. Each router periodically sends its LSAs to provide information on a router's adjacencies or to inform others when a router's state changes. By comparing established adjacencies to link states, failed routers can be detected quickly, and the network's topology can be altered appropriately. From the topological database generated from LSAs, each router calculates a shortest-path tree (SPT), with itself as root. The SPT, in turn, yields a routing table.
To achieve inter-area routing in normal OSPF, ABRs are configured to attach to multiple areas and leak addressing information from one area to another. However, the static configuration would not work in a dynamic environment like mobile ad-hoc networks (MANET). In MANET networks, any node may attach to multiple areas and serve as the ABR at any time, and multiple routers may attach to the same areas concurrently as well. If every such router serves as the ABR, multiple copies of similar inter-area-prefix-LSAs will be flooded between these areas, incurring unnecessary overhead.
An intelligent ABR election method is essential to ensure the inter-area connectivity, as well as, to scale the network. The present invention achieves both goals by maintaining at least one ABR between two adjacent areas, while keeping the concurrent ABRs to a minimum.
In one aspect, the present invention provides a method for electing an area border router from a plurality of potential area border routers by determining a full set of all areas attached to a router. Then, a determination is made as to a full set of area pairs from the determined full set of areas. Until the first router is declared to be an area border router or all areas in the determined full set of all areas have been examined, routers are identified in a first area of the determined full set of areas that are reachable through an intra-area route in the first area, and routers are identified in a second area of the determined full set of areas that are reachable through an intra-area route in the second area. For any area pair in the determined full set of area pairs, if there is a router that is unreachable through either an intra-area route in the first area or an intra-area route in the second area, then declare the first router to be an area border router, else new first and second areas are selected from the determined full set of all areas.
Directing attention to
To keep the concurrent ABRs to a minimum, not all the routers attaching to multiple areas may serve as the ABRs. Instead, a MANET node may attach to multiple areas, but not leak addressing information between them. Such a node is called potential area border router (PABR). To declare itself as a PABR, the router advertises its priority to be an ABR in all its attached areas using an ABR priority TLV encapsulated in its Router-LSA. To make the ABR election consistent, such a priority should be set identically in different areas.
The organization of the router's LSA, in accordance with embodiments of the present invention, is as follows:
Routers in MANET networks, according to location and function for the attached areas, can be classified as internal routers, potential area border routers, and area border routers. Internal routers are routers that attach to a single area. Potential area border routers are routers that attach to multiple areas, but do not leak addressing information between them. Area border routers are routers that attach to multiple areas and leak addressing information from one area to another.
In accordance with the present invention, a router decides its category when it attaches to a new area as follows. If the router attaches to the area exclusively, the router declares itself as an internal router. Otherwise, in an embodiment, if the router is an ABR in the other areas, it declares itself as ABR to the new area as well. In another embodiment, it does not declare itself as ABR to the new area. Otherwise, if the router is an internal router in the other area, it declares itself as PABR to both areas. Otherwise, the router declares itself as PABR to the new area. Only PABRs need to run the ABR election algorithm described below.
Referring to the PABR running the algorithm of the present invention as router x, the following terminology is used: A is the full set of all the areas attached to the router x. P is the full set of area pairs attached to the router x, i.e., if A={a, b, c}, then P={(a, b), (b, c), (a, c)}. Q(m) is the set of qualified routers attaching to the area m. For router x, another router (referred to herein as router y) is considered qualified in area m when router y is reachable through intra-area routes within area m; and, router y declares itself as ABR, or router y declares a higher priority than router x, or router y declares a same priority as router x, but has a higher router ID.
Directing attention to
In an embodiment, the algorithm of the present invention is invoked by the addition of area pairs to the set P. In this case, the PABR will only check Q(j,k) for all area pair (j,k) newly added in the set P. In another embodiment, the algorithm of the present invention is invoked by the deletion of qualified routers from the set Q(m), for any area m in A. In this case, the PABR will only check Q(m,n), for all area n (n!=m) in A. Deletion of area pairs, or addition of qualified routers will not invoke a calculation.
While a method and apparatus for electing an area border router from potential area border routers have been described and illustrated in detail, numerous changes and modifications can be made to embodiments of the present invention without departing from the spirit thereof.
Number | Name | Date | Kind |
---|---|---|---|
6167025 | Hsing et al. | Dec 2000 | A |
6262984 | Rochberger | Jul 2001 | B1 |
6385201 | Iwata | May 2002 | B1 |
6473408 | Rochberger et al. | Oct 2002 | B1 |
6483833 | Jagannath et al. | Nov 2002 | B1 |
6484204 | Rabinovich | Nov 2002 | B1 |
7006506 | Naik | Feb 2006 | B1 |
7042988 | Juitt et al. | May 2006 | B2 |
7069336 | Mangan | Jun 2006 | B2 |
7082473 | Breitbart et al. | Jul 2006 | B2 |
7171476 | Maeda et al. | Jan 2007 | B2 |
7328240 | El-Gebaly et al. | Feb 2008 | B2 |
7334045 | Jacobson et al. | Feb 2008 | B1 |
7586841 | Vasseur | Sep 2009 | B2 |
7599349 | Vasseur et al. | Oct 2009 | B2 |
7664043 | D'Souza et al. | Feb 2010 | B1 |
7899005 | Retana et al. | Mar 2011 | B2 |
20020181447 | Hashizume et al. | Dec 2002 | A1 |
20030142682 | Bressoud et al. | Jul 2003 | A1 |
20030149787 | Mangan | Aug 2003 | A1 |
20040003111 | Maeda et al. | Jan 2004 | A1 |
20040037309 | Hauck et al. | Feb 2004 | A1 |
20040081152 | Thubert et al. | Apr 2004 | A1 |
20040233882 | Park et al. | Nov 2004 | A1 |
20050041676 | Weinstein et al. | Feb 2005 | A1 |
20050249113 | Kobayashi et al. | Nov 2005 | A1 |
20050259669 | Ozu | Nov 2005 | A1 |
20050265230 | Na et al. | Dec 2005 | A1 |
20060077922 | Geilfus et al. | Apr 2006 | A1 |
20060092898 | Kim et al. | May 2006 | A1 |
20060198298 | Bhogavilli et al. | Sep 2006 | A1 |
20060268739 | Garcia et al. | Nov 2006 | A1 |
20070008949 | Balandin | Jan 2007 | A1 |
20070153707 | Thubert et al. | Jul 2007 | A1 |
20070165515 | Vasseur | Jul 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20070171845 A1 | Jul 2007 | US |