Notes on implementing a IEEE s Mesh Point

Similar documents
IEEE s ESS Mesh Networking

Mobile Communications. Ad-hoc and Mesh Networks

Wi-Fi Mesh Networking: IEEE s

Mesh Network. Kiran Mathews Seminar: Verteilte und vernetzte Systeme

IEEE s Multihop MAC. Mateusz Wielgosz

Comparison of proposed path selection protocols for IEEE s WLAN mesh networks

Content. 1. Introduction. 2. The Ad-hoc On-Demand Distance Vector Algorithm. 3. Simulation and Results. 4. Future Work. 5.

IEEE s Mesh Networking NS-3 Model

Final Report. Nuno José Pereira Farias Rodrigues. Orientadores: Prof. Manuel Ricardo Pedro Fortuna

1 Multipath Node-Disjoint Routing with Backup List Based on the AODV Protocol

INESC Porto, Faculdade de Engenharia, Universidade do Porto, Rua Dr. Roberto Frias, 378, Porto, Portugal UNCORRECTED PROOFS

Insights into Home WiFi Systems

Outline. CS5984 Mobile Computing. Taxonomy of Routing Protocols AODV 1/2. Dr. Ayman Abdel-Hamid. Routing Protocols in MANETs Part I

Mobile Ad-hoc and Sensor Networks Lesson 04 Mobile Ad-hoc Network (MANET) Routing Algorithms Part 1

LECTURE 9. Ad hoc Networks and Routing

The Performance of MANET Routing Protocols for Scalable Video Communication

Applications and Performance Analysis of Bridging with L3 Forwarding on Wireless LANs

Applications and Performance Analysis of Bridging with Layer-3 Forwarding on Wireless LANs

Switching & ARP Week 3

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

Better Approach To Mobile Adhoc Networking

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

3. Evaluation of Selected Tree and Mesh based Routing Protocols

Simulation & Performance Analysis of Mobile Ad-Hoc Network Routing Protocol

CS551 Ad-hoc Routing

Routing / Bridging. Lecturer: Carlos Rey-Moreno

AODV-PA: AODV with Path Accumulation

USING BRIDGES, ROUTERS AND GATEWAYS IN DATA ACQUISITION NETWORKS

Enhancing the Performance of Mobile Ad Hoc Networks with the Aid of Internet Gateways 1

Troubleshooting Transparent Bridging Environments

IEEE s Wireless Mesh Networks: Challenges and Perspectives

Performance Analysis of Proactive and Reactive Routing Protocols for QOS in MANET through OLSR & AODV

Configuring Transparent Bridging

Performance analysis of aodv, dsdv and aomdv using wimax in NS-2

INTERNATIONAL JOURNAL FOR ADVANCE RESEARCH IN ENGINEERING AND TECHNOLOGY WINGS TO YOUR THOUGHTS..

NEW METRIC FOR HWMP PROTOCOL (NMH)

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Experiment and Evaluation of a Mobile Ad Hoc Network with AODV Routing Protocol

QoS Routing By Ad-Hoc on Demand Vector Routing Protocol for MANET

ENERGY-AWARE FOR DH-AODV ROUTING PROTOCOL IN WIRELESS MESH NETWORK

A COMPARISON OF IMPROVED AODV ROUTING PROTOCOL BASED ON IEEE AND IEEE

Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs)

Introduction to Communication Networks Spring Unit 13 Network extensions Bridges.

Giuseppe Bianchi, Ilenia Tinnirello

How to develop and validate a scalable mesh routing solution for IEEE sensor networks Altran Benelux

Evaluation of Routing Protocols for Mobile Ad hoc Networks

BIGAP. Seamless Handover in High Performance Enterprise IEEE Networks. Anatolij Zubow, S. Zehl, A. Wolisz Technical University Berlin, Germany

Chapter 16 Networking

Performance Analysis of MANET Routing Protocols OLSR and AODV

6. Node Disjoint Split Multipath Protocol for Unified. Multicasting through Announcements (NDSM-PUMA)

Extending Global IP Connectivity for Ad Hoc Networks 1

Link layer: introduction

WIRELESS Mesh Networks are gaining increasing attention. An Enhanced Bridged-Based Multi-hop Wireless Network Implementation

2013, IJARCSSE All Rights Reserved Page 85

White Paper. Mobile Ad hoc Networking (MANET) with AODV. Revision 1.0

Routing protocols in WSN

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Kapitel 5: Mobile Ad Hoc Networks. Characteristics. Applications of Ad Hoc Networks. Wireless Communication. Wireless communication networks types

IEEE s Wireless LAN Mesh Network Technology

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Computation of Multiple Node Disjoint Paths

