Ad Hoc Network - Kasetsart University

55
1 Ad Hoc Network รศ. ดร. อนันต์ ผลเพิ่ม Asso. Prof. Anan Phonphoem, Ph.D. [email protected] http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand Wireless LANs 2012

Transcript of Ad Hoc Network - Kasetsart University

Page 1: Ad Hoc Network - Kasetsart University

1

Ad Hoc Network

รศ. ดร. อนันต์ ผลเพิ่ม

Asso. Prof. Anan Phonphoem, Ph.D. [email protected]

http://www.cpe.ku.ac.th/~anan

Computer Engineering Department

Kasetsart University, Bangkok, Thailand

Wireless LANs 2012

Page 2: Ad Hoc Network - Kasetsart University

2

Outline

• Definition and Challenges

• Media Access Control

• Routing Protocols

• Research topics

Definition and Challenges

Page 3: Ad Hoc Network - Kasetsart University

3

Ad Hoc Network

• Meaning

• form / deform

• temporary

•mobile

• 2 or more devices

•Within radio range – they communicate

•Outside communication range – need relay

node

Page 4: Ad Hoc Network - Kasetsart University

4

Ad Hoc Network Node

• Diversity of mobile devices

•Notebook, PDA, phone, badge, etc.

• Heterogeneous / Homogeneous

• Fixed transmission range

• Limited battery

• Unrestricted movement

• No collision detection

Page 5: Ad Hoc Network - Kasetsart University

5

Ad Hoc Network Topology

• Self-organizing

• Adaptive (dynamic) topology

• join and leave the network at any time

• no predefined structure

• no global topology info

Page 6: Ad Hoc Network - Kasetsart University

6

Ad Hoc Network Key Points

• Shared transmission medium

• Each node responses for forwarding data packets for others

• Network partitions can occur

• Collision avoidance (no collision detection)

Page 7: Ad Hoc Network - Kasetsart University

7

Mobile Ad Hoc Network (MANET)

• Set of mobile nodes • communicate with each other

• roam around at will

• No supporting base stations

• No guarantee of direct connection • single-hop

• Use intermediate nodes to relay packets •multi-hop

Page 8: Ad Hoc Network - Kasetsart University

8

MANET Applications

• Immediate network deployment

•Battlefields

•Major disaster areas

• Sensor networks

• Areas without base stations

• Areas where fixed network structures are unavailable

Page 9: Ad Hoc Network - Kasetsart University

9

Challenges

• Spectrum Allocation (ISM Band)

• Media Access •No centralized : TDMA cannot be used

•Mobility

•Access without collision

• Routing • Link break often

•Topology change

Page 10: Ad Hoc Network - Kasetsart University

10

Challenges

• Multicasting • Tree formation might not work?

• Energy Efficiency • battery

• Packet forwarding

• TCP Performance • Connection oriented assumes node to be static

• Packet loss and long RTT

• Service Location

• Security and Privacy

Page 11: Ad Hoc Network - Kasetsart University

11

Outline

• Definition and Challenges

• Media Access Control

• Routing Protocols

• Research topics

Media Access Control

Page 12: Ad Hoc Network - Kasetsart University

12

Media Access Problem

• Hidden terminal problem

• contention-based protocol

•CSMA, IEEE 802.11

•RTS/CTS (incompleteness)

• Exposed node problem

• overhearing from neighbor

• separate control channels

• directional antennas

Page 13: Ad Hoc Network - Kasetsart University

13

MAC Protocols

• Receiver-Initiated

• receiver informs sender (ready to receive)

• only one control message (no RTS/CTS)

• Multiple access with collision avoidance – By Invitation

(MACA-BI)

• Sender-Initiated

• sender informs receiver (has data for receiver)

• MACA

• MACA with ack (MACAW)

Page 14: Ad Hoc Network - Kasetsart University

14

Receiver-Initiated MAC

#1 #3 #2 #4

