Ad-hoc+mesh-net 1
Ad-hoc and Mesh Networks
MAP-I
Manuel P. Ricardo
Faculdade de Engenharia da Universidade do Porto
Ad-hoc and Mesh Networks MAP-I Manuel P. Ricardo Faculdade de - - PowerPoint PPT Presentation
Ad-hoc+mesh-net 1 Ad-hoc and Mesh Networks MAP-I Manuel P. Ricardo Faculdade de Engenharia da Universidade do Porto Ad-hoc+mesh-net 2 What is an ad-hoc network? What are differences between layer 2 and layer 3 ad-hoc networks? What
Ad-hoc+mesh-net 1
Faculdade de Engenharia da Universidade do Porto
Ad-hoc+mesh-net 2
♦ What is an ad-hoc network? ♦ What are differences between layer 2 and layer 3 ad-hoc
♦ What are the differences between an IEEE mesh network and an
♦ What are the differences between a mobile network and a mobile
Ad-hoc+mesh-net 3
♦ MANET – Ad-hoc Networks
♦ Mesh networks
Ad-hoc+mesh-net 4
♦ What is an ad-hoc network? ♦ What are the differences between and ad-hoc wireless network
♦ What are the characteristics of the most important ad-hoc
Ad-hoc+mesh-net 5
♦ Auto-configurable network ♦ Working over wireless links ♦ Nodes are mobile dynamic network topology ♦ Isolated network, or interconnected to Internet ♦ Nodes forward traffic ♦ Routing protocol required
A B C
Ad-hoc+mesh-net 6
Fixed Network Mobile Devices Mobile Router Manet Mobile IP, DHCP Router End system
Ad-hoc+mesh-net 7
♦ Distance vector
♦ Link state
4 3 6 2 1 9 1 1 D A F E B C
Ad-hoc+mesh-net 8
– Depends on node mobility
– Radio communications
– Received powers and attenuation unequal in the two directions N1 N4 N2 N5 N3 N1 N4 N2 N5 N3 good link weak link time = t1 time = t2
Ad-hoc+mesh-net 9
♦ Conventional routing protocols
– Built for wired networks whose topology varies slowly – Assume symmetric links
♦ In Ad-hoc networks
– energy consumption – radio resources used for signaling information
♦ New routing strategies / protocols for ad-hoc networks
– 2 type : reactive e pro-active
Ad-hoc+mesh-net 10
♦ How can we avoid a large signaling overhead (number of
Ad-hoc+mesh-net 11
Ad-hoc+mesh-net 12
Ad-hoc+mesh-net 13
Ad-hoc+mesh-net 14
♦ Write the forwarding table of Node C
♦ Represent an entry of the Forwarding Table as the tupple
D E
Ad-hoc+mesh-net 15
Ad-hoc+mesh-net 16
♦ Routes built using continuous control traffic ♦ Routes are maintained ♦ Advantages, disadvantages
♦ Example – OLSR (RFC 3626)
Ad-hoc+mesh-net 17
♦ Detection of links to neighbour nodes ♦ Optimized forwarding / flooding (MultiPoint Relaying)
Ad-hoc+mesh-net 18
♦ Using HELLO messages ♦ All nodes transmit periodically HELLO messages ♦ HELLO messages group neighbour by their state
Ad-hoc+mesh-net 19
♦ MultiPoint Relaying (MPR)
♦ Each node selects its MPRs, which must
♦ The set of MPRs selected by a node must
♦ Node is MPR if it has been selected by other node
Ad-hoc+mesh-net 20
♦ In OSPF, in wired networks,
♦ OLSR does the same, using 2 optimizations
Ad-hoc+mesh-net 21
♦ Messages which declare the links state
Ad-hoc+mesh-net 22
♦ How will the 802.11s Mesh Network work?
Ad-hoc+mesh-net 23
♦
♦
Ad-hoc+mesh-net 24
♦ Network topology and discovery ♦ Inter-working ♦ Path Selection and Forwarding ♦ MAC Enhancements
Ad-hoc+mesh-net 25
Bridge
Mesh Portal MP
MAP MAP
STA STA MP
Ad-hoc+mesh-net 26
5 9 7 10 6 2 4 3
Support for connecting an 802.11s mesh to an 802.1D bridged LAN
802 LAN
11
13 12
Ad-hoc+mesh-net 27
♦ Suppose A sends a frame to B (MAC layer). What MAC
♦ And what MAC addresses are required for the frame transmitted
ethernet switch ethernet switch
A B
MAP MAP
A B ))) ))) )))
Ad-hoc+mesh-net 28
♦ Data frames
» based on 802.11 frames - 4 MAC address format » extended with: 802.11e QoS header, and new Mesh Control header field
♦ Mesh Control field
» TTL – eliminates possibility of infinite loops (recall these are mesh networks!) » More addresses are required for particular situations
MAC Header
Frame Control Dur Addr 1 Addr 2 Addr 3 Seq Control Addr 4 QoS Control Mesh Control Body FCS
2 2 6 6 6 2 6 2 6-24 4
Ad-hoc+mesh-net 29
♦ Mesh Point discovers candidate neighbors
– WLAN Mesh capabilities – Mesh ID
♦ Membership in a WLAN Mesh Network
Ad-hoc+mesh-net 30
5 7 1 2 6 4 3 MeshID: mesh-A Mesh Profile: (link state, …) X
Path Selection: distance vector, link state
profile (link state, …)
authenticates with neighbors in the mesh, since it can support the Profile
link state path selection and data forwarding protocol
8
Ad-hoc+mesh-net 31
11
5 9 7 10 6 2 4 3 13 12
Ad-hoc+mesh-net 32
– based on AODV
– distance vector routing tree built and maintained rooted at the Portal
Ad-hoc+mesh-net 33
5 9 7 10 6 4 3 2 1 8
X On-demand path
Ad-hoc+mesh-net 34
♦ Communication: MP4 X ♦ MP4
♦ Mesh Portal that knows X may respond
5 9 7 10 6 4 3 2 1 8
X On-demand path
Ad-hoc+mesh-net 35
5 9 7 10 6 4 3 2 1 8
X
Ad-hoc+mesh-net 36
♦ Communication: MP 4 MP 9 ♦ MPs learn Root MP1 through Root Announcement
♦ MP 4 checks its forwarding table for an entry to
♦ If no entry exists, MP4 forwards message on the
♦ When MP1 receives the message, it forwards on the
♦ MP9, receiving the message, may issue a RREQ
5 9 7 10 6 4 3 2 1 8
X Proactive path
On-demand path
Ad-hoc+mesh-net 37
♦ Communication: MP4 X ♦ MPs learn Root MP1 through Root Announcement
♦ If MP4 has no entry for X in its forwarding table,
♦ When MP1 receives the message, if it does not have
♦ Mesh Portal MP1 forwards messages to other LAN
5 9 7 10 6 4 3 2 1 8
X Proactive path
Ad-hoc+mesh-net 38
♦ OLSR may be used in alternative to AODV ♦ RA-OLSR proactively maintains link-state for routing
Ad-hoc+mesh-net 39
♦ Successful transmission probabilities for forward / reverse link
♦ ETX=1/(Sf*Sr) ♦ E.g.: Sf=0.6, Sr=0.5, ETX=3,3 ♦ Routing protocol
39
Ad-hoc+mesh-net 40
♦ Improves ETX by considering also link bandwidth ♦ Packet size = S, Link bandwidth = B ♦ ETT=ETX*S/B
40
Ad-hoc+mesh-net 41
41
Ad-hoc+mesh-net 42
– due to multi-hop forwarding
42
Ad-hoc+mesh-net 43
♦ WMN depends on MAC protocols ♦ Distributed MAC protocols
– One radio interface per node, one static channel
– One radio interface per node – Fast channel switching
– Multiple radio interfaces in use – Usually working in different channels
43
Ad-hoc+mesh-net 44
Channel assignment, Routing
44
Ad-hoc+mesh-net 45
♦ Multiple gateways to the Internet ♦ Important to
♦ Problems
Ad-hoc+mesh-net 46
♦ Intra-mesh Congestion Control ♦ Common Channel Framework (Optional)
Ad-hoc+mesh-net 47
♦ Mesh characteristics
♦ Issues with the 802.11 MAC for mesh
2 1 7 6 3 High capacity link Low capacity link Flow 4 5
Ad-hoc+mesh-net 48
♦ Local congestion monitoring (informative)
notifies previous-hop neighbors and/or the neighborhood
♦ Congestion control signaling
Ad-hoc+mesh-net 49
♦ Common channel
» Unified Channel on which MPs jointly operate
» Using RTX, the transmitter suggests a destination channel » Receiver accepts/declines the suggested channel using CTX » The transmitter and receiver switch to the destination channel » Data is transmitted » Then they switch back
RTX MP1 MP2 MP3 MP4 Common Channel Data Channel n Data Channel m CTX SIFS CTX SIFS RTX ≥ DIFS DIFS DATA Switching Delay ACK SIFS CTX SIFS RTX ≥ DIFS Switching Delay DATA Switching Delay DIFS ACK SIFS
Ad-hoc+mesh-net 50
♦ Request to Switch (RTX) Frame ♦ Clear to Switch (CTX) Frame
Frame Control Duration/ ID RA TA Destination Channel Info. FCS 2 2 6 6 2 4 Frame Control Duration/ ID RA Destination Channel Info. FCS 2 2 6 2 4