T2B 80211
T2B 80211
T2B 80211
-
Tecnologías inalámbricas de red
Infra-Red 802.11 IR
802.11b-cor1 / TGb-cor1
High Data Rate Extension
Corrigendum MIB
5.5/11 Mbit/s
http://certifications.wi-fi.org/wbcs_certified_products.php?lang=en.
4
f f
REDES INALÁMBRICAS
resulting
signal
REDES INALÁMBRICAS
01101011001010
Advantages
REDES INALÁMBRICAS
FHSS: Example
MIC 2007/2008
tb
user data
0 1 0 1 1 t
f
td
f3 slow
f2 hopping
(3 bits/hop)
f1
td t
f
f3 fast
f2 hopping
(3 hops/bit)
REDES INALÁMBRICAS
f1
Notion of a channel
MIC 2007/2008
Signal Power
REDES INALÁMBRICAS
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
9
Channels in Wireless
MIC 2007/2008
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
10
Channel A Channel B
Power
Frequency
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
11
Channel A Channel B
Wastage of spectrum
Real Usage
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
12
Channel A Channel B
Wastage of spectrum
Real Usage
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
13
Channel A Channel B
Channel A’
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
14
Channel A Channel B
Channel A’
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
15
Tres puntos de acceso pueden estar ‘cerca’ para obtener un total de 33 Mbps de
throughput agregado
16
An 802.11 Experiment
MIC 2007/2008
Link A Ch 1 Ch 1 Ch 3 Ch 6
Link B Ch 3
Link C Ch 6
Amount of Interference
Can we use channels 1, 3 and 6 without interference ?
REDES INALÁMBRICAS
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
17
An 802.11 Experiment
MIC 2007/2008
Link A Ch 1 Ch 1 Ch 3 Ch 6
Link B Ch 3
Link C Ch 6
Virtually non-overlapping !
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
18
An 802.11 Experiment
MIC 2007/2008
Link B Ch X
35 meters
4
60 meters
3
0 10 20 30 40 50 60
Distance (meters)
LEGEND
Non-overlapping channels, A = 1, B = 6 5
REDES INALÁMBRICAS
Channel Separation
Thanks to: Mishra, Shrivastava, Banerjee, and Arbaugh, The University of Wisconsin, Madison
19
LENGTH field
Unsigned 16-bit integer. Indicates time (in μS) required to transmit the MPDU
Header Error Check (HEC) field
SIGNAL, SERVICE, and LENGTH fields protected with a CCITT CRC-16 Frame Check Sequence (FCS)
All FCS calculations made prior to data scrambling
20
IEEE 802.11b
MIC 2007/2008
Security Pros
Limited, WEP insecure, SSID Many installed systems and vendors
Available worldwide
Availability
Free ISM-band
Many products and vendors
Cons
REDES INALÁMBRICAS
IEEE 802.11a
MIC 2007/2008
Security Cons
Limited, WEP insecure, SSID Shorter range
Availability
Some products, some vendors
24
WiFi y salud
MIC 2007/2008
http://www.wi-fiplanet.com/news/article.php/3653711
More information:
http://www.fcc.gov/oet/rfsafety/
Tema 2.-
Tecnologías inalámbricas de red
Arquitecturas disponibles
MIC 2007/2008
MAC
Function (PCF)
PIFS
defer access
30
2 2 6 6 6 2 6 0-2312 4
Tipos de direcciones:
• Source address (SA)
prot. To FromMore PowerMore
• Destination Address (DA)
type subtype DS DS frags
retry
mgt data
WEPorder
vers
• Transmitter Address (TA)
2 2 4 1 1 1 1 1 1 1 1 bits
• Receiver Address (RA)
• BSS identifier (BSSID)
• management (00)
• control (01),
• data (10), Función To From Addr. 1 Addr. 2 Addr. 3 Addr. 4
REDES INALÁMBRICAS
DS DS
• reserved (11) IBSS 0 0 RA = DA SA BSSDI -
To the AP 1 0 RA = BSSDI SA DA -
Wireless DS 1 1 RA TA DA SA
31
Acknowledgement
bytes 2 2 6 4
ACK Frame Receiver
Duration CRC
Control Address
Request To Send
bytes 2 2 6 6 4
Clear To Send Frame Receiver Transmitter
RTS Duration CRC
Control Address Address
bytes 2 2 6 4
Frame Receiver
CTS Duration CRC
REDES INALÁMBRICAS
Control Address
32
DS
RA (BSSID) TA
SA/TA
AP
AP SA RA
Client
AP
DA
Client DA
Server
Server
REDES INALÁMBRICAS
To the AP 1 0 RA = BSSID SA DA -
Wireless DS 1 1 RA TA DA SA
33
B1 = 25 B1 = 5
wait data
data wait
B2 = 20 B2 = 15 B2 = 10
REDES INALÁMBRICAS
Otro ejemplo
MIC 2007/2008
Situaciones problemáticas
MIC 2007/2008
A
A
B
C
B
REDES INALÁMBRICAS
C
D
36
Hidden nodes
MIC 2007/2008
Obstacle Null
The obstacle The received
prevents MU1 and signals cancel
MU2 from hearing one another
one another resulting in a
NULL signal
REDES INALÁMBRICAS
Near-Far problem
MIC 2007/2008
High power
REDES INALÁMBRICAS
station near
the AP
38
Mecanismo RTS/CTS
MIC 2007/2008
DIFS
DIFS
REDES INALÁMBRICAS
NAV (CTS)
defer access
39
PC
Data+Poll Data+Poll Data+Poll CF-End
Beacon DATA+ACK ACK
STA1 SIFS
(no response)
NAV
STA2 Station 2 sets NAV(Network Allocation Vector) Reset
STA3 Station 3 is hidden to the PC, it does not set the NAV.
Time
It continues to operate in DCF.
Servicios
MIC 2007/2008
uso de un portal
42
Class 1 & 2
State 2: Deauthentication notification
frames authenticated,
unassociated
Class 1, 2 & 3
frames authenticated, estar autenticada
associated por varios AP pero
asociada con solo
un AP
43
Scanning
MIC 2007/2008
BSSID y SSID
MIC 2007/2008
BSS
AP
Distribution System (DS)
WLAN LAN
REDES INALÁMBRICAS
No definido por el
estándar como realizarlo
Inter-acces point protocol
(IAPP)
46
Procedimiento de Handoff
MIC 2007/2008
Fase de ” reassociation”
Cuatro mensajes IAPP
IAPP Latency > 4 * RTT
STA New AP Old AP
Los mensajes de ”Move Request” y de
”Move Response” utilizan TCP
IAPP Message
REDES INALÁMBRICAS
48
Wireless Distribution System
MIC 2007/2008
Channel 11
Channel 1
Channel 1
REDES INALÁMBRICAS
Channel 6
50
AP-1000 or AP-500
Bridge learn
table
STA-
AP-1000 or AP-500 2
Bridge learn 2 Avaya Wireless PC-Card
STA-
table 2
1
STA- Association table
2
2 Avaya Wireless PC-Card STA-
STA-
2 2
1 Association table
STA- WDS
1 Packet for STA-2 Relay
WDS
ACK
Relay
ACK
BSS-B
STA-2
STA-1
BSS-A
REDES INALÁMBRICAS MIC 2007/2008 53
Overview of 802.11e
MIC 2007/2008
Fundamental improvements
MIC 2007/2008
Review of DCF
CSMA/CA
Transmit the frame directly if the medium is found idle for DIFS (DCF InterFrame
Space)
Otherwise, defer the transmission and start the backoff process
Backoff_time = rand[0, CW], CWmin < CW < CWmax
The backoff timer decreases only when the medium become idle.
Transmit the frame once backoff timer expires
How to provide priorities
Change the contention window size
newCW[TCi] = ((oldCW[TCi]) * PFi ) –1
PFi is the persistence factor
Replace DIFS with AIFS (Arbitration InterFrame Space)
REDES INALÁMBRICAS
EDCF
MIC 2007/2008
Scheduler
REDES INALÁMBRICAS
During CFP
Poll STAs and give a station the permission to access channel
Starting time and maximum duration of each TXOP are specified by the HC
During CP
Can use the EDCA rules
HC can issue polled TXOPs in the CP by sending CF-Poll after a PIFS idle period
Controlled Contention
Allows STAs to request the allocation of polled TXOPs
STAs send resource request frames with the requested TC and TXOP duration
HC sends an ACK for resource request to the STA
REDES INALÁMBRICAS
REDES INALÁMBRICAS MIC 2007/2008 73
IEEE802.11e
HCF superframes
REDES INALÁMBRICAS MIC 2007/2008 74
IEEE802.11e
Performance
75
IEEE 802.11n
MIC 2007/2008
channel
Bits DSP Radio Radio DSP Bits
TX RX
Conventional “Single Input Single Output” (SISO) systems were favored for
simplicity and low-cost but have some shortcomings:
Outage occurs if antennas fall into null
Switching between different antennas can help
Energy is wasted by sending in all directions
REDES INALÁMBRICAS
Radio Radio
D D
Bits S
channel
S Bits
P Radio Radio P
TX RX
Multiple Input Multiple Output (MIMO) systems with multiple parallel radios improve
the following:
Outages reduced by using information from multiple antennas
Transmit power can be increased via multiple power amplifiers
REDES INALÁMBRICAS
MIMO Alternatives
MIC 2007/2008
Beamforming MIMO
Standards-compatible techniques to improve the range of existing data rates using
transmit and receive beamforming
Also reduces transmit interference and improves receive interference tolerance
Spatial-multiplexing MIMO
Allows even higher data rates by transmitting parallel data streams in the same
frequency spectrum
Fundamentally changes the on-air format of signals
Requires new standard (11n) for standards-based operation
Proprietary modes possible but cannot help legacy devices
REDES INALÁMBRICAS
IEEE802.11n
83
Radio D
S Bits
Bits Radio
TX P
Radio
RX
receiver
D Radio
Bits S
P Radio Bits
Radio RX
TX
IEEE802.11n
84
Bits Merge
Split P
DSP Radio Radio
TX RX
Tema 2.-
Tecnologías inalámbricas de red
devices from different vendors are massive problems for the use of, e.g., VoIP in
WLANs
Handover should be feasible within 50ms in order to support multimedia
applications efficiently
87
Note: Not all “standards” will end in products, many ideas get stuck
at working group
Info: www.ieee802.org/11/, 802wirelessworld.com,
REDES INALÁMBRICAS
standards.ieee.org/getieee802/
Tema 2.-
Tecnologías inalámbricas de red
Herramientas genéricas
MIC 2007/2008
Wireshark / Ethereal
MIC 2007/2008
Wireshark / Ethereal
herramientas
92
Kismet
MIC 2007/2008
Kismet es una herramienta que opera con información del nivel MAC
de 802.11.
Puede funcionar como:
Detector de redes inalámbricas
Sniffer (captura de paquetes en modo promiscuo)
Sistema de detección de intrusos
Además tiene otras características que lo hacen muy interesante
como:
compatibilidad con Ethereal y Airsnort
detección de rango IP de la red
Descubierta de puntos de acceso ocultos
Kismet viene con su propio programa de GPS que permite
interpolación de valores, aunque no es muy exacto:
REDES INALÁMBRICAS
REDES INALÁMBRICAS MIC 2007/2008 93
herramientas
gKismet
herramientas
94
Network Stumbler
MIC 2007/2008
Network Stumbler
MIC 2007/2008
Network Stumbler