Migration Paths for IEC Substation Communication Networks Towards Superb Redundancy Based on Hybrid PRP and HSR Topologies

Ad Hoc Networks. Advanced Mobile Communication Networks. Integrated Communication Systems Group Ilmenau University of Technology

521262S Computer Networks 2 (fall 2007) Laboratory exercise #2: Internetworking

Performance Evaluation of Two Reactive and Proactive Mobile Ad Hoc Routing Protocols

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Station Bridges

Enhanced Topolgoy Formation Protocol for IEEE WLAN based Mesh Networks*

Performance Analysis of Wireless Mobile ad Hoc Network with Varying Transmission Power

To enhance Routing in ZigBee Wireless Networks

A Reactive Wireless Mesh Network Architecture

Chapter 7: Routing Dynamically. Routing & Switching

Virtual Hierarchical Architecture Integrating Mobile IPv6 and MANETs for Internet Connectivity

Part I. Wireless Communication

EIGRP Features and Operation

Performance Evaluation of Route Failure Detection in Mobile Ad Hoc Networks

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

A Study on Wireless Mesh Network with Hierarchical Cluster

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Configuring Layer 2 Switching

Connecting to the Network

Wireless Networking & Mobile Computing

A COMPARISON OF REACTIVE ROUTING PROTOCOLS DSR, AODV AND TORA IN MANET

CMPE 257: Wireless and Mobile Networking

Figure 1: Ad-Hoc routing protocols.

Top-Down Network Design

Expected Path Bandwidth Based Efficient Routing Mechanism in Wireless Mesh Network

ROUTE STABILITY MODEL FOR DSR IN WIRELESS ADHOC NETWORKS

A Framework for Optimizing IP over Ethernet Naming System

Wireless Sensor Networks

Study and Comparison of Mesh and Tree- Based Multicast Routing Protocols for MANETs

Appointed BrOadcast (ABO): Reducing Routing Overhead in. IEEE Mobile Ad Hoc Networks

6367(Print), ISSN (Online) Volume 4, Issue 2, March April (2013), IAEME & TECHNOLOGY (IJCET)

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Chapter 3.1 Acknowledgment:

Configuring ARP. Prerequisites for Configuring ARP. Restrictions for Configuring ARP

CS 268: Computer Networking. Taking Advantage of Broadcast

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

Configuring a VAP on the WAP351, WAP131, and WAP371

Configuring Rapid PVST+ Using NX-OS

Transcription:

Fourth EuroFGI Workshop on Wireless and Mobility Notes on implementing a IEEE 802.11s Mesh Point R. G. Garroppo, S. Giordano, D. Iacono, L. Tavanti Telecommunication Networks Research Group Dip. Ingegneria dell Informazione University of Pisa, Italy http://netgroup.iet.unipi.it 16-18 January 2008, Barcelona, Spain

Presentation Outline Motivation and background Overview of IEEE 802.11s Architecture and features of the implemented node Main implementing issues Validation tests Conclusions 2

Motivation Wireless Mesh Networks (WMNs) are gaining wide popularity Flexible and cost-effective alternative to set of disjointed APs Many installed networks already available Most solutions are: Based on the common IEEE 802.11 MAC/PHY (access) Proprietary and not-interoperable (backbone and applications) The IEEE Task Group 11s is trying to define a standard A rather troublesome birth, no official draft released Proposals are still being submitted to TGs 3

Motivation Proposed solutions were evaluated through analysis or simulation only There is no experimental evidence of their goodness Analysis/simulation results are sometimes deeply different from reality An experimental testbed could allow More trustworthy feedbacks from the evaluation tests More confidence in the suitability of the proposals More effective standards Implementation of a 802.11s Mesh Point Test and amend the draft as it evolves into the standard 4

IEEE 802.11s Mesh IEEE 802.11s builds on other amendments to the standard: 802.11a/b/g/n for the physical interface 802.11e for accessing the medium 802.11i for security but it also conceives a new network architecture Nodes shall build multi-hop paths to form a fully connected network New mechanisms to configure and operate the Mesh New frame formats The Mesh is expected to be transparent to upper layers Routing is performed at link layer (path selection and forwarding) Nodes in the Mesh shall all be seen as one-hop away by L3 services 5

IEEE 802.11s Mesh The basic entity is the Mesh Point (MP) Same features of legacy 802.11 stations Called to set-up and maintain multi-hop paths to relay traffic Form a wireless backbone (Mesh) A MP can also act as an AP Mesh Access Point (MAP) Give stations access to network services A MP can also act as a Portal Mesh Point plus Portal (MPP) Gateway to other networks (e.g. Internet) Stations (STAs) are allowed to work with legacy 802.11 cards STAs should have no knowledge of the Mesh 6

