Professional Documents
Culture Documents
IoT Netowrking
IoT Netowrking
1
Internet of Things
Networking
link (machines,
especially computers) to
operate interactively
Communication
the imparting
or exchanging of
information or news
2
OSI Layers
Application‐ -Facebook Application
3
Communication Stack Next Layer’s Payload
Upper Layer
TX RX
Headers Headers
Payload Payload
Common solution:
gateways connecting 5
Current internet is not enough
6
Sensinode 2013 – Zach Shelby
Why Internet is not enough for IoT?
Scalability
The number of IoT devices is expected to grow exponentially
The current Internet may struggle to handle the massive scale of
connections and data generated by billions of devices
Addressing
The current Internet Protocol version, IPv4, has a limited number of
unique IP addresses, which may be insufficient to assign unique
addresses to the vast number of IoT devices. IPv6 is designed to address
this limitation but may not be universally implemented
Bandwidth and data volume
IoT devices can generate a large volume of data, especially in
applications like video surveillance, industrial sensors, and healthcare
monitoring. The existing infrastructure may not have sufficient bandwidth
to handle the increased data flow
Why Internet is not enough for IoT?
Latency
Some IoT applications, such as real-time control systems and
autonomous vehicles, require low-latency communication
The current internet may not guarantee consistent and low-latency
connectivity, which is crucial for certain IoT scenarios
Energy efficiency
Many IoT devices are designed to operate with minimal power
consumption
The current internet protocols and communication methods may not be
optimized for the energy efficiency requirements of IoT devices,
particularly those running on battery power
Security and Privacy
IoT devices often gather sensitive and personal data
The current internet may lack robust security measures to protect
against cyber threats and ensure the privacy of user information
Why Internet is not enough for IoT?
Diversity of devices and communication protocols
IoT encompasses a wide range of devices with varying communication
protocols
The current internet may struggle to accommodate the diversity of IoT
devices and effectively handle multiple communication protocols
Edge computing
IoT applications increasingly rely on edge computing to process data
closer to the source, reducing latency and bandwidth usage
The current internet architecture may not be optimized for efficient
edge computing implementations.
Application Layer
8
RFC 7252 Coap.technology
Application Layer in IoT
MQTT
Publisher – Subscriber model
Light weight, minimizes code on remote end
Data is published once available
Good for M2M Networks, distributed control apps
9
Mqtt.org
Open Problems
Unification/Standardization:
Unified data representation
Unified and seamless data translation
13
Transport Layer
Segmentation and reassembly
End-to-end communication reliability
Congestion control
Reordering
Security is added through Transport Layer Security
Seg. & Reass. End2End Reliability Cong. Control Reordering
TCP YES YES YES YES
UDP NO NO NO NO
DCCP NO NO YES NO
SCTP NO YES YES YES (opt)
14
Open Problems
TCP is $$$$$:
High memory usage
End to end communication resource usage
High loss links
UDP is:
Not reliable
Assumes ordered delivery
15
Network Layer
Management of multiple nodes
Addressing & Routing & Security (IPSec)
Internet Protocol (IP) is the dominant solution
There are also other protocols within “suite”
solutions
13
RFC 6550
Network Layer in IoT
Routing Protocol for Low-Power
‐ and Lossy
Networks (RPL):
Dominant routing protocol for IPv6 on WSNs
Creates directed trees
Flexible architecture for energy, delay, link quality
based routing selections
IP is very inefficient by itself
6LowPAN is used for improvement (cross-‐
layer compressing)
17
RPL (Routi ng Protocol for Low-
Power and Lossy Networks)
Creates destination oriented directed acyclic graphs
Optimized for upward (sink destined) traffic
Supports mobility (treated as lossy link)
Supports multiple Destination Oriented Directed Acyclic
Graph (DODAG)
Supports different routing modes (non/storing
mode)
18
RPL + Memory Problem =
Nonstoring Mode
A routing table entity contains Node ID + Next Hop =
32 bytes per destination
RAM is a luxury in small devices
Nonstoring mode solves the memory problem by
storing the routing table only at the gateway
G 2
Go over 3
Go over 1-2-3 1 Go over 2-3
19
Link Layer
Reliable communication within a single transmission range
20
Link Layer in IoT
Bluetooth:
Popular, low energy, low cost, two
different types for speed and energy
(~2Mbps)
WiFi (IEEE 802.11):
Most popular option, high speed
(>Gbps), high cost
X10 (Power Line):
Very slow (~kbps), low
cost, already deployed
infrastructure
IEEE 802.15.4:
18
Emerging choice for WSNs, low
Link Layer in IoT
22
IEEE 802.15.4
Beacon 1 Slot 1 … Slot n Beacon 2
2
(10)
23
RFC 4944, 6282, 6775, ”The 6LowPan Architecture, ACM”