LaConf: A Localized Address Autoconfiguration Scheme for Wireless Ad Hoc Networks

LaConf: A Localized Address Autoconfiguration Scheme for Wireless Ad Hoc Networks

TSINGHUA SCIENCE AND TECHNOLOGY ISSNll1007-0214ll07/09llpp529-538 Volume 16, Number 5, October 2011 LaConf: A Localized Address Autoconfiguration Sch...

442KB Sizes 0 Downloads 46 Views

TSINGHUA SCIENCE AND TECHNOLOGY ISSNll1007-0214ll07/09llpp529-538 Volume 16, Number 5, October 2011

LaConf: A Localized Address Autoconfiguration Scheme for Wireless Ad Hoc Networks* Xu Li1, Yanli Deng2, Amiya Nayak2, Ivan Stojmenovic2,**, Venkat Narasimhan3 1. INRIA Lille - Nord Europe, Villeneuve d’Ascq 59568, France; 2. School of Information Technology & Engineering, University of Ottawa, Ottawa K1N 6N5, Canada; 3. Les entreprises Norleaf Networks Inc., Gatineau J8X 2A3, Canada Abstract: We propose a localized address autoconfiguration (LaConf) scheme for wireless ad hoc networks. Address allocation information is maintained on the network border nodes, called addressing agents (AAs), which are locally identified by a geographic routing protocol GFG (Greedy-FACE-Greedy). When a node joins the network, it acquires an address from a neighboring AA (if any exists) by local communication or from the head AA (a geographic extreme AA) by GFG-based multi-hop communication. A Geographic Hash Table (GHT) is adopted for duplicate address detection. Each address is hashed to a unique location in the network field, and the associated assignment information is stored along the face perimeter enclosing that location (in the planar graph). When a node receives an address assignment, it consults with the perimeter nodes around the hash location of the assigned address about any conflicts. AAs detect network partitions and merger locally according to neighborhood change and trigger AA re-selection and network re-configuration (if necessary). We propose to apply a Connected Dominating Set (CDS) to improve the performance. We also evaluate LaConf through simulation using different planar graphs. Key words: address autoconfiguration; localized algorithms; wireless ad hoc networks

1 Introduction A wireless ad hoc network is a spontaneous network of nodes that communicate through radio frequency signals without centralized administration or fixed infrastructure. Because the wireless nodes often have limited power supply (thus restricted transmission range), their communication relies mainly on multi-hop message relays, which renders routing a primary issue, e.g., Refs. [1-4]. Many existing ad hoc routing protocols, e.g., Refs. [5,6], assume that nodes are configured with Received: 2011-06-22; revised: 2011-08-24

** Supported by the NSERC Collaborative Research & Development Project (CRDPJ 386874-09)

** To whom correspondence should be addressed. E-mail: [email protected]

a unique address. Because wireless ad hoc networks are an open dynamic environment where nodes are free to join and leave, this assumption cannot be realized by address pre-configuration. It is necessary to have an automated localized mechanism in the network that manages nodal addresses on the fly. A localized protocol is a distributed algorithm where simple local behavior achieves the desired global objective[7]. It is known to be efficient, scalable and fault-tolerant, most suitable for wireless ad hoc networks. 1.1

Motivation

Dynamic address configuration was first implemented by the Dynamic Host Configuration Protocol (DHCP)[8]. The basic idea is the following. One or a few nodes are specified as the DHCP server. Each new joining node (client) discovers a DHCP server by

530

flooding a message into the network. Upon receiving this message, the DHCP server that is able to assign an address to the client reserves the address and replies by flooding a DHCP offer message carrying the reserved address and other necessary information. The client sends a DHCP request to the first discovered server to confirm the reception of an address, which then replies with an acknowledgment. A DHCP infrastructure is not suitable for dynamic networks where no central servers are available. In this case, IPv4 Link-Local addresses[9] (referred to as Zeroconf) were proposed. This approach requires nodes to be connected to the same physical (or logical) link. When a node joins the network, it chooses an address at random and probes this address in the network by sending an ARP (Address Resolution Protocol) message destined to it. If the address is already in use, the new node will receive a message indicating so, and it will choose another address and repeat the same procedure. If nothing is received, then it can safely use the address. Unfortunately, Zeroconf cannot be directly applied to multi-hop wireless ad hoc networks, since it is intended only for local communication between nodes within the same MAC (Media Access Control) broadcast domain (i.e., within each other’s wireless communication range). A dynamic and self-organized mechanism covering the entire network is therefore needed. This mechanism should be easy to implement, and it should be able to handle network partitioning and merger as well as node addition and removal, due to node mobility or node failure. In 2005, IETF AUTOCONF Working Group was created to address this issue. Thus far, no standard solution has been provided yet. 1.2

