Professional Documents
Culture Documents
Lecture24-25 Wireless Mobile
Lecture24-25 Wireless Mobile
Lecture24-25 Wireless Mobile
Fall 2018
MW 4:50 pm – 6:05 pm
Dewey 2-110D
Wireless and Mobile Networks
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Characteristics of selected wireless links
1300 802.11 ac
450 802.11n
54 802.11a,g
Data rate (Mbps)
1 802.15
wireless hosts
base station
wireless link
network
infrastructure
infrastructure mode
▪ base station connects
mobiles into wired
network
▪ handoff: mobile changes
network
base station providing
infrastructure
connection into wired
network
ad hoc mode
▪ no base stations
▪ nodes can only
transmit to other
nodes within link
coverage
▪ nodes organize
themselves into a
network: route
among themselves
no base station, no
connection to larger
no no base station, no
Internet. May have to
infrastructure connection to larger
relay to reach other
Internet (Bluetooth,
a given wireless node
ad hoc nets)
MANET,VANET
BER
10-4
• SNR versus BER tradeoffs
10-5
– given physical layer: increase power
-> increase SNR->decrease BER 10-6
QAM256 (8 Mbps)
QAM16 (4 Mbps)
BPSK (1 Mbps)
A B C
C
▪ wireless host
communicates with base
Internet station
• base station = access
point (AP)
▪ Basic Service Set (BSS) (aka
hub, switch
or router
“cell”) in infrastructure
mode contains:
• wireless hosts
BSS 1 • access point (AP): base
station
• ad hoc mode: hosts only
BSS 2
Wireless and Mobile Networks 7-16
802.11: Channels, association
1
1 1 2 2 AP 2
AP 1 AP 2 AP 1
2 3
3 4
H1 H1
A B C
C
space
reservation collision
DATA (A)
defer
time
BER
10-4
transmission rate (physical 10-5
layer modulation 10-6
• ad hoc: no infrastructure P
radius of
M
• master/slaves: coverage
wired network
M
Di = S Zi,m.cm
m=1
M
received 1 1 1 1 1 1 1 1
d0 = 1
-1 -1 -1 -1 -1 -1 -1 -1
input d1 = -1
1 1 1 1 1 1 1 1 slot 1 slot 0
code channel channel
-1 -1 -1 -1 -1 -1 -1 -1
Sender 2
Legend
Mobile subscribers
G Public
SGSN
Key insight: new cellular data Internet
G Public
SGSN Internet
GGSN
radio interface
(WCDMA, HSPA)
radio access network core network public
Universal Terrestrial Radio General Packet Radio Service Internet
Access Network (UTRAN) (GPRS) Core Network
G
Public
SGSN Internet
GGSN
HSS
4G-LTE MME
G G
Public
Internet
S-GW P-GW
radio access network Evolved Packet Core
Universal Terrestrial Radio
Access Network (UTRAN) (EPC)
Wireless and Mobile Networks 7-41
4G: differences from 3G
• all IP core: IP packets tunneled (through core IP network)
from base station to gateway
• no separation between voice and data – all traffic carried
over IP core to gateway
Mobility Home Subscriber
Management Server(HSS) Serving Packet data
Entity (MME) (like HLR+VLR) Gateway network
UE eNodeB
(user element) (base station) HSS (S-GW) Gateway
MME (P-GW)
G G
Public
data Internet
S-GW P-GW
radio access network Evolved Packet Core
Universal Terrestrial Radio
Access Network (UTRAN) (EPC)
Wireless and Mobile Networks 7-42
Quality of Service in LTE
wide area
network
permanent address:
address in home
network, can always be
used to reach mobile
e.g., 128.119.40.186
wide area
network
1
2
wide area
network
mobile contacts
foreign agent contacts home foreign agent on
agent home: “this mobile is entering visited
resident in my network” network
end result:
• foreign agent knows about mobile
• home agent knows location of mobile
Wireless and Mobile Networks 7-50
Mobility via indirect routing
foreign agent
receives packets,
home agent intercepts forwards to mobile
packets, forwards to visited
foreign agent network
home
network
3
wide area
network
2
1
correspondent 4
addresses packets
mobile replies
using home address of
directly to
mobile
correspondent
foreign agent
receives packets,
correspondent forwards forwards to mobile
to foreign agent visited
network
home
network
3
1 2
4
mobile replies
correspondent
directly to
requests, receives
correspondent
foreign address of
mobile
3
1 2
4
• RFC 3344
• has many features we’ve seen:
– home agents, foreign agents, foreign-agent registration, care-of-addresses,
encapsulation (packet-within-a-packet)
• three components to standard:
– indirect routing of datagrams
– agent discovery
– registration with home agent
foreign-agent-to-mobile packet
packet sent by home agent to foreign dest: 128.119.40.186
agent: a packet within a packet
Permanent address:
128.119.40.186
Care-of address:
79.129.13.2
dest: 128.119.40.186
packet sent by
correspondent
R bit: registration
required type = 16 length sequence #
RBHFMGV
registration lifetime reserved
bits mobility agent
advertisement
0 or more care-of- extension
addresses
Wireless and Mobile Networks 7-59
Mobile IP: registration example
visited network: 79.129.13/24
home agent foreign agent
HA: 128.119.40.7 COA: 79.129.13.2
mobile agent
MA: 128.119.40.186
ICMP agent adv.
COA:
79.129.13.2
….
registration req.
registration req.
COA: 79.129.13.2
COA: 79.129.13.2 HA: 128.119.40.7
HA: 128.119.40.7 MA: 128.119.40.186
MA: 128.119.40.186 Lifetime: 9999
Lifetime: 9999 identification:714
identification: 714 ….
encapsulation format
….
registration reply
HA: 128.119.40.7 registration reply
MA: 128.119.40.186 HA: 128.119.40.7
Lifetime: 4999 MA: 128.119.40.186
Identification: 714 Lifetime: 4999
encapsulation format Identification: 714
…. ….
time
recall: correspondent
wired public
telephone
network
MSC MSC
MSC
MSC
MSC
Home
correspondent • call remains routed
MSC through anchor MSC
anchor MSC
▪ new MSCs add on to end of
PSTN
MSC MSC chain as mobile moves
MSC to new MSC
MSC
▪ optional path minimization
step to shorten multi-MSC
chain
(b) after handoff
Wireless Mobility
• wireless links: • principles: addressing, routing
– capacity, distance to mobile users
– channel impairments – home, visited networks
• IEEE 802.11 (“Wi-Fi”) – direct, indirect routing
– CSMA/CA reflects wireless – care-of-addresses
channel characteristics • case studies
• cellular access – mobile IP
– architecture – mobility in GSM, LTE
– standards (e.g., 3G, 4G LTE) • impact on higher-layer
protocols