Explorer les Livres électroniques
Catégories
Explorer les Livres audio
Catégories
Explorer les Magazines
Catégories
Explorer les Documents
Catégories
2021-2022
Houda KHEDHER 1
Houda KHEDHER 2
1
21/09/2021
Plan du cours
• Concepts des réseaux WLAN
• Routage dynamique
Houda KHEDHER 3
WLAN
(Wireless Local Area Networks)
• Introduction aux réseaux sans fil
• Les réseaux locaux sans fil (WLAN)
• Topologie et modes des WLANs
• Normes IEEE 802.11x
• Couches protocolaires des WLANs
• Mécanismes d’accès
• Fonctionnalités du WIFI
Houda KHEDHER 4
2
21/09/2021
Houda KHEDHER 5
Houda KHEDHER 6
3
21/09/2021
Houda KHEDHER 7
4
21/09/2021
5
21/09/2021
6
21/09/2021
• Topologie :
– Flexibilité et modification rapide de la topologie
– La topologie n’est pas statique, mais dynamique
S’édifier dans le temps en fonction du nombre d’utilisateurs
Houda KHEDHER 13
7
21/09/2021
8
21/09/2021
Houda KHEDHER 17
Houda KHEDHER 18
9
21/09/2021
Houda KHEDHER 19
Houda KHEDHER 20
10
21/09/2021
- Les technologies IEEE 802.11 utilisent les bandes de fréquence 2.4 GHz et 5-GHz
- La bande ISM (Industry, Scientific, Medical) (pas de licence d’exploitation)
- S-Band ISM
802.11b et 802.11g : 2.4GHz
- C-Band ISM
802.11a : 5.725 – 5.875 GHz
Houda KHEDHER 21
Scientific band
(2.4 to 2.4835 GHz)
ISM
(America)
11
21/09/2021
Houda KHEDHER 23
• IEEE 802.11b/g/n specify WLANs to operate in the 2.4 GHz frequency band.
• The 2.4 GHz band is divided into fourteen overlapping 20 MHz carrier
channels.
• IEEE 802.11a/n specify WLANs to operate in the 5 GHz frequency band that
is divided into more channels.
12
21/09/2021
13
21/09/2021
Le label WiFi
• Normes IEEE 802.11 (WiFi)
• La norme initiale 802.11 a connu de nombreuses révisions notées
802.11a, 802.11b, 802.11g, 802.11n, …
• Ces révisions visent essentiellement une amélioration du débit.
Wi-Fi (Wireless Fidelity)
• Un « label » commercial décerné par un groupement de constructeurs (WECA :
Wireless Ethernet Compatibility Alliance) depuis 1999, renommé « Wi-Fi Alliance »
en 2003.
– Valide le respect du standard et l'interopérabilité entre matériels
– Souvent en avance sur la normalisation IEEE/ou une amélioration de la
sécurité.
Houda KHEDHER 27
WLAN vs WiFi
14
21/09/2021
• The original version of IEEE 802.11 was released in 1997 and defined the MAC and PHY
layers of WLAN traffic.
• The most well-known standards that affect Wi-Fi evolution include 802.11b, 802.11a,
802.11g, 802.11n, 802.11ac, and 802.11ax.
Release
1997 1999 2003 1999 2009 2013
time
83.5MHz&325MH 83.5MHz&325
Bandwidth 83.5MHz 83.5MHz 83.5MHz 325 MHz
z MHz
5.150-
2.4- 2.4- 5.150-5.350 GHz 2.4-2.4835GHz 5.350GHz
2.4-
Frequency 2.4835G 2.4835GH 5.725-5.850 GHz 5.150-5.350GHz 5.725-
2.4835GHz
Hz z (China) 5.725-5.850GHz 5.850GHz
(China)
Number of
non- 2.4G 3个
3 3 3 13 (5 in China) 13 ((5 in China)
overlapping 5G 13个
channels
Modulation FHSS CCK CCK
OFDM MIMO OFDM MIMO OFDM
technology DSSS DSSS OFDM
1, 2, 5.5 , 11
6.5, 7.2,…65,
6, 9, 12,
Rate 1, 2, 5.5 , 6, 9, 12, 18, 72.2,…130, 135, 293,433,867,13
1, 2 18,
(Mbit/s) 11 24, 36, 48, 54 144.4, 150,… 270, 00,3470
24, 36, 48,
300,…600
54
15
21/09/2021
Houda KHEDHER 31
Topologies
Houda KHEDHER 32
16
21/09/2021
Equipements WLAN
Houda KHEDHER 33
Choix de la topologie
Houda KHEDHER 34
17
21/09/2021
36
18
21/09/2021
Houda KHEDHER 37
Houda KHEDHER 38
19
21/09/2021
Houda KHEDHER 39
Mode Ad-Hoc
Houda KHEDHER 40
20
21/09/2021
BSS vs IBSS
Independent Basic Service Set (IBSS) (Ad hoc)
- La communication ne peut pas dépasser la portée radio
Basic Service Set (BSS) (Infrastructure)
- Communications avec des stations extérieures au réseau sans fil
Independent Basic
Service Set (IBSS) Basic Service Set (BSS)
A C
Station STA 3
Station
D
B STA 4
AP
Point d’accès
Houda KHEDHER 41
Houda KHEDHER 42
21
21/09/2021
Houda KHEDHER 43
22
21/09/2021
Houda KHEDHER 45
Houda KHEDHER 46
23
21/09/2021
Houda KHEDHER 47
24
21/09/2021
Houda KHEDHER 49
25
21/09/2021
Houda KHEDHER 51
Houda KHEDHER 52
26
21/09/2021
Houda KHEDHER 53
DCF (1)
Houda KHEDHER 54
27
21/09/2021
DCF (2)
Houda KHEDHER 55
Arrivée d’une
trame à transmettre Report de la transmission
DIFS
PIFS
SIFS
DIFS Fenêtre de collision
Activité canal Transmission
Slot de collision
Houda KHEDHER 56
28
21/09/2021
Faiblesses du CSMA/CA
Houda KHEDHER 57
Houda KHEDHER 58
29
21/09/2021
Houda KHEDHER 59
Houda KHEDHER 60
30
21/09/2021
Houda KHEDHER 61
Houda KHEDHER 62
31
21/09/2021
Fonctionnalités du WiFi
Fragmentation et réassemblage
Variation du débit
Gestion de la mobilité
Qualité de service
Economie d’énergie
Houda KHEDHER 63
Houda KHEDHER 64
32
21/09/2021
66
33
21/09/2021
Exemple
Houda KHEDHER 67
34
21/09/2021
69
Gestion de la mobilité
• Emission périodique de trame balise ( beacon frame) par les AP
– Toutes les 0,1 s
– Contient le SSID, débit possible, taux de pertes courant...
• Procédure d’association – réassociation
– Choix du point d’accès : puissance du signal, taux d’erreur, charge, …
Ecoute du support (probe) : Une machine possédant une carte WIFI
• Active :
– Elle émet le SSID voulu dans une trame de sondage (Probe Request)
– Un AP du réseau lui répond éventuellement (Probe Response)
• Passive :
– Elle attend les trames balises des AP
– Si plusieurs AP sont détectés pour le même SSID: elle choisit en fonction
de la qualité de réception (débit / charge)
70
35
21/09/2021
Mode actif
Houda KHEDHER 71
Gestion de la mobilité
Authentification
– Open System Authentication : ne constitue pas une réelle
authentification
– Shared Key Authentication : véritable mécanisme d’authentification
reposant sur le WEP (Wired Equivalent Privacy)
72
36
21/09/2021
Houda KHEDHER 73
Gestion de la mobilité
1. Association Request
2. Association Response
Association
– Utilisation d’un identifiant SSID
– SSID diffusé régulièrement en clair par l’AP dans une trame
balise : constitue une faille de sécurité
• Réassociation
– Similaire à l’association, effectuée lors de changements des
caractéristiques de l’environnement (déplacement, trafic élevé)
74
37
21/09/2021
Gestion de la mobilité
• Le handover (seamless roaming)
– Mécanisme permettant à une station mobile de changer de
cellule sans que la transmission en cours ne soit
interrompue
– Possible que si les cellules se recouvrent
– Protocole IAPP (Inter-Access Point Protocol IEEE802.11f)
Houda KHEDHER 75
Seamless Roaming
76
38
21/09/2021
IAPP: Please
send buffered
Roaming
frames for…
IAPP: Ok!
* Packet - Source
MAC of client…
Roaming
• Scans for a better access point if
the signal strength falls below a
threshold value.
• The following options define signal
strength and wait thresholds that
trigger a new scan.
39
21/09/2021
Economie d’énergie
• Stations mobiles : optimiser l’utilisation de l'énergie disponible
– Continuous Aware mode : mode par défaut, pas d’économie
d’énergie
– Power Save Polling mode : mode économie d’énergie
• Le point d’accès tient un enregistrement de toutes les stations
en mode économie d’énergie
• Il stocke toutes les données qui leur sont adressées
• Régulièrement, les stations s’éveillent pour recevoir une trame
balise indiquant si oui ou non des données leur sont adressées
• Si oui, les stations récupèrent leurs données puis retournent
en mode veille
Houda KHEDHER 79
Frame 1
ACK
The basics:
• If there are frames buffered for this station it will poll the AP for those
frames.
• The AP will then send the frames to the station.
80
40
21/09/2021
81
41
21/09/2021
Qualité de service
• Gestion des priorités : introduite dans IEEE802.11e
– EDCF (Enhanced DCF)
– EPCF (Enhanced PCF)
• 8 niveaux de priorité
Houda KHEDHER 83
42
21/09/2021
MAC Header
0-2312
2 Octets 2 Octets 6 Octets 6 Octets 6 Octets 2 Octets 6 Octets Octets 4 Octets
Frame Sequence Frame
Duration/ID Address 1 Address 2 Address 3 Address 4 FCS
Control Control Body
2 Bits 2 Bits 4 Bits 1 Bit 1 Bit 1 Bit 1 Bit 1 Bit 1 Bit 1 Bit 1 Bit
Trame ordonnée
Houda KHEDHER 86
43
21/09/2021
802.11 Frames
802.11 Frames • Management Frames
• Data Frames (most are PCF) – Beacon
– Data – Probe Request
– Null data – Probe Response
– Data+CF+Ack – Authentication
– Data+CF+Poll – Deauthentication
– Data+CF+Ac+CF+Poll – Association Request
– CF-Ack – Association Response
– CF-Poll – Reassociation Request
– CF-Cak+CF-Poll – Reassociation Response
• Control Frames – Disassociation
– RTS – Announcement Traffic
– CTS Indication
– ACK
– CF-End
– CF-End+CF-Ack 87
44
21/09/2021
A B C
D
xxx yyy Pseudo MAC address of hosts
xxx yyy
IP Packet
89
90
45
21/09/2021
A B C D
• Distribution System (DS)
– “The distribution system is the logical component of 802.11 used to
forward frames to their destination. 802.11 does not specify any
particular technology for the distribution system.” Matthew Gast
– The DS is the exiting network from the AP. (For purposes of this
discussion.)
– It can be a wired network (Ethernet) or a wireless network (wireless
bridge) or something else.
– We will assume it is a wired network
91
for these discussions.
92
46
21/09/2021
47
21/09/2021
A C D
General 802.11 Frame aaa B
bbb
95
A C D
General 802.11 Frame aaa B
bbb
48
21/09/2021
A C D
Host A to AP 1 Rec. Trans.
aaa
DA B
bbb
111 aaa bbb
1 0
Rec. Trans. SA
AP1 to Host B
bbb 111 aaa
0 1
49
21/09/2021
A
aaa C D
Host A to AP 1
Rec. Trans. DA B
bbb
802.11 Frame 111 aaa xxx
1 0
copied
AP 1 to Host X
xxx aaa
• The Ethernet DA and SA are the source and destination addresses just like on
traditional Ethernet networks.
– Destination Address – Host X
99
– Source Address – Host A
A C D
Host A to AP 1
Rec. Trans.
aaa
DA
B
bbb
802.11 Frame 111 aaa xxx
1 0 copied
• The AP (bridge) knows which MAC address on on its wireless interface and maintains a table
with those MAC addresses. (from the Association process – later)
• When the AP receives an 802.11 frame, it examines the Address 3 address.
• If Address 3 is not in its table of wireless MACs it knows it needs to translate the frame to an
Ethernet frame.
• TheGraziani
Rick AP copies the Address 3 address to the Ethernet Destination Address, and Address 2
100
(Transmitter address) is copied to the Ethernet Source Address.
graziani@cabrillo.edu
50
21/09/2021
Host X to Host A
xxxX
Distribution System (DS) Y
111
Access Point 1 Access Point 2
A
aaa
B
bbb
C D
101
A C D
Host X to AP 1
aaa B
bbb
aaa xxx
Destination Address –
Host X
Source Address – Host A
copied
AP 1 to Host A
Rec. Trans. SA
802.11 Frame aaa 111 xxx
0 1
102
51
21/09/2021
aaa A C D
Host X to AP 1
B
bbb
aaa xxx
Destination Address –
Host X
AP 1 to Host A copied Source Address – Host A
Rec. Trans. SA
802.11 Frame aaa 111 xxx
0 1
103
Wireless Topologies
52
21/09/2021
An access point (AP) is a WLAN device that Wireless Bridges are designed to
can act as the center point of a stand-alone connect two or more networks that
wireless network or be used as the are typically located in different
connection point between wireless and wired buildings.
networks.
Not currently covered under 802.11
53
21/09/2021
54
21/09/2021
Multiple Vendors
Redundancy only
110
55
21/09/2021
• With the Cisco DS systems, the units are set to different channels.
• Redundancy: If one unit goes down, remote clients will hand off to the
remaining unit and continue working.
• Load balancing: This can be configured based on the number of
users, the bit error rate, or signal strength.
– Distributes user connections across available access points
– Optimizes aggregate throughput
111
56
21/09/2021
57