SlideShare a Scribd company logo
1 of 36
Hui Zhang, Fall 2012 1
15-441 Computer Networking
Mobility
Hui Zhang, Fall 2012 2
Many Mobility Scenario’s
 Mobile hosts connecting to networked infrastructure
(focus of this lecture)
- Cell phones connecting to cell towers
- Laptops connecting to access points
 Ad hoc networks: a set of mobile nodes
communicating with each other with no additional
networked infrastructure
- Extra challenges: routing and possible mobility
 Sensor networks (ad hoc +)
- More resource constrained mobile nodes
 Vehicular networks
- Extreme mobility
Hui Zhang, Fall 2012 3
Routing to Mobile Nodes
 Obvious solution: have mobile nodes advertise
route to mobile address/32
- Should work!!!
 Why is this bad?
- Consider forwarding tables on backbone routers
• Would have an entry for each mobile host
• Not very scalable
 What are some possible solutions?
Hui Zhang, Fall 2012 4
How to Handle Mobile Nodes?
(Addressing)
 Dynamic Host Configuration (DHCP)
- Host gets new IP address in new locations
- Problems
• Host does not have constant name/address  how
do others contact host
• What happens to active transport connections?
Hui Zhang, Fall 2012 5
How to Handle Mobile Nodes?
(Naming)
 Naming
- Use DHCP and update name-address mapping
whenever host changes address
- Fixes contact problem but not broken transport
connections
Hui Zhang, Fall 2012 6
How to Handle Mobile Nodes?
(Transport)
 TCP currently uses 4 tuple to describe
connection
- <Src Addr, Src port, Dst addr, Dst port>
 Modify TCP to allow peer’s address to be
changed during connection
 Security issues
- Can someone easily hijack connection?
 Difficult deployment  both ends must support
mobility
Hui Zhang, Fall 2012 7
How to Handle Mobile Nodes?
(Link Layer)
 Link layer mobility
- Learning bridges can handle mobility  this is how it is
handled at CMU
- Encapsulated PPP (PPTP)  Have mobile host act like
he is connected to original LAN
• Works for IP AND other network protocols
Hui Zhang, Fall 2012 8
How to Handle Mobile Nodes?
(Routing)
 Allow mobile node to keep same address and name
 How do we deliver IP packets when the endpoint
moves?
- Can’t just have nodes advertise route to their
address
 What about packets from the mobile host?
- Routing not a problem
- What source address on packet?  this can
cause problems
 Key design considerations
- Scale
- Incremental deployment
Hui Zhang, Fall 2012 9
Basic Solution to Mobile Routing
 Same as other problems in computer science
- Add a level of indirection
 Keep some part of the network informed about
current location
- Need technique to route packets through this location
(interception)
 Need to forward packets from this location to
mobile host (delivery)
Hui Zhang, Fall 2012 10
Interception
 Somewhere along normal forwarding path
- At source
- Any router along path
- Router to home network
- Machine on home network (masquerading as
mobile host)
 Clever tricks to force packet to particular destination
- “Mobile subnet” – assign mobiles a special
address range and have special node advertise
route
Hui Zhang, Fall 2012 11
Delivery
 Need to get packet to mobile’s current location
 Tunnels
- Tunnel endpoint = current location
- Tunnel contents = original packets
 Source routing
- Loose source route through mobile current location
Hui Zhang, Fall 2012 12
Mobile IP (RFC 2290)
 Interception
- Typically home agent – a host on home network
 Delivery
- Typically IP-in-IP tunneling
- Endpoint – either temporary mobile address or
foreign agent
 Terminology
- Mobile host (MH), correspondent host (CH), home
agent (HA), foreign agent (FA)
- Care-of-address, home address
Hui Zhang, Fall 2012 13
Lecture 21: 2006-11-16 13
Mobile IP (MH at Home)
Mobile Host (MH)
Visiting
Location
Home
Internet
Correspondent Host (CH)
Packet
Hui Zhang, Fall 2012 14
Mobile IP (MH Moving)
Visiting
Location
Home
Internet
Correspondent Host (CH)
Packet
Home Agent (HA) Mobile Host (MH)
I am here
Hui Zhang, Fall 2012 15
Mobile IP (MH Away – FA)
Visiting
Location
Home
Internet
Correspondent Host (CH)
Packet
Home Agent (HA) Foreign Agent (FA)
Encapsulated
Mobile Host (MH)
Hui Zhang, Fall 2012 16
Mobile IP (MH Away - Collocated)
Visiting
Location
Home
Internet
Correspondent Host (CH)
Packet
Home Agent (HA) Mobile Host (MH)
Encapsulated
Hui Zhang, Fall 2012 17
Other Mobile IP Issues
 Route optimality
