An SDN-IoT-based Framework for Future Smart Cities: Addressing Perspective

by   Uttam Ghosh, et al.

In this Chapter, a software-defined network (SDN)-based framework for future smart cities has been proposed and discussed. It also comprises a distributed addressing scheme to facilitate the allocation of addresses to devices in the smart city dynamically. The framework is dynamic and modules can be added and omitted by a centralized controlling unit without disturbing the other components of the framework and other modules may be updated accordingly. In the proposed addressing scheme, a new Internet of Things (IoT) device will receive an IP address from one of their existing neighboring peer devices. This allows devices in the city to act as a proxy and generate a set of unique IP addresses from their own IP addresses, which can then be assigned to new (joining) devices; hence, reducing addressing overhead and latency, as well as avoiding the need to send broadcast messages during the address allocation process. Thus, it achieves considerable bandwidth and energy savings for the IoT devices.



There are no comments yet.


page 9

page 10

page 11

page 15


Analyzing Endpoints in the Internet of Things Malware

The lack of security measures in the Internet of Things (IoT) devices an...

On the challenges of data provenance in the Internet of Things

The IoT is described as a smart interactive environment where devices co...

Securing Smart Homes via Software-Defined Networking and Low-Cost Traffic Classification

IoT devices have become popular targets for various network attacks due ...

Using Delay Tolerant Networks as a Backbone for Low-cost Smart Cities

Rapid urbanization burdens city infrastructure and creates the need for ...

CyberRadar: A PUF-based Detecting and Mapping Framework for Physical Devices

The core issue of cyberspace detecting and mapping is to accurately iden...

A lightweight two-layer blockchain mechanism for reliable crossing-domain communication in smart cities

The smart city is an emerging notion that is leveraging the Internet of ...

Towards Smart Sustainable Cities: Addressing semantic heterogeneity in building management systems using discriminative models

Building Management Systems (BMS) are crucial in the drive towards smart...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

It has been estimated that approximately 65% of the world’s population will eventually live in cities by the year 2040

[1]. There has been a trend of making cities smarter, for example by leveraging existing and emerging technologies such as Internet of Things (IoT). The latter can be broadly defined to be a (heterogeneous) network of a broad range of physical Internet connected devices, such as smart vehicles, smart home appliances, and other devices with embedded software or hardware (e.g., sensors), that can be used to connect, sense / collect, and disseminate / exchange large volume of data. This also allows us to offer advanced services that can be used to improve the quality of service delivery and life.

The increasing trend of smart cities is partly due to the lower of technological and cost barriers in deploying communication networks (e.g. wireless and 5G) in a broad range of settings, such as residential and commercial buildings, utility networks, transportation networks, and those in the critical infrastructure sectors [2, 3]. In such settings, it is clear that data plays a key role, for example in informing decision and strategy making and formulating. Such data can be collected by the broad range of IoT devices and networks, and can be compiled and analyzed to achieve improved service delivery in healthcare, manufacturing, utility, supply chain and many other services. However, there exist a number of challenges in dealing with such data, due to the volume, variety, velocity, and veracity (also commonly referred to as the four V’s of big data). For example, the management and performance optimization of IoT-based smart cities and programmability of things can be extremely complex, and also the inter-connectivity can introduce security implications. Therefore, how to ensure that the underpinning communication infrastructure in the smart city is scalable, reliable, secure and efficient can be challenging, both operationally and research-wise.

Emerging software-defined networking (SDN) decouples the control plane and data plane and subsequently it enables the control plane to become directly programmable and the underlying infrastructure to be abstracted for the applications and the network services. SDN controller, also called network operating system (NOS), is logically centralized and responsible for controlling, managing, and dynamically configuring the devices at the data plane of the network. It is effective in taking decisions for the routing, quality-of-service (QoS) and load balancing dynamically. It is easy to add new network functionalities through application programs due to the programmability feature of SDN controller. Moreover, SDN enhances the network performance by providing security and the network virtualization features. SDN controller is capable to monitor all the nodes and their traffic, and eliminate the attacker node from the network on-fly by writing effective flow rules on the switches at data plane [12].

Motivation: Each device in the infrastructure should have a unique address by which it can be identified. This unique address enables unicast communication and routing between devices in the infrastructure. However, as more IoT devices are introduced in the smart city, the demand for these unique addresses increase rapidly. Manual configuration of IoT devices in most of the cases inapplicable and error prone due to large size of the network. Further, centralized Dynamic Host Configuration Protocol (DHCP) [9] is not a suitable solution as the sever has to maintain configuration information of all the nodes in the network.

Figure 1: Duplicate Address Detection (DAD) mechanism