Our contributions

We propose a localized address autoconfiguration (LaConf) scheme for wireless ad hoc networks. All the nodes on the network border are defined as addressing agent and are responsible for address configuration. Each node is aware of its own geographic location, and spontaneously sends a message to the east by GreedyFACE-Greedy (GFG) routing[10]. The message stops at the globally easternmost node (located on the network border), called head AA (addressing agent). The head AA is in charge of synchronizing the address allocation

Tsinghua Science and Technology, October 2011, 16(5): 529-538

information stored on AA nodes by periodically routing an update message along the network border by the FACE mode of GFG. Each AA node monitors neighborhood topology. Whenever it detects network partition or merger, it re-initializes the network. A new joining node may be configured by any AA. If it is neighboring an AA node, then it asks that node directly for address assignment through local communication. Otherwise, it obtains one from the head AA by routing a request message to it. Because address assignment is based on local address allocation information and information synchronization has delays, address duplication is possible. A Geographic Hash Table (GHT)[11] is adopted for duplicate address detection. Each address is hashed to a unique location in the network field; the assignment information is stored on the face perimeter enclosing that location. When a node receives an address assignment, it consults with the perimeter nodes around the hash location of the assigned address about any conflict. We also suggest to apply the Connected Dominating Set (CDS) concept[12] to further improve the performance. Through an extensive set of simulations we evaluate LaConf using different local planar graphs, i.e., Gabriel Graph (GG) and Partial Delaunay Triangulation (PDT)[13], in an unbiased manner. We show that use of PDT and CDS leads to significantly better performance. The remainder of this paper is organized as follows. We briefly review some recent related work in Section 2 and introduce the basic techniques used by LaConf in Section 3. We elaborate LaConf in Section 4 and improve its performance by CDS in Section 5. We then evaluate LaConf through simulation in Section 6. Finally, we conclude the paper in Section 7.

2

Previous Work

There is a rich body of research on address autoconfiguration in wireless ad hoc networks in the literature. Existing algorithms are usually classified as stateful or stateless. A stateful approach, e.g., Refs. [14-16], relies on a global address allocation table, either centralized or distributed, to ensure exclusive address assignment. An stateless approach, e.g., Refs. [17-19], allows local address allocation and uses duplicate address detection mechanisms to detect and resolve address conflicts. Hybridization of the two approaches, e.g., Refs. [20-22], has also been investigated. In a hybrid

Xu Li et al.:LaConf: A Localized Address Autoconfiguration Scheme …

algorithm, some nodes are responsible for allocating addresses and attempt to provide conflict-free allocation to their knowledge. Duplicate addresses are then detected and resolved afterwards. There are also topology-dependent addressing methods, e.g., Ref. [23]. Due to space limit, below we will introduce only three notable recent proposals in 2009. An comprehensive survey can be found in Ref. [24]. It covers the major research efforts by 2008. Chen et al.[14] proposed a mobility-assisted stateful scheme. One or a few nodes are initially manually assigned a unique address and a set of free disjoint addresses. When a new node a joins the network, it first gets the free addresses held by all its neighbors, and then it picks one of them as its own address and redistributes the rest evenly among its neighbors and itself. It appears that neighboring nodes cannot respond to new address request until they get the address space update from a , because otherwise address duplication may occur. All communications are performed locally. As nodes move and meet new comers, their free addresses are redistributed. The dependency on mobility limits the applicability of this scheme. For example, it is not suitable for wireless sensors networks where new comers are usually newly deployed nodes. Shin et al.[18] proposed a stateless scheme. Three color coordinator nodes RED, GREEN, BLUE are deployed along network border and form a triangle. Each node measures its RGB value, i.e., the hop-distance to these coordinators, and generates a random value α . Then the address of the node is defined as (R, G, B, α ). Because hop distance is discrete, the network is divided into a set of monochrome zones, each represented by the same color. Address conflicts may exist within each monochrome zone (initially smaller than nodal transmission range) and can be detected by restricted flooding in the zone. After a node detects an address conflict, it expands its monochrome zone, which defines the address range, and generates a new address and broadcasts again. As such, the possibility of recursive conflict decreases. This scheme induces extra deployment cost and does not work when mobile nodes are disconnected from the color coordinators. Li et al.[20] proposed a cluster-based hybrid scheme, which assigns nodes a unique ID in each cluster and detects and resolves duplicate address in the whole network. Initially, a cluster head node creates a virtual

