31 MobileIP
31 MobileIP
wide area
network
mobile wireless user, mobile user, mobile user, passing
permanent address:
using same access connecting/ through multiple
point address in home
disconnecting from access point while
network, can always be
network using maintaining ongoing
used to reach mobile
DHCP. connections (like cell e.g., 128.119.40.186
phone)
1
Mobility: how to handle it? Mobility: approaches
let routing handle it: routers advertise permanent address of let routing handle it: routers advertise permanent address of
mobile-nodes-in-residence via usual routing table exchange. mobile-nodes-in-residence not via usual routing table exchange.
scalable
routing tables indicate where each mobile located routing tables indicate where each mobile located
to millions of
no changes to end-systems no changes to end-systems
mobiles
let end-systems handle it: let end-systems handle it:
indirect routing: communication from correspondent to indirect routing: communication from correspondent to
mobile goes through home agent, then forwarded to mobile goes through home agent, then forwarded to
remote remote
direct routing: correspondent gets foreign address of direct routing: correspondent gets foreign address of
mobile, sends directly to mobile mobile, sends directly to mobile
2
Mobility via direct routing Mobility via direct routing: comments
foreign agent overcome triangle routing problem
receives packets,
correspondent forwards
to foreign agent
forwards to mobile non-transparent to correspondent: correspondent
visited
network must get care-of-address from home agent
home what if mobile changes visited network?
network
3
1 2
4
3
mobile replies
correspondent 1 2
directly to 4
requests, receives
correspondent
foreign address of
mobile
3
ICMP: Internet Control Message
IP and ICMP
Protocol review
Mobile IP uses ICMP for router management (advertising home/mobile agents)
R bit: registration
required type = 16 length sequence #
RBHFMGrT
registration lifetime reserved
bits mobility agent
advertisement
0 or more care-of- extension
http://flylib.com/books/3/223/1/html/2/files/09fig07.gif
addresses
Wireless, Mobile Networks 6-21 Wireless, Mobile Networks 6-22
4
Mobile IP: registration example Components of cellular network architecture
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 recall:
ICMP agent adv. correspondent
COA: wired public
79.129.13.2
telephone
….
registration req. network
registration req.
COA: 79.129.13.2
COA: 79.129.13.2 HA: 128.119.40.7
MSC MSC
HA: 128.119.40.7 MA: 128.119.40.186
MA: 128.119.40.186 Lifetime: 9999 MSC
Lifetime: 9999 identification:714 MSC
identification: 714 …. MSC
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
different cellular networks,
…. …. operated by different providers
time
Wireless, Mobile Networks 6-25 Wireless, Mobile Networks 6-26
GSM: handoff with common MSC GSM: handoff with common MSC
1. old BS informs MSC of impending
handoff goal: route call via handoff, provides list of 1+ new BSs
new base station (without 2. MSC sets up path (allocates resources)
interruption) to new BS
VLR VLR 3. new BS allocates radio channel for use
reasons for handoff:
Mobile Mobile
Switching Switching
by mobile
Center stronger signal to/from new BS Center 2
4 4. new BS signals MSC, old BS: ready
(continuing connectivity, less 1
7
old new battery drain) 8 5. old BS tells mobile: perform handoff to
routing routing 3
load balance: free up channel in 5 new BS
old BS old BS 6
new BS current BS new BS
6. mobile, new BS signal to activate new
GSM doesn’t mandate why to channel
perform handoff (policy), only
how (mechanism)
7. mobile signals via new BS to MSC:
handoff complete. MSC reroutes call
handoff initiated by old BS 8 MSC-old-BS resources released
5
GSM: handoff between MSCs GSM: handoff between MSCs
anchor MSC: first MSC anchor MSC: first MSC
visited during call visited during call
home network home network
Home
correspondent call remains routed Home
correspondent call remains routed
MSC through anchor MSC MSC through anchor MSC
anchor MSC
new MSCs add on to end of anchor MSC
new MSCs add on to end of
PSTN PSTN
MSC MSC chain as mobile moves MSC MSC chain as mobile moves
MSC MSC to new MSC MSC MSC to new MSC
optional path minimization optional path minimization
step to shorten multi-MSC step to shorten multi-MSC
chain chain
(a) before handoff (b) after handoff
Mobility: GSM versus Mobile IP Wireless, mobility: impact on higher layer protocols
GSM element Comment on GSM element Mobile IP element
Home system Network to which mobile user’s permanent Home logically, impact should be minimal …
phone number belongs network
best effort service model remains unchanged
Gateway Mobile Home MSC: point of contact to obtain routable Home agent
Switching Center, or address of mobile user. HLR: database in TCP and UDP can (and do) run over wireless, mobile
“home MSC”. Home home system containing permanent phone
Location Register number, profile information, current location of … but performance-wise:
(HLR) mobile user, subscription information
Visited System Network other than home system where Visited packet loss/delay due to bit-errors (discarded packets,
mobile user is currently residing network delays for link-layer retransmissions), and handoff
Visited Mobile Visited MSC: responsible for setting up calls Foreign agent
services Switching to/from mobile nodes in cells associated with
TCP interprets loss as congestion, will decrease congestion
Center. MSC. VLR: temporary database entry in window un-necessarily
Visitor Location visited system, containing subscription
Record (VLR) information for each visiting mobile user delay impairments for real-time traffic
Mobile Station Routable address for telephone call segment Care-of- limited bandwidth of wireless links
Roaming Number between home MSC and visited MSC, visible address
(MSRN), or “roaming to neither the mobile nor the correspondent.
number”
Wireless, Mobile Networks 6-33 Wireless, Mobile Networks 6-34
Chapter 6 summary
Wireless Mobility
wireless links: principles: addressing,
capacity, distance routing to mobile users
channel impairments home, visited networks
CDMA direct, indirect routing
IEEE 802.11 (“Wi-Fi”) care-of-addresses
CSMA/CA reflects wireless case studies
channel characteristics mobile IP
cellular access mobility in GSM
architecture impact on higher-layer
standards (e.g., GSM, 3G, protocols
4G LTE)