Duplicate Address Detection (DAD) mechanism [10] can be used to resolve address conflict in the smart city. In DAD, a joining node chooses a tentative IP address randomly and verifies the whether this address is available for use or not. In order to verify the uniqueness of the address, the joining node floods a Duplicate Address Probe (DAP) message throughout the smart city and starts a timer to receive Address Conflict Notice (ACN) message from the network. If no ACN message is received, then the joining node concludes that the tentative address is free to use and configures itself with the address permanently. It has to run the DAD process again in case the joining node receives a ACN message from the network. The addressing overhead for DAD mechanism is very high as it needs to flood a message throughout the network. Further, the broadcast storm problem [11] can be seen in DAD. Figure 1 shows the DAD mechanism where a new node tries to join the network.

Contribution: It can be seen from the above discussion that there is a need to design a distributed addressing scheme to efficiently handle the ever increasing requirement in SDN-IoT based smart city networks. Further, the addressing scheme should assign unique IP addresses to the devices of the network for the correct routing and unicast communications. Furthermore, the scheme needs to be scalable and should not degrade its performance with respect to addressing overhead when the network size is very large like a smart city. This Chapter has two significant contributions:

  • firstly, an SDN-based IoT framework for a smart city architecture,

  • and secondly, a distributed addressing scheme to efficiently assign a unique IPv6 address to each device in the proposed smart city framework.

With this Chapter, readers can have a more thorough understanding architectures of SDN, IoT, and SDN-IoT-based smart cities. It further proposes an IPv6 addressing mechanism to allocate unique address to each IoT devices in a SDN-IoT-based smart city.

Chapter Organization: The rest of the Chapter is organized as follows: Section 2 presents a background of software-defined networking (SDN), Internet of Things (IoT) and IPv6 addressing. Section3 discusses state-of-the-art literature on SDN-IoT based networks and also address allocation techniques in various wireless networks. The proposed framework for SDN-IoT-based smart city with an addressing scheme is presented in Section4. Finally, Section 5 concludes the Chapter.

2 Background

In this section, we give an overview of basic preliminary concepts of Software-defined Networking (SDN), Internet of Things (IoT) and IPv6 addressing.

Figure 2: A layering architecture of SDN

2.1 An Overview of SDN

This Section presents an overview of SDN architecture and its working principles. It also presents the need of SDN and how SDN is different as compared to the traditional networking. Figure 2 presents the major elements, planes (layers) and interfaces between layers of SDN architecture. It has three planes: data plane, control plane and application plane.

Figure 3: Working Principles of SDN

Data Plane: The first plane in SDN architecture is the data plane (also known as infrastructure plane) that consists of hosts and traffic forwarding devices. These traffic forwarding devices are known as OpenFlow (OF) switches. These switches are called dump switches and able to forward the data from source host to destination host only after receiving the instructions (flow rules) from the SDN control layer.

Control Plane: The second plane in SDN architecture is the control plane that may comprise an SDN controller or a set of SDN controllers. SDN controller (also called network operating system (NOS)) is a logical entity (software programs) which is programmable. It is logically centralized. Hence it can track the network topology (global view of the network) and the statistics of the network traffic periodically. Further, SDN controller is responsible for controlling, managing, and dynamically configuring the devices at the data plane of the network. It efficiently provides routing, quality-of-services (QoS), security and also balances the load in the network.

Application Plane: The third and final plane is the application plane in SDN architecture. This plane runs application programs and uses application programming interface (API) to control the network resources with the SDN controller. These application programs periodically collect information from SDN controller and provide services (e.g., routing, quality of services (QoS) and load balancing). This plane also provides a programming interface to the network administrator for developing applications according to the requirements of the network. For instance, an application can be built to monitor all the devices and their traffics periodically for detecting the misbehaving devices in the network.

The northbound application programming interface (API) defines the connection between application plane and control plane whereas the southbound API defines the connection between control plane and date plane. OpenFlow (OF) protocol has been widely used as the southbound API. The SDN controller uses OpenFlow protocol to send the flow rules to the OpenFlow switches in data plane. OpenFlow protocol uses secure socket layer (SSL) and TCP for providing secure communication and reliable delivery of data between the controller and OF switches respectively.

Figure 4: Topology detection using LLDP

The working principle of SDN is presented in Figure 3. A device H1 (source) sends the packets of a flow to another device H2 (destination) through OF switches S3-S2-S1 in an SDN-based network [12]. Here, the SDN controller detects topology of the network using link layer discovery protocol (LLDP) as shown in Figure 4. Thus, it knows the global topology of the network and responsible for the routing between the devices.

Figure 5: Internet of things (IoT)

2.2 An Overview of IoT and Smart Cities