IEEE 802.11s Mesh An example 802.11s Mesh network 7

IEEE 802.11s Mesh Default path selection and forwarding protocol is HWMP (Hybrid Wireless Mesh Protocol) Combines on-demand routing with a proactively-built tree topology On-demand routing is very similar to AODV A source Mesh Point S wanting to send data to a destination MP D broadcasts a RREQ (Route Request) Intermediate nodes store the address of the MP they received the RREQ from and re-broadcast the RREQ When the RREQ reaches D, it replies with a unicast RREP (Route Reply) addressed to S The RREP follows a reverse path to S and the path is established The flags DO (Destination Only) and RF (Reply and Forward) can change the behaviour of the intermediate nodes A RERR (Route Error) frame is used when a failure occurs 8

IEEE 802.11s Mesh The HWMP on-demand algorithm: A RREQ S RREQ RREQ RREQ RREQ B RREQ RREQ C RREQ RREP D E RREQ 9

IEEE 802.11s Mesh The HWMP tree connects all MPs to the Portal, which is the root A path to/from the outside is always available Broadcast and flooding can be reduced On-demand paths can use the tree links as back-up paths The tree can be set up in two ways: The Portal broadcasts Proactive RREQ (PRREQ) frames, and every MP replies with a Gratuitous RREP (GRREP) This technique creates and maintains the entire tree The Portal broadcasts Portal Announcement (PANN) frames, leaving each MP the possibility to set up the path whenever it need it in an on-demand fashion 10

IEEE 802.11s Mesh The HWMP tree: GRREP A PRREQ R PRREQ PRREQ PRREQ GRREP B PRREQ PRREQ GRREP E PRREQ GRREP PRREQ C PRREQ PRREQ GRREP G GRREP D PRREQ GRREP F 11

IEEE 802.11s Mesh To select the best paths, 802.11s defines the airtime metric: C a = (O+L/r)/(1-e) MPs continuously monitor their links and exchange metric values with neighbors New frame formats: Mesh Management and Mesh Data Extended type Hold a Mesh Header, i.e. 4 or 16 bytes borrowed from the data field used for two extra addresses to forward frames generated by user stations Changes to existing frames New Information Elements (IEs) in the data field of the Management frames 12

IEEE 802.11s Mesh Station management Every MAP shall act as a Proxy for its associated STAs Stations do not have awareness of the Mesh! Every MP shall keep a list of all the STAs in the network and the address of their MAP Proxy Proxy Update (PU) and PU Confirmation (PUC) frames Other features Mesh Deterministic Access (MDA): a distributed scheduling algorithm based on the reservation of contention free time slots Multi-channel framework Individual and Group addresses (multicast) 13

Presentation Outline Motivation and background Overview of IEEE 802.11s Architecture and features of the implemented node Main implementing issues Validation tests Conclusions 14

Implementation To build our prototype 802.11s Mesh Point We used common hardware (laptop PCs with Atheros cards) and open source software (Linux) We realised a software framework partly within the card driver (data frames handling) and partly on top of it (management functions) The same 802.11s defines the new Mesh services as a dedicated logical interface, independent from the legacy MAC functions 802.11s is made of a rather complex set of features, many of which are still in evolution We mostly dealt with path selection and frame forwarding 15

Implementation Software Tools: The Multiband Atheros Driver for Wi-Fi (MadWifi) allows creating several Virtual Access Points (VAPs) Each VAP appears to the O.S. as different wireless interface Frames entering or exiting the device can undergo a different set of processing rules VAP modes: ap, sta, wds, monitor, etc. The Linux bridge has been used to connect the interfaces created by MadWifi. This module behaves exactly like a hardware bridge, forwarding on its ports the frames according to their destination MAC address. Each port of the bridge can be either blocked or open (learning). 16

Implementation Architecture of the Mesh Point software framework: User Interface Mesh Software User space Kernel space API Ebtables API Linux Bridge proc file MadWifi driver ap VAP wds VAP wds VAP monitor VAP monitor VAP measures Client access Mesh backbone (data plane) Mesh management frames 17

Implementation The framework implements two functional levels: The management plane, run at user space, is made of all the procedures to build and maintain the Mesh, exploits the monitor VAPs and controls the behavior of the bridge The data plane works entirely at kernel space (Linux bridge and ap and wds VAPs) to handle the data frames; it exploits the paths set by the management plane Each wds VAP is connected to its homologue in a neighbor MP The network appears as a series of wds LAN segments Mesh paths are formed by enabling the ports that are connected to MPs that are parent or children in the tree built by the HWMP proactive mode (and closing the others) 18