531

AA by randomly picking an agent address from the address space and the range of host address, and then configures itself. After that, for each cluster member, it allocates the addresses from the AA serially by prefixing the host address with the agent address. If current host address resources (within the specified host address range) are used up, the cluster head creates a new AA. Agent and host addresses share the same address space. Due to random generation of agent address, addresses duplication is possible between different clusters. Passive DAD[19] is used to detect duplicate addresses, which are then resolved by replacing the conflicting agent address with a new one.

3

Basic Techniques

In this section we briefly introduce the basic techniques to be employed by our new proposal LaConf, including graph planarization[13], GFG[25] and GHT[11]. In particular, GHT is an application of GFG. 3.1

Graph planarization

Wireless ad hoc networks where nodes have the same maximum transmission range are commonly modeled as a Unit Disk Graph (UDG): two nodes have an edge if and only if they are in each other’s transmission range. Both GFG and GHT rely on a planar network topology. A planar graph is a graph where edges intersect only at their end nodes. UDG is normally not planar. A planar subgraph can be extracted through a planarization procedure. In Ref. [25], GFG applied to GG. To extract GG, a node u preserves every outgoing edge uv whose diametric circle circle(u, v) passing through u and v contains no other nodes. The decision relies on one-hop neighborhood information only, which is commonly obtained by ‘hello’ message exchange[10]. Instead of GG, we in this paper consider Partial Delaunay Triangulation (PDT)[13], which is a localized variant of Delaunay Triangulation (DT) on UDG under the assumption of no four co-circular nodes. Figure 1 comparatively illustrates GG, DT and PDT. A DT of a node set is built by connecting any two nodes u, w ∈ V if and only if there exists a circle with chord uv that does not contain any other node from the set in its interior. Unlike GG, DT construction is not a localized process because it may contain arbitrary

Tsinghua Science and Technology, October 2011, 16(5): 529-538

532

Fig. 1 Planar graphs

long edges. PDT is a subset of DT and contains more edges than GG. To extract the PDT, each node u for its each neighbor w checks the following conditions. If circle(u, w) is empty then uw is in the PDT. If circle(u, w) contains nodes on both sides of the uw then uw is not in the PDT. Otherwise circle(u, w) contains nodes only on one side of uw. Let x be the one that maximizes ∠uxw (this angle is obtuse), and let y be a node on the other side of uw that maximizes ∠uyw (that angle is acute). If ∠uxw+ ∠uyw < π then uw is in PDT. The node search set can be defined either as the set of common neighbors of u and w (1-hop knowledge suffices in this case) or as the 2-hop neighbor set of u. If any of these two conditions holds, edge uw is added to PDT. 3.2 Greedy-FACE-Greedy routing

GFG[25] is a combination of greedy forwarding and FACE routing techniques for wireless ad hoc networks. It is the first localized routing protocol that provides guaranteed message delivery. In GFG, greedy forwarding is applied for message delivery whenever possible, while face routing is used only for recovery from greedy forwarding failure. In the greedy mode, the current forwarding node selects as next hop, among its neighbors, the node which is the closest to destination and includes this information in the packet before forwarding it. On receiving the packet, the selected neighbor repeats the same operation. This greedy process iterates until a local minimum or dead end (where no direct neighbor is closer to the destination) is reached. Then FACE mode is triggered to find a node closer

to the destination than this local minimum, at which point greedy forwarding is resumed. In the FACE mode, the packet is driven along the face that was reached at the local minimum and contains the imaginary line toward the destination. When the current node is closer to the destination than the last local minimum, the greedy mode is resumed. The two modes alternate until the destination is reached. Delivery is guaranteed in networks that remain unchanged during face routing. Because FACE routing is based on a planar graph, e.g., GG or PDT, a pre-processing phase is needed for planarizing the underlying network graph. Considering the intended localized nature of GFG, a local planar graph is desired. 3.3

Geographic Hash Table

