Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
Integrated Communication Systems GroupIlmenau University of Technology
Ad Hoc Networks
Mobile Communication Networks (RCSE)Winter Semester 2012/13
Integrated Communication Systems Group
Outline
• Introduction
• Medium Access Control (MAC)
• Routing
• Interworking with Infrastructure
• Conclusions
• References
Advanced Networking, Master Program 2
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 3
Introduction
Integrated Communication Systems Group
Mobile Ad Hoc Networks (MANETs)
• Spontaneous federation of wireless devices– No infrastructure (base station / access point), no backbone– Devices can be mobile
• Packet-based forwarding– Each device must serve as a router– Routes between devices can span multiple hops
• Ad hoc networks are self organizing– No central components
Mobile Communication Networks (RCSE) 4
Transmission range r
r
Integrated Communication Systems Group
Advantages and Application Scenarios
• Advantages– Easy and cheap deployment
• E.g. using 802.11 in license free ISM band (2.4 GHz)– Reduced transmission power– Robust to component failures
• Application: where is no access to infrastructure– Military applications
• Groups of soldiers, tanks, planes...– Civil applications
• Conferences, exhibitions, meetings, lectures, gaming, …– Car-to-car-communication, network for taxis, police, …– Extension of cellular networks
• Disaster recovery ( Int. Graduate School on Mobile Communications)– After crash of infrastructure (e.g. telephone network after earthquake)– Rescue
Mobile Communication Networks (RCSE) 5
Integrated Communication Systems Group
Applications
6
Automotive networks
Military communications
Interactive lectures
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Scenarios
7
Vehicular Ad Hoc NETworks (VANETs)
Wireless Sensor Networks (WSNs)
Wireless Mesh Networks (WMNs)
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Scenarios
8
Multi-hop communication(Ad Hoc mode)
Infrastructuremode
Mobile gateway (works in two modes) Mobile in
infrastructure mode
High bit rate data coverage
Low bit rate data coverage
Border region (no coverage)
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
MANET Properties
• Highly dynamic topology– Mobility of devices– Changing of quality of wireless channel (fading)– Partitioning and merging of ad hoc networks possible
• Asymmetric / unidirectional links– Different quality in both directions
• Wireless medium is semi-broadcast medium– Hidden and exposed terminals
• Limited battery capacity of mobile devices– Additional battery drain due to (e.g.) routing functionality
• Limited bandwidth– Additional bandwidth required for routing and MAC functionality
• Time synchronization difficult– Problem for low power modes (e.g. sleeping periodically)
• Security mechanism hard to apply– Every devices must be able to forward packets no encryption of routing
headers
Mobile Communication Networks (RCSE) 9
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 10
Medium Access Control (MAC)in Multi-Chanel MANET
Integrated Communication Systems Group
Basics
• Multiple users compete for access to a common, shared medium.Thus, suitable MAC mechanisms are required see Medium Access Schemes Lecture for details
• Problems– Hidden and exposed terminals– Problems related to the use of multiple channels
- Node has a single interface- Node has multiple interfaces
– Problems related to broadcast- Redundancy: all nodes forward broadcast packets same packet is
received from many nodes- Contention: nodes compete to access the medium if the medium is free,
broadcast packet will be sent- Collision: no RTS/CTS dialog hidden terminal problem
Advanced Networking, Master Program 11
Integrated Communication Systems Group
Problems Related to the Use of Multiple Channels
• Node has a single interface– Fixed at a particular channel (traditional solution)
- Problems: how to synchronize with others using the same channel, etc.– May be switched among different channels
- Problems: how to select the suitable channel to switch to, how long willthis switch take, how long can you use this channel, etc.
• Node has multiple interfaces– Each interface may be fixed at a particular channel or switched
dynamically among different channels– A combination between fixed and dynamically switching interfaces,
i.e. some are fixed at certain channels, while others are switcheddynamically
– Problems: how to select suitable channels for each interface(depends on neighbors information), when to switch, how tosynchronize with other nodes in the network, broadcasting, etc.
Mobile Communication Networks (RCSE) 12
Integrated Communication Systems Group
Problems Related to the Use of Multiple Channels
Mobile Communication Networks (RCSE) 13
CBA
Interface1
Interface2
Interface1
Interface2
Interface1
Interface2Interface3
Ch1
Ch11
Ch6
Ch6
Ch11Ch1 Ch6
Ch6
Integrated Communication Systems Group
Multi-Channel MAC Approaches
• Dedicated control channel– One channel for control messages and others for data traffic– Needs two or more interfaces
• Split phase– Communication in two phases
- Channel negotiation phase (a default channel is used by all nodes)- Data transfer phase (all channels are used to transmit data during this phase
including the default one)– Works with one interfaces
• Common hopping sequence– All nodes follow the same channel hopping sequence– Works with one interfaces
• Multiple rendezvous– Each node follows its own channel hopping sequence– Works with one interface
Mobile Communication Networks (RCSE) 14
Integrated Communication Systems Group
Dedicated Control Channel
Mobile Communication Networks (RCSE) 15
A B
RTS CTS DATA
Ch0 (control)Ch1Ch2Ch3
RTS1 CTS1Data (A B)
RTS2 CTS2
Data (C D)
AB
D
2 C
1 3
24
AB
D
1 C AB
D
3 C
C D
Ch0
Ch1
Ch0
AB
D
4 CCh2
Ch1
Ch1
Integrated Communication Systems Group
Dedicated Control Channel
• A wants to send data to B (AB)1. Selection of communication channel
A exchanges RTS/CTS with B to determine the channel to be used C and D receive RTS/CTS due to using a common single channel for signaling
2. After the channel has been selected, A sends data to B
• After some time, C wants to send data to D (CD)3. Selection of communication channel
- A exchanges RTS/CTS with D to determine the channel to be used4. After that, C sends data to D as well.
Mobile Communication Networks (RCSE) 16
Integrated Communication Systems Group
Split Phase
Mobile Communication Networks (RCSE) 17
Control phase
Wai
t for
dat
a ph
ase
Data phase
Ch0Ch1Ch2Ch3
RTS1 CTS1 RTS2 CTS2
Data (C D)
RTS CTS DATA
1 2
3
AB
D
1 C
Ch0
AB
D2 C
C D
Ch0
A B
AB
D3 C
A B and C D
Ch0
Ch2
Data (A B)
Integrated Communication Systems Group
Split Phase
• Control phase1. A wants to send data to B (AB)
A exchanges RTS/CTS with B to determine the channel to be used (Ch0 in thisexample)
2. After a while, C wants to send data to D as well (CD) A exchanges RTS/CTS with D to determine the channel that should be used (ch2 in
this example)Notice that there are no data exchanged between nodes yet. They have to waitfor the start of the following data phase
• Data phase3. A begins sending data to B and C begins sending data to DNotice that the channel (Ch0) is used to send data as well. Moreover, no controlmessages are allowed to be exchanged during a data phase
Mobile Communication Networks (RCSE) 18
Integrated Communication Systems Group
Common Hopping Sequence
A B C D
No
com
mun
icat
e
3 6
RTS CTS DATA
x y
Ch0Ch1Ch2Ch3
RTS1 CTS1 Data (A B)
RTS2 CTS2 Data (C D)Data (A D)RTS3 CTS3Idle
Idle
Idle
Idle
1
4
72
3 5
6
8
Idle
AB
DC
Ch0
1
AB
DC
Ch0
2
No
com
mun
icat
e
AB
DC
Ch2
4
AB
DC
Ch2
5
Ch0
Ch0
Mobile Communication Networks (RCSE) 19
Integrated Communication Systems Group
Common Hopping Sequence
• All nodes follow the same hopping sequence. In our example, the hopping sequence is as follows: Ch0Ch1Ch2Ch3Ch0 ....
• A wants to send data to B (AB)1. Node A checks the hopping sequence, i.e. (Ch0 in the example) and
exchanges RTS/CTS with B2. A sends data to B3. There is no communications between nodes(x)
• C wants to send data to D as well (CD)4. Node C checks the hopping sequence, i.e. (Ch2 in the example) and
exchanges RTS/CTS with D5. C sends data to D .6. There is no communications between nodes(x(y)
Mobile Communication Networks (RCSE) 20
Integrated Communication Systems Group
Multiple Rendezvous
A B1
A and B are Idle A communicates with B A and B are Idle
A B2
3
Ch3Ch0
Ch2Ch3
A BCh0Ch2
4 A BCh1Ch1
A BCh1Ch1
5
A B
A BCh1Ch2
Ch0Ch0
A BCh2Ch3
10
11
12
13
Ch0Ch1Ch2Ch3
RTS/CTS Data exchange Hopping sequenceActual hopping sequence of AActual hopping sequence of B
Default hopping sequence of ADefault hopping sequence of B
1 2 3 4 5 6 7 8 9 10 11 12 13
A switches to the channel of B to
communicate with it
Mobile Communication Networks (RCSE) 21
Integrated Communication Systems Group
Multiple Rendezvous
• Each node has a special hopping sequence generated by applying anequation on a certain seed. Notice that the equation is known to all nodes
– Example equation: new channel = (old channel + seed) mod (number ofchannels)
– Seed varies between 1 and (number of channels) -1– When two neighbors meet at any time (switch to the same channel), seeds of
both are exchanged
• When a node A wants to communicate with another node B– Node A uses the current channel as well as the seed of B and calculates the
next channel of B– As soon as B switches to the next channel, A switches to the same channel
too and exchanges RTS/CTS with B followed by data exchange (steps 4 N)
• After finishing data communication, each node retains its hoppingsequence
Mobile Communication Networks (RCSE) 22
Integrated Communication Systems Group
Use of Multiple Channels - Discussion
Dedicated control channel and split phase (referred to as singlerendezvous protocols as well)• Advantages
– No synchronization required to determine the control channel– Efficient for networks with less density
• Disadvantages– Using single control channel can become the bottleneck under some
operating conditions, e.g. high number of nodes, etc.
Common hopping sequence and multiple rendezvous (referred to asmultiple rendezvous protocols as well)• Advantages
– Allow nodes to use several channels in parallel– Alleviate the rendezvous channel congestion problem
• Disadvantages– Essential challenge is the ensuring that the idle transmitter and
receiver will visit the same rendezvous channel
Mobile Communication Networks (RCSE) 23
Integrated Communication Systems Group
Routing in (Single Chanel) MANETs
Mobile Communication Networks (RCSE) 24
Integrated Communication Systems Group
Routing Challenges
• Classical approaches from fixed networks fail– Very slow convergence– large overhead
• Dynamic of the topology– frequent changes of connections, connection quality
• Limited performance of mobile systems– periodic updates of routing tables need energy without contributing to
the transmission of user data, sleep modes difficult to realize– limited bandwidth of the system is reduced even more due to the
exchange of routing information
25Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 26
Routing Protocols for MANETs
• Protocols for wired networks (e.g., RIP, OSPF) cannot be applied– Slow convergence– High overhead
• MANET routing protocols must converge fast with low bandwidth consumption for control traffic
• Different metrics for “shortest path” possible– Minimum number of hops– Minimum delay– Minimum packet loss probability – Minimum congestion (load balancing)– Minimum interference– Maximum signal stability, stable route– Maximum battery lifetime of mobile device– Maximum lifetime of entire network
• E.g. until network is partitioned due to nodes running out of power
Integrated Communication Systems Group
Classification of Routing Protocols in MANET
• Proactive (table-driven): A centralized node to assign the IP addresses
– Routes are calculated before needed – Keep routing information to all nodes up-to-dateExamples: DSDV, GSR, WRP, OLSR
• Reactive (on-demand): – Routes are only calculated, when needed – Does not keep routing information to all node up-to-dateExamples: AODV, DSR, LMR, ABR
• Hybrid:– Reactive and Proactive at the same timeExamples: ZRP, SHARP, Safari
27Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 28
Proactive Routing Protocols
• Nodes constantly construct and maintain routes to all other nodes– Distance Vector Routing
• Based on Bellman-Ford algorithm• Each nodes computes for each destination
– Next hop on the route– Length of the route
• These information are sent to all neighbors periodically• Examples
– Wired networks: Routing Information Protocol (RIP)– Ad hoc networks: Destination-Sequenced Distance Vector Protocol (DSDV)
– Link State Routing• Each nodes sends periodically
– Its own link state– The link state received by the neighbors
• Thus, each node knows entire network topology• Computation of routes using Dijkstra’s algorithm• Examples
– Wired networks: Open Shortest Path First (OSPF)– Ad hoc networks: Optimized Link State Routing (OLSR)
Integrated Communication Systems Group
Reactive Routing Protocols
• Basic principle– Node knows only routes that it is currently using– No periodic route maintenance
• Tasks of a reactive routing protocol– Route discovery
• Triggered if route to destination is unknown– Route maintenance
• Only for routes that are currently in use• Comparison to proactive protocols
– Advantages• No unnecessary construction & maintenance of routes• No periodic messages lower resource consumption
– Disadvantages • Delay at the beginning of communication due to route discovery• Control overhead depends on number of connections and mobility
Mobile Communication Networks (RCSE) 29
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 30
Route discovery– Sender S floods route request (RREQ) for destination T
• RREQ contains source and destination address– Node that forward RREQ save pairs of source address and nodes
from which the RREQ was received• Construction of reverse path to sender S• Only works for bidirectional links!
– When RREQ reaches destination T a route reply (RREP) is generated• RREP contains destination and source address
– RREP is forwarded towards S on reverse path• Construction of forward path to destination T
– Forward and reverse path are used for forwarding data packets• If route from S to T is established, we have automatically a route from
T to S
Ad-hoc On-Demand Distance Vector Routing (AODV)
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 31
AODV: Flooding of RREQs I
Nodes in mutual transmission range (bidirectional links)
Nodes that have already received RREQ
BA
E
F
HC
G
DSender
Destination
S
T
Route discovery from S to T:
Integrated Communication Systems Group
AODV: Flooding of RREQs II
• RREQ is transmitted by broadcast– Received by all nodes in transmission range
Mobile Communication Networks (RCSE) 32
BA
E
F
HC
G
D
Broadcast
S
T
RREQ
Integrated Communication Systems Group
AODV: Flooding of RREQs III
• Every node that receives RREQ forwards it by broadcast– Of course S does not forward its own RREQ
Mobile Communication Networks (RCSE) 33
BA
E
F
HC
G
D
S
T
RREQ
RREQ
Integrated Communication Systems Group
AODV: Flooding of RREQs IV
• Nodes remember “from where” the RREQ was received– If multiple RREQ are received the one with the lowest hop count is
selected– Reverse path is constructed
Mobile Communication Networks (RCSE) 34
BA
E
F
HC
G
D
Constructed reverse path
S
T
RREQ
RREQ
Integrated Communication Systems Group
AODV: Flooding of RREQs V
• Duplicate RREQ are detected by sequence numbers and discarded– Requires state maintenance
Mobile Communication Networks (RCSE) 35
BA
E
F
HC
G
D
Constructed reverse path
S
T
RREQ
Integrated Communication Systems Group
AODV: Flooding of RREQs VI
• Destination T has received the RREQ– Complete reverse path from T to S has been constructed
Mobile Communication Networks (RCSE) 36
BA
E
F
HC
G
D
S
T
RREQ
Constructed reverse path
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 37
AODV: Flooding of RREQs VII
BA
E
F
HC
G
D
S
T
RREPRREP
RREP
RREP
RREQ
Constructed reverse path
• Node Z replies with RREP to Z using reverse path– Each hop on reverse path can be directly addressed (no broadcast)
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 38
AODV: Flooding of RREQs VII
BA
E
F
HC
G
D
S
T
Constructed forward path
Constructed reverse path
• Forward path from S to T is constructed– Can be used for data transport between S and T (bidirectional)
• Unused reverse path entries will be discarded after timeout
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 39
• Each node maintains a destination sequence number– Determines the “freshness” of routing information– Sequence number is always increased before sending
• … a RREQ to avoid conflicts with old reverse path entries• … a RREP to avoid routing loops (see below)• Exception: overflow
• RREQ contains last known sequence number of destination– If intermediate node sends RREP if it knows newer route (higher
sequence number)• RREP also contains sequence number• Speeds up route discovery
– If multiple RREP are received the one with highest sequence number is selected
• For multiple RREP with same sequence numbers hop count breaks ties
AODV: Sequence Numbers
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 40
• Revers/Forward path entries are discarded after timeout– Soft state approach
• Entries are “refreshed” if data is transmitted on a route– Reset of timers– Optional hello messages to check if next hop is still available
• Link failure detection– No ACK on MAC-Layer– No hello messages
• Handling of link failures: Sending a route error (RERR) packet– Forwarded to sender– Sender initiates new route discovery with RREQ– RREQ contains new sequence number
• Loops are prevented by sequence numbers– A sends to D, link failure between C and D– RERR from C to A is lost– Later C starts discovery for route to D
• RREQ contains higher destination seq. no.– A receives RREQ on path C-E-A– A notices larger sequence number and
discards RREP
AODV: Rout Maintenance
A B C D
E
Integrated Communication Systems Group
41
Interworking with Infrastructure
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Problem Statements
• Two different mechanisms for mobility management• Two addressing schemes (hierarchical in the Internet, flat in Ad Hoc
networks)
42
N1
N2N3
N4N5
N6
MH
HAInternet
AP1 AP2
MHMH
CN
FA
MANETsMobility
management
e.g. MIP, HMIPv6, etc.
e.g. DSR, AODV, etc.
CN
WLAN
Flat addressing
Hierarchical addressing
FA
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Solution Principles
43
N1N2
N3
N4N5
N6
MH with global address
HAInternet
AP1 AP2
GWGW
CN
FA
FA
Mobility management
e.g. MIP, HMIPv6, etc.
e.g. DSR, AODV, etc.
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Solution Principles
• At least one node in a MANET should act as a gateway enablingcommunication with the rest of the world
• Interworking between mobility protocols operating ininfrastructured networks (e.g. MIP, HMIPv6, etc.) and MANETrouting protocols (e.g. DSR, AODV, etc.)
• Preferably each node aiming at accessing the Internet is assigneda global IP address
44Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Research Issues and Challenges
• Gateway discovery and selection• Address auto-configuration• Routing
45
N1N2
N3
N7 N5
N6
MH
Internet
AP1 AP2
GWGW
CN
FA
N4
Flat routing
Hierarchical routing
HA
Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
Mobile Communication Networks (RCSE) 46
Current Research in Ad Hoc Networks
• Research activities in many areas– Auto-configuration
• E.g. distributed assignment of IP addresses– Service Awareness
• Usually networks are constructed to access services– Multicast-Routing
• Many group applications are based on multicast communication– Integration with wired Internet
• How to apply mobility supporting protocols (e.g., MobileIP) and routing in a hybrid context?
– Power Control• Controlling topology and reducing interference by changing transmission
power– Security
• Recall that this is difficult in a decentralized setting– Scalability, ...
Integrated Communication Systems Group
Conclusions
• Lots of challenges to be solved in Ad Hoc networks• The application field determines which are more important• Research mainly focuses on
– Self-organizing and self-healing capabilities- Route selection and maintenance- Resources usage optimization- Gateway selection- Location update- Rapid initial configuration and dynamic reconfiguration- ….
– Continued operation and connectivity during mobility- Multi-hop handover dealing
– High reliability, availability and security
47Mobile Communication Networks (RCSE)
Integrated Communication Systems Group
References
48
Introduction• S. Basagni, M. Conti, S. Giordano, I. Stomjmenovec: “Mobile Ad hoc Networking”, A John Wiley & Sons,
Publication, 2004Medium Access Control• J. Mo, H. W. So and J. Walrand: “Comparison of Multi-Channel MAC Protocols,” in Proc. of International
Workshop on Modeling Analysis and Simulation of Wireless and Mobile Systems (MSWiM), pp. 209 –218, Montréal, Quebec, Canada , October 2005.
• Y. Tseng, S. Ni, Y. Chen, and J. Sheu: “The broadcast storm problem in a mobile ad hoc network,”WINET Wireless Networks, vol. 8, no. 2–3, pp. 153–167, march–may 2002
• D. Kouvatsos, I. Mkwawa: “Broadcasting Methods in Mobile Ad Hoc Networks: An Overview,”Proceeding of the HetNet, UK, 2005.
Routing• AODV-http://www.ietf.org/rfc/rfc3561.txtInterworking with Infrastructure• J. Xi & C. Bettstetter: “Wireless multihop Internet access: Gateway discovery, routing, and addressing,”
Proc. Int. Conf. on 3rd Generation Wireless and Beyond, San Francisco, USA, 2002.
Mobile Communication Networks (RCSE)
Integrated Communication Systems GroupIlmenau University of Technology
Visitors address:Technische Universität IlmenauHelmholtzplatz 5Zuse Building, room 1032/1071D-98693 Ilmenau
fon: +49 (0)3677 69 2819/4123fax: +49 (0)3677 69 1226e-mail: mitsch, [email protected]
www.tu-ilmenau.de/ics
Integrated Communication Systems GroupIlmenau University of Technology
Prof. Dr.-Ing. habil. Andreas Mitschele-ThielDr.-Ing. Mohamed Kalil
Contact