Implementation A simple example Mesh Mesh Software R R Bridge C A ap VAP wds2 VAP wds1 VAP STA C Mesh Software Bridge Mesh Software A ap VAP wds1 VAP wds2 VAP Bridge ap VAP wds1 VAP wds2 VAP STA 19

Presentation Outline Motivation and background Overview of IEEE 802.11s Architecture and features of the implemented node Main implementing issues Validation tests Conclusions 20

Implementing issues The Linux bridge and the six-address frame format The bridge only knows two-address Ethernet frames (one-hop) Multi-hop paths use four/six addresses (multi-hop) The driver maps 802.11 frames to Ethernet frames: Bridge Dest/Rcv Src/Trans BODY MAC Receiver Transmitter Destination Source BODY The bridge is not aware of hosts more than one hop away It cannot properly forward frames! We can instruct it with frames in which the address of the source (of the end-to-end path) appears E.g. RREQ, ARP, etc. 21

Implementing issues The new 802.11s frames Mesh Management frames were created and used by the Mesh Software module through the Monitor VAPs but modified Data Frames could not be handled by the Mesh Software module Processing is too slow at User space could not be handled by the driver A deep revision of the driver was not feasible Problem-specific solutions 22

Implementing issues Station management 11s requires all MPs to be aware of all STAs in the Mesh Overhead may become a meaningful burden Put the knowledge of the whole set of STAs on the Portal Coherent with realistic scenarios No performance degradation Mesh Management frames are hardly useable for handling STAs Designed for communications between MPs Added an extra address field to account for the station the MAP acts on behalf of MAP handles and converts the frames coming from / going to STAs 23

Implementing issues Broadcast frames Many broadcasts limit network performance Broadcasts management frames from the stations are converted by MAP into frames addressed to the Portal Their aim is usually getting some information from the Portal (e.g. ARP messages) Broadcasts generated by the Portal constrained to the HWMP tree All network functionalities have been retained 24

Implementing issues Improvements to HWMP Not always is the first received RREQ the one coming from the shortest/best path (access is CSMA/CA) After receiving a RREQ, MP waits a short time to receive RREQs from different paths MP re-broadcasts only the PRREQ received from the neighbor closest to the root MP merges the RREQ and re-broadcasts only one RREQ Reduced overhead and increased protocol stability 802.11s dictates that the complete list of dependent nodes is inserted in the GRREP We put just the direct children of the MP Reduce the protocol overhead Better knowledge of the topology of the Mesh 25

Implementing issues The Airtime metric Very sensitive to link usage Sort of ping-pong effect among paths! R R A B A B C C STA STA 26

Implementing issues The Airtime metric Very sensitive to link usage Sort of ping-pong effect among paths! R Change the metric definition C a = (k 1 +k 2 /SNR)/(1-e) Lower dependence on link congestion A B Moving average on more updates More than one PRREQ before changing path Increase path stability C STA 27

Presentation Outline Motivation and background Overview of IEEE 802.11s Architecture and features of the implemented node Main implementing issues Validation tests Conclusions 28

Validation tests We assumed that a HWMP tree is built with PRREQ/GRREP on-demand paths used for communications among stations A working example: ARP A station begins a web session with an ARP request (broadcast) The ARP request is mapped by the Proxy MAP into a unicast frame, with destination=mpp and source=sta The bridges of the MPs on the HWMP tree learn the association incoming port STA address forward the frame on the port to the MPP (known from PRREQs) The Portal sends the ARP reply The bridges of the MPs on the HWMP tree now knows on which port the ARP reply must be sent 29

Validation test #1 Creation of an on-demand path between two stations MAPs act at layer 2 only (IP addresses just for debug) STAs act at layer 3 (IP addresses are necessary) MAP2-192.168.1.2 00:19:E0:82:37:13 MAP1-192.168.1.1 00:90:4B:4C:10:8E STA2-192.168.1.12 00:12:F0:C2:4E:75 STA1-192.168.1.11 00:40:F4:F4:F9:9C 30

Validation test #1 Creation of an on-demand path between two stations MAPs act at layer 2 only (IP addresses just for debug) STAs act at layer 3 (IP addresses are necessary) MAP1 and MAP2 connect to each other MAP2-192.168.1.2 00:19:E0:82:37:13 MAP1-192.168.1.1 00:90:4B:4C:10:8E STA2-192.168.1.12 00:12:F0:C2:4E:75 STA1-192.168.1.11 00:40:F4:F4:F9:9C 31