GHT[11] is a localized data-centric storage scheme for wireless sensor networks. Each node hashes data to a unique geographic location in the sensory field according to the data type. It embeds the data in an updated message and sends the message toward the hash location by GFG. The routing protocol guarantees the message to be received by the home node of the data, which is the node geographically closest to the hash location. The home node sends at regular intervals a refresh message that contains the data that it is hosting. This message is forwarded by the FACE mode of GFG along a face perimeter, called the home perimeter, enclosing the hash location and returns to the home node. Each node on the home perimeter is called a replica node. Replica nodes locally store the data carried by the refresh message. During home perimeter traversal, if a node closer to the hash location than the current home node is discovered, that node will become the new home node. Each replica node also refreshes the home perimeter periodically. Whenever a replica node receives a refresh message originated by another node, it stores the embedded data, backs off for a while and initiates a home perimeter refreshment process. This process will elect a new home node in the case that the current home node fails. GHT supports hash-point-based data retrieval. That is, queries for a type of data are routed toward the corresponding hash location following a similar procedure as update messages, and received and answered by the home node. In fact, the queries can be answered by any replica node of the data.

Xu Li et al.:LaConf: A Localized Address Autoconfiguration Scheme …

4 Localized Address Autoconfiguration We shall now present our LaConf scheme. We assume that each node is aware of its own geographic location, e.g., by an attached GPS device, and the location of its neighbors by a ‘hello’ message[10]. 4.1

Address configuration routines

4.1.1 Network initialization We define the border of a network as the outer perimeter of the selected planar sub-graph, e.g., GG, PDT and DT, of the network. We use nodes located on the network border as AA. Among them, the easternmost acts as the head AA. The head AA is also the globally easternmost node. It has the largest X coordinate. In case of a tie the one with the largest Y coordinate will be considered the easternmost. A network initialization process takes place at the beginning of network operation as well as whenever necessary. In this process, head AA is identified. Any node may initiate this process simply by routing an address agent search (AAS) message to the east by GFG[25]. Due to lack of destination, the message will traverse the network border. During the traversal, the head AA is identified when the message repeats the same node. This search process is a special GHT[11] task where the hash location is infinity, the home node is head AA, and the home perimeter is the network border. After a node becomes aware of its head AA status, it broadcasts this information, its location, and its selfassigned address by an announcement message, and generates a network prefix for subsequent address configuration. The head AA knows the two perimeter neighbors, the one it sent the search message to (front neighbor), and the one it received the message back from (back neighbor), and is able to execute the following network border update routine, which as we will see is a home perimeter refreshment process of GHT. 4.1.2 Network border update The head AA periodically sends an address configuration update (ACU) message to traverse the network border by FACE routing. This message carries the current address configurations in the network and distributes them to each AA. It also records the sequence of

533

the AA nodes visited during the border traversal. Some AA, e.g., node g in Fig. 1, can appear more than once in the sequence. If the head AA finds, after receiving the message back, any change on the network border, it will copy the newly collected data to all AA nodes by another round of border traversal so that the latter can keep up-to-date border information. Each AA node a knows its two border neighbors: the one that it received the message from (back neighbor u ) and the one it forwarded the ACU message to (front neighbor w ). It is possible that u ≡ w . For instance, in Fig. 1 the front and the back neighbor of h are both g. Let au and aw respectively have angle 0 - θ1 - 2π and 0 - θ 2 - 2π with the X axis. Consider any neighbor b of a in the planar graph used for FACE routing. The angle θ of ab with the X axis will be outside the range [θ1 ,θ 2 ] if θ 2 > θ1 , and outside [θ 2 ,θ1 ] otherwise. If a planar neighbor is detected in this range or either u or w disappears, a will conclude that the network border has changed. In this case, it re-initializes the network to find a new head AA and a new outer premier. 4.2

Dynamic address management

4.2.1 Node addition and removal When a new node joins the network, it requests an address configuration. It first checks whether there is any AA in the neighborhood. If so, it will ask that AA for an address (e.g., through ‘hello’ message); otherwise, it will uni-cast an assignment request (AAR) to the head AA by GFG. The location information of the head AA can be obtained from neighbors. Upon receiving an AAR message, an AA assigns an address to the requesting node and notifies it by a reply message. Then it updates other AA nodes with this assignment by an ACU message. The assigned address is different from any other node’s according to the locally stored address configuration records. Due to network asynchrony, it is possible that the address has been assigned to another node by another AA. Duplicate address detection is necessary after each address assignment. We will discuss this in Section 4.3. When an existing node leaves the network, the node’s address should be recycled for reuse. If the node has the chance to make a notification, for example, in the event of switching off for energy saving, it will do so before departure. It sends an address recycle