RTR RTR

Data Data

Page 15: Ad Hoc Network - Kasetsart University

15

Sender-Initiated MAC

#1 #3 #2 #4

RTS

CTS

RTS

CTS

Data Data

Page 16: Ad Hoc Network - Kasetsart University

16

MAC examples

• Multiple access with collision avoidance (MACA)

• Multiple access with collision avoidance by Invitation (MACA-BI)

• Power-Aware Multi-Access Protocol with Signaling (PAMAS)

• Dual Busy Tone Multiple Access (DBTMA)

• Media Access with Reduced Handshake (MARCH)

Page 17: Ad Hoc Network - Kasetsart University

17

MACA

• Amateur packet radio network (Phil Karn)

• Single frequency network

• Aim to solve • hidden node / exposed node problems

• 3-way handshake • RTS-CTS-Data

• no carrier sense

• Power control features • adjust power according to receiver

Page 18: Ad Hoc Network - Kasetsart University

18

MACA-BI (by invitation)

• Fabrizio Talucci

• 2-way handshake

• RTR-Data (no RTS, CTS RTR)

• cannot tx if not receive RTR

• Receiver guesses (predict) the arrival rate (by queue length)

• Performance

• Good for constant bit rate (CBR)

• Same as MACA for bursty data

Page 19: Ad Hoc Network - Kasetsart University

19

Power-Aware Multi-Access Protocol with Signaling (PAMAS)

• Based on MACA

• Add separate signaling channel • for RTS-CTS

• Selectively power off not active (no Tx Rx)

• Operations • Sender RTS

• Receiver CTS

• Receiver busy tone on signaling channel

• Others power off • Others transmit

• node has no data to send/receive

• probing to detect when should power up

Page 20: Ad Hoc Network - Kasetsart University

20

Dual Busy Tone Multiple Access (DBTMA)

• BTMA (by Fouad Tobagi)

• aim to solve hidden terminal problem

• relay on last-hop architecture

•centralize nodes for others

• DBTMA (by Zygmunt Haas)

• two out-of-band busy tones

• different frequencies

Page 21: Ad Hoc Network - Kasetsart University

21

Media Access with Reduced Handshake (MARCH)

• Multi-hop ad hoc network

• Reduce control overhead

• Utilize overheard CTS

• for invitation to relay node

• reduce RTS packets

Page 22: Ad Hoc Network - Kasetsart University

22

MARCH

#1 #3 #2 #4 RTS1

CTS1

CTS1

Data

CTS2

CTS2

Data Data

CTS3

CTS3

Data Data

Page 23: Ad Hoc Network - Kasetsart University

23

Outline

• Definition and Challenges

• Media Access Control

• Routing Protocols

• Research topics

Routing Protocols

Page 24: Ad Hoc Network - Kasetsart University

24

Issues in Ad Hoc Networks

• Communication in mobility environment

• connection initialization

• path selection

• path reliability

• Energy consumption vs. latency

• Throughput

• Scalability

• Incompatibility standards

Page 25: Ad Hoc Network - Kasetsart University

25

IEFT MANET Working Group

• Goals

• standardize an interdomain unicast (IP) routing protocol

• define modes of efficient operation

• support both static and dynamic topologies

• A dozen candidate routing protocols have been proposed

Page 26: Ad Hoc Network - Kasetsart University

26

Routing

? ?

?

?

?

? ? ?

? ? ? ? ?

? ? ? ? ? ? ? ? ?

? ? ? ? ?

? ? ?

? ?

Ants Searching for Food

from Prof. Yu-Chee Tseng’s slides

Page 27: Ad Hoc Network - Kasetsart University

27

Routing (Ants’ scenario)

Page 28: Ad Hoc Network - Kasetsart University

28

Three Main Issues in Ants’ Life

• Route Discovery:

• searching for the places with food

• Packet Forwarding:

• delivering foods back home

