MAC Layer (Mis)behaviors Christophe Augier - CSE802.11 Summer 2003.

Slides:



Advertisements
Similar presentations
Nick Feamster CS 4251 Computer Networking II Spring 2008
Advertisements

Does the IEEE MAC Protocol Work Well in Multihop Wireless Ad Hoc Networks? Shugong Xu Tark Saadawi June, 2001 IEEE Communications Magazine.
MAC Layer Misbehavior in Wireless Networks Pradeep Kyasanur Nitin H. Vaidya University of Illinois at Urbana-Champaign.
Medium Access Issues David Holmer
Contents IEEE MAC layer operation Basic CSMA/CA operation
TCP Performance in Wireless Multi-hop Networks Mario Gerla, Ken Tang, Rajive Bagrodia Wireless Adaptive Mobility Laboratory Computer Science Department.
Duke Selfish MAC Layer Misbehavior in Wireless Networks Author: Pradeep Kyasanur and Nitin H. Vaidya Some slides are borrowed from the author and others.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
1 A Novel Topology-blind Fair Medium Access Control for Wireless LAN and Ad Hoc Networks Z. Y. Fang and B. Bensaou Computer Science Department Hong Kong.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
Comp 361, Spring 20056:Basic Wireless 1 Chapter 6: Basic Wireless (last updated 02/05/05) r A quick intro to CDMA r Basic
Module C- Part 1 WLAN Performance Aspects
Random Access MAC for Efficient Broadcast Support in Ad Hoc Networks Ken Tang, Mario Gerla Computer Science Department University of California, Los Angeles.
Network Technology CSE Network Technology CSE3020 Week 9.
CS541 Advanced Networking 1 Basics of Wireless Networking Neil Tang 1/21/2009.
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
KING FAHD UNIVIRSITY OF PETROLEUM AND MIERALS ELECTRICAL ENGINEERING DEPARTMENT MAC Protocols in ad hoc networks Rami Bakhsh Mohammed Al-Farsi.
Copyright © 2003, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 6 Multiple Radio Access.
Does the IEEE MAC Protocol Work Well in Multihop Wireless Ad Hoc Networks? Shugong Xu Tark Saadawi June, 2001 IEEE Communications Magazine (Adapted.
Fair Sharing of MAC under TCP in Wireless Ad Hoc Networks Mario Gerla Computer Science Department University of California, Los Angeles Los Angeles, CA.
The Impact of Multihop Wireless Channel on TCP Throughput and Loss Presented by Scott McLaren Zhenghua Fu, Petros Zerfos, Haiyun Luo, Songwu Lu, Lixia.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Mingzhe Li, Choong-Soo Lee, Emmanuel Agu, Mark Claypool and Bob Kinicki Computer Science Department.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
1 QoS Schemes for IEEE Wireless LAN – An Evaluation by Anders Lindgren, Andreas Almquist and Olov Schelen Presented by Tony Sung, 10 th Feburary.
Isolation of Wireless Ad hoc Medium Access Mechanisms under TCP Ken Tang,Mario Correa,Mario Gerla Computer Science Department,UCLA.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Sep 12, 2002Wireless Networking Seminar1 Does IEEE Work Well in Multi-hop Wireless Network? Author: Shugong Xu, Tarek Saadawi City University of.
Selfish MAC Layer Misbehavior in Wireless Networks Pradeep Kyasanur and Nitin H. Vaidya 2005 IEEE Reviewed by Dean Chiang.
Medium Access Control Protocols Using Directional Antennas in Ad Hoc Networks CIS 888 Prof. Anish Arora The Ohio State University.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
CIS 725 Wireless networks. Low bandwidth High error rates.
Wireless LAN Simulation - IEEE MAC Protocol
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Opersating Mode DCF: distributed coordination function
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
Wireless Medium Access. Multi-transmitter Interference Problem  Similar to multi-path or noise  Two transmitting stations will constructively/destructively.
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
Ethernet. Problem In an Ethernet, suppose there are three stations very close to each other, A, B and C. Suppose at time 0, all of them have a frame to.
Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.
802.11: Performance Reference: “Does the IEEE MAC protocol work well in multihop wireless ad hoc networks”; Xu, S.; Saadawi, T. IEEE Communications.
Enhancing TCP Fairness in Ad Hoc Wireless Networks using Neighborhood RED Kaixin Xu, Mario Gerla UCLA Computer Science Department
Fair Sharing of MAC under TCP in Wireless Ad Hoc Networks Mario Gerla Computer Science Department University of California, Los Angeles Los Angeles, CA.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
Chapter 6 Multiple Radio Access
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
Fundamentals of Computer Networks ECE 478/578
Performance Analysis of IEEE Distributed Coordination Function (DCF) Author : Giuseppe Bianchi Presented by: 李政修 December 23, 2003.
1/26 Module C - Part 2 DOMINO Detection Of greedy behavior in MAC layer of IEEE public NetwOrks Prof. JP Hubaux Mobile Networks
Recitation 8 Wireless Networks.
Background of Ad hoc Wireless Networks Student Presentations Wireless Communication Technology and Research Ad hoc Routing and Mobile IP and Mobility Wireless.
Planning and Analyzing Wireless LAN
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
Wi-Fi. Basic structure: – Stations plus an access point – Stations talk to the access point, then to outside – Access point talks to stations – Stations.
Universität Karlsruhe Institut für Telematik ECE 591
A Multi-Channel CSMA MAC Protocol with Receiver Based Channel Selection for Multihop Wireless Networks Nitin Jain, Samir R. Das Department of Electrical.
Review of key networking techniques: –Reliable communication over unreliable channels –Error detection and correction –Medium access control –routing –Congestion.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
Medium Access Control in Wireless networks
MAC Layer Protocols for Wireless Networks. What is MAC? MAC stands for Media Access Control. A MAC layer protocol is the protocol that controls access.
Distributed-Queue Access for Wireless Ad Hoc Networks Authors: V. Baiamonte, C. Casetti, C.-F. Chiasserini Dipartimento di Elettronica, Politecnico di.
A New MAC Protocol for Wi-Fi Mesh Networks Tzu-Jane Tsai, Hsueh-Wen Tseng, and Ai-Chun Pang IEEE AINA’06.
PAC: Perceptive Admission Control for Mobile Wireless Networks Ian D. Chakeres Elizabeth M. Belding-Royer.
Selfish MAC Layer Misbehavior in Wireless Networks ECE 299, Karthik Balasubramanian February 8, 2007 Nitin Vaidya and Pradeep Kyasanur.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
MAC Protocols for Sensor Networks
Topics in Distributed Wireless Medium Access Control
TCP and MAC interplay in Wireless Ad Hoc Networks
TCP in Mobile Ad-hoc Networks
The Impact of Multihop Wireless Channel on TCP Performance
Presentation transcript:

MAC Layer (Mis)behaviors Christophe Augier - CSE Summer 2003

MAC Based on CSMA like Ethernet Two different access methods DCF – Distributed Coordination Function PCF – Point Coordination Function

MAC – CSMA CSMA – Carrier Sense Multiple Access + very effective under low loads - possible collisions

CSMA/CA CA: Collision Avoidance Random back-off value RTS / CTS ACK scheme

Questions How MAC behaves with widely used protocols? Is the throughput fairly shared? How MAC handles misbehaving nodes?

How… - Sender Sense the medium busy free Transmit CW=CWmin repeat >= 7 CW= min(2 CW, C w max ) backoff counter = 0

Backoff value Selected from range [0, CW] If medium is free for a time equal to DIFS – DCF InterFrame Space, backoff is counted down If medium is busy, suspend backoff countdown

How… - Receiver Check CRC corrupted ok Send ACK CRC: Cyclic Redundancy Check

How… - both SenderReceiver RTS CTS data ACK Sense the medium Transmit

MAC + TCP Why TCP? Widely used – prevalent protocol used in Internet Adaptability – network conditions, congestion control Topology: ad hoc net, string of 7 nodes Assumptions: No traffic – to get stable network and TCP throughput Infinite flow – always data to send out

First test 1 sender, 1 receiver TCP

First test results Instability in the TCP Connection lost

First test explication One node fails to reach its adjacent node drops packets reports route failure

First test solution causes: packet size – too big number of packets sent back-to-back – too many One node was capturing the medium solution: decrease TCP window i.e. number of packets sent back-to-back

Second test 2 TCP sessions started with a delay of 20s TCP interferences

Second test results The first session is forced down

Second test results causes: Collisions between node 2 TCP packets and node 5 RTS packets Route failure TCP session timeout solutions: null Reducing the TCP window does not work

First conclusion MAC is unchanged, the layer above MAC are changed to recover losses Link layer Transport layer Change MAC - radical

MACs comparison Experiments to compare: CSMA FAMA – RTS/CTS – CSMA/CA, RTS/CTS + ACK Under different multihop environments

Variable number of hops Var. TCP window sizes Var. number of hops

Variable number of hops Throughput is inversely proportional to the hop distance Max throughput with TCP Win= 1 Throughput: CSMA > FAMA > stable for different values of W

Hidden terminal CSMA: unfair, FAMA and : fair Thanks to CA mechanisms

Ring topology not so fair compared to FAMA Increasing the DIFS period achieve fairness

9x9 grid Good Throughput But capture

9x9 grid with mobility Evidence of captures effects But far better than CSMA and FAMA

Conclusions is promising Good combination of throughput and fairness Good behavior with mobility Need work: To make TCP and MAC work well together MAC layer timers - fairness

MAC layer misbehavior Problem: No detection of misbehaviors A selfish node can get a better throughput than well-behaved nodes

Solutions Identify and punish misbehaving nodes: Avoid such nodes in routing Protocol penalizing misbehavior Game-theoretic techniques

Proposed solution Receiver selects the sender next backoff value The sender have to use this assigned backoff value The receiver then can detect misbehavior

Detecting misbehavior B act <  * B exp, 0 < a < 1 When a node is misbehaving? Deviation may come from: Sender senses the medium as free, the receiver does not. How to choose  ?

Penalizing misbehaving nodes Select  reasonably high Use a diagnosis scheme based on a window W a threshold THRESH A node is misbehaving when

Results

Issues misbehaving receiver Tradeoff between Penalizing misbehaving nodes Ensuring the fairness of well-behaved nodes

Conclusions is promising (compared to previous MAC) Good combination of throughput and fairness Good behavior with mobility Need work: To make TCP and MAC work well together Recover losses New protocol MAC layer timers – fairness, avoid capture effects Mobility Safe against misbehaving nodes - fairness