The Internet of Things (IoT): An IoT is a heterogeneous network of physical objects (things) that are embedded with electronics, sensors, software, actuators, RFID tags, and other technologies for connecting and communicating a large amount of data with other devices and networks over the Internet to offer a new class of services at anytime, anywhere and for anyone. It can form a large network by combining wired networks and different types of wireless networks such as wireless sensor networks (WSNs), ZigBee, WiFi, mobile ad hoc networks (MANETs), and RFID. IoT can be applied to make the physical infrastructures more smart, secure and reliable, and fully automated systems. These physical infrastructures include buildings (homes, schools, offices, factories, etc.), utility networks (gas, electricity, water, etc.), healthcare systems, transportation vehicles (cars, rails, planes, etc.), transportation networks (roads, railways, airports, harbors, etc.), and information technology networks, etc. IoT collects, stores, and exchanges a large volume of heterogeneous data from various types of networks and provides critical services in smart homes and buildings, healthcare systems, transportation networks, utility networks, industrial control and monitoring systems, and so on [12, 15, 13, 14].

Figure 6: The three-layered architecture of IoT

Figure 6 shows the layering architecture of IoT. It comprises of three main layers: sensing layer, network layer and application layer. The sensing layer, also known as a perception layer, consists physical objects and sensing devices. This layer is responsible for sensing and collecting the data from the physical objects. Network layer bridges between sensing layer and application layer. It carries the data collected from the physical objects through sensors. The network can be wireless or wired network for the transmission. Thus, network layer is responsible for connecting the smart things, network devices and networks to each other and also for transmitting the data from physical objects to the gateway of the network. Application layer is responsible for providing the services to the users based on their demands and applications. The applications of IoT can be smart homes and buildings, smart grids, smart health, smart cities, etc.

Figure 7: Overview of Smart city components

Smart City: A smart city is an urban area that uses different types of IoT devices to collect, process and analyze the data for monitoring and managing traffic and transportation systems, utilities, power grids, waste management, water supply networks, schools, libraries, hospitals, security and surveillance systems, and other community services. It helps city officials to interact directly with both community and city infrastructure and also to monitor and manage the city resources efficiently and smartly. The main components of a smart city is depicted in Figure 7.

2.3 An Overview of IPv6 Addressing

Figure 8: IP version 4 (IPv4) Header Format

Internet protocol version 4 (IPv4) is the most widely deployed IP used to connect devices to the Internet. IPv4 addresses are 32-bit long and can be used to assign a total of devices (over 4 billion devices) uniquely. However, with the growth of the Internet and IoT it can be expected that the number of IPv4 addresses may eventually run out as each device that connects to the Internet and IoT requires an IP address. A new IP addressing system Internet Protocol version 6 (IPv6) is being deployed to fulfill the need for more IP addresses. An IPv6 addresses are 128-bit long and can be used to assign a total of devices uniquely. Further, it supports auto-configuration and provides better quality of services (QoS), mobility and security as compared to IPv4. Figure 8 and Figure 9 present the headers of IP version 4 and IP version 6 respectively.

Figure 9: IP version 6 (IPv6) Header Format

IPv6 Address Representation: An IPv6 address is represented as eight groups of four hexadecimal digits where each group represents 16-bits. These groups are separated by colons (:). An example of an IPv6 address is:


Leading zeroes in a group are optional and can be omitted. One or more consecutive groups containing zeros can be replaced by double colons (::), but only once per address. Therefore, the example address can be written as:


IPv6 Header Format: The header format of IPv6 is shown in Figure 9. Here, the fields of IPv6 header have been discussed briefly:

Version: This field indicates the version of Internet Protocol which contains bit sequence 0110.

Traffic class: This field presents the class or priority of IPv6 traffic as it is similar to service field in IPv4 header. The router discards the least priority packets if congestion occurs in the network.

Flow label: Source node uses flow label field to label the packets belonging to the same flow in order to request special handling (for example, quality of service or real time service) by intermediate IPv6 routers. It also specifies the lifetime of the flow.

Payload length: This field indicates the total size of the payload including extension headers (if any) and upper layer data.

Next header: This filed is used to indicate the type of extension header (if any) immediately following the IPv6 header. It also specifies the upper-layer protocols (UDP, TCP) in some cases.

Hop limit: This field is same as time-to-live (TTL) field in IPv4 header. It specifies the maximum number of routers an IPv6 packet can travel. The value of the hop limit gets decremented by one by each router that forwards the packet. The router discards the packet if the value of the hop limit reaches to 0. This filed prevents the packet from circulating indefinitely in the network.

Source address: This filed specifies the IPv6 address of the original source of the packet.

Destination address: This filed indicates the IPv6 address of the final destination. In order to correctly route the packet, the intermediate routers use destination address of the packet.