- Resulting paths can be sub-optimal
- Can be improved with route optimization
• Unsolicited binding cache update to sender
 Authentication
- Registration messages
- Binding cache updates
 Must send updates across network
- Handoffs can be slow
 Problems with basic solution
- Triangle routing
- Reverse path check for security
Hui Zhang, Fall 2012 18
State of Mobile Networks
 Getting a new name and address via DHCP is the most
commonly used solution for laptops, as long as
- it is a client machine (what is the difference between a server and
client machine?)
- Single consistent TCP connection during mobility is not important
 Cell network is the commonly used solution to support
continuous mobility
- Overview slides attached. For information only. Not required for
exam.
 Mobile IP not as widely used
- Why?
 Will cover ad hoc networks, sensor networks, vehicular
networks in two weeks
- Check out Professor Srini Seshan’s 15-446 class next semester
Hui Zhang, Fall 2012 19
GSM Mobility Management
(not required for exam)
Originals by: Rashmi Nigalye, Mouloud Rahmani, Aruna Vegesana, Garima Mittal, Fall 2001
Prof. M. Veeraraghavan, Polytechnic University, New York
• GSM architecture overview
– Network layout
– Protocols
– Addresses & identifiers
• Location management
– Call delivery + location update
• Handover management
Hui Zhang, Fall 2012 20
GSM network layout
GSM Network
(PLMN)
MSC region
MSC region
MSC region
Location
area
BSC
BSC
Location
area
BTS BTS
PLMN: Public Land Mobile Network
MSC: Mobile Switching Center
BTS: Base Transceiver Station
BSC: Base Station Controller
Hui Zhang, Fall 2012 21
GSM network layout
BSC
MSC
BSC
BTS
EIR
HLR
AUC
VLR
BTS
BTS
Um
A
Abis
E
B,C
OMC
GMSC
PSTN
ISDN
Hui Zhang, Fall 2012 22
GSM MAP protocol
 GSM MAP similar to IS41 MAP
 MAP uses Transactions Capabilities Part (TCAP)
of the SS7 stack
 MAP functions:
- Updating of location information in VLRs
- Storing routing information in HLRs
- Updating and supplementing user profiles in HLRs
- Handoff of connections between MSCs
Hui Zhang, Fall 2012 23
What is a location area (LA)?
 A powered-on mobile is informed of an incoming
call by a paging message sent over the PAGCH
channel of a cell
 One extreme is to page every cell in the network
for each call - a waste of radio bandwidth
 Other extreme is to have a mobile send location
updates at the cell level. Paging cut to 1 cell, but
large number of location updating messages.
 Hence, in GSM, cells are grouped into Location
Areas – updates sent only when LA is changed;
paging message sent to all cells in last known LA
Hui Zhang, Fall 2012 24
Addresses and Identifiers
 International Mobile Station Equipment Identity (IMEI)
- It is similar to a serial number. It is allocated by equipment
manufacturer, registered by network, and stored in EIR
 International Mobile Subscriber Identity (IMSI)
MCC MNC MSIN
MCC: Country Code
MNC: Mobile Network Code
MSIN: Mobile Subscriber Identification Number
When subscribing for service with a network, subscriber receives (IMSI)
and stores it in the SIM (Subscriber Identity Module) card.
The HLR can be identified by a VLR/MSC from the IMSI.
Hui Zhang, Fall 2012 25
Addresses and Identifiers
 Mobile Subscriber ISDN (MSISDN)
- The “real telephone number”: assigned to the SIM
- The SIM can have several MSISDN numbers for selection of
different services like voice, data, fax
CC NDC SN
NDC: National Destination Code (NDC identifies operator);
SN: Subscriber Number; CC: Country Code;
Digits following NDC identifies the HLR
Hui Zhang, Fall 2012 26
Addresses and Identifiers
 Mobile Station Roaming Number (MSRN)
- It is temporary location dependent ISDN number
- It is assigned by local VLR to each MS in its area.
CC NDC SN
Hui Zhang, Fall 2012 27
Addresses and identifiers
 Temporary Mobile Subscriber Identity (TMSI)
