Origins of Ad Hoc
Origins of Ad Hoc
Origins of Ad Hoc
Radio Networks
Sandeep Arora
SECE
LPU
Index
Introduction
Technical Challenges
Architecture of PRNETs
Components of Packet Radios
Routing in PRNETs
Route Calculation
Pacing Techniques
Media Access in PRNETs
Flow Acknowledgments in PRNETs
2
Introduction
Wireless Networking:
Infrastructure
Infrastructure Wireless
Network
MANET
Wireless Mobile Network
10
Fundamental Concepts
Ad hoc networks are autonomous networks
12
13
16
17
18
Systems) project
Aim: to make the mobile environment user
19
radio network.
The NTDR provides a self-organizing, self-healing, network
Technical Challenges
PRNETs are different from wired networks in many
communication route
Error control over wireless links
Deriving and maintaining network topology
information
Deriving accurate routing information
Mechanisms to handle router mobility
Shared channel access by multiple users
Processing capability of terminals
Size and power requirements
23
24
Network Architecture of
PRNETs
Components of Packet
Radios
user computer is interfaced to a radio via the terminal-network
controller (TNC).
user computer -> mobile device/terminal
radio and TNC logic ->packet radio
26
Routing in PRNETs
Point-to-Point Routing
PRNETs support point-to-point communications through point-to-point
routing.
A packet originating at one part of the network moves through a
series of one or more repeaters until it eventually reaches the
final destination.
This point-to-point route is an ordered set of repeater addresses that is
determined by the mobile station.
The mobile station is the only element in the network that has
knowledge of the overall network connectivity, that is, the
network topology.
With network topology information, the mobile station computes the best
point-to-point route and distributes this information to all repeaters in the
route or directly to the source packet radio.
This scheme was found to be suitable for slow moving user terminals.
28
Broadcast Routing
Radio technology provides very good
29
packet radio in a wave-like fashion, that is, the packet ripples away
from the source.
Although broadcasting is very robust (since a packet will
be received by every node in the non-partitioned network),
it is not efficient for two-party communications since all other
nodes in the network must participate in the transmission and
reception of packets that are not intended for them.
Hence, when broadcast routing is used for point-to-point
communication, the destination host address is included in each
data packet. No specific routes are derived prior to data
transmission; hence, routing decisions are not centralized. Packets
will eventually reach the destination host if the network is not
partitioned. For fast moving user terminals, broadcast
routing was found to be useful as it avoids the need to process
rapidly changing routes.
30
Packet Forwarding
Impact of Mobility
31
Route Calculation
Neighbor table
Tier table
Device table
32
Neighbor Table
Broadcast a Packet Radio Organization Packet
Neighbor Table
Neighboring PR
Link Quality
Node 1
3/9
Node 5
4/5
Node 7
6/9
Node 9
5/8
Link Quality
=
34
Tier Table
Routing in PRNETs relies on each packet radio
Tier Table
Every packet radio knows the best next node on the route
36
Tier Table
37
Destination PR
Next-Hop PR
Tier Count
Node 1
Node 7
Node 4
Node 4
Node 5
Node 8
Node 6
Node 3
Device Table
38
Device Table
Logical addressing: maps device to a packet radio
Information about the radios attached device is included in
PROP messages
This allows new radios to be attached to devices and vice versa
Such correspondences are maintained in the device table at
each packet radio
PR Node
Device
Device
1
M
Q
39
Forwarding Protocols
Forwarding is accomplished via information read from the device and tier
tables and from the packet headers.
Unlike PROPs, user packets are not flooded to conserve available bandwidth
Packet Headers:
End-to-end header
The end-to-end header (ETE) is created by the source mobile
device/terminal, not the packet radio.
<Src Device ID, Dest Device ID, Type of Service Flag>
It includes the source device ID/address, which is used to update the
40
Routing header
In contrast to the ETE header, the routing header is
42
Forwarding Protocol
Device 1 --> Device 2 via PRs L, M, N
Device 1 --> PR L
Device sends packet PR L via its wired connection;
PR Node
Device
Device
1
43
M
Q
Forwarding Protocol
PR L --> PR M
PR M receives packet over the air
Next PR ID = M, this PR should process the packet
Prepare to forward packet on to PR N:
Prev PR ID <- L
Transmitting PR ID <- M
Next PR ID <- N (known from tier table)
Tier <- 1 (from tier table)
Transmit packet to PR N and any other PR within range,
Device
1
44
M
Q
Forwarding Protocol
PR M --> PR N
N receives packet, determines it should process it based on
Next PR ID
Determines that packet should be delivered to the attached
Device 2 (from ETE header and device table)
Sets in header, for the ack message:
P PR Node
Prev PR ID <- M
Trans PR ID <- N
Device
L
M
N
Next PR ID <- null
1
Tier <- null
Q
Ack message is sent, consisting only of header
Note that end PR cant use passive acknowledgement, so is
forced to transmit ack message to PR M
45
Device
2
Forwarding Protocol
Criteria for recognizing an Ack
Source PR ID and Seq No match the original
packet
AND must have arrived from further downstream:
Transmitting PR ID in ack packet is same as
next PR ID in original packet
Previous PR ID is same as receiving PRs ID--the
forward packet came from this packet radio
Ack packet contains a smaller tier number,
indicating it got closer to the destination PR
46
Forwarding Protocol
Retransmissions
If a packet is forwarded, and no ack is received,
47
Forwarding Protocol
Alternative Routing
Alternative routing request flag
Receiving PR whose ID Next PR ID
This PR will forward if its tier table indicates it is less than
48
Transmission Protocols
Pacing protocol
Provide Flow and congestion control mechanisms
The time at which a packet is selected for
49
50
Transmission Protocols
Single Threading
Last packet sent to PR must be ackd or discarded before next packet
packet radio records the time at which its transmission completes and
when it receives the acknowledgment from the next packet radio. This
difference is known as forwarding delay
Affects the setting of retransmission intervals
Includes processing, queing, carrier sense/random access,
transmission delay from neighboring PR
Exponentially smoothed to get short term history of delay likely to be
valid in next transmit/ack cycle
51
CSMA
Carrier Sense Multiple Access(CSMA) is aprobabilisticMedia Access
53
Flow Acknowledgments in
PRNETs
Packets are forwarded via a single
55
56
Other packet radios within the radio range will also each
58