Extension header: This field have been introduced to allow the incorporation and usage of several options whenever is needed. The size of the IPv6 main header is 40-bytes long. Next Header field of IPv6 main header points to the first Extension Header and the first extension header points to the second extension header and so on.

3 Related Works

A number of different approaches have been explored in the literature, including the use of software-defined networking (SDN). For example, there have been attempts to integrate SDN and IoT technologies into the heterogeneous communication infrastructure in smart cities [4, 5, 6, 7], by say utilizing SDN to manage and determine the correctness of network operations at run-time. This is because we can leverage the globalized view and the programmability features available in the SDN controller to control, configure, monitor and detect faults and mitigate abnormal operation(s) in the underpinning infrastructure; hence, allowing us to achieve efficiency and reliability.

Mavani et al., has done several works on secure addressing and privacy preserving methodologies for IoT and Mobile environment paradigm [20, 21, 22]. In IoT, billions of devices can be addressed using IPv6 addressing scheme. Attackers can spoof addresses from unsecure wireless communication channels and advertise them as a legitimate device. Malicious users can track activity of these devices by spoofing IPv6 addresses. To mitigate this type of attacks by hiding the IPv6 address from attacker. They have proposed a secure privacy preserving method[20], which changes the IPv6 address of each device periodically and pseudorandomly in order to hide its identity. They analyzed the method using Cooja simulator to show that the method does not inflict much overhead for random changing of address and reconfiguration. In [21, 22], they investigated the use of secure addressing and privacy mechanisms for f IPv6 over Low -Power Wireless Personal Area Networks (6LoWPAN) and designed a method to provide resilience against address spoofing and better reconfiguration time from attack disruption. They showed the efficacy of their proposal by time complexity analysis and simulation with benchmark data, but overall this does not pose much overhead to provide resilience against address spoofing.

Brilli et al., proposed a secure privacy aware two layer addressing scheme for 6LoWPAN wireless network in order to improve security and privacy along with reducing the chance of spoofing by hiding the traceability of the user [23]. With a minimal overhead and using standard 6LoWPAN messages security and privacy have been ensured in an energy constrained environment. Wang et al., proposed a long-thin and tree-based topology in addressing-based routing optimization in vehicular scenarios (AROV) [24] to provide unique address to sensor nodes in 6LoWPAN wireless sensor networks Using a concept of super node for multi-hop sensor nodes serves as address initiator for its all neighbor nodes. They have shown it mitigates address failure and also gives performance in routing by reducing latency. The authors also proposed location aware addressing for 6LoWPAN wireless sensor networks [25]. In this addressing scheme without using duplicate address detection, a node can obtain a globally unique address. The address initialization is done zone wise where zones are independent of the one in another. therefore this parallel and address initialization took less time. Wang et al, further proposed stateful address configuration mechanism for wireless body area networks [26]. The uniqueness of the address is maintained without duplicate address detection. Automatic reclamation of unused or released address have been done without any extra overhead. Using simulation they have shown the efficacy of performance by reducing the address configuration delay and cost. For heterogeneous wireless network a dynamic Internet Protocol (IP) address assignment architecture [27] has been proposed by Khair et al. The addressing mechanism introduced security and service reliability with a reduced Opex. However, this scheme does not perform well in heterogeneous heavy traffic scenarios as it incurs significant overhead. Li et al., presented address configuration algorithm for network merging in Ad hoc network scenario [28]. By restricting the new address generation only duplicate addresses during merging their scheme significantly improve the network performance.

In [29], an IP-based vehicular content-centric networking framework has been proposed by Wang et al., by employing the unicast address-centric paradigm to achieve content acquisition. They avoid the broadcast centric communication. Using the unicast communication, they have shown it substantially reduces the content acquisition cost and gives better performance in success rate content acquisition.

In [30]

, El-Shekeil et al., investigated several conflict scenarios of using Private IP for enterprise network. They formulated the problem to minimize the routing table sizes as NP-Hard. They devised effective heuristics formulation in order to solve the problem. To prove the efficacy of the same they provided empirical result which showed significant reduce in the number of subnet entries and the routing table sizes.

A Mobile Ad-hoc Network (MANET) is a collection of mobile nodes with a dynamic self-configured network. It has no fixed and pre-established infrastructure without any centralized administrations or base stations. MANET can be integrated with IoT to implement smart cities. Therefore, IP addressing is very important and challenging issue for a MANET as it is an infrastructure-less and highly dynamic network. In light of this, Ghosh et al., proposed IPv6-based and IPv4-based secure distributed dynamic address allocation protocols [31, 32, 33, 34, 35, 36]. In these protocols, the new node gets an IP address from its neighbors acting as proxies. The new node becomes proxy once it receives an IP from the network. Further, these protocols can handle the network events such as network partitioning and merging without using complex duplicate address detection mechanisms.