- It is an alias of the IMSI and is used in its place for
privacy.
- It is used to avoid sending IMSI on the radio path.
- It is an temporary identity that is allocated to an MS by
the VLR at inter-VLR registration, and can be changed
by the VLR
- TMSI is stored in MS SIM card and in VLR.
Hui Zhang, Fall 2012 28
TMSI, IMSI, MSRN and MSISDN
 Unlike MSISDN, IMSI is not known to the GSM user. The
CC of MSISDN translates to an MCC of IMSI as follows,
e.g, Denmark CC: 45 MCC: 238
 TMSI is used instead of IMSI during location update to
protect privacy. As user moves, TMSI is used to send
location update. Thus a third party snooping on the wireless
link cannot track a user as he/she moves.
 MSRN is the routing number that identifies the current
location of the called MS.
- MSRN is temporary network identity assigned to a
mobile subscriber.
- MSRN identifies the serving MSC/VLR.
- MSRN is used for call delivery (calls incoming to an
MS).
 MSISDN is the dialed number to reach a GSM user
Hui Zhang, Fall 2012 29
Addresses and Identifiers
 Location Area ID (LAI)
- CC: Country Code, MNC:Mobile Network Code, LAC:
Location Area Code
- LAI is broadcast regularly by Base Station on BCCH
- Each cell is identified uniquely as belonging to an LA by its
LAI
CC MNC LAC
Hui Zhang, Fall 2012 30
Location management
 Set of procedures to:
- track a mobile user
- find the mobile user to deliver it calls
 Current location of MS maintained by 2-level
hierarchical strategy with HLRs and VLRs.
Hui Zhang, Fall 2012 31
Ways to obtain MSRN
1. Obtaining at location update – MSRN for the MS is
assigned at the time of each location update, and is
stored in the HLR. This way the HLR is in a position
to immediately supply the routing info (MSRN)
needed to switch a call through to the local MSC.
2. Obtaining on a per call basis – This case requires
that the HLR has at least an identification for the
currently responsible VLR. When routing info is
requested from the HLR, it first has to obtain the
MSRN from the VLR. This MSRN is assigned on a
per call basis, i.e. each call involves a new MSRN
assignment
Hui Zhang, Fall 2012 32
Routing information: case when MSRN
is selected per call by VLR/MSC
 If MSRN is allocated to each subscriber visiting at an MSC, then the
number of MSRNs required is large. If instead, an MSRN is allocated
only when a call is to be established, then the number of MSRNs is
roughly equal to number of circuits at MSC – a much smaller number –
hence MSRNs typically allocated per call by VLR/MSC
MSISDN
GMSC
HLR

MSC/VLR



MSISDNIMSI, VLR number
MSRN
Hui Zhang, Fall 2012 33
Call routing to a mobile station:
case when HLR returns MSRN
GMSC
BSC
BSC
EIR
HLR
AUC
VLR
MSC
BTS
BTS
BTS
LA 1
LA 2
ISDN
1
MS
1
MSISDN
6
TMSI
4
MSRN
3
MSRN
2
MSISDN
7
TMSI
7
TMSI
7
TMSI
8
TMSI
5
MSRN
MSC
Hui Zhang, Fall 2012 34
Messages exchanged: call delivery
PSTN
GMSC
HLR
VLR
Target
MSC
Originating
Switch
GMSC HLR VLR
Target
MSC
1. ISUP IAM
2. MAP_SEND_ROUTING_INFO
3. MAP_PROVIDE_ROAMING_NUMBER
4. MAP_PROVIDE_ROAMING_NUMBER_ack
5. MAP_SEND_ROUTING_INFO_ack
6. ISUP IAM
1
2 3
4
5
6
Hui Zhang, Fall 2012 35
Find operation in GSM
 ISDN switch recognizes from the MSISDN that the call
subscriber is a mobile subscriber. Therefore, forward
the call to the GMSC of the home PLMN (Public Land
Mobile Network)
 GMSC requests the current routing address (MSRN)
from the HLR using MAP
 By way of MSRN the call is forwarded to the local MSC
 Local MSC determines the TMSI of the MS (by
querying VLR) and initiates the paging procedure in the
relevant LA
 After MS responds to the page the connection can be
