routing in ad hoc networks

23
Routing in Ad Hoc Networks Audun Søberg Henriksen Truls Becken

Upload: amiel

Post on 10-Feb-2016

68 views

Category:

Documents


5 download

DESCRIPTION

Routing in Ad Hoc Networks. Audun Søberg Henriksen Truls Becken. Overview. Short introduction Example of a basic routing algorithm Routing protocols IP configuring Security. Short introduction to wireless multihop networks. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Routing in  Ad Hoc Networks

Routing in Ad Hoc Networks

Audun Søberg HenriksenTruls Becken

Page 2: Routing in  Ad Hoc Networks

Overview

Short introduction Example of a basic routing algorithm Routing protocols IP configuring Security

Page 3: Routing in  Ad Hoc Networks

Short introduction to wireless multihop networks

Two or more nodes equippedwith wireless communicationsand networking capability

Base station is not necessary A node can communicate directly

with another node that is immediately within radio range To communicate with nodes outside its own radio range an

intermediate node is used to forward the packet The network is self-organizing and adaptive

(autonomous distributed control is required) Nodes are able to detect the presence of other nodes and

join them into the network The nodes don’t need to be of the same type

(phone, PDA, laptop, sensor, etc.)

Page 4: Routing in  Ad Hoc Networks

Application areas

Tactical military Emergencies Disaster relief Sensor Meetings/conferences

Page 5: Routing in  Ad Hoc Networks

Challenges

Dynamic topologies Bandwidth-constrained, variable

capacity links Energy-constrained Limited physical security Scalability

Page 6: Routing in  Ad Hoc Networks

Simple routing protocol example

Propagation of routing table Routing and transmitting

Page 7: Routing in  Ad Hoc Networks

Routing table

Destination terminal

Nextnode

A AB AC ED D… …

Each terminal has its own routing table(in proactive routing algorithms)

Page 8: Routing in  Ad Hoc Networks

Position notification packet

ID of terminal which the created the packet

Timestamp for the created packet

ID of hop source terminal

Hop count

Contents of the packet:

Used to make and update the Routing Table Broadcasted in a limited area

Page 9: Routing in  Ad Hoc Networks

Renewal of Position Notification Packet

A B D

t =1 t =2 t =3 t =4

A A A B A C

A 1 A 1 A 1 B 2 A 1 C 3

C

B B CC

Page 10: Routing in  Ad Hoc Networks

Routing

A

B

Routing Table in D

D

G

E

I

C

HF

To F

Dest Next

A AB BC ED -E EF IG E

H II I

Page 11: Routing in  Ad Hoc Networks

Routing

A

B

D

G

E

I

C

HF

To F

Routing Table in I Dest Next

A DB DC CD DE EF HG E

H HI -

Page 12: Routing in  Ad Hoc Networks

Routing

A

B

D

G

E

I

C

HF

To F

Routing Table in H Dest Next

A IB IC CD IE IF FG C

H -I I

Page 13: Routing in  Ad Hoc Networks

Basic transmitting procedure

Request to send (RTS) Clear to send (CTS)

Ready to receive (RTR)

Page 14: Routing in  Ad Hoc Networks

Topology problem Hidden terminal problem Exposed terminal problem

Busy tones

Page 15: Routing in  Ad Hoc Networks

Ad Hoc routing protocols

Proactive– Large overhead

Reactive– Delay before first packet– Doesn’t scale

Hybrid scheme– Clusters

Page 16: Routing in  Ad Hoc Networks

Destination Sequenced Distance Vector (DSDV) Periodic routing Distance vector

– dest, next hop, distance, seq no Two ways to update neighbors

– Full dump– Incremental update

Page 17: Routing in  Ad Hoc Networks

Dynamic Source Routing (DSR)

On demand Source routing

– Each packet contains full route Route discovery

– Flood RREQ packets– RREP returned when route found

Route maintenance– RERR when route is broken

Page 18: Routing in  Ad Hoc Networks

Ad-hoc On-demand Distance Vector (AODV) From DSR

– Route discovery– Route maintenance

From DSDV– Hop-by-hop routing– Sequence numbers

Page 19: Routing in  Ad Hoc Networks

Zone Routing Protocol (ZRP)

Predefined zones– Centered around each node

Proactive local routing Reactive global routing

Page 20: Routing in  Ad Hoc Networks

IP address assignment

No centralized logic Small address room in IPv4 Network splitting Network merging

Page 21: Routing in  Ad Hoc Networks

Two approaches

A leader– Responsible for all addresses

Buddy system– Start with one node responsible for all

addresses– Joining node gets half of the addresses

from an existing node

Page 22: Routing in  Ad Hoc Networks

Routing security vulnerabilities

Open medium Dynamic topology Distributed cooperation

(absence of central authorities) Constrained capability

(energy)

Page 23: Routing in  Ad Hoc Networks

Types of attacks

Black hole Denial of service Routing table overflow Impersonation Energy consummation