Akhtar et al., proposed a congestion avoidance algorithm [37] for IoT-MANET which used bandwidth as the main component to find the optimal route. By getting feedback about the residual bandwidth of network path each channel aware routing scheme (BARS) that can avoid congestion by monitoring residual bandwidth capacity in network paths they significantly improve network parameters like of latency, end-to-end delay and packet delivery ratio for both static and dynamic network topologies. A secure SDN based framework has been proposed for content centric application has been devised by Ghosh et al. In [38], secure multi-path routing protocol has been designed which significantly improves the network performance.This work is pretty much feasible to incorporate for futuristic smart cities. Ghosh et al., proposed a SDN based secure framework for smart energy delivery system [39]or smart cities, which addressed a number of fault injections and controller failure scenarios as well. In [40], Alnumay et al., designed and developed a trust-based system for securing IoT applications using a predictive model of ARMA/GARCH (1,1), whcih significantly improve network functionalities in smart city scenarios.

4 The Proposed SDN-IoT-based Smart City Framework

Here, we propose our SDN-IoT based smart city framework, which is configured, controlled, and managed by a global control center as shown in Figure 10. The proposed framework supports heterogeneous networks and contains different types of networks including ZigBee, mobile ad-hoc networks (MANETs), sensor networks and Bluetooth.

Figure 10: An SDN-IoT-based smart city framework
Figure 11: An SDN-IoT-based layered smart city framework

We also present a SDN-IoT based layered smart city framework in Figure 11. Our proposed architecture has three layers, described as follows. The first layer is the infrastructure layer, which consists the IoT devices sublayer and the forwarding devices sublayer. The IoT devices sublayer contains different types of wireless devices (e.g. ZigBee, sensors, and Bluetooth) to create different types of IoT application domains. These wireless devices collect large volume of data from the networks and send them to the global smart city control center for further processing. The IoT device sublayer also contains actuators to receive control commands from the global control center and execute them. The forwarding devices sublayer consists of Openflow (OF) gateways, which facilitate the forwarding of control and data packets to the global control center. The control layer contains a global SDN controller and a number of local SDN controllers. The global SDN controller is mainly responsible for controlling and monitoring communications between global control center to IoT application domains and an application domain to other application domains, and the local SDN controller controls and monitors the communication between devices inside an application domain. The application layer provides IoT services (e.g. smart homes, smart grids, and smart transportation) using SDN controllers. It further provides network services such as routing, security and quality of service (QoS) in the city.

4.1 The Proposed Addressing Scheme

Here, we discuss our proposed IPv6 addressing scheme that is designed to provide unique addresses to IoT devices in the infrastructure. Using the proposed addressing scheme, unique IP addresses can be generated from the IP address of an existing device in the city (network), which can then be provided to new / joining IoT devices. In other words, without the need to broadcast any message over the entire city, any new / joining IoT device can acquire an IP address from its peers / neighboring devices. This concept is adopted from [8].

Here, we discuss the algorithm given in Function ip-generation that generates unique IPv6 addresses for new IoT devices joining the network. As discussed, an IPv6 address comprises eight (8) groups of four (4) hexadecimal (HEX) digits, which are separated by colons (for example, 2031:0000:130f:0000:0000:09c0:876a:130b). The IPv6 address logically divided into two parts: a 64-bit network prefix and a 64-bit interface identifier. For ease of presentation, we express the address in 16-byte dotted decimal (DEC) format: () wherein and are the network prefix (which is fixed for a network domain) and the device identifier respectively.


We assume that the global SDN controller runs an addressing application to configure all the local SDN controllers in the many different IoT application domains. Each local SDN controller also runs the proposed addressing application to configure any SDN and IoT devices in its domain. We further assume that a local SDN controller is configured with an IP address, say CEDF:0CB8:8BA3:8A2E::0001, by the global SDN controller. In our context, CEDF:0CB8:8BA3:8A2E is the network domain and 0000:0000:0000:0001 is the identifier of the local SDN controller. The local SDN controller can assign the network prefix CEDF:0CB8:8BA3:8A2E and the device identifiers ranging from to and from to to IoT devices in the domain.

In our example, the IoT device that has host identifier and a proxy with host identifier can allocate addresses from to and addresses from to in the dotted decimal format (DEC), respectively. Therefore, one can easily see that a node with host identifier can assign addresses in the range between and, with a network prefix of CEDF:0CB8:8BA3:8A2E.

Figure 12: Address allocation tree in the SDN-IoT based smart city: A simplified example