switched through.
Hui Zhang, Fall 2012 36
36
Abbreviations
 ISC: International switching center
 OMC: Operations and maintenance center
 GMSC: Gateway switching center
 MSC: Mobile switching center
 VLR: Visitor location register
 HLR: Home Location register
 EIR: Equipment Identification register
 AUC: Authentication center
 BSC: Base station controller
 BTS: Base transceiver station
 MS: Mobile subscriber
 TMSI: Temporary Mobile Subscriber Identity
 IMSI: International Mobile Subscriber Identity

More Related Content

Similar to lecture23.ppt

Mobile Networking through Mobile IP
Mobile Networking through Mobile IPMobile Networking through Mobile IP
Mobile Networking through Mobile IPAshish Chandurkar
 
Mobile
MobileMobile
MobileLE RUE
 
Mobile
MobileMobile
MobileLE RUE
 
Seminar technical
Seminar technicalSeminar technical
Seminar technicalt4cashish
 
Mobile ip overview
Mobile ip overviewMobile ip overview
Mobile ip overviewpriya Nithya
 
Implementation of Cellular IP and Its Performance Analysis
Implementation of Cellular IP and Its Performance AnalysisImplementation of Cellular IP and Its Performance Analysis
Implementation of Cellular IP and Its Performance AnalysisIOSR Journals
 
presentation on gsm architecture and fixed assignment
presentation on gsm architecture and fixed assignmentpresentation on gsm architecture and fixed assignment
presentation on gsm architecture and fixed assignmentFabiha Ain
 
mobile computing and ad hoc network
mobile computing and ad hoc networkmobile computing and ad hoc network
mobile computing and ad hoc networkitsjadu
 
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IP
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IPA Proposed Technique For Solving The Triangle Routing Problem In Mobile IP
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IPMartha Brown
 
ip routing and troubleshooting algorithms
ip routing and troubleshooting algorithmsip routing and troubleshooting algorithms
ip routing and troubleshooting algorithmsVo Cong Minh
 

Similar to lecture23.ppt (20)

Mobileip 161105154557
Mobileip 161105154557Mobileip 161105154557
Mobileip 161105154557
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobileip 161105154557
Mobileip 161105154557Mobileip 161105154557
Mobileip 161105154557
 
Mobile Networking through Mobile IP
Mobile Networking through Mobile IPMobile Networking through Mobile IP
Mobile Networking through Mobile IP
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobile
MobileMobile
Mobile
 
Mobile
MobileMobile
Mobile
 
Seminar technical
Seminar technicalSeminar technical
Seminar technical
 
Mobile Data Networks
Mobile Data NetworksMobile Data Networks
Mobile Data Networks
 
Mobile computing
Mobile computingMobile computing
Mobile computing
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
It2402 mobile communication unit 4
It2402 mobile communication unit 4It2402 mobile communication unit 4
It2402 mobile communication unit 4
 
Mobile ip overview
Mobile ip overviewMobile ip overview
Mobile ip overview
 
Implementation of Cellular IP and Its Performance Analysis
Implementation of Cellular IP and Its Performance AnalysisImplementation of Cellular IP and Its Performance Analysis
Implementation of Cellular IP and Its Performance Analysis
 
presentation on gsm architecture and fixed assignment
presentation on gsm architecture and fixed assignmentpresentation on gsm architecture and fixed assignment
presentation on gsm architecture and fixed assignment
 
It6601 mc - qb - part a (2) (1)
It6601   mc - qb - part a (2) (1)It6601   mc - qb - part a (2) (1)
It6601 mc - qb - part a (2) (1)
 
mobile computing and ad hoc network
mobile computing and ad hoc networkmobile computing and ad hoc network
mobile computing and ad hoc network
 
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IP
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IPA Proposed Technique For Solving The Triangle Routing Problem In Mobile IP
A Proposed Technique For Solving The Triangle Routing Problem In Mobile IP
 
Mobile IP 1
Mobile IP 1Mobile IP 1
Mobile IP 1
 
ip routing and troubleshooting algorithms
ip routing and troubleshooting algorithmsip routing and troubleshooting algorithms
ip routing and troubleshooting algorithms
 

More from HazemElabed2

More from HazemElabed2 (6)

5033467 (1).ppt
5033467 (1).ppt5033467 (1).ppt
5033467 (1).ppt
 
3G.ppt
3G.ppt3G.ppt
3G.ppt
 
3G.ppt
3G.ppt3G.ppt
3G.ppt
 
ASN1_intro.pdf
ASN1_intro.pdfASN1_intro.pdf
ASN1_intro.pdf
 