534

notification (ARN) message carrying its address to the head AA, which in turn notifies other AA nodes by an ACU message and reuses it to satisfy later address assignment requests. In the case that no notification can be sent, e.g., abrupt node failure, the address will unfortunately not be reclaimed until the network is re-initialized. 4.2.2 Network partitioning and merger At any time, a network can be split into parts due to node removal (failure); conversely, multiple networks may merge into a single component due to node addition. In the presence of node mobility, network partitioning and merger are frequent. In the case of network merger, a new network border is formed. It is composed of the partial borders of the old networks. Upon the topological change, some old AA nodes, specifically those where two networks integrate, will initiate a network initialization process by routing an AAS message to the east. Note that these nodes are aware of the network merger by seeing neighbors with different network prefixes. They explicitly indicate the event in the AAS message. During network initialization, the easternmost head AA in the original networks is identified as the head AA of the new network. Although this node is not experiencing the status change from ordinary node or AA to head AA, it floods the network with an announcement message because it is now head AA of a different network. The announcement message resets all the nodes’ status (to ordinary, i.e., non-AA status) and triggers their re-addressing request. Communication will be interrupted during re-addressing. Afterwards, the new network will be a coherent set of configured nodes. A new set of AAs will be determined by periodic network border updates. Compared to network mergers, network partitioning is relatively easy to handle. The AA nodes adjacent to the breakage points of the old network border will initiate a network initialization process to update the head AA in their hosting partitions. In the partitions containing no such AA nodes, an additional partition detection method is needed (using, for example, the localized method presented in Ref. [26]) in order to initialize the network timely. Although there will be no address conflict in any of the partitions, network initialization will trigger re-addressing whenever a new head AA is identified.

Tsinghua Science and Technology, October 2011, 16(5): 529-538

4.3

Duplicate address detection

We adopt GHT[11] for duplicate address detection. Each address is hashed to a geographic point, and address assign information is the data to be stored. After a node u is assigned address x, it sends an address conflict inquiry (ACI) message carrying x and its ID toward the hash point H ( x) of x by GFG. If the message reaches a replica node of x that knows whom x has been assigned to, the ACI can be answered immediately by that node. Otherwise, the message will be delivered to and answered by the home node of x . If this is the first ACI that the home node ever received for x , it will confirm the address assignment with the source node u and distribute this information along the home perimeter of x so that the replica nodes can answer subsequent ACI for x . With a reply indicating address conflict, u makes a new address request. Because the hash point of a given address is unique, two nodes with the same address assignment will send ACI to the same location. The inquiries will be delivered to the same home node/perimeter if the two nodes are in the same network (whether originally or after a network merger), and duplicate address detection is therefore guaranteed. If the two nodes are in two different networks (as a result of network partitioning), the home node/perimeter for this IP address in the two networks will be different. Each home node/perimeter will be in charge of checking duplicate addresses within its own subnet. By this means, nodes with the same address in different networks will not have a conflict.

5

Applying CDS

In LaConf, AAS messages and periodic ACU messages are transmitted along the network border (outer face perimeter). Border nodes (i.e., AA nodes) store the information of the entire network border. Communication and storage overhead of the AA can be reduced by using nodes on a smaller sized perimeter as AA. The idea is to apply the concept of CDS[27,28]. A set is dominating if and only if any node is either in it or has a direct neighbor in it. A localized CDS formation algorithm was presented in Ref. [12]. It works as follows. Each node is associated with a unique key, which can be a signal value like node ID or a tuple of values describing the node’s properties such as remaining

Xu Li et al.:LaConf: A Localized Address Autoconfiguration Scheme …

energy level, work load and so on. Each node checks whether it has two neighbors that are not directly connected. If such neighbors exist, it marks itself as an intermediate node. An intermediate node further marks itself as an inter-gateway node if it finds that any of its neighbors is neighboring one of its intermediate neighbors and its own key is smaller than the key of any of its intermediate neighbors. All the inter-gateway nodes finally constitute the CDS. Here we refer to this inter-gateway based CDS algorithm as IG for simulations. We may build PDT on CDS, and use nodes on the CDS outer perimeter as AA and among them take the easternmost one as the head AA. Figure 2, where each node has a unique ID as its key, shows the AA selection using CDS. Solid nodes are intermediate nodes; CDS nodes (i.e., inter-gateway nodes) are connected by thick lines. The CDS nodes with their ID written in white are located on the CDS outer perimeter. The CDS outer perimeter is smaller than the original outer perimeter (see Fig. 1).