• Route Maintenance:

•when foods move to new place

Page 29: Ad Hoc Network - Kasetsart University

29

Routing Protocols

• Proactive (Global/Table Driven) • route determination at startup

•maintain using periodic update

• Reactive (On-demand) • route determination as needed

• route discovery process

• Hybrid • combination of proactive and reactive

Page 30: Ad Hoc Network - Kasetsart University

30

Proactive

• Destination-sequenced distance vector (DSDV)

• Wireless routing protocol (WRP)

• Global state routing (GSR)

• Fisheye state routing (FSR)

• Source-tree adaptive routing (STAR)

• Distance routing algorithm for mobility (DREAM)

• Cluster-head gateway switch routing (CGSR)

Page 31: Ad Hoc Network - Kasetsart University

31

Reactive

• Associativity-base routing (ABR)

• Dynamic source routing (DSR)

• Ad hoc on-demand distance vector (AODV)

• Temporally ordered routing algorithm (TORA)

• Routing on-demand acyclic multi-path (ROAM)

• Light-weight mobile routing (LMR)

• Signal stability adaptive (SSA)

• Cluster-based routing protocol (CBRP)

Page 32: Ad Hoc Network - Kasetsart University

32

Hybrid

• Zone routing protocol (ZRP)

• Zone-based hierarchical link state (ZHLS)

• Distributed spanning trees (DST)

• Distributed dynamic routing (DDR)

• Scalable location update routing pro. (SLURP)

Page 33: Ad Hoc Network - Kasetsart University

33

Flooding

• Simplest of all routing protocols

• Send all info to everybody

• If data not for you, send to all neighbors

• Robust

• destination is guaranteed to receive data

• Resource Intensive

• unnecessary traffic

• load increases, network performance drops quickly

Page 34: Ad Hoc Network - Kasetsart University

34

Routing Examples

• Destination Sequenced Distance Vector (DSDV)

• Cluster Gateway Switch Routing (CGSR)

• Ad hoc On-demand Distance Vector (AODV)

• Dynamic Source Routing (DSR)

• Zone Routing Protocol (ZRP)

• Location-Aided Routing (LAR)

• Distance Routing effect Algorithm for mobility (DREAM)

• Power-Aware Routing (PAR)

Page 35: Ad Hoc Network - Kasetsart University

35

Destination Sequenced Distance Vector (DSDV)

• Table-driven

• Based on the distributed Bellman-Ford routing algorithm

• Each node maintains a routing table

•Routing hops to each destination

• Sequence number

Page 36: Ad Hoc Network - Kasetsart University

36

DSDV

• Problem

• a lot of control traffic in the network

• Solution: two types of route update packets

• full dump (All available routing info)

• incremental (Only changed info)

Page 37: Ad Hoc Network - Kasetsart University

37

Cluster Gateway Switch Routing (CGSR)

• Table-driven for inter-cluster routing

• Uses DSDV for intra-cluster routing

M2

C3

C2

C1

Page 38: Ad Hoc Network - Kasetsart University

38

Ad hoc On-demand Distance Vector (AODV)

• On-demand driven

• Nodes that are not on the selected path do not maintain routing information

• Route discovery

• source broadcasts a route request packet (RREQ)

• destination (or intermediate node with “fresh enough”

route to destination) replies a route reply packet (RREP)

Page 39: Ad Hoc Network - Kasetsart University

39

AODV

N2

N4 N1

N3

N5

N6

N7

N8

Source

Destination

N2

N4 N1

N3

N5

N6

N7

N8

Source

Destination

RREQ

RREP

Page 40: Ad Hoc Network - Kasetsart University

40

AODV

• Problem

• a node along the route moves

• Solution

• upstream neighbor notices the move

• propagates a link failure notification message to each of its active upstream neighbors

• source receives the message and re-initiate route discovery

Page 41: Ad Hoc Network - Kasetsart University

41