fdocuments.net_gsm-call-flows-5584455b2833e.ppt
fdocuments.net_gsm-call-flows-5584455b2833e.pptfdocuments.net_gsm-call-flows-5584455b2833e.ppt
fdocuments.net_gsm-call-flows-5584455b2833e.ppt
 
saag-3.ppt
saag-3.pptsaag-3.ppt
saag-3.ppt
 

Recently uploaded

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 

Recently uploaded (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 

lecture23.ppt

  • 1. Hui Zhang, Fall 2012 1 15-441 Computer Networking Mobility
  • 2. Hui Zhang, Fall 2012 2 Many Mobility Scenario’s  Mobile hosts connecting to networked infrastructure (focus of this lecture) - Cell phones connecting to cell towers - Laptops connecting to access points  Ad hoc networks: a set of mobile nodes communicating with each other with no additional networked infrastructure - Extra challenges: routing and possible mobility  Sensor networks (ad hoc +) - More resource constrained mobile nodes  Vehicular networks - Extreme mobility
  • 3. Hui Zhang, Fall 2012 3 Routing to Mobile Nodes  Obvious solution: have mobile nodes advertise route to mobile address/32 - Should work!!!  Why is this bad? - Consider forwarding tables on backbone routers • Would have an entry for each mobile host • Not very scalable  What are some possible solutions?
  • 4. Hui Zhang, Fall 2012 4 How to Handle Mobile Nodes? (Addressing)  Dynamic Host Configuration (DHCP) - Host gets new IP address in new locations - Problems • Host does not have constant name/address  how do others contact host • What happens to active transport connections?
  • 5. Hui Zhang, Fall 2012 5 How to Handle Mobile Nodes? (Naming)  Naming - Use DHCP and update name-address mapping whenever host changes address - Fixes contact problem but not broken transport connections
  • 6. Hui Zhang, Fall 2012 6 How to Handle Mobile Nodes? (Transport)  TCP currently uses 4 tuple to describe connection - <Src Addr, Src port, Dst addr, Dst port>  Modify TCP to allow peer’s address to be changed during connection  Security issues - Can someone easily hijack connection?  Difficult deployment  both ends must support mobility
  • 7. Hui Zhang, Fall 2012 7 How to Handle Mobile Nodes? (Link Layer)  Link layer mobility - Learning bridges can handle mobility  this is how it is handled at CMU - Encapsulated PPP (PPTP)  Have mobile host act like he is connected to original LAN • Works for IP AND other network protocols
  • 8. Hui Zhang, Fall 2012 8 How to Handle Mobile Nodes? (Routing)  Allow mobile node to keep same address and name  How do we deliver IP packets when the endpoint moves? - Can’t just have nodes advertise route to their address  What about packets from the mobile host? - Routing not a problem - What source address on packet?  this can cause problems  Key design considerations - Scale - Incremental deployment
  • 9. Hui Zhang, Fall 2012 9 Basic Solution to Mobile Routing  Same as other problems in computer science - Add a level of indirection  Keep some part of the network informed about current location - Need technique to route packets through this location (interception)  Need to forward packets from this location to mobile host (delivery)
  • 10. Hui Zhang, Fall 2012 10 Interception  Somewhere along normal forwarding path - At source - Any router along path - Router to home network - Machine on home network (masquerading as mobile host)  Clever tricks to force packet to particular destination - “Mobile subnet” – assign mobiles a special address range and have special node advertise route
  • 11. Hui Zhang, Fall 2012 11 Delivery  Need to get packet to mobile’s current location  Tunnels - Tunnel endpoint = current location - Tunnel contents = original packets  Source routing - Loose source route through mobile current location
  • 12. Hui Zhang, Fall 2012 12 Mobile IP (RFC 2290)  Interception - Typically home agent – a host on home network  Delivery - Typically IP-in-IP tunneling - Endpoint – either temporary mobile address or foreign agent  Terminology - Mobile host (MH), correspondent host (CH), home agent (HA), foreign agent (FA) - Care-of-address, home address
  • 13. Hui Zhang, Fall 2012 13 Lecture 21: 2006-11-16 13 Mobile IP (MH at Home) Mobile Host (MH) Visiting Location Home Internet Correspondent Host (CH) Packet
  • 14. Hui Zhang, Fall 2012 14 Mobile IP (MH Moving) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Mobile Host (MH) I am here
  • 15. Hui Zhang, Fall 2012 15 Mobile IP (MH Away – FA) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Foreign Agent (FA) Encapsulated Mobile Host (MH)
  • 16. Hui Zhang, Fall 2012 16 Mobile IP (MH Away - Collocated) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Mobile Host (MH) Encapsulated
  • 17. Hui Zhang, Fall 2012 17 Other Mobile IP Issues  Route optimality - Resulting paths can be sub-optimal - Can be improved with route optimization • Unsolicited binding cache update to sender  Authentication - Registration messages - Binding cache updates  Must send updates across network - Handoffs can be slow  Problems with basic solution - Triangle routing - Reverse path check for security
  • 18. Hui Zhang, Fall 2012 18 State of Mobile Networks  Getting a new name and address via DHCP is the most commonly used solution for laptops, as long as - it is a client machine (what is the difference between a server and client machine?) - Single consistent TCP connection during mobility is not important  Cell network is the commonly used solution to support continuous mobility - Overview slides attached. For information only. Not required for exam.  Mobile IP not as widely used - Why?  Will cover ad hoc networks, sensor networks, vehicular networks in two weeks - Check out Professor Srini Seshan’s 15-446 class next semester
  • 19. Hui Zhang, Fall 2012 19 GSM Mobility Management (not required for exam) Originals by: Rashmi Nigalye, Mouloud Rahmani, Aruna Vegesana, Garima Mittal, Fall 2001 Prof. M. Veeraraghavan, Polytechnic University, New York • GSM architecture overview – Network layout – Protocols – Addresses & identifiers • Location management – Call delivery + location update • Handover management
  • 20. Hui Zhang, Fall 2012 20 GSM network layout GSM Network (PLMN) MSC region MSC region MSC region Location area BSC BSC Location area BTS BTS PLMN: Public Land Mobile Network MSC: Mobile Switching Center BTS: Base Transceiver Station BSC: Base Station Controller
  • 21. Hui Zhang, Fall 2012 21 GSM network layout BSC MSC BSC BTS EIR HLR AUC VLR BTS BTS Um A Abis E B,C OMC GMSC PSTN ISDN
  • 22. Hui Zhang, Fall 2012 22 GSM MAP protocol  GSM MAP similar to IS41 MAP  MAP uses Transactions Capabilities Part (TCAP) of the SS7 stack  MAP functions: - Updating of location information in VLRs - Storing routing information in HLRs - Updating and supplementing user profiles in HLRs - Handoff of connections between MSCs
  • 23. Hui Zhang, Fall 2012 23 What is a location area (LA)?  A powered-on mobile is informed of an incoming call by a paging message sent over the PAGCH channel of a cell  One extreme is to page every cell in the network for each call - a waste of radio bandwidth  Other extreme is to have a mobile send location updates at the cell level. Paging cut to 1 cell, but large number of location updating messages.  Hence, in GSM, cells are grouped into Location Areas – updates sent only when LA is changed; paging message sent to all cells in last known LA
  • 24. Hui Zhang, Fall 2012 24 Addresses and Identifiers  International Mobile Station Equipment Identity (IMEI) - It is similar to a serial number. It is allocated by equipment manufacturer, registered by network, and stored in EIR  International Mobile Subscriber Identity (IMSI) MCC MNC MSIN MCC: Country Code MNC: Mobile Network Code MSIN: Mobile Subscriber Identification Number When subscribing for service with a network, subscriber receives (IMSI) and stores it in the SIM (Subscriber Identity Module) card. The HLR can be identified by a VLR/MSC from the IMSI.
  • 25. Hui Zhang, Fall 2012 25 Addresses and Identifiers  Mobile Subscriber ISDN (MSISDN) - The “real telephone number”: assigned to the SIM - The SIM can have several MSISDN numbers for selection of different services like voice, data, fax CC NDC SN NDC: National Destination Code (NDC identifies operator); SN: Subscriber Number; CC: Country Code; Digits following NDC identifies the HLR
  • 26. Hui Zhang, Fall 2012 26 Addresses and Identifiers  Mobile Station Roaming Number (MSRN) - It is temporary location dependent ISDN number - It is assigned by local VLR to each MS in its area. CC NDC SN
  • 27. Hui Zhang, Fall 2012 27 Addresses and identifiers  Temporary Mobile Subscriber Identity (TMSI) - It is an alias of the IMSI and is used in its place for privacy. - It is used to avoid sending IMSI on the radio path. - It is an temporary identity that is allocated to an MS by the VLR at inter-VLR registration, and can be changed by the VLR - TMSI is stored in MS SIM card and in VLR.
  • 28. Hui Zhang, Fall 2012 28 TMSI, IMSI, MSRN and MSISDN  Unlike MSISDN, IMSI is not known to the GSM user. The CC of MSISDN translates to an MCC of IMSI as follows, e.g, Denmark CC: 45 MCC: 238  TMSI is used instead of IMSI during location update to protect privacy. As user moves, TMSI is used to send location update. Thus a third party snooping on the wireless link cannot track a user as he/she moves.  MSRN is the routing number that identifies the current location of the called MS. - MSRN is temporary network identity assigned to a mobile subscriber. - MSRN identifies the serving MSC/VLR. - MSRN is used for call delivery (calls incoming to an MS).  MSISDN is the dialed number to reach a GSM user
  • 29. Hui Zhang, Fall 2012 29 Addresses and Identifiers  Location Area ID (LAI) - CC: Country Code, MNC:Mobile Network Code, LAC: Location Area Code - LAI is broadcast regularly by Base Station on BCCH - Each cell is identified uniquely as belonging to an LA by its LAI CC MNC LAC
  • 30. Hui Zhang, Fall 2012 30 Location management  Set of procedures to: - track a mobile user - find the mobile user to deliver it calls  Current location of MS maintained by 2-level hierarchical strategy with HLRs and VLRs.
  • 31. Hui Zhang, Fall 2012 31 Ways to obtain MSRN 1. Obtaining at location update – MSRN for the MS is assigned at the time of each location update, and is stored in the HLR. This way the HLR is in a position to immediately supply the routing info (MSRN) needed to switch a call through to the local MSC. 2. Obtaining on a per call basis – This case requires that the HLR has at least an identification for the currently responsible VLR. When routing info is requested from the HLR, it first has to obtain the MSRN from the VLR. This MSRN is assigned on a per call basis, i.e. each call involves a new MSRN assignment
  • 32. Hui Zhang, Fall 2012 32 Routing information: case when MSRN is selected per call by VLR/MSC  If MSRN is allocated to each subscriber visiting at an MSC, then the number of MSRNs required is large. If instead, an MSRN is allocated only when a call is to be established, then the number of MSRNs is roughly equal to number of circuits at MSC – a much smaller number – hence MSRNs typically allocated per call by VLR/MSC MSISDN GMSC HLR  MSC/VLR    MSISDNIMSI, VLR number MSRN
  • 33. Hui Zhang, Fall 2012 33 Call routing to a mobile station: case when HLR returns MSRN GMSC BSC BSC EIR HLR AUC VLR MSC BTS BTS BTS LA 1 LA 2 ISDN 1 MS 1 MSISDN 6 TMSI 4 MSRN 3 MSRN 2 MSISDN 7 TMSI 7 TMSI 7 TMSI 8 TMSI 5 MSRN MSC
  • 34. Hui Zhang, Fall 2012 34 Messages exchanged: call delivery PSTN GMSC HLR VLR Target MSC Originating Switch GMSC HLR VLR Target MSC 1. ISUP IAM 2. MAP_SEND_ROUTING_INFO 3. MAP_PROVIDE_ROAMING_NUMBER 4. MAP_PROVIDE_ROAMING_NUMBER_ack 5. MAP_SEND_ROUTING_INFO_ack 6. ISUP IAM 1 2 3 4 5 6
  • 35. Hui Zhang, Fall 2012 35 Find operation in GSM  ISDN switch recognizes from the MSISDN that the call subscriber is a mobile subscriber. Therefore, forward the call to the GMSC of the home PLMN (Public Land Mobile Network)  GMSC requests the current routing address (MSRN) from the HLR using MAP  By way of MSRN the call is forwarded to the local MSC  Local MSC determines the TMSI of the MS (by querying VLR) and initiates the paging procedure in the relevant LA  After MS responds to the page the connection can be switched through.
  • 36. Hui Zhang, Fall 2012 36 36 Abbreviations  ISC: International switching center  OMC: Operations and maintenance center  GMSC: Gateway switching center  MSC: Mobile switching center  VLR: Visitor location register  HLR: Home Location register  EIR: Equipment Identification register  AUC: Authentication center  BSC: Base station controller  BTS: Base transceiver station  MS: Mobile subscriber  TMSI: Temporary Mobile Subscriber Identity  IMSI: International Mobile Subscriber Identity