6

Performance Evaluation

Unlike previous hybrid address autoconfiguration schemes, e.g., Refs. [20-22], where AA(s) are preconfigured, elected or synchronized through globalized computation (not localized), LaConf adjusts AA selection in a localized way as the network topology evolves, thus being adaptive to network dynamics and scalable to large networks. In this case, previous proposals are not comparable to LaConf and we, therefore, evaluate LaConf alone. From Section 4, all LaConf operations are carried out by either broadcasting tasks (announcement

Fig. 2

Applying CDS

535

message), border traversal tasks (ACU), GFG tasks (AAR, AAR reply, ACL reply, ARN), or GHT tasks (AAS, ACL). The communication overhead of LaConf depends on how often these operations are triggered. The frequency is highly scenario-specific. Because we do not want to provide a biased picture that is tied with any particular scenario, we chose to study the general performance of the fundamental supporting techniques. Broadcasting can be implemented intelligently and has been well investigated in the literature[29]. GHT is an application of GFG. Thus we use the following performance metrics: average border size, average face size and average routing hop count. These metrics are subject to the planar graph used. GFG was originally presented using GG in Ref. [25]. Here we suggest to use PDT instead of GG. In our simulations, we use UDG of size N = 60. We varied the average node degree d from 4 to 59 by controlling the nodal transmission range and for each degree-setting, we generated 30 random topologies. We built GG, PDT and DT on each topology, with and without CDS[12] and computed the average results with the selected metrics. Note that we include DT as a benchmark in the simulations as PDT is intended to approximate DT. The simulation results show that PDT leads to better performance than GG and is more comparable to DT. 6.1

Face size

Some statistics for the face size in GG were reported in Ref. [30]. In this previous study, each dangling edge (edge that belongs to only one face, not to two different faces) is counted once. This is not a proper count since during face traversal, all applications visit these edges twice, not once. Thus, each dangling edge shall be counted as two edges in the corresponding face. With this change, the computing face size becomes quite easy. Let N , F and E be the numbers of nodes, faces, and edges, respectively. The well-known Euler formula is F = E − N + 2 . Let S be the average number of edges on a face. Since each edge is counted twice (whether or not it belongs to the same or two different faces), we have FS = 2 E . Thus S = 2 E / F , or S = 2 E / ( E − N + 2) . Our results from this new computing method are depicted in Fig. 3, without CDS being applied. We observe that DT has the smallest outer face perimeter, while GG has the largest. In particular, for d = 5 , 10 ,

Tsinghua Science and Technology, October 2011, 16(5): 529-538

536

20 PDT has 15.1%, 26.3% and 38% fewer nodes on the outer perimeter than GG, respectively. GG has the largest average face size, and DT and PDT exhibit very close performance. For d = 4 and 35, the PDT face perimeter is about 17.5% and 21% less than the GG face perimeter in size. From Fig. 4 where the CDS algorithm IG[12] was run, it can be seen that CDS leads to notable reduction of the outer face size, especially in dense networks. In sparse networks, the reduction is not so obvious because every node has a high chance to be an inter-gateway node. We also notice that CDS dose not change the average face size very much because use of CDS not only reduces the number of nodes in the faces but also the number of faces.

(a) Average size of the outer face

(b) Average size of all faces Fig. 3 Face size without CDS being applied

(a) Average size of the outer face

(b) Average size of all faces Fig. 4 Face size with CDS being applied

6.2

Routing performance

We implemented FACE (using purely face change for message delivery[25]) and GFG on the previously used UDG and the corresponding GG, PDT and DT. We used these two routing algorithms to find paths between 30 randomly picked different source-destination pairs. Each source node was assumed to know its own location and the location of the destination. All nodes know the position of their 1-hop neighbors. The results are plotted in Fig. 5, where Dijkstra’s shortest algorithm is shown for reference. We observe that for d - 10 FACE has better performance on PDT than on GG and the best performance on DT. But its performance tends to be completely reversed on these graphs after d > 10. GG is a sub-graph of PDT. PDT can be constructed by adding edges to GG. When d - 10 , GG is more likely to be concave than PDT. The added edges are more likely to be on the outer perimeter and so are the newly added faces. If we draw a line between any pair of nodes, this line may not pass through these new faces. On the other hand, the added edges can act as shortcuts for routing. Therefore, the average hop count is smaller when PDT is used. For d > 10 , GG is more likely to be convex than PDT, and the added edges during PDT construction are more likely to be inside GG. This results in more faces to traverse in PDT and, therefore, a larger hop count in discovered paths. Since DT is a super-graph of PDT, the same augment can be used to explain their performance difference. GFG has a