Validation test #1 Creation of an on-demand path between two stations MAPs act at layer 2 only (IP addresses just for debug) STAs act at layer 3 (IP addresses are necessary) MAP1 and MAP2 connect to each other STA1 wants to set up a path to STA2 (ping) ARP Request STA1 MAP1 MAP2 replies MAP1-192.168.1.1 00:90:4B:4C:10:8E MAP2-192.168.1.2 00:19:E0:82:37:13 MAP1 STA2-192.168.1.12 00:12:F0:C2:4E:75 STA1-192.168.1.11 00:40:F4:F4:F9:9C 32

Validation test #1 Creation of an on-demand path between two stations MAPs act at layer 2 only (IP addresses just for debug) STAs act at layer 3 (IP addresses are necessary) MAP1 and MAP2 connect to each other STA1 wants to set up a path to STA2 (ping) ARP Request STA1 MAP1 MAP2 replies RREQ/RREP MAP1-192.168.1.1 00:90:4B:4C:10:8E MAP2-192.168.1.2 00:19:E0:82:37:13 MAP1 STA1 MAP1 STA2 STA1-192.168.1.11 00:40:F4:F4:F9:9C STA2-192.168.1.12 00:12:F0:C2:4E:75 33

Validation test #2 Connection to an external network STA2 connects to a web site Wired backbone MPP - 192.168.1.1 00:40:F4:F4:F9:9C MAP2-192.168.1.2 00:19:E0:82:37:13 MAP2 STA2-192.168.1.12 00:12:F0:C2:4E:75 34

Validation test #3 Mixed scenario: HWMP tree plus on-demand The tree is built (PRREQ/GREEP exchange) Wired backbone MPP - 192.168.1.1 00:40:F4:F4:F9:9C MAP2-192.168.1.2 00:0B:6B:20:84:86 MAP3-192.168.1.3 00:19:E0:82:37:13 MAP4-192.168.1.4 00:0B:6B:34:88:94 STA3-192.168.1.13 00:12:F0:C2:4E:75 STA4-192.168.1.14 00:90:4B:4C:10:8E 35

Validation test #3 Mixed scenario: HWMP tree plus on-demand The tree is built (PRREQ/GREEP exchange) STA4 wants to ssh STA3 ARP request / reply from Portal Wired backbone MPP - 192.168.1.1 00:40:F4:F4:F9:9C ARP MAP2-192.168.1.2 00:0B:6B:20:84:86 MAP3-192.168.1.3 00:19:E0:82:37:13 MAP4-192.168.1.4 00:0B:6B:34:88:94 ARP STA3-192.168.1.13 00:12:F0:C2:4E:75 STA4-192.168.1.14 00:90:4B:4C:10:8E 36

Validation test #3 Mixed scenario: HWMP tree plus on-demand The tree is built (PRREQ/GREEP exchange) STA4 wants to ssh STA3 ARP request / reply from Portal MAP4 is not aware of STA3 MAC MAP4 sends frames to MPP MPP acts as a relay Wired backbone MPP - 192.168.1.1 00:40:F4:F4:F9:9C MAP3-192.168.1.3 00:19:E0:82:37:13 MAP2-192.168.1.2 00:0B:6B:20:84:86 MAP4-192.168.1.4 00:0B:6B:34:88:94 DATA STA3-192.168.1.13 00:12:F0:C2:4E:75 STA4-192.168.1.14 00:90:4B:4C:10:8E 37

Validation test #3 Mixed scenario: HWMP tree plus on-demand The tree is built (PRREQ/GREEP exchange) STA4 wants to ssh STA3 ARP request / reply (from Portal) MAP4 is not aware of STA2 MAC MAP4 sends frames to MPP MPP acts as a relay Not the optimal path! MAP4 starts RREQ MAP3 sends RREP On-demand path is set up MAP2-192.168.1.2 00:0B:6B:20:84:86 Wired backbone MPP - 192.168.1.1 00:40:F4:F4:F9:9C MAP3-192.168.1.3 00:19:E0:82:37:13 MAP4-192.168.1.4 00:0B:6B:34:88:94 DATA STA3-192.168.1.13 00:12:F0:C2:4E:75 STA4-192.168.1.14 00:90:4B:4C:10:8E 38

Conclusions We built a prototype IEEE 802.11s Mesh Point Using common hw/sw Useful for testing existing and new functionalities Revealed some shortcomings/flaws The Airtime metric may create ping-pong effects among paths Station management needs to improved Enhancing the use of Proxy MAP Using more complete frames Letting the Portal only have knowledge of all STAs HWMP can also be improved E.g. PRREQ/GRREP 802.11s seems to underestimate that stations, i.e. users, are the main source/sink of traffic 39