0% found this document useful (0 votes)
22 views67 pages

Unit 1

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 67

EC8702- AD HOC AND WIRELESS

SENSOR NETWORKS

Mrs.THAHSEEN THAHIR,AP/ECE
Mr. M. Premkumar, AP/ECE
JCTCET
SSMIET
Unit 1
AD HOC NETWORKS –
INTRODUCTION AND
ROUTING PROTOCOLS
AD HOC NETWORKS – INTRODUCTION
AND ROUTING PROTOCOLS
•Elements of Ad hoc Wireless Networks
•Issues in Ad hoc wireless networks
•Example commercial applications of Ad hoc networking
•Ad hoc wireless Internet
•Issues in Designing a Routing Protocol for Ad Hoc
Wireless Networks
•Classifications of Routing Protocols
•Table Driven Routing Protocols –(DSDV)
•On–Demand Routing protocols –(AODV)
Types of Wireless Networks: infrastructure vs. ad-
hoc networks
•Infrastructure
Networks
infrastructure
• Fixed, wired backbone
network
•Mobile communicates
AP: Access Point
AP directly with access
points
AP wired network
AP
•Suitable for locations
where access points can
be placed
• Cellular networks
ad-hoc network
•BSS without an AP is called an ad hoc network

• BSS with an AP is called an infrastructure network


Multi Hop wireless networks
MHWNs
Ad Hoc Networks

• Temporary network composed of mobile nodes without preexisting

communication infrastructure, such as Access Point (AP) and Base


Station (BS).

• Each node plays the role of router for multi-hop routing.

• Self-organizing network without infrastructure networks

• Started from DARPA PRNet in 1970

• Cooperative nodes (wireless)

• Each node decode-and-forward packets for other nodes

• Multi-hop packet forwarding through wireless links

• Proactive/reactive/hybrid routing protocols

• Most works based on CSMA/CA to solve the interference problem


Why Ad Hoc Networks ?
Ease of deployment

Speed of deployment

Decreased dependence on infrastructure


What is an Ad hoc Network?
A network without any base
stations “infrastructure-less”
or multi-hop
A collection of two or more
devices equipped with wireless infrastructure
communications and networking network
capability AP AP: Access Point
Supports anytime and AP wired network AP
anywhere computing
Two topologies:
Heterogeneous (left)
ad-hoc network
• Differences in capabilities
Homogeneous or fully
symmetric (Right)
• all nodes have identical
capabilities and
responsibilities Homogeneous network
Mobile Ad Hoc Networks?
Mobile Ad Hoc Networks?
Mobility causes route changes
What is an Ad hoc Network?

Self-organizing and adaptive –


Allows spontaneous formation infrastructure
and deformation of mobile network
networks AP AP: Access Point

Each mobile host acts as a AP wired network AP


router
Supports peer-to-peer
communications
ad-hoc network
Supports peer-to-remote
communications
Reduced administrative cost
Ease of deployment
Ad Hoc Networks – Operating
Principle
B C

A D E

Example of an Ad Hoc Network


Fig. depicts a peer-to-peer multihop ad hoc network
Mobile node A communicates directly with B (single hop)
when a channel is available
If Channel is not available, then multi-hop communication is
necessary e.g. A->D->B
For multi-hop communication to work, the intermediate
nodes should route the packet i.e. they should act as a
router
Example: For communication between A-C, B, or D & E,
should act as routers
Bringing up an Ad hoc Network
B C

A D E

1. Ad hoc network begins with at least two nodes broadcasting


their presence (beaconing) with their respective address
information
2. They may also include their location info if GPS equipped
3. Beaconing messages are control messages. If node A is able
to establish a direct communication with node B verified by
appropriate control messages between them, they both
update their routing tables
Bringing up an Ad hoc Network
B C

A D E

4. Third node C joins the network with its beacon


signal. Two scenarios are possible:
(i)A & B both try to determine if single hop
communication is feasible
(ii)Only one of the nodes e.g. B tries to
determine if single hop communication is feasible
and establishes a connection
Bringing up an Ad hoc Network
B C

A D E

5. The distinct topology updates consisting of both


address and the route updates are made in three
nodes immediately.

5. In first scenario, all routes are direct i.e. A->B,


B->C, and A->C (Lets assume bi-directional links)
Topology Update Due to a Link
Failure B

A D E

Mobility of nodes may cause link breakage requiring route


updates
Assume link between B & C breaks because of some reason
Nodes A & C are still reachable via D and E
So old route between A &C was A->B->C is to be replaced by
A->D->E->C
All five nodes are required to incorporate this change in
their routing table
This change will happen first in nodes B & C
Then A & E
Then D
Types of Wireless Ad Hoc Networks
•Mobile ad hoc network (MANET)
An ad hoc network of mobile devices.
•Vehicular ad hoc network (VANET)
Used for communication between vehicles.
• Smartphone ad hoc network (SPAN)
Wireless ad hoc network created on smart phones via existing
technologies like Wi-Fi and Bluetooth.
• Wireless mesh network
A mesh network is an ad hoc network where the various nodes are in
communication directly with each other to relay information
throughout the total network.
Types of Wireless Ad Hoc Networks
•Army tactical MENT
Used in the army for "on-the-move" communication
•Wireless sensor network
Wireless sensors that collect everything from
temperature and pressure readings to noise and humidity
levels
• Disaster rescue ad hoc network
Ad hoc networks are important when disaster strikes and
established communication hardware isn't functioning
properly.
Advantages

