Full text
Int. J. Ad Hoc and Ubiquitous Computing, Vol. 25, No. 3, 2017 163 Coherent, automatic address resolution for vehicular ad hoc networks Luis Urquiza-Aguiar* Department of Network Engineering, Universitat Politècnica de Catalunya (UPC), C. Jordi Girona 1-3, Barcelona 08034, Spain Email: [email protected] *Corresponding author Carolina Tripp-Barba Faculty of Informatics, Universidad Autónoma de Sinaloa (UAS), De los Deportes Avenue and Leonismo Internacional, Mazatlán 82107, Mexico Email: [email protected] David Rebollo-Monedero, Ahmad Mohamad Mezher, Mónica Aguilar and Jordi Forné Department of Network Engineering, Universitat Politècnica de Catalunya (UPC), C. Jordi Girona 1-3, Barcelona 08034, Spain Email: da[email protected] Email: [email protected] Email: [email protected] Email: [email protected] José Estrada-Jiménez Department of Electronics, Telecommunications and Networks, Escuela Politécnica Nacional (EPN), Ladrón de Guevara E11 253, Quito 170413, Ecuador Email: [email protected] Abstract: The interest in vehicular communications has increased notably. In this paper, the use of the address resolution (AR) procedures is studied for vehicular ad hoc networks (VANETs). We analyse the poor performance of AR transactions in such networks and we present a new proposal called coherent, automatic address resolution (CAAR). Our approach inhibits the use of AR transactions and instead increases the usefulness of routing signalling to automatically match the IP and MAC addresses. Through extensive simulations in realistic VANET scenarios using the Estinet simulator, we compare our proposal CAAR to classical AR and to another of our proposals that enhances AR for mobile wireless networks, called AR+. In addition, we present a performance evaluation of the behaviour of CAAR, AR and AR+ with unicast traffic of a reporting service for VANETs. Results show that CAAR outperforms the other two solutions in terms of packet losses and furthermore, it does not introduce additional overhead. Keywords: VANETs; vehicular ad hoc networks; AR; address resolution; ARP; address resolution protocol; ND; neighbour discovery; routing protocols; wireless ad hoc networks. Reference to this paper should be made as follows: Urquiza-Aguiar, L., Tripp-Barba, C., Rebollo-Monedero, D., Mezher, A.M., Aguilar, M., Forné, J. and Estrada-Jiménez, J. (2017) ‘Coherent, automatic address resolution for vehicular ad hoc networks’, Int. J. Ad Hoc and Ubiquitous Computing, Vol. 25, No. 3, pp.163–179. Biographical notes: Luis Urquiza-Aguiar received the MS in Telematics Engineering from the Universitat Politècnica de Catalunya (UPC) in 2012. He is a PhD candidate in Network Engineering Copyright © The Author(s) 2015. Published by Inderscience Publishers Ltd. This is an Open Access Article distributed under the CC BY-NC-ND license. (http://creativecommons.org/licenses/by-nc-nd/4.0/)
164 L. Urquiza-Aguiar et al. at the UPC in the research group SERTEL. His research activity is in vehicular ad hoc networks (VANETs), focusing on routing and privacy. Carolina Tripp-Barba received her MS and PhD in Telecommunication Engineering from the Universitat Politècnica de Catalunya (UPC) in 2009 and 2013, respectively. Currently, she is a fulltime Research Professor at the Facultad de Informática Mazatln, Universidad Autónoma de Sinaloa (UAS), Mexico and member of the research group ‘Seales y Sistemas’. Her research activity is focused on VANETs and wireless sensor networks (WSN). David Rebollo-Monedero received the MS and PhD in Electrical Engineering from Stanford University in 2003 and 2007, respectively. He is a post-doctoral researcher with the Information Security Group of the Department of Network Engineering at UPC, where he investigates the application of data compression formalisms to privacy in information systems. Ahmad Mohamad Mezher received his MS in Signals and Systems from the Central University of Las Villas (Cuba). Currently he’s a PhD student on Network Engineering at Technical University of Catalonia and his research interest is focused on vehicular ad hoc networks (VANETs). Mónica Aguilar received her MSc and PhD in Telecommunication Engineering from the Universitat Politècnica de Catalunya (UPC) in 1995 and 2000, respectively. She is an Associate Professor and a member of the Telematic Services Group in the department of Network Engineering at the UPC. Her research interests include design, analytical modelling and performance evaluation of multimedia services over vehicular adhoc networks (VANETs). Jordi Forné received the MS in Telecommunications Engineering from UPC in 1992, and the PhD in 1997. Currently, he is an Associate Professor at the Telecommunications Engineering School of Barcelona (ETSETB), and is with the Information Security Group. José Estrada-Jiménez received the MS in Telematics Engineering from UPC in 2013. Currently, he is an Assistant Professor at Escuela Politécnica Nacional in Ecuador. 1 Introduction Vehicle communications are the object of rapidly increasing attention by the research community, largely driven by interests in road safety. VANETs (Hartenstein et al., 2010) may be regarded as a special case of mobile ad hoc networks (MANETs), where nodes are vehicles. Nevertheless, VANETs face particular challenges compared to MANETs, such as faster topology changes, smaller link lifetime, or a potentially higher number of nodes in the network, among others. In VANETs, both vehicle-to-vehicle (V2V) and vehicle-to- infrastructure (V2I) communications are possible. Owing to the very dynamic topology of VANETs, their routing protocols need continuous broadcasting of signalling messages which are used to keep track changes in the network infrastructure. Next, an address resolution (AR) mechanism is traditionally required to set up a traffic flow when a new IP communication process starts. We claim that this AR task can be performed by the network-topology updating process accomplished by VANET routing protocols. In this way, we leverage the functionality of the routing signalling and avoid the AR traffic periodically interchanged among nodes. We show the undesired effects of AR traffic in vehicular communications and highlight the advantages and drawbacks of our proposal in a multi-hop scenario for a unicast traffic service. We extend the analysis done for MANETs in Carter et al. (2003) to VANET environments by using two routing protocols. On the one hand, we tested AODV (Perkins et al., 2003), a well-known topology-based protocol, since it is the basis for many recent developments; and on the other, a proposal for a geographical routing protocol named GBSR (Tripp Barba et al., 2013), which is an improvement of GPSR (Karp and Kung, 2000). The main contributions of this paper are: •an in-depth study of the AR behaviour in VANETs, by showing its negative impact on the overall performance of such networks •a proposal to suppress the common AR process in a VANET by adding L2 addressing information to the signalling routing messages. This approach prevents collisions and facilitates the tasks of the layers, such as the addition and subtraction of headers. The rest of the paper is organised as follows. Section 2 summarises the AR procedure and particular its work flow in a wireless communication. That section also reviews the routing protocol classification and explains briefly the operation of AODV (Perkins et al., 2003), GPSR (Karp and Kung, 2000) and GBSR (Tripp Barba et al., 2013). Next, Section 3 summarises related work to AR in MANETs. Afterwards, Section 4 describes our scenario, and shows how AR mechanisms can be enhanced to minimise the traffic necessary to set up a data communication in a multi-hop scenario. This section ends with an explanation of how the updating topology process embedded in routing mechanisms can carry out such AR. Then, Section 5 is entirely devoted to the evaluation of the different AR schemes according to
Coherent, automatic address resolution for vehicular ad hoc networks 165 the strategies we proposed. Finally, conclusions are drawn in Section 6. 2 Background Our contribution is inspired by the AR work logic carried out by the address resolution protocol (ARP) (Plummer, 1982) in IPv4 and neighbour discovery (ND) (Narten et al., 2007) in IPv6 networks. Our proposal of an AR scheme is supported by the operation of the VANET routing protocols. In general, the literature states that IPv6 is the most appropriate technology to support VANET communications (Mohammad et al., 2011), given the exhaustion of IPv4 addresses and the new features offered by IPv6. The IPv6’s ND protocol includes an AR mechanism which is substantially similar to that of ARP (Davies, 2012). Indeed, ND is more complex owing to the fact that it combines AR and ICMP router discovery and redirect mechanisms in its operation, as it is described in the IPv6’s RFC 4861 (Narten et al., 2007). Since the IPv6’s AR mechanism uses multicast communication, the traffic generated when requesting this service is theoretically much lower compared to that of ARP broadcast traffic. However, its wireless shared medium prevents VANETs from taking advantage of such multicast process since all neighbouring nodes still receive the requests, even when those are not processed by all the nodes. Hence, a significant amount of traffic is generated anyway, owing to the AR process. For the purposes of our analysis, both ARP and ND AR mechanisms have the same issues in terms of the amount of traffic they generate in a VANET scenario. Hence, we will use the parameters of both ARP and ND protocols when referring to the AR processes, provided that some simulation tools are still using the IPv4 stack. In this section, we first present a detailed study of the AR operation to then propose (Section 4.2) a modified configuration of this AR mechanism to enhance its performance for mobile and dynamic topologies. Next, we summarise a classification for routing protocols in VANET and briefly describe one of each routing category, the traditional AODV protocol and GBSR which is an improvement of GPSR. 2.1 Address resolution The link-layer AR process performed by a neighbouring node was standardised in ARP (Plummer, 1982) for IPv4 networks in 1982, and updated in neighbour discovery (Narten et al., 2007) for IPv6 networks in 2007. The operation of the AR mechanism is really simple. When a node Aneeds to send information (packets) to a node B, the AR daemon looks up in a translation table whether the B’s hardware address exists. If Afinds B’s hardware address, then AR daemon puts it in the MAC header of the packets sent to B. If Adoes not know B’s hardware address, node Abroadcasts (in ARP) or multicast (in IPv6) a message to request such information. When node B receives the request, it updates its address translation table and responds to node Awith a reply message containing the hardware address of B. Below we describe some AR operation features, which are identical in ARP an ND, to suggest improvements when applied to a VANET scenario. •When a node uses the address information from the sender’s ARP message to update an entry in the address translation table, it is called a Free AR update. This operation is done with every ARP packet whatever the destination of the message is. This operation can be performed with ND with Unsolicited Neigbour Advertisement. However, free updates are still possible in VANETs, if vehicles process messages in promiscuous mode owing to the shared nature of the wireless channel. •When a node adds addressing information obtained from a received ARP request to its address translation table, the process is known as ARP learning. ARP learning is performed in ND with Neighbour Solicitation Messages, which do the same job as ARP requests. •According to RFC 1122 (Braden, 1989) a node should keep a queue per destination to store at least one packet (to locate the last incoming packet) until its hardware address is resolved. Most of the current ARP implementations only use this really short buffer. ND (Narten et al., 2007), also keeps the use of a short queue. Nevertheless, this buffer size may not be large enough for MANETs where collisions occur frequently and, therefore, the buffer could drop packets because a request/reply was lost. •The recommended maximum ARP request rate is 1 message per second per destination, to prevent ARP flooding in IPv4 (Braden, 1989). In ND (Narten et al., 2007), RetransTimer, set the wait time before sending another neighbour solicitation. In addition, the maximum number of neigbour Solicitation messages to a node can be done through MAX_UNICAST_ SOLICITS. •Another common implementation issue is that the AR process can only be completed with the reception of an AR reply message. In other words, node Awill only try to send those packets stored in its buffer and addressed to node Bwhen an ARP reply message (from Band addressed to A) is processed. Nevertheless, a hardware address might have been resolved by another AR message, such as an AR message (reply or request) where node Bhad participated, that node Acould have heard from its neighbourhood The aforementioned AR features may provoke some issues on the VANET operation. In Section 4.2 we analyse some optimisation procedures and we propose a modified configuration of AR, which we claim could be more suitable for VANETs.
166 L. Urquiza-Aguiar et al. 2.2 Routing protocols in VANETs A widely accepted and general classification of VANET routing protocols is presented (Lee et al., 2009) where routing protocols are divided into two big categories: Topology-based: These routing protocols do packet forwarding by using the information of the existing links in the network. The strategy can be divided into proactive (table-driven) and reactive (on-demand) routing. these two options can build a routing table. Geographic (position-based): In these routing mechanism the nodes take their forwarding decisions based on the position of a packets destination and the positions of the nodes onehop neighbours. Geographic routing assumes that each node knows its own location, and the sending node is aware of the receiving node’s location using a global position system (GPS) unit. Many of these routing protocols store packets while they do not have a suitable forwarding node, a process which is called carry-and-forwarding. This specific type of protocols are appropriate for delay-tolerant networks and applications (DTN) owing to the inherent delay introduced by the carrying process. In this subsection we summarise the main features of AODV (Perkins et al., 2003) and GBSR (Tripp Barba et al., 2013). AODV is a reference protocol for MANETs and has been the foundation for many implementations of topology-based routing protocols proposed for vehicular networks (Aswathy and Tripti, 2012) (Naumov et al., 2006). GBSR (Tripp Barba et al., 2013), however, is a novel proposal based on GPSR (Karp and Kung, 2000), which improves this protocol in terms of packet losses. For the sake of clarity in the results we found, only AODV and GBSR will be used in Section 5to assess the performance of our AR proposal. Both AODV and GBSR represent the two branches (topological and geographical) of classification commonly used over routing protocols for VANETs. Hence, in this work we aim to cover both sides of the aforementioned classification. AODV (Perkins et al., 2003) is a reactive protocol that uses the Bellman-Ford distance vector algorithm which was adapted to work in a mobile environment. It determines an end-to-end route to a destination only when a source node wants to send a packet. Routes are maintained as long as they are needed by the source while there is connectivity between nodes in the path. Sequence numbers ensure the freshness of routes and guarantee a loop-free routing. An AODV node maintains a routing table that holds information like: destination address, next-hop address, hop count, destination sequence and lifetime. AODV has been evaluated in VANET scenarios under different circumstances, showing that it can still be suitable for VANET scenarios, especially in high density areas (Ferreiro-Lage et al., 2009; Haerri et al., 2006) and with a low number of active connections (Spaho et al., 2013). These conditions were considered in the configuration settings of the evaluation scenario we used in this work, which consider a unique and fixed destination. It is important to notice that these characteristics help to build end-to-end paths and to reduce the amount of signalling messages, which are some of the details considered in AODV-inspired protocols like (Aswathy and Tripti, 2012) where a cluster is created and only the leaders of the cluster can create routes; or in Naumov et al. (2006), where nodes in promiscuous mode are able to detect better routes. Moreover, since AODV needs more signalling traffic than its enhancements. The results obtained in the AR assessment for AODV can be considered the most pessimistic case for this branch of protocols. Greedy buffer stateless routing (GBSR) protocol (Tripp Barba et al., 2013) was designed for delay tolerant applications. GBSR is an improvement of greedy perimeter stateless routing (GPSR) (Karp and Kung, 2000), which was specially designed for VANETs. GPSR uses two different techniques to forward packets: greedy forwarding, which is used by default; and perimeter forwarding, which is used in those regions where greedy forwarding cannot be used. With greedy forwarding, the neighbour geographically closest to the packet’s destination (greedy choice) is chosen as the packet’s next hop. When there is not a closest neighbour to destination, GPSR uses the right-hand rule to route packets around voids. The sequence of edges traversed by the right-hand rule is called perimeter. GPSR poses two important drawbacks: the first one reported (Naumov et al., 2006) is the use of outdated information; the second one is the inefficient perimeter forwarding scheme (Gerla and Kleinrock, 2011). GBSR was proposed to tackle both issues by improving GPSR through a map-aware capability and a buffer-based scheme. GBSR stores packets in a buffer (carry packets with it) instead of implementing any perimeter mode when no closest-to- destination neighbour is found. The GBSR protocol, as GPSR does, uses distance as the only metric to make forwarding decisions. Additionally, GBSR sends more information within its hello messages to get a more accurate position estimation, thus being more restrictive in selecting neighbours (e.g., avoiding nodes with low power reception signal). All these modifications help GBSR to outperform GPSR in terms of packet losses at the expense of slightly increasing the average packet delay. 3 Related work Issues with the AR operation in ad hoc networks have been reported in other works. Authors of a study about TCP performance over MANETs (Holland and Vaidya, 1999) found that a large amount of packet losses were owing to the combination of outdated routes, unresolved MAC addresses for those next forwarding nodes and a veryshort ARP queue. In a measurement study of vehicular internet access (Bychkovsky et al., 2006) using IEEE 802.11b networks, authors highlighted that the 1.5 out of 5 s necessary to initialise any data transmission, were owing to ARP procedures. The AR process has been studied previously in a context of MANETs. In the performance comparison of routing protocols for multi-hop wireless ad hoc networks done (Broch et al., 1998), authors noted a serious layer-integration problem between any ondemand MANET routing protocol and ARP. The problem arises when a route for the stored packets is found. If there is a next-hop destination whose link-layer address is unknown, all
Coherent, automatic address resolution for vehicular ad hoc networks 167 the queued packets, except the last one sent from the routing protocol queue to the ARP queue, will be dropped. This is owing to the short length of the ARP buffer (1 packet). Broch and colleagues (Broch et al., 1998) solved the problem by fixing the rate at which packets are passed from the routing queue to the ARP queue. Also, they realised that the size of the ARP buffer could be increased to store additional packets. Moreover, they suggested that the routing protocol could be aware that the ARP module already has the link-layer address of the next forwarding node. Carter et al. (2003) presents the negative effects that result from the separation of ND and link layer AR. They focused their attention in the conflict produced in the interaction between a manycast application and ARP. They observed the problems arose owing to the dynamic topology in MANETs, which caused issues in the routing protocols because they need to use updated neighbour information. The conflict in manycast occurs when the route replies are propagated back to the manycast source. Carter and colleagues proposed (Carter et al., 2003) an approach called automatic address resolution (AAR) that is based on the maintenance of AR coupled with the ND process carried out by the routing protocol through exchange of signalling messages needed to establish routes. They claimed that any routing protocol could easily perform automatic AR by recording the link-layer address when a ND occurs. This is specially suitable for MANETs because this operation avoids the use of ARP messages. This ensures that the neighbour’s link-layer address is already known when a unicast communication with that neighbour is needed. However, this proposal assumes that the link-layer source address is automatically accessible by the routing protocol and that AR does not use additional communication resources. We claim that this fact is not so evident and easy in real scenarios as it could seem. In any case, the results (Carter et al., 2003) show that automatic AR performs better than ARP regardless the type of routing protocol (reactive or proactive). Finally, Choi et al. (2008) a communication scheme is proposed to enable some IPv6 procedures without linkscope multicast. Since the support of link-scope multicast is difficult for VANET scenarios, the authors propose packet delivery mechanisms that take advantage of inherent location management functions. They support the proposal in the use of C2C architecture to perform IPv6 operations. The work comes up with the use of additional C2C and Layer 2 headers to encapsulate IPv6 packets in order for them to reach an IP next hop and an Layer 2 neighbour. By using beacon messages they propose to send the 802.11p MAC address (among other type of information) of the source node in a communication process. This is how the ND process is carried out without depending on multicast. 4 Address resolution proposals This section presents the major contribution of our work, namely a process we called coherent, automatic address resolution (CAAR) for IP multi-hop vehicularad hoc networks (VANETs). First of all, we examine in Section 4.1 the vehicular network scenario we used. Next, in Section 4.2 we review some straightforward modifications to the AR procedure to improve its performance. Finally, Section 4.3 specifies the characteristics of our novel AR approach. 4.1 Application scenario We focus our analysis on a multi-hop vehicular ad hoc network (VANET) that performs routing operations at the network layer. This approach has the advantage of preserving the original functionality of the different layers in the stack of protocols. Afterwards we describe the communication procedure performed in our application scenario. 4.1.1 Communication procedure For the application scenario that we considered, the following assumptions were done: •Two vehicles that are not in communication range of each other need a forwarding node able to connect these two nodes. Different from traditional wired systems, the packet forwarding operation occurs in VANETs even when nodes are in the same network addressing (within the same ‘IP site’). For ad hoc networks, the concept of forwarding is more related to the physical distance between nodes rather than a logical hierarchy of network addressing. •A node needs to have a valid non-link local IPv6 address since nodes cannot forward packets using link-local addresses (Hinden and Deering, 2006). In particular, for this work we assume that vehicles use a unique local address. A unique local address (Hinden and Haberman, 2005) enables packet routing only within a site, so packets are not expected to be routable through the internet. The following steps were performed to enable communication in the scenario: •A node obtains the IP configuration parameters from the IP site it belongs to. A vehicle in a multi-hop scenario has two ways to do this: •If vehicles have direct communication to an access point (AP), the road side units (RSUs) provide them with IP parameters for self configuration. The RSUs periodically broadcast the IP configuration (to one-hop neighbours) in the acknowledgement frame of the wireless access vehicular environment (WAVE) service, which is defined in the IEEE 1609.3 standard (IEEE Standard for Wireless Access in Vehicular Environments (WAVE) – Networking Services, 2010). •If a vehicle is located several hops from a RSU, it is unable to receive a service acknowledgement frame sent by the RSU. In such case, a vehicle has to use a multihop modification of the router discovery (RD) process. The RD Process is one of the functions of the ND Protocol, and consists of
168 L. Urquiza-Aguiar et al. two messages: Router Solicitation and the router advertisement. The latter carries the IP parameters (network prefix, MTU, etc.) of the vehicle network configuration. A modification of multihop RD is presented (Wakikawa et al., 2006). It proposes the use of router request and reply messages to encapsulate the Router Solicitation and Advertisement messages. The router request is sent to a predefined multicast gateway address. The gateway will respond using a unicast Router Advertisement. A unicast temporal IP address is used by the initiator to receive the router reply. This initial and temporal IP address is built from a specific prefix called MANET_INITIAL_PREFIX. Alternatively, this initial IP address can be the valid IP used for the previous associated IP site. •A vehicle auto-configures a unique-valid local IP address. After a node receives its IP configuration, generates for itself a unique interface ID (IID) to be used on the stateless IP address auto configuration process. The IID is appended to the network prefix to generate a unique local IP address. This unique ID can be generated using a random generator as proposed (Wakikawa et al., 2006). This process has to do duplicate detection. Another option is using the vehicle identification number (VIN) (Imadali et al., 2013), which may avoid the duplicate detection phase. Other IP configuration mechanisms for MANETs have been surveyed (Bernardos et al., 2010) and all of them can be applied to our VANET scenario. •Once a vehicle is configured with a local-unicast IPv6 address, it can establish unihop or multi-hop IP communications, either V2V or V2I. In any case, both parts of a communication process will need to perform link-layer AR to reach the next forwarding hop before sending data packets. •When a node leaves the influence area of the IP site to which the vehicle is associated, it will receive new IP configuration parameters announced by the WAVE service acknowledgement frame of another RSU in the new IP site or through multihop procedure. A node could be aware that it is not in the range of its associated IP site, when: •A vehicle receives Hello messages from neighbours with different IP range. •Based on its position, a node is able to know whether it is in the geographical area covered by its current IP Site. This information can be sent during the IP configuration process or by other means such as an IP Site bounds layer in the preloaded maps of the vehicle. •Besides, during the change from one IP site to other, the node could use its neighbours from the previous IP site still reachable to send information. Once a node obtains the new IP configuration and begins to discover neighbours in the new site, it should erase all the obsolete associations. These steps show possible ways that enable vehicles to keep connected with their surrounding peers and other infrastructure services. In this work, we assume that address auto-configuration has already been accomplished, and that all the nodes are in the same IP site using stable and valid configuration. Below we explain the characteristics of the traffic we used for the VANET scenario. 4.1.2 Characterisation of the scenario’s traffic Caloca and Garcia Macias (2010) provide a classification of vehicular applications and their communication requirements. These categories are: safety, vehicular traffic efficiency and infotainment applications. Traffic flow control or environmental conditions monitoring are some of the aims of such applications. They might include delivering information to traffic authority centres about road conditions, air pollution, noise level, infraction reporting, reckless drivers, etc. All the efficiency-oriented applications require a continuous monitoring phase of the streets and city conditions. Vehicles are the most suitable collectors of this information so they can be in charge of feeding the monitoring centres. Our application scenario incorporates data traffic generated by an efficiency application during the phase of collecting data only. The characteristics of the traffic are: •Vehicles obtain data from their sensors, they process such data and generate constant-length packets. •The packets are sent to the closest RSU. This is a unicast and unidirectional traffic, since the information is valid only to the authority. With the purpose of facilitating the delivery process of data, RSUs can be configured with an anycast address, which does not semantically differ from unicast IPv6 addresses, and the configuration would not change the AR process regarding the ND protocol (Davies, 2012). •This kind of applications does not have important delay constraints as the safety related ones, so the transport of its traffic is suitable for delay-tolerant protocols which deal with variable and high delay, since the data is still useful. It is worth mentioning that, when the traffic authority has to send data related to traffic conditions to vehicles or drivers, this information will be interesting for the whole group of vehicles located in a specific area. Consequently, this information could be transmitted using geocast communication to a multicast group associated to a geographical area. In any case, in these kind of transmissions, AR is not necessary because the translation of multicast IP addresses to the associated Ethernet MAC address is well defined according to (Hinden and Deering, 2006) and (Haberman and Thaler, 2002).
Coherent, automatic address resolution for vehicular ad hoc networks 169 4.2 Improvements to the address resolution procedure for ad hoc networks (AR+) In vehicular networks, every node listens to the communications coming from the nodes within the coverage area (its neighbours). Also, the AR request messages are always received by the node regardless the recipient of the messages, so AR message could be easily processed by all nodes that anyway receive them to take advantage of their information. Based on those two facts, we propose AR+, which includes the following straightforward modifications of the AR operation to enhance the overall performance of the AR procedure. •A node must perform the AR learning operation, as described in Section 2.1, using all the AR request packets that it hears, and not only from those packets addressed to the node. This change is based on the fact that all the AR packets that a node receives come from one of its neighbours, which might become next forwarding nodes for other packets in the near future. If that is the case, AR transaction might not be necessary since the nodes have already proactively saved the MAC addresses of possible next hops. In simple terms, a node adds or updates an entry of its AR table for any kind of AR message received, regardless of whether the node needs that entry for its current routes or not. Figure 1 shows the advantage of this scheme. By applying the proposed modification, the AR process would not be necessary since the address would already be resolved. •A node will maintain an AR queue of the same length as that of the routing protocol queue. This prevents a packet in the AR buffer from being dropped when a new packet comes from the routing queue if the AR process is not completed yet. That is, we have a packet in the AR queue waiting for the AR process to be completed. If the AR queue is shorter than the routing queue,a new incoming packet from the routing queue may drop that stored packet. This problem can be avoided by just making both queues of the same length. •Since the AR buffer is able to store more than 1 packet (its length is a design parameter), the AR process could send as many requests as stored packets in the AR module, but without exceeding the maximum AR request rate of 1 message per second per destination. In this way, a node has more than one chance to request an AR. •A node will perform a proactive dequeuing of packets. Its AR module will not only try to send stored packets when an AR reply is received. In addition, it will try to dequeue packets when any AR message is heard. That is, given two neighbouring nodes (let us say Aand B), node Amight receive a request message coming from node Band going to any node (not necessarily to A) before the reply message from Barrives to Asince, for example, the reply was lost. In this way, Acan learn the MAC address of Beven if there are losses in their own request-reply procedure. •A final modification we propose to include in the AR procedure relies on the coherence of the services among layers. We claim that the ‘validity ARP entry time’ should be equal to the ‘valid time of a route’ in the case of topology-based protocols (e.g., AODV) and to the ‘neighbour’s lifetime’ in geographical-based protocols (e.g., GPSR). The objective is to prevent a new AR transaction for a neighbour whose entry was previously deleted from the AR table (because its timer expired) while that node is still valid for the routing level (its entry in the routing table is still valid). Figure 1 Extension of the AR learning operation: (a) traditional AR procedure and (b) extension of the AR learning (see online version for colours) (a) (b) All the previous changes were implemented in our enhanced AR process for VANETs which seeks to improve the vanilla AR in terms of losses and delay as well as to decrease the traffic necessary to perform the AR task. The improvements proposed to the AR resolution process might be interesting as strategies to enhance its performance without significantly changing the protocol. 4.3 A coherent, automatic address resolution (CAAR) As we mentioned in the introduction of this paper, our work extends the AAR proposed (Carter et al., 2003) for MANETs. We called our proposal CAAR Coherent AAR because it agree much better with tasks assigned to each communication layer. CAAR is straightforward to be implemented, avoiding interactions between routing and MAC layers to perform the AR process. In this section we show the advantages of our approach by means a detailed description of the process flow of AAR and CAAR. 4.3.1 Automatic address resolution procedure Carter et al. (2003) assumed that the source MAC address field of the MAC header is transparently available for the routing protocol daemon after receiving routing signalling messages. However, the implementation of a mechanism to make the MAC address available to the routing protocol is not a trivial task. The main reason lies in the extra work that the link
170 L. Urquiza-Aguiar et al. layer should perform. We propose and show in Figure 2 two possible paths that a packet may follow when applying the approach of Carter et al. (2003). In both cases the link layer obtains the MAC header, reads the source MAC address and dispatches the frame payload to the IP layer. Figures 4 and 5 give details about the suggested implementations. A first possible implementation is: Green path in Figure 2. The link layer pushes the Source MAC Address to the AR process which starts a timer (step 1, MACPROCESS algorithm in Figure 4) that waits an IP address to shape a Neighbour entry to be added in the neighbours’ table. Next, the signalling packet is processed by the routing daemon (step 2, ROUTING-PROCESS in the algorithm), which extracts the IP source address and sends it to the AR daemon (step 3). Finally, a proper neighbour entry is added to the AR table (step 4, AR-PROCESS). If no IP address is provided to the AR process before the timer expires (step 5), then the MAC address is discarded, the same as TIMERHANDLER,in the algorithm. Alternatively, the algorithm in Figure 5, differs from the previous one in the implementation of a timer, as follows: Black path in Figure 2: The link layer saves the source MAC address and initialises a timer (MAC-PROCESS function). The signalling packet is treated by the routing daemon (step 1) which extracts the source IP address and sends it to the AR process (step 2, ROUTING-PROCESS sequence). The AR daemon (AR-PROCESS function) retrieves the source MAC address saved by the link layer (step 3) and writes the new information (an AR-ENTRY) in the neighbour table (step 4). As in the first process flow, if the timer initialised by the link layer expires (step 5), the MAC address is discarded by the TIMERHANDLER procedure. For both alternatives, if a new packet arrives before the AR-ENTRY (corresponding to the previous packet) is created, both MAC addresses are discarded. This process can be seen in the validation done in AR-PROCESS for the first alternative (line 13), and in the MAC-PROCESS for the second alternative (line 2). We would like to point out that there are many options or extra steps that may be performed over the mechanism to do the AR, as explained before. Nevertheless, we think that all these improvements entail too much extra work to the link and routing layers and, furthermore, they are not necessary to carry out the AR. 4.3.2 Process flow of CAAR CAAR is really straightforward. Every node copies its MAC address, available for instance from its management information base (MIB), into the signalling routing messages as a new field of them. This action will slightly increase the length of those signalling messages in 6 bytes with the purpose of not augmenting the MAC layer complexity or cross layering cooperation between MAC and routing layers. The scheme of our proposal, depicted in Figure 3 and its algorithm (in Figure 6), works only at the network layer. This is explained below. CAAR path in Figure 3: When a routing signalling packet arrives to a node, it is processed by the routing daemon (step 1) which extracts the source IP and MAC addresses (step 2, ROUTING-PROCESS algorithm) from the IP header and the signalling message, respectively. We do not need to use timers, since the match is directly done when an IP Packet encapsulated in a routing message is received. Such IP packets, as depicted in Figure 7, contain both IP and MAC addresses at the same communication layer. Next, the pair of IP and MAC addresses is sent to the AR process (step 3), which adds or updates an entry to the AR table. Figure 2 Possible packet flows in the automatic address resolution (see online version for colours) Figure 3 Scheme of our CAAR proposal (see online version for colours)
Coherent, automatic address resolution for vehicular ad hoc networks 171 The AR-PROCESS algorithm in CAAR is extremely simple compared to the tasks assigned in the AAR alternatives. The main advantage of our approach is the minimal extra work introduced in the routing process, whose goal is to attain a proper addresses tuple (MAC, IP) to be used by the AR process. Notice that the operation of the link layer remains invariable. Moreover, the CAAR is automatic because it matches IP and MAC addresses without using any AR signalling. Figure 4 Automatic address resolution algorithm. Alternative 1 MAC-Process(P) Require: A packet P Ensure: MACsrc of Pto AR-Process. 1: MACsrc ←GetSourceMAC(P) 2: AR-Process(MACsrc ,N U LL) 3: return Routing-Process(P) Require: A packet P Ensure: IPsrc of Pto AR-Process. 1: IPsrc ←GetSourceIP(P) 2: if IsRoutingMessage(IPsrc)= T RU E then 3: AR-Process(N U LL , IPsrcP) 4: return AR-Process(MACsrcP, IPsrcP) Require: MACsrc or IPsrcof P Ensure: AR-Entry(MACsrc , IPsrc) to TableARP. 1: if MACsrc 6=N U LL then 2: if TEMPM AC 6=N U LL then 3: Kill(T imer) 4: Kill(TimerHandler) 5: Delete(TEMPM AC ) 6: Delete(MACsrc) 7: return Fail 8: else 9: TEMPM AC = MACsrc 10: Init(T imer) 11: Init(TimerHandler) 12: if IPsrc 6=N U LL then 13: if TEMPM AC =N U LL then 14: Delete(IPsrc) 15: return Fail 16: else 17: TEMPIP = IPsrc 18: Entry=AR-Entry(TEMPMAC , TEMPIP ) 19: AddTableARP(Entry) 20: Kill(T imer) 21: Kill(TimerHandler) 22: return Success TimerHandler() Require: active T imer Ensure: Delete(TEMPM AC ) of AR-Process 1: if T imer = 0 then 2: AR-Process.Delete(TEMPMAC ) 3: else 4: nothing to do 5: return Success Figure 5 Automatic address resolution algorithm. Alternative 2 MAC-Process(P) Require: A packet P Ensure: MACsrc of Pto AR-Process. 1: MACsrc ←GetSourceMAC(P) 2: if TEMPM AC 6=N U LL then 3: Kill(T imer) 4: Kill(TimerHandler) 5: Delete(TEMPM AC ) 6: Delete(MACsrc) 7: return Fail 8: else 9: Init(T imer) 10: Init(TimerHandler) 11: TMPM AC ←MACsrc 12: return Routing-Process(P) Require: A packet P Ensure: IPsrc of Pto AR-Process. 1: IPsrc ←GetSourceIP(P) 2: if IsRoutingMessage(IPsrc)= T RU E then 3: AR-Process(IPsrcP) 4: return AR-Process(IPsrcP) Require: IPsrcof P Ensure: AR-Entry(MACsrc , IPsrc) to TableARP. 1: if TEMPM AC =N U LL then 2: Delete(IPsrc) 3: return Fail 4: else 5: TEMPIP = IPsrc 6: Entry=AR-Entry(TEMPMAC , TEMPIP ) 7: AddTableARP(Entry) 8: Kill(T imer) 9: Kill(TimerHandler) 10: return Success TimerHandler() Require: active T imer Ensure: Delete(TEMPM AC ) 1: if T imer = 0 then 2: Delete(TMPM AC ) 3: else 4: nothing to do 5: return Success 4.4 CAAR implementation in VANET routing protocols We have explained the advantages in the implementation of CAAR at the cost of minimal overhead in the routing signalling message. Since the AR process is triggered by the reception of a routing message, the AR procedure is done for all the neighbours, which are possible next forwarding nodes. This inhibits the exchange of neighbour solicitation and the neighbour advertisement messages of AR signalling.
178 L. Urquiza-Aguiar et al. schemes we evaluated. However, when implemented over classical topological protocols like AODV, CAAR only shows significant improvements in low-density scenarios, where path establishment is more difficult and where an AR transaction failure may end up being costly because of the limited number of alternatives to build a path. When implementing GBSR, CAAR obtains the highest values of delay (around 1.8 s instead of 0.8 s for other schemes). The reason is related to the lower packet losses (around 20% fewer losses), which is owing to the absence of AR signalling avoiding collisions, which increases the number of packets using longer paths to arrive at the destination. However, packets coming through long distances could be stored in the routing buffer longer than packets coming through short distances until suitable forwarding nodes are found. Packets coming from far away are, consequently, suffering high delay. In the case of AODV, the delay does not significantly change among the AR schemes since the AR process occurs mainly during the establishment of the paths. The number of hops is tightly related to the routing protocol behaviour, as shown in the results. Furthermore, we included a study of the signalling traffic when using the three AR schemes evaluated, in terms of AR transactions, HELLO, RREP and REQ messages. We can conclude that our proposal CAAR improves the packet losses performance without introducing any extra overhead when used over GBSR. CAAR, however, needs less or at most the same amount of signalling traffic as traditional AR in all the vehicle densities we tested, when it is implemented over GBSR. Future work may be oriented to do a comparative study of the address auto-configuration mechanisms for MANETs surveyed (Bernardos et al., 2010) by using a network simulator. Such study would include an analysis of parameters like average time to obtain a valid configuration, number of auto-configuration attempts, signalling traffic introduced by the mechanism, among others. Also, we are interested in the impact of the IP configuration changes in the performance of routing protocols. Acknowledgement We would like to thank Professor Antoni Miñarro for a good number of helpful comments in the use of statistical tests. This work was partly supported by the Spanish Government through projects TEC 2013-47665-C4-1-R Emergency Response In Smart Communities ‘EMRISCO’ and TEC2010-20572-C02-02 Continuity of Service, Security and QoS for Transportation Systems ‘CONSEQUENCE’. Luis Urquiza-Aguiar is the recipient of a full scholarship from the Secretaria Nacional de Educación Superior, Ciencia y Tecnología (SENESCYT) with the sponsorship of Escuela Politécnica Nacional (EPN) (Ecuador). Carolina Tripp-Barba would like to thank the support of the ‘Universidad Autónoma de Sinaloa (Mexico)’. D. Rebollo-Monedero is the recipient of a Juan de la Cierva postdoctoral fellowship, JCI-2009-05259, from the Spanish Ministry of Science and Innovation. Ahmad Mezher is recipient of an FI-AGAUR grant References Aswathy, M.C. and Tripti, C. (2012) ‘An enhancement to AODV protocol for efficient routing in VANET: a cluster based approach’, in Wyld, D.C., Zizka, J. and Nagamalai, D. (Eds.): Advances in Computer Science, Engineering and Applications SE – 99, Vol. 167 of Advances in Intelligent Systems and Computing, Springer Berlin Heidelberg, pp.1027–1032. Bernardos, C., Calderón, M. and Moustafa, H. (2010) Internet- Draft: Survey of IP Address Autoconfiguration Mechanisms for MANETs, Internet Engineering Task Force – Adh-Hoc Network Autoconfiguration pp.1–57. Braden, R. (1989), Request for Comments (RFC): 1122 Requirements for Internet Hosts – Communication Layers Status, Internet Engineering Task Force – Network Working Group pp.1–116. Broch, J., Maltz, D.A., Johnson, D.B., Hu, Y-C. and Jetcheva, J. (1998) ‘A performance comparison of multi-hop wireless ad Hoc network routing protocols, Proceedings of the 4th Annual ACM/IEEE Int. Conf. on Mobile Computing and Networking’, MobiCom ’98, ACM, New York, NY, USA, pp.85–97. Bychkovsky, V., Hull, B., Miu, A., Balakrishnan, H. and Madden, S. (2006) ‘A measurement study of vehicular internet access using in situ Wi-Fi networks’, Proceedings of the 12th Annual International Conference on Mobile Computing and Networking, MobiCom ’06, ACM, New York, NY, USA, pp.50–61. Caloca, C. and Garcia Macias, J.A. (2010) ‘Adaptive solutions in multihop communication protocols for vehicular ad hoc networks;, in Watfa, M. (Ed.): Advances in Vehicular Ad-Hoc Networks: Developments and Challenges, IGI Global, chapter Adaptive S, pp.301–322. Carter, C., Yi, S. and Kravets, R. (2003) ‘ARP considered harmful: manycast transactions in ad hoc networks’, Wireless Communications and Networking. WCNC ’03 IEEE, Vol. 3, pp.1801–1806. Choi, J., Khaled, Y., Tsukada, M. and Ernst, T. (2008) ‘IPv6 support for VANET with geographical routing’, 2008 8th International Conference on ITS Telecommunications, IEEE, pp.222–227. Davies, J. (2012) ‘Understanding IPv6’, 3rd ed., Microsoft Press, Chapter 6 Neighbor Discovery, p.716. Estinet-Technologies (2014) EstiNet Network Simulator and Emulator, http://www.estinet.com/ products.php?lv1=1andsn=2 Ferreiro-Lage, J.A., Gestoso, C.P., Rubinos, O. and Agelet, F.A. (2009) ‘Analysis of unicast routing protocols for VANETs’, Fifth International Conference on Networking and Services, 2009. ICNS ’09, Valencia, Spain, pp.518–521. Fogue, M., Garrido, P., Martinez, F.J., Cano, J-C., Calafate, C.T. and Manzoni, P. (2012) ‘A realistic simulation framework for vehicular networks’, Proceedings of the 5th International ICST Conference on Simulation Tools and Techniques, SIMUTOOLS ’12, ICST, Brussels, Belgium, pp.37–46. Gerla, M. and Kleinrock, L. (2011) ‘Vehicular networks and the future of the mobile internet’, Computer Networks, Vol. 55, No. 2, pp.457–469. Haberman, B. and Thaler, D. (2002) Request for Comments (RFC): 3306 Unicast-Prefix-based IPv6 Multicast Addresses, Internet Engineering Task Force – Network Working Group, pp.1–7.
Coherent, automatic address resolution for vehicular ad hoc networks 179 Haerri, J. and Filali, F. and Bonnet, C. (2006) ‘Performance comparison of AODV and OLSR in VANETs urban environments under realistic mobility patterns’, Proceedings of the 5th IFIP Mediterranean Ad-Hoc Networking Workshop, pp.14–17. Hartenstein, H., Laberteaux, K. and Ebrary, I. (2010) ‘VANET: Vehicular Applications and Inter-Networking Technologies, Wiley Online Library. Hinden, R. and Deering, S. (2006) Request for Comments (RFC): 4291 IP Version 6 Addressing Architecture, Internet Engineering Task Force – Network Working Group pp.1–22. Hinden, R. and Haberman, B. (2005) Request for Comments (RFC): 4193 Unique Local IPv6 Unicast Addresses, Internet Engineering Task Force – Network Working Group pp.1–14. Holland, G. and Vaidya, N. (1999) ‘Analysis of TCP performance over mobile ad hoc networks’, Proceedings of the 5th Annual ACM/IEEE International Conference on Mobile Computing and Networking, MobiCom ’99, ACM, New York, NY, USA, pp.219–230. IBM (2014) SPSS Statistics, http://www-01.ibm.com/software/ analytics/spss/. IEEE Standard for Information technology–Telecommunications and Information Exchange Between Systems Local and Metropolitan Area Networks–Specific Requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications (2012). IEEE Standard for Wireless Access in Vehicular Environments (WAVE) 00 Networking Services (2010). Imadali, S., Petrescu, A. and Janneteau, C. (2013) Internet- Draft: Vehicle Identification Number-Based Unique Local IPv6 Unicast Addresses (VULA), Internet Engineering Task Force – Network Working Group pp.1–17. Karp, B. and Kung, H.T. (2000) ‘GPSR Greedy perimeter stateless routing for wireless networks’, Proceedings of the 6th annual international conference on Mobile Computing and Networking – MobiCom ’00, ACM Press, New York, New York, USA, pp.243–254. Krajzewicz, D., Erdmann, J., Behrisch, M. and Bieker, L. (2012) ‘Recent development and applications of SUMO - Simulation of Urban MObility’, International Journal On Advances in Systems and Measurements, Vol. 5, Nos. 3 and 4, pp.128–138. Krauss, S., Wagner, P. and Gawron, C. (1997) ‘Metastable states in a microscopic model of traffic flow’, Phys. Rev. E, Vol. 55, No. 5, pp.5597–5602. Lee, K., Lee, U. and Gerla, M. (2009) ‘Survey of routing protocols in vehicular ad hoc networks’, Advances in Vehicular Ad-Hoc Networks: Developments and Challenges, Information Science Reference, pp.149–170. Mohammad, S., Rasheed, A. and Qayyum, A. (2011) ‘VANET Architectures and protocol stacks: a survey, in Strang, T., Festag, A., Vinel, A., Mehmood, R., Rico Garcia, C. and Röckl, M. (Eds.): Communication Technologies for Vehicles SE – 9, Vol. 6596 of Lecture Notes in Computer Science, Springer Berlin Heidelberg, pp.95–105. Morgan, Y.L. (2010) ‘Notes on DSRC and WAVE standards suite: its architecture, design, and Characteristics’, IEEE Communications Surveys and Tutorials, Vol. 12, No. 4, pp.504–518. Narten, T., Nordmark, E., Soliman, H. and Simpson, W. (2007) Request for Comments (RFC): 4861 Neighbor Discovery for IP version 6 (IPv6), Internet Engineering Task Force – Network Working Group, pp.1–97. Naumov, V., Baumann, R. and Gross, T. (2006) ‘An evaluation of inter-vehicle ad hoc networks based on realistic vehicular traces’, Proceedings of the seventh ACM International Symposium on Mobile Ad Hoc Networking and Computing – MobiHoc ’06, pp.108–119. Open Street Maps (2014), http://www.openstreetmap.org/ Perkins, C., Belding-Royer, E. and Das, S. (2003) Request For Comments: 3561 Ad hoc On-Demand Distance Vector (AODV) Routing, nternet Engineering Task Force - Network Working Group pp.1–13. Plummer, D. (1982) Request For Comments: 826 An Ethernet Address Resolution Protocol’, Internet Engineering Task Force – Network Working Group p.11. Rappaport, T.S. (2001) ‘Wireless Communications: Principles and Practice, 2nd ed., Prentice-Hall, Upper Saddle River, NJ, USA. Sheskin, D. (2000) ‘Handbook of Parametric and Nonparametric Statistical Procedures, 2nd ed., Chapman and Hall/CRC, Boca Raton. Sommer, C., Eckhoff, D., German, R. and Dressler, F. (2011) ‘A computationally inexpensive empirical model of ieee 802.11p radio shadowing in urban environments’, Wireless On-Demand Network Systems and Services (WONS), pp.84–90. Spaho, E., Ikeda, M., Barolli, L. and Xhafa, F. (2013) ‘Performance comparison of OLSR and AODV protocols in a VANET crossroad scenario’, in Park, J.J.J.H., Barolli, L., Xhafa, F. and Jeong, H-Y. (Eds.): Information Technology Convergence SE – 5, Vol. 253 of Lecture Notes in Electrical Engineering, Springer Netherlands, pp.37–45. Tripp Barba, C., Urquiza Aguiar, L. and Aguilar Igartua, M. (2013) ‘Design and evaluation of GBSR-B, an improvement of GPSR for VANETs’, IEEE Latin America Transactions, Vol. 11, No. 4, pp.1083–1089. Wakikawa, R., Malinen, J., Perkins, C. and Tuominen, A. (2006), Internet-Draft: Global connectivity for IPv6 Mobile Ad Hoc Networks, Internet Engineering Task Force – Mobile Ad Hoc Networking Working Group, pp.1–20.