Docsity

Computer Networks: Understanding Wireless Links and VPNs, Study notes of Computer Systems Networking and Telecommunications

Partial preview of the text

Download Computer Networks: Understanding Wireless Links and VPNs and more Study notes Computer Systems Networking and Telecommunications in PDF only on Docsity!

1

Wireless and VPN;

Epilogue

CS 242: Computer Networks Week 14: Monday, 11/29/ Daniel Bilar Wellesley College Fall 2007

2

Goals today

 Wireless Communication

 Challenges of Wireless vs Wired

 WiFi: 802.

 MAC: Code Division Multiple Access

 Virtual Private Networks

 Epilogue

 Some slides adapted and pictures

gratefully acknowledged from Ashikyan,

Shmatikov, Rexford, Kurose, Wu

4

Wireless Links: High Bit Error Rate

 Decreasing signal strength

Disperses as it travels greater distance

Attenuates as it passes through matter

5

Wireless Links: High Bit Error Rate

 Interference from other sources

 Radio sources in same frequency band

 E.g., 2.4 GHz wireless phone interferes with

802.11b wireless LAN

 Electromagnetic noise (e.g., microwave oven)

7

Dealing With Bit Errors

 Wireless vs. wired links

 Wired: most loss is due to congestion

 Wireless: higher, time-varying bit-error ate

 Dealing with high bit-error rates

1. Sender could increase transmission power

 Requires more energy (bad for battery-powered hosts)  Creates more interference with other senders

2. Stronger error detection and recovery

 More powerful error detection codes  Link-layer retransmission of corrupted frames

8

Wireless Links: Broadcast Limitations

 Wired broadcast links

 E.g., Ethernet bridging, in wired LANs  All nodes receive transmissions from all other nodes

 Wireless broadcast: hidden terminal

problem

A

B

C (^) • A and B hear each other

  • B and C hear each other
  • But, A and C do not

So, A and C are unaware of their interference at B.

10

Wireless Network: Wireless Link

network infrastructure

Wireless link  Typically used to connect mobile(s) to base station  Also used as backbone link  Multiple access protocol coordinates link access

11

Wireless Network: Wireless Hosts

network infrastructure

Wireless host  Laptop, PDA, IP phone  Run applications  May be stationary (non-mobile) or mobile

13

Wireless Network: Infrastructure

network infrastructure

Network infrastructure  Larger network with which a wireless host wants to communicate  Typically a wired network  Provides traditional network services  May not always exist

14

Scenario #1: Infrastructure Mode

network infrastructure

Infrastructure mode  Base station connects mobiles into wired network  Network provides services (addressing, routing, DNS)  Handoff: mobile changes base station providing connection to wired network

16

WiFi: 802.

Wireless LANs

17

Wireless link standards

Indoor 10-30m

Outdoor 50-200m

Mid-range outdoor 200m – 4 Km

Long-range outdoor 5Km – 20 Km

.

.

1

4

5-

54

IS-95, CDMA, GSM 2G

UMTS/WCDMA, CDMA2000 (^) 3G

802.11b

802.11a,g

UMTS/WCDMA-HSPDA, CDMA2000-1xEVDO 3G cellular enhanced

802.16 (WiMAX)

802.11a,g point-to-point

200 802.11n

Data rate (Mbps)

(^) data

19

802.11 LAN Architecture

 Access Point (AP)  Base station that communicates with the wireless hosts  Basic Service Set (BSS)  Coverage of one AP  AP acts as the master  Identified by an “network name” known as an SSID

BSS 1

BSS 2

Internet

hub, switch AP or router

AP

SSID: Service Set Identifier

Service Set Identifier (SSID) differentiates one access point from another

By default, access point broadcasts its SSID in plaintext “beacon frames” every few seconds

Default SSIDs are easily guessable

Linksys defaults to “linksys”, Cisco to “tsunami”, etc. This gives away the fact that access point is active

Access point settings can be changed to prevent it from announcing its presence in beacon frames and from using an easily guessable SSID

But then every user must know SSID in advance

20

Channels and Association

 Multiple channels at different frequencies

 Network administrator chooses frequency for AP  Interference if channel is same as neighboring AP

 Access points send periodic beacon frames

 Containing AP’s name (SSID) and MAC address  Host scans channels, listening for beacon frames  Host selects an access point to associate with

  • Beacon frames from APs
  • Associate request from host
  • Association response from AP