•Ad-hoc networks can have more flexibility.


•It is better in mobility.
•It can be turn up and turn down in a very
short time.
•More economical
•It considered as a robust network because
of its non-hierarchical distributed control
and management mechanisms.
Disadvantages

•Unpredictable Topology
•Limited Bandwidth
•Lose of data
•Interference
•Limited Security
• Energy Constraints
Issues in Ad hoc wireless networks
•Medium Access Control (MAC)
•Routing
•Multicasting
•Transport layer protocol
•Quality of Service (QOS)
•Self-organization
•Security
•Energy management
•Scalability
•Deployment considerations
Medium Access Control
Major issues
•Distributed Operation
•Synchronization
•Hidden Terminals Problem
•Exposed Terminals Problem
•Throughput
•Minimizing the occurrence of collisions
•Maximizing channel utilization
•Minimizing control overhead
•Access delay
•Real-time Traffic support and Resource reservation
Hidden Terminals Problem
Exposed Terminals Problem
Routing

Major issues
•Mobility
•Bandwidth constraint
•Error-prone and shared channel
•Location-dependent contention
•Other resource constraints
•Computing power
•Battery power
•Buffer storage
Multicasting

Major issues
•Robustness
•Efficiency
•Control overhead
•Quality of Service
•Efficient group management
•Scalability
•Security
Transport Layer Protocol

The main objectives of the transport layer


protocols include :
•Setting up & maintaining end-to-end
connections
•Reliable end-to-end delivery of packets
•Flow control
•Congestion control.
Quality of Service (QoS)

•QoS is the performance level of services offered by a


service provider or a network to the user.
• QoS provisioning often requires
•Negotiation between host & the network
•Resource reservation schemes
•Priority scheduling
•Call admission control
•QoS parameters
QoS-aware routing
•Finding the path is the first step toward a QoS-aware
routing protocol.
•The parameters that can be considered for routing
decisions are
•Network throughput
•Packet delivery ratio
•Reliability
•Delay
•Delay jitter
•Packet loss rate
•Bit error rate
Self-Organization

•One very important property that an ad hoc wireless


network should exhibit is organizing & maintaining the
network by itself.
•The major activities that an ad hoc wireless network is
required to perform for self organization are,
•Neighbor discovery.
•Topology organization &
•Topology reorganization (updating topology
information)
Security
•It is an important issue
•Attacks against network are two types
•Passive attack
•Active attack
•External attack
•Internal attack
•The major security threats are
•Denial of service
•Resource consumption
•Host impersonation
•Interference
Energy Management

•It is a process of managing the sources to enhance the


lifetime of a network.
• Features are
•Shaping the energy discharge pattern of a node’s battery
to enhance battery life
•Finding routes that consumes minimum energy
•Using distributed scheduling schemes to improve battery
life
•Handling the processor & interface devices to minimize
power consumption.
Categories
•Transmission power management
•Battery energy management
•Processor power management
•Devices power management
Scalability

•Scalability is the ability of the routing


protocol to scale well in a network with a
large number of nodes.
• It requires minimization of control overhead
& adaptation of the routing protocol to the
network size.
Deployment Considerations

•The deployment of a commercial ad hoc


wireless network has the following benefits
when compared to wired networks
•Low cost of deployment
•Incremental deployment
•Short deployment time
•Reconfigurability
Challenges in Ad hoc Mobile Networks

•Host is no longer an end system - can also be an


acting intermediate system
•Changing the network topology over time
•Potentially frequent network partitions
•Every node can be mobile
•Limited power capacity
•Limited wireless bandwidth
•Presence of varying channel quality
Challenges in Ad hoc Mobile Networks
•No centralized entity – distributed
•How to support routing?
•How to support channel access?
•How to deal with mobility?
•How to conserve power?
•How to use bandwidth efficiently?
AD HOC WIRELESS INTERNET
•It extends the services of the internet to the
end users over an adhoc wireless network.
•Some of the applications are
•Wireless mesh network
•Provisioning of temporary internet services to major
conference venues
•Sports venues
•Temporary military settlements
•Battlefields
•Broadband internet services in rural regions
Gateway
•They are the entry points to the wired internet.
•Generally owned & operated by a service provider.
•They perform following tasks ,
•Keeping track of end users.
•Bandwidth management.
•Load balancing.
•Traffic shaping.
•Packet filtering.
•Width fairness &
•Address, service & location discovery.
Address mobility

•This problem is worse here as the nodes


operate over multiple wireless hops.
•Solution such as Mobile IP can provide
temporary alternative.
Routing

• It is a major problem in ad hoc wireless