Figure 12 describes a simple example of how a peer or neighboring IoT device can allocate unique address (i.e. acting as a proxy), where the last byte () of an IP address is presented within the circle and the remaining bytes () outside the circle. In the event that a proxy (i.e. the IoT device) does not have available IP address for nodes that have just joined the infrastructure, then this particular proxy will need to request for new IP address(es) from their parent device. Similarly, in the unlikely event that the parent device does not have any available IP address for allocation, then a similar request will be made to the parent of this particular parent device. This allows the network to scale easily. Thus, in our proposed addressing scheme, address can be uniquely allocated from to in the network.

We also remark that in our proposed addressing scheme, the allocation status is maintained by the individual device. Such a status records the last assigned address (i.e. count value), to avoid proxy devices from generating the same IP address. This allows us to avoid the need to introduce complex duplicate address detection mechanism during the process of address resolution. Further, new device obtains an IP address from its neighbor; therefore, the proposed scheme has minimal addressing overhead and latency.

Scheme IP Uniqueness Addressing Addressing Scalability Complexity
Family Latency Overhead
DHCP IPv4, IPv6 Yes O(2*t*d) O() Low Low
DAD IPv4, IPv6 No O(2*t*d) O() Low Medium
Proposed IPv6 Yes O(2*t) O() High Low
Table 1: Comparison of Address Allocation Approaches in Smart Cities

4.2 Performance Evaluation

Table 1 compares the proposed address allocation scheme between the traditional DHCP and DAD schemes. Here, be the total number of IoT devices, the average number of links between devices, the network diameter and be the average 1-hop latency. We consider the following parameters to analyze the performance of our proposed addressing scheme along with DHCP and DAD schemes:

Uniqueness: The most important metrics in address allocation scheme is to guarantee the uniqueness of the allocated addresses of each device. This unique address is needed to identify the device uniquely and also for unicast communication, and routing in a smart city. DAD does not guarantee the uniqueness of the allocated address whereas the proposed scheme and DHCP provide unique address allocation to each IoT device.

Addressing Latency: This parameter is the time difference between points when a new device sends the request for an address and when it receives the address from the network. In DHCP, the new device needs to discover the DHCP server where an address request message is flooded in the whole network. The DHCP server sends the address to the new device in response. Therefore, the addressing latency of DHCP is O(). In DAD, the new device floods an address request message in the whole network and sets a timer based on the diameter of the network for receiving the address reply message. The new device configures itself when the timer expires. Thus, the addressing latency of DAD is O(). Whereas the new device acquires an address from a neighbour in our proposed addressing scheme. Therefore, the addressing latency of the proposed scheme is O().

Addressing Overhead: Addressing overhead of an addressing protocol refers to the average number of messages required for an address allocation to a new device. In DHCP, the new device floods a message throughout the smart city to discover the DHCP server. Therefore, the addressing overhead of DHCP is O(). In DAD, the new device randomly picks a temporary address and floods a message in the whole smart city network. Therefore, the addressing overhead of DAD considered to be O(). In our proposed scheme, the new device obtains an address from one of its neighbours, thus the addressing overhead is O().

Scalability: The scalability of an addressing scheme is considered to be high if the scheme does not degrade much its performance with respect to addressing latency and overhead even when the size of the network is large. The addressing overhead and the addressing latency of DHCP and DAD schemes are O() and O() respectively. Therefore, these schemes are considered to be low scalability. Whereas the proposed addressing scheme is considered to be highly scalable as it has O() and O() as the addressing overhead and latency respectively.

Complexity: The addressing scheme should use the network resources (e.g., energy and memory of IoT devices, network-bandwidth) as minimal as possible at the time of address allocation. The complexity of DAD scheme is considered to be medium as it generates address from a random number and assigns to a new device. Whereas the proposed addressing scheme has low complexity as it does not need to maintain the address blocks and complex functions to generate addresses. In the proposed scheme, the existing devices (already configured with addresses) in the network acting as proxies and capable of generating addresses for new devices. This reduces the complexity and memory requirement of the proposed scheme even further.

5 Conclusion