(a)

Average hop count - FACE

(b) Average hop count - AFG Fig. 5 Routing performance

537

Xu Li et al.:LaConf: A Localized Address Autoconfiguration Scheme …

different situation from FACE. GFG runs greedy forwarding whenever possible. More edges in a planar graph mean higher possibility of greedy forwarding and more routing shortcuts. It is therefore reasonable that GFG performs best on DT and worst on GG. We also tested GFG routing over the CDS subgraphs constructed on top of these topologies by the CDS algorithm IG[12]. The results are integrated in Fig. 5b for a clear comparison. Use of CDS clearly improves the average hop count performance, especially when the original graph has a low degree (smaller than 10 in our simulation). For example, when PDT is used for the FACE part of GFG, the average hop count reduces by 20.4% for degree = 4 , by 4.7% for degree = 8 and by 1.0% for degree = 15. However, we observe that GFG exhibits similar performance in average hop count on the three graphs GG, PDT and DT once CDS is applied.

7

Conclusions

We presented a localized address autoconfiguration (LaConf) scheme for wireless ad hoc networks by combining GFG[25] and GHT[11], both of which require network graph planarization. In this scheme, available addresses are maintained along the network border, i.e., the outer face perimeter of the planar graph, by GFG and the address assignment information is stored along the face perimeters around the hash locations distributed in the network by GHT. When joining the network, a node obtains an address from the border nodes and then checks for a duplicate assignment at the hash location of the address. Border nodes detect network partitions and merger locally according to neighborhood changes and trigger network re-configuration when necessary. We also proposed to apply CDS[12] to improve the scheme performance. We evaluated LaConf through simulations in a unbiased way, using different planar graphs including GG, PDT and DT and concluded that PDT leads to the best performance without jeopardizing the localized nature of the scheme. In the future, it will be interesting to study how LaConf behaves over the newly invented Hypocomb family graphs[31]. References

work for coverage problems in wireless sensor networks. International Journal of Parallel, Emergent and Distributed Systems, 2009, 24(4): 331-348. [2] Marin-Perianu R S, Scholten J, Havinga P J M, et al. Cluster-based service discovery for heterogeneous wireless sensor networks. International Journal of Parallel, Emergent and Distributed Systems, 2008, 23(4): 325-346. [3] Rubin I, Huang X. Distortion, energy and capacity aware activation of sensor nodes in wireless sensor networks. Ad Hoc and Sensor Wireless Networks, 2008, 5(1-2): 101-136. [4] Ruiz-Ibarra E, Villasenor-Gonzalez L. Cooperation mechanism taxonomy for wireless sensor and actor networks. Ad Hoc and Sensor Wireless Networks, 2009, 7(1-2): 91-113. [5] Johnson D, Hu Y. The dynamic source routing protocol (DSR) for mobile ad hoc networks for IPv4. IETF Network Working Group, RFC4728, February 2007. [6] Perkins C, Belding-Royer E, Das S. Ad-hoc on demand distance

vector

routing.

IETF

Networking

Group,

RFC3561, 2003. [7] Stojmenovic I. Localized network layer protocols in sensor networks based on optimizing cost over progress ratio. IEEE Network, 2006, 20(1): 21-27. [8] Droms R. Dynamic host configuration protocol. IETF Network Working Group, RFC 2131, 1997. [9] Cheshire S, Aboba B, Guttman E. Dynamic configuration of ipv4 link-local addresses. IETF Network Working Group, RFC 3927, 2005. [10] Ingelrest F, Mitton N, Simplot-Ryl D. A turnover based adaptive HELLO protocol for mobile ad hoc and sensor networks. In: Proc. IEEE MASCOTS. Istanbul, Turkey, 2007: 9-14. [11] Ratnasamy S, Karp B, Shenker S, et al. Data-centric storage in sensornets with GHT a geographic hash table. Mobile Networks and Applications, 2003, 8(4): 427-442. [12] Carle J, Simplot-Ryl D. Energy efficient area monitoring by sensor networks. IEEE Computer Magazine, 2004, 37(2): 40-46. [13] Li X-Y, Stojmenovic I, Wang Y. Partial delaunay triangulation and degree limited localized bluetooth scatternet formation. IEEE Transactions on Parallel and Distributed Systems, 2004, 15(4): 350-361. [14] Chen Yu, Fleury E, Razafindralambo T. Scalable address allocation protocol for mobile ad hoc networks. In: Proc. of MSN. Fujian, China, 2009: 41-48. [15] Nesargi S, Prakash R. MANETconf: Configuration of hosts