Dynamic Source Routing (DSR)

• On-demand driven

• Based on the concept of source routing

• Required to maintain route caches

• Two major phases

•Route discovery (flooding)

•Route maintenance

•A route error packet

Page 42: Ad Hoc Network - Kasetsart University

42

DSR

N2

N4 N1

N3

N5

N6

N7

N8

N1

N1

N1-N2

N1-N3-N4

N1-N3-N4

N1-N3-N4-N7

N1-N3-N4-N6 N1-N3

N1-N3-N4

N1-N2-N5

N2

N4 N1

N3

N5

N6

N7

N8 N1-N2-N5-

N8

N1-N2-N5-

N8

N1-N2-N5-

N8

Route Discovery

Route Reply

Page 43: Ad Hoc Network - Kasetsart University

43

Modified DSR

• Route information determined by the current network conditions

• number of hops

• congestion

• node energy

• Other considerations

• fairness

• number of route requests

Page 44: Ad Hoc Network - Kasetsart University

44

Zone Routing Protocol (ZRP)

• Hybrid protocol

•On-demand

• Proactive

• ZRP has three sub-protocols

• Intrazone Routing Protocol (IARP)

• Interzone Routing Protocol (IERP)

•Bordercast Resolution Protocol (BRP)

Page 45: Ad Hoc Network - Kasetsart University

45

Zone Radius = r Hops

Zone of Node Y

Node X

Zone of Node X Node Z Zone of Node Z

Border Node

Border Node

Bordercasting

Zone Routing Protocol (ZRP)

Page 46: Ad Hoc Network - Kasetsart University

46

Location-Aided Routing (LAR)

• Location information via GPS

• Shortcoming (maybe not anymore 2005)

•GPS availability is not yet worldwide

• Position information come with deviation

Page 47: Ad Hoc Network - Kasetsart University

47

LAR

source(Xs,Ys)

Request Zone Expected Zone (Xd+R, Yd+R)

R

Destination (Xd,Yd)

Page 48: Ad Hoc Network - Kasetsart University

48

Distance Routing effect Algorithm for mobility (DREAM)

• Position-based

• Each node

•maintains a position database

• regularly floods packets to update the position

•Temporal resolution

•Spatial resolution

Page 49: Ad Hoc Network - Kasetsart University

49

Power-Aware Routing (PAR)

+

+

+

+

+

+

SRC

N1 N2

DES

T

N4 N3

Page 50: Ad Hoc Network - Kasetsart University

50

Outline

• Definition and Challenges

• Media Access Control

• Routing Protocols

• Research Topics

Research Topics

Page 51: Ad Hoc Network - Kasetsart University

51

Current routing protocols

• Many do not consider energy conservation

• lead to partitions

• shorten network life

• fairness to intermediate nodes not incorporated

• fail to work well in both sparse and dense networks

Page 52: Ad Hoc Network - Kasetsart University

52

Interesting Research Topics

• Energy Awareness Routing

• Multipath Routing

•more paths used to send information, more reliable the transmission

• Clustering (Hierarchical Routing)

• dynamic management of subnetworks

Page 53: Ad Hoc Network - Kasetsart University

53

More Research Topics

• Topology Control

• adjustment of transmission power to simplify routing

• Internetworking

• managing wired and wireless networks

• Heterogeneous Networks

• Different devices on the network have different capabilities

• Content Aware Networks

• Location of services within the network (Printers)

Page 54: Ad Hoc Network - Kasetsart University

More Research Topics

• Delay-Tolerent Network (DTN)

• Vehicular ad-hoc network (VANET)

54

Page 55: Ad Hoc Network - Kasetsart University

55

References

• Ad Hoc Mobile Wireless Networks – Protocols and System,

C-K Toh, Prentice Hall, 2002, ISBN: 0-13-007817-4

• “Introduction to Ad Hoc Networking”, Prof. Yu-Chee Tseng