internet,
•due to dynamic topological changes
•the presence of gateways
•multi-hop relaying
•the hybrid character of the network
•Solution -> use separate routing protocol for
the wireless part of ad hoc wireless internet.
Other issues

•Transport layer protocol


•Load balancing
•Pricing / Billing
•Provisioning of security
•QoS support
•Service, address & location discovery
Ad hoc wireless Internet implemented by a
wireless mesh network
Problems Facing Routing in Ad hoc Networks

•Routers are now moving


•Link changes are happening quite often
Packet losses due to transmission errors

•Event updates are sent often – a lot of control


traffic
•Routing table may not be able to, converge
•Routing loop may exist
•Current wired routing uses shortest path
metric
Problems facing channel access in Ad hoc
Networks

•Distributed channel access, i.e. no fixed


base station concept
•Very hard to avoid packet collisions
•Very hard to support QoS
•Early work on packet radio is based on
CSMA
Problems of Mobility in Ad hoc
•Mobility affects signal transmission ->
Affects communication
•Mobility affects channel access
•Mobility affects routing
•Mobility-induced route changes
•Mobility-induced packet losses

•Mobility affects multicasting


•Mobility affects applications
Mobility in Ad hoc Networks
•Mobility patterns may be different
•people sitting at an airport lounge
•New York taxi cabs
•kids playing
•military movements
•personal area network

•Mobility characteristics
•speed
•predictability
• direction of movement
• pattern of movement
Problems of Power in Ad hoc
•Ad hoc devices come in many different forms
•Most of them battery powered

•Battery technology is not progressing as fast as


memory or CPU technologies
•Wireless transmission, reception, retransmission,
beaconing, consume power!
•Quest for power-efficient protocols

•Quest for better power management techniques


Research on Mobile Ad Hoc
Networks
•Variations in capabilities & responsibilities

•Variations in traffic characteristics,


mobility models, etc.

•Performance criteria (e.g., optimize


throughput, reduce energy consumption)

•Increased research funding -> Significant


research activity
Classifications of routing
protocols
Table Driven Routing Protocols
•Extensions of the wired network routing protocols.
•Maintains the global topology information in the form of
tables at every node.
•Tables are updated frequently in order to maintain
consistent and accurate network state information.
•Examples
•Destination Sequenced Distance Vector Routing
Protocol (DSDV)
•Wireless Routing Protocol (WRP)
•Source-Tree Adaptive Routing Protocol (STAR)
•Cluster-head Gateway Switch Routing Protocol (CGSR)
Destination Sequenced Distance Vector Routing
Protocol (DSDV)
•It is a modified version of Bellman Ford Algorithm
•It is a hop-by-hop vector routing protocol requiring
each node to periodically broadcast routing updates.
•Each node maintains routing information for all known
destinations
•Routing information must be updated periodically
•Traffic overhead even if there is no change in network
topology
•Maintains routes which are never used
•Allows fast reaction to topology changes
DSDV Table Format

Table updates
•Incremental updates-> single network
data packet unit(NDPU)
•Full dump updates-> multiple NDPUs
Route Establishment in DSDV
Route maintenance in DSDV
Advantages

•Less delay involved in the route setup process


•Mechanism of incremental update with
sequence number tags makes the existing wired
network protocols adaptable to ad hoc wireless
networks
•The updates are propagated throughout the
network in order to maintain an up-to-date
view of the network topology at all nodes.
Disadvantages

•Broken links lead to a heavy control overhead during high


mobility
•Even a small network with high mobility or a large
network with low mobility can completely choke the
available bandwidth
•Suffers from excessive control overhead
•In order to obtain information about a particular
destination node, a node has to wait for a table update
message initiated by the same destination node
ON-DEMAND ROUTING PROTOCOLS

•In table-driven protocols, each node maintain up-to-


date routing information to all the
nodes in the network
•In on-demand protocols a node finds the route to
a destination when it desires to send packets to the
destination
•Ex
•Dynamic source routing protocol (DSR)
•Ad hoc on-demand distance-vector routing protocol
(AODV)
Ad hoc On–Demand Distance Vector
Routing (AODV)
•Reactive routing protocol which does not maintain
routes but build the routes as per requirements
•AODV is used to overcome the drawbacks of DSR
•DSR maintains route information which makes it
slow.
• If the network is large, it is difficult to hold
whole information of the routes
• In AODV, along with routing tables of every node, two
counters including Sequence Number (SEQ NO) and
broadcast ID are maintained
AODV

•Route Request carries


•source identifier (SrcID)
•Destination identifier (DestID)
•Source sequence number (SrcSeqNum)
•Destination sequence number (DestSeqNum)
•Broadcast identifier (BcastID)
•Time to live (TTL)
•Route Reply
Route establishment in AODV
Route Maintenance in AODV
Advantage

•The routes are established on demand


and destination sequence numbers are
used to find the latest route to the
destination. So the connection setup delay
is less
•Dynamic networks can be handled easily.
•No loop generation
Disadvantage

•Multiple RouteReply packets in response


to a single RouteRequest packet can lead
to heavy control overhead
•Periodic beaconing leads to unnecessary
bandwidth consumption

You might also like