[1] Dhawan A, Prasad S K. A distributed algorithmic frame-

in a mobile ad hoc network. In: Proc. of IEEE INFOCOM.

538 New York, USA, 2002. [16] Zhou Hongbo, Ni L M, Mutka M W. Prophet address allocation for large scale MANETs. In: Proc. of IEEE Infocom. San Francisco, USA, 2003: 423-434. [17] Jeong J, Park J, Kim H, et al. Ad hoc IP address autoconfiguration. IETF AUTOCONF Working Group, Internet Draft, 2006. [18] Shin H, Talipov E, Cha H. IPv6 lightweight stateless address autoconfiguration for 6LoWPAN using color coordinators. In: Proc. IEEE PerCom. Galveston, TX, USA, 2009: 1-9. [19] Weniger K. Passive duplicate address detection in mobile ad hoc networks. In: Proc. of IEEE WCNC. New Orleans, LA, USA, 2003.

Tsinghua Science and Technology, October 2011, 16(5): 529-538 [24] Bernardos C, Calderon M, Moustafa H. Survey of IP address autoconfiguration mechanisms for MANETs. IETF AUTOCONF Working Group, Internet Draft, 2010. [25] Bose P, Morin P, Stojmenovic I, et al. Routing with guaranteed delivery in ad hoc wireless networks. In: Proc. ACM DIAL-M, LNCS 4325. Seattle, USA, 1999: 48-55. [26] Stojmenovic I, Simplot-Ryl D, Nayak A. Toward scalable cut vertex and link detection with applications in wireless ad hoc networks. IEEE Network, to appear. [27] Shaikh J A, Solano-Gonzalez J, Stojmenovic I, et al. New metrics for dominating set based energy efficient activity scheduling in ad hoc networks. In: Proc. of IEEE LCN/WLN. Bonn/Königswinter, Germany, 2003: 726-735. [28] Simplot-Ryl D, Stojmenovic I, Wu Jie. Energy efficient

[20] Li Longjiang, Cai Yunze, Xu Xiaoming. Cluster-based

backbone construction, broadcasting, and area coverage in

autoconfiguration for mobile ad hoc networks. Wireless

sensor networks. Handbook of Sensor Networks: Algo-

Personal Communications, 2009, 49(4): 561-573.

rithms and Architectures. USA: Wiley, 2005: 343-379.

[21] Sun Y, Belding-Royer E M. Dynamic address configura-

[29] Stojmenovic I, Seddigh M, Zunic J. Dominating sets and

tion in mobile ad hoc networks. Technical Report 2003-11,

neighbor elimination based broadcasting algorithms in

University of California, Santa Barbara, CA, USA, 2003.

wireless networks. IEEE Tran. on Parallel and Distributed

[22] Weniger K. PACMAN: Passive autoconfiguration for mobile ad hoc networks. IEEE J. Sel. Areas Commun., Special Issue on Wireless Ad Hoc Networks, 2005, 23(3): 507-519. [23] Garcia-Nocetti F, Stojmenovic I, Zhang Jingyuan. Ad-

Systems, 2002, 13(1): 14-25. [30] Huang Q, Lu C, Roman G C. Reliable mobicast via face-aware routing. In: Proc. of IEEE INFOCOM. Hong Kong, China, 2004: 2108-2118.

dressing and routing in hexagonal networks with applica-

[31] Li Xu, Mitton N, Simplot-Ryl I, et al. A novel family of

tions for location update and connection rerouting in cellu-

geometric planar graphs for wireless ad hoc networks. In:

lar networks. IEEE Tran. on Parallel and Distributed Sys-

Proc. of IEEE INFOCOM. Shanghai, China, 2011.

tems, 2002, 13(9): 963-971.