In this Chapter, we proposed an SDN-IoT-based smart city framework, and a distributed IPV6-based address allocation scheme. In the latter, each device in the city acts as a proxy and is capable of assigning IP addresses to new devices dynamically. We explained how the proposed approach achieves bandwidth and energy savings in IoT devices, as well as having low addressing overhead and latency since new devices obtain their addresses from their neighbors.


  • [1] R. Jalali, K. El-khatib, and C. McGregor, “Smart City Architecture for Community Level Services Through the Internet of Things,” in 18th International Conference on Intelligence in Next Generation Networks, 2015.
  • [2] E. S. Madhan, U. Ghosh, D. K. Tosh, K. Mandal, E. Murali and S. Ghosh, “An Improved Communications in Cyber Physical System Architecture, Protocols and Applications,” in IEEE SECON STP-CPS, Boston, Massachusetts, USA, 2019.
  • [3] V. Moustaka, A. Vakali and L. G. Anthopoulos, “A systematic review for smart city data analytics,” ACM Computing Surveys, vol. 51, no. 5, Article no. 103, 2018.
  • [4] X. Wang, C. Wang, J. Zhang, M. Zhou, and C. Jiang, “Improved rule installation for real-time query service in software-defined internet of vehicles,” IEEE Transactions on Intelligent Transportation Systems, vol. PP, no. 99, pp. 1–11, 2016.
  • [5] P. K. Sahoo and Y. Yunhasnawa, “Ferrying vehicular data in cloud through software defined networking,” in IEEE 12th International Conference on Wireless and Mobile Computing, Networking and Communications, 2016.
  • [6] E. Bozkaya and B. Canberk, “Qoe-based flow management in software defined vehicular networks,” in 2015 IEEE Globecom Workshops, 2015.
  • [7] U. Ghosh, P. Chatterjee, S. Shetty, “A Security Framework for SDN-enabled Smart Power Grids”, in IEEE ICDCS CCNCPS 2017, Atlanta, USA, 2017.
  • [8] U. Ghosh and R. Datta, “A Secure Addressing Scheme for Large-Scale Managed MANETs,” IEEE Transactions on Network and Service Management, vol.12, no.3, pp.483-495, Sept. 2015.
  • [9] R. Droms, “Dynamic host configuration protocol,” RFC 2131, March 1997.
  • [10] K. Weniger, “Passive duplicate address detection in mobile ad hoc networks,” in Proc. of IEEE WCNC, (Florence, Italy), February 2003.
  • [11] S. Ni, Y. Tseng, Y. Chen, and J. Sheu, “The broadcast storm problem in a mobile ad hoc network,” in Proc. of the ACM/IEEE MOBICOM, pp. 151–162, 1999.
  • [12] U. Ghosh, P. Chatterjee, S. S. Shetty, C. Kamhoua, L. Njilla, “Towards Secure Software-Defined Networking Integrated Cyber-Physical Systems: Attacks and Countermeasures”, in Cybersecurity and Privacy in Cyber Physical Systems, 1st ed.; CRC Press Taylor & Francis: Boca Raton, FL, USA, 2019.
  • [13] Y. Yang, L. Wu, G. Yin, L. Li and H. Zhao, “A Survey on Security and Privacy Issues in Internet-of-Things,” in IEEE Internet of Things Journal, vol. 4, no. 5, pp. 1250-1258, Oct. 2017.
  • [14] A. Humayed, J. Lin, F. Li and B. Luo, “Cyber-Physical Systems Security—A Survey,” in IEEE Internet of Things Journal, vol. 4, no. 6, pp. 1802-1831, Dec. 2017.
  • [15] Y. Lu and L. D. Xu, “Internet of Things (IoT) Cybersecurity Research: A Review of Current Research Topics,” in IEEE Internet of Things Journal, vol. 6, no. 2, pp. 2103-2115, April 2019.
  • [16] A. Zanella, N. Bui, A. Castellani, L. Vangelista and M. Zorzi, “Internet of Things for Smart Cities,” in IEEE Internet of Things Journal, vol. 1, no. 1, pp. 22-32, Feb. 2014.
  • [17] A. A. Malik, D. K. Tosh and U. Ghosh, “Non-Intrusive Deployment of Blockchain in Establishing Cyber-Infrastructure for Smart City,” 2019 16th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON), Boston, MA, USA, 2019, pp. 1-6.
  • [18] P. Singh, A. Nayyar, A. Kaur, U. Ghosh,“Blockchain and Fog Based Architecture for Internet of Everything in Smart Cities” in Future Internet 2020, 12, 61.
  • [19] Y. Dong, S. Guo, J. Liu and Y. Yang, “Energy-Efficient Fair Cooperation Fog Computing in Mobile Edge Networks for Smart City,” in IEEE Internet of Things Journal, vol. 6, no. 5, pp. 7543-7554, Oct. 2019.
  • [20] Mavani M., Asawa K., “Privacy Preserving IPv6 Address Auto-Configuration for Internet of Things. In: Hu YC., Tiwari S., Mishra K., Trivedi M. (eds) Intelligent Communication and Computational Technologies. Lecture Notes in Networks and Systems, vol 19. Springer, Singapore, 2018.
  • [21] M.Mavani, K. Asawa, “Privacy enabled disjoint and dynamic address auto-configuration protocol for 6Lowpan”, Ad Hoc Networks, Volume 79, 2018, pp.72-86.
  • [22] Mavani, M., Asawa, K. “Resilient against spoofing in 6LoWPAN networks by temporary-private IPv6 addresses”, Peer-to-Peer Netw. Appl. 13, 333–347, 2020.
  • [23] L. Brilli, T. Pecorella, L. Pierucci and R. Fantacci, ”A Novel 6LoWPAN-ND Extension to Enhance Privacy in IEEE 802.15.4 Networks,” 2016 IEEE Global Communications Conference (GLOBECOM), Washington, DC, 2016, pp. 1-6.
  • [24] X. Wang, H. Cheng and Y. Yao, “Addressing-Based Routing Optimization for 6LoWPAN WSN in Vehicular Scenario,” in IEEE Sensors Journal, vol. 16, no. 10, pp. 3939-3947, 2016.
  • [25] X. Wang, D. Le, H. Cheng, Y. Yao, “Location-based address configuration for 6LoWPAN wireless sensor networks”, Wireless Netw., vol. 21, no. 6, pp. 2019-2033, 2015.
  • [26] X.Wang, H. Chen, D. Le,“A novel IPv6 address configuration for a 6LoWPAN-based -WBAN”, Journal of Network and Computer Applications, Volume 61, 2016, pp. 33-45.
  • [27] K. G. Khair, M. Kantarci, H. T. B. Mouftah, “Cellular IP address provisioning in a heterogeneous wireless network”, Int. J. Commun. Syst., vol. 27, no. 10, pp. 2007-2021, 2014.
  • [28] Y. Li, and X. Wang, “A novel and efficient address configuration for MANET”, International Journal of Communication Systems, 2019.
  • [29] X. Wang, X, and X. Wang, “Vehicular content-centric networking framework”, IEEE Systems Journal, 13(1), 519–529, 2019.
  • [30] I. El-Shekeil, A. Pal and K. Kant, ”IP Address Consolidation and Reconfiguration in Enterprise Networks,” in 25th International Conference on Computer Communication and Networks (ICCCN), Waikoloa, HI, 2016, pp. 1-9.
  • [31] U. Ghosh, R. Datta, “ADIP: an improved authenticated dynamic IP configuration scheme for mobile ad hoc networks”, in International Journal of Ultra Wideband Communications and Systems (IJUWBCS), Vol. 1, No. 2, 2009.
  • [32] U. Ghosh, R. Datta, “A secure dynamic IP configuration scheme for mobile ad hoc networks”, Ad Hoc Networks, Volume 9, Issue 7,2011, pp.1327-1342.
  • [33] U. Ghosh, R. Datta, “IDSDDIP: A secure distributed dynamic IP configuration scheme for mobile ad hoc networks”, Int. J. Netw. Manage., vol. 23, no. 6, pp. 424-446, 2013.
  • [34] U. Ghosh, R. Datta,“An ID Based Secure Distributed Dynamic IP Configuration Scheme for Mobile Ad Hoc Networks”, In: Bononi L., Datta A.K., Devismes S., Misra A. (eds) Distributed Computing and Networking. ICDCN 2012. Lecture Notes in Computer Science, vol 7129. Springer, Berlin, Heidelberg.
  • [35] U. Ghosh, R. Datta,“ Mmip: A new dynamic ip configuration scheme with mac address mapping for mobile ad hoc networks” In: Proc. Fifteenth National Conference on Communications 2009, IIT Guwahati, India (2009)
  • [36] U. Ghosh, P. Chatterjee, R. Datta, A.S.K. Pathan, D. B. Rawat,“Secure Addressing Protocols for Mobile Ad Hoc Networks” in Security Analytics for the Internet of Everything, 1st ed.; CRC Press Taylor & Francis: Boca Raton, FL, USA, 2020.
  • [37] N. Akhtar, M. A. Khan, M, A. Ullah, and M. Y. Javed, “Congestion avoidance for smart devices by caching information in MANETS and IoT. IEEE Access,7, 71459–71471, 2019.
  • [38] U. Ghosh, P. Chatterjee, D. Tosh, S. Shetty, K. Xiong and C. Kamhoua, “An SDN Based Framework for Guaranteeing Security and Performance in Information-Centric Cloud Networks,” 2017 IEEE 10th International Conference on Cloud Computing (CLOUD), Honolulu, CA, 2017, pp. 749-752.
  • [39] U. Ghosh, X.Dong, R. Tan, Z. Kalbarczyk, D.K.Y. Yau, and R. K. Iyer, “A Simulation Study on Smart Grid Resilience under Software-Defined Networking Controller Failures”, in 2nd ACM International Workshop on Cyber-Physical System Security (CPSS ’16), pp. 52–58.
  • [40] Alnumay, W.; Ghosh, U.; Chatterjee, P. “A Trust-Based Predictive Model for Mobile Ad Hoc Network in Internet of Things”, Sensors 2019, 19, 1467.