SlideShare a Scribd company logo
Mobile IP and
Wireless Application
Protocol
Chapter 12
Mobile IP Uses
 Enable computers to maintain Internet
connectivity while moving from one
Internet attachment point to another
 Mobile – user's point of attachment changes
dynamically and all connections are
automatically maintained despite the
change
 Nomadic - user's Internet connection is
terminated each time the user moves and a
new connection is initiated when the user
dials back in
 New, temporary IP address is assigned
Operation of Mobile IP
 Mobil node is assigned to a particular
network – home network
 IP address on home network is static –
home address
 Mobile node can move to another network
– foreign network
 Mobile node registers with network node
on foreign network – foreign agent
 Mobile node gives care-of address to agent
on home network – home agent
Capabilities of Mobile IP
 Discovery – mobile node uses discovery procedure to identify
prospective home and foreign agents
 Registration – mobile node uses an authenticated registration
procedure to inform home agent of its care-of address
 Tunneling – used to forward IP datagrams from a home
address to a care-of address
Discovery
 Mobile node is responsible for ongoing
discovery process
 Must determine if it is attached to its home
network or a foreign network
 Transition from home network to foreign
network can occur at any time without
notification to the network layer
 Mobile node listens for agent advertisement
messages
 Compares network portion of the router's IP
address with the network portion of home
address
Agent Solicitation
 Foreign agents are expected to issue agent advertisement
messages periodically
 If a mobile node needs agent information immediately, it can
issue ICMP router solicitation message
 Any agent receiving this message will then issue an agent
advertisement
Move Detection
 Mobile node may move from one network
to another due to some handoff mechanism
without IP level being aware
 Agent discovery process is intended to enable
the agent to detect such a move
 Algorithms to detect move:
 Use of lifetime field – mobile node uses lifetime
field as a timer for agent advertisements
 Use of network prefix – mobile node checks if
any newly received agent advertisement
messages are on the same network as the node's
current care-of address
Co-Located Addresses
 If mobile node moves to a network that has no
foreign agents, or all foreign agents are busy, it
can act as its own foreign agent
 Mobile agent uses co-located care-of address
 IP address obtained by mobile node associated with
mobile node's current network interface
 Means to acquire co-located address:
 Temporary IP address through an Internet service,
such as DHCP
 May be owned by the mobile node as a long-term
address for use while visiting a given foreign
network
Registration Process
 Mobile node sends registration request to foreign agent
requesting forwarding service
 Foreign agent relays request to home agent
 Home agent accepts or denies request and sends registration
reply to foreign agent
 Foreign agent relays reply to mobile node
Registration Operation Messages
 Registration request message
 Fields = type, S, B, D, M, V, G, lifetime, home address, home
agent, care-of-address, identification, extensions
 Registration reply message
 Fields = type, code, lifetime, home address, home agent,
identification, extensions
Registration Procedure Security
 Mobile IP designed to resist attacks
 Node pretending to be a foreign agent sends
registration request to a home agent to divert
mobile node traffic to itself
 Agent replays old registration messages to cut
mobile node from network
 For message authentication, registration
request and reply contain authentication
extension
 Fields = type, length, security parameter index
(SPI), authenticator
Types of Authentication
Extensions
 Mobile-home – provides for authentication
of registration messages between mobile
node and home agent; must be present
 Mobile-foreign – may be present when a
security association exists between mobile
node and foreign agent
 Foreign-home – may be present when a
security association exists between foreign
agent and home agent
Tunneling
 Home agent intercepts IP datagrams sent to mobile node's
home address
 Home agent informs other nodes on home network that datagrams
to mobile node should be delivered to home agent
 Datagrams forwarded to care-of address via tunneling
 Datagram encapsulated in outer IP datagram
Mobile IP Encapsulation Options
 IP-within-IP – entire IP datagram becomes payload in
new IP datagram
 Original, inner IP header unchanged except TTL
decremented by 1
 Outer header is a full IP header
 Minimal encapsulation – new header is inserted
between original IP header and original IP payload
 Original IP header modified to form new outer IP header
 Generic routing encapsulation (GRE) – developed
prior to development of Mobile IP
Wireless Application Protocol
(WAP)
 Open standard providing mobile users of
wireless terminals access to telephony and
information services
 Wireless terminals include wireless phones,
pagers and personal digital assistants (PDAs)
 Designed to work with all wireless network
technologies such as GSM, CDMA, and TDMA
 Based on existing Internet standards such as IP,
XML, HTML, and HTTP
 Includes security facilities
WAP Protocol Stack
WAP Programming Model
Wireless Markup Language
(WML) Features
 Text and image support – formatting and
layout commands
 Deck/card organizational metaphor – WML
documents subdivided into cards, which
specify one or more units of interaction
 Support for navigation among cards and
decks – includes provisions for event
handling; used for navigation or executing
scripts
WMLScript
 Scripting language for defining script-type programs in a user
device with limited processing power and memory
 WMLScript capabilities:
 Check validity of user input before it’s sent
 Access device facilities and peripherals
 Interact with user without introducing round trips to origin server
WMLScript
 WMLScript features:
 JavaScript-based scripting language
 Procedural logic
 Event-based
 Compiled implementation
 Integrated into WAE
Wireless Application
Environment (WAE) WAE specifies an application framework for wireless
devices
 WAE elements:
 WAE User agents – software that executes in the wireless
device
 Content generators – applications that produce standard
content formats in response to requests from user agents in
the mobile terminal
 Standard content encoding – defined to allow a WAE user
agent to navigate Web content
 Wireless telephony applications (WTA) – collection of
telephony-specific extensions for call and feature control
mechanisms
WAE Client Components
Wireless Session Protocol (WSP)
 Transaction-oriented protocol based on the concept of a
request and a reply
 Provides applications with interface for two session services:
 Connection-oriented session service – operates above reliable
transport protocol WTP
 Connectionless session service – operates above unreliable
transport protocol WDP
Connection-mode WSP Services
 Establish reliable session from client to
server and release
 Agree on common level of protocol
functionality using capability negotiation
 Exchange content between client and server
using compact encoding
 Suspend and resume a session
 Push content from server to client in an
unsynchronized manner
WSP Transaction Types
 Session establishment – client WSP user requests
session with server WSP user
 Session termination – client WSP user initiates
termination
 Session suspend and resume – initiated with
suspend and resume requests
 Transaction – exchange of data between a client
and server
 Nonconfirmed data push – used to send
unsolicited information from server to client
 Confirmed data push – server receives delivery
confirmation from client
Wireless Transaction Protocol
(WTP)
 Lightweight protocol suitable for "thin"
clients and over low-bandwidth wireless
links
 WTP features
 Three classes of transaction service
 Optional user-to-user reliability: WTP user
triggers confirmation of each received
message
 Optional out-of-band data on
acknowledgments
 PDU concatenation and delayed
WTP Transaction Classes
 Class 0: Unreliable invoke message with no result message
 Class 1: Reliable invoke message with no result message
 Class 2: Unreliable invoke message with one reliable result
message
WTP PDU Types
 Invoke PDU – used to convey a request from an
initiator to a responder
 ACK PDU – used to acknowledge an Invoke or
Result PDU
 Result PDU – used to convey response of the
server to the client
 Abort PDU – used to abort a transaction
 Segmented invoke PDU and segmented result
PDU – used for segmentation and reassembly
 Negative acknowledgment PDU – used to indicate
that some packets did not arrive
Examples of WTP Operation
Wireless Transport Layer
Security (WTLS) Features
 Data integrity – ensures that data sent
between client and gateway are not
modified, using message authentication
 Privacy – ensures that the data cannot be
read by a third party, using encryption
 Authentication – establishes
authentication of the two parties, using
digital certificates
 Denial-of-service protection – detects
and rejects messages that are replayed or
not successfully verified
WTLS Protocol Stack
 WTLS consists of two layers of protocols
 WTLS Record Protocol – provides basic security services to
various higher-layer protocols
 Higher-layer protocols:
 The Handshake Protocol
 The Change Cipher Spec Protocol
 The Alert Protocol
WTLS Protocol Stack
WTLS Record Protocol
Operation
Phases of the Handshake
Protocol Exchange
 First phase – used to initiate a logical
connection and establish security
capabilities
 Second phase – used for server
authentication and key exchange
 Third phase – used for client
authentication and key exchange
 Forth phase – completes the setting up
of a secure connection
Wireless Datagram Protocol
(WDP)
 Used to adapt higher-layer WAP
protocol to the communication
mechanism used between mobile node
and WAP gateway
 WDP hides details of the various bearer
networks from the other layers of WAP
 Adaptation may include:
 Partitioning data into segments of
appropriate size for the bearer
 Interfacing with the bearer network
Wireless Control Message
Protocol (WCMP)
 Performs the same support function for
WDP as ICMP does for IP
 Used in environments that don’t provide
IP bearer and don’t lend themselves to
the use of ICMP
 Used by wireless nodes and WAP
gateways to report errors encountered in
processing WDP datagrams
 Can also be used for informational and
diagnostic purposes

More Related Content

PPT
Design of a Virtual Private Network
PDF
Deep Packet Inspection (DPI) Test Methodology
DOCX
DOC
Virtual private network
PPTX
VPN Network
PPT
Virtual Private Network main
PPT
Vpn networks kami
PPT
Vpn Virtual Private Network
Design of a Virtual Private Network
Deep Packet Inspection (DPI) Test Methodology
Virtual private network
VPN Network
Virtual Private Network main
Vpn networks kami
Vpn Virtual Private Network

What's hot (20)

DOCX
Virtual Private Network
PPT
Vpn " Virtual Private Network "
PPTX
Virtual private network(vpn)
PPT
Vp npresentation
PDF
VPN (virtual private network)
PDF
Mobility Management Approaches for Mobile IP Networks
PDF
DPI BOX: deep packet inspection for ISP traffic management
DOCX
Profile_Prateek
PPT
Vp npresentation (1)
PPTX
VPN (virtual Private Network)
PPTX
Vpn-Virtual Private Network
PPT
Mobile IP 1
PPTX
19.) security pivot (policy byod nac)
PPTX
Virtual Private Network- VPN
PDF
Defend Your DHCP Infrastructure Against Cyber Attacks - Network Security Feat...
PDF
MAF ICIMS™ Monitoring, Analytics & Reporting for Microsoft Teams and UC - glo...
PDF
Mobile IP
PPTX
Wireless lan security(10.8)
Virtual Private Network
Vpn " Virtual Private Network "
Virtual private network(vpn)
Vp npresentation
VPN (virtual private network)
Mobility Management Approaches for Mobile IP Networks
DPI BOX: deep packet inspection for ISP traffic management
Profile_Prateek
Vp npresentation (1)
VPN (virtual Private Network)
Vpn-Virtual Private Network
Mobile IP 1
19.) security pivot (policy byod nac)
Virtual Private Network- VPN
Defend Your DHCP Infrastructure Against Cyber Attacks - Network Security Feat...
MAF ICIMS™ Monitoring, Analytics & Reporting for Microsoft Teams and UC - glo...
Mobile IP
Wireless lan security(10.8)
Ad

Viewers also liked (8)

PPTX
Mobile Computing
PPT
Mobile ip
PPTX
Infrared lan's
PPTX
ENCAPSULATION AND TUNNELING
PPS
PPTX
Mobile IP
PPT
PPT
Transmission Media
Mobile Computing
Mobile ip
Infrared lan's
ENCAPSULATION AND TUNNELING
Mobile IP
Transmission Media
Ad

Similar to Chapter#12 (20)

PPT
Unit iii - mobile ip and wireless access protocol
PPTX
It2402 mobile communication unit 4
PPT
mobile ip, Mobile COmmunication Internet Protocol
PDF
Mobileip 161105154557
PDF
Mobileip 161105154557
PDF
Mobile ip group_3
PPTX
Latest technologies used to transfer data using internet
PPTX
Mobile ip presented by nafiz
PPT
20CS501_Mobile Computing_Unit_II Mobile Internet Protocol and Transport Layer...
PDF
IT6601 MOBILE COMPUTING
PPT
Wireless & Mobile Communications_Third_unit.ppt
PDF
Mobile Communication
PDF
IT6601 Mobile Computing Unit II
PDF
Mobile computing Mobile Transport Layer
PDF
PDF
PPT
lecture23.ppt
PPTX
Tushar mobile i-pv6
PDF
PPTX
MOBILE COMPUTING Unit 2.pptx
Unit iii - mobile ip and wireless access protocol
It2402 mobile communication unit 4
mobile ip, Mobile COmmunication Internet Protocol
Mobileip 161105154557
Mobileip 161105154557
Mobile ip group_3
Latest technologies used to transfer data using internet
Mobile ip presented by nafiz
20CS501_Mobile Computing_Unit_II Mobile Internet Protocol and Transport Layer...
IT6601 MOBILE COMPUTING
Wireless & Mobile Communications_Third_unit.ppt
Mobile Communication
IT6601 Mobile Computing Unit II
Mobile computing Mobile Transport Layer
lecture23.ppt
Tushar mobile i-pv6
MOBILE COMPUTING Unit 2.pptx

More from Syed Muhammad ALi Shah (20)

Recently uploaded (20)

PDF
Well-logging-methods_new................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Geodesy 1.pptx...............................................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Construction Project Organization Group 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
web development for engineering and engineering
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT
Project quality management in manufacturing
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
additive manufacturing of ss316l using mig welding
Well-logging-methods_new................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Sustainable Sites - Green Building Construction
Geodesy 1.pptx...............................................
bas. eng. economics group 4 presentation 1.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mechanical Engineering MATERIALS Selection
Foundation to blockchain - A guide to Blockchain Tech
Model Code of Practice - Construction Work - 21102022 .pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
OOP with Java - Java Introduction (Basics)
Construction Project Organization Group 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
web development for engineering and engineering
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Project quality management in manufacturing
CYBER-CRIMES AND SECURITY A guide to understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
additive manufacturing of ss316l using mig welding

Chapter#12

  • 1. Mobile IP and Wireless Application Protocol Chapter 12
  • 2. Mobile IP Uses  Enable computers to maintain Internet connectivity while moving from one Internet attachment point to another  Mobile – user's point of attachment changes dynamically and all connections are automatically maintained despite the change  Nomadic - user's Internet connection is terminated each time the user moves and a new connection is initiated when the user dials back in  New, temporary IP address is assigned
  • 3. Operation of Mobile IP  Mobil node is assigned to a particular network – home network  IP address on home network is static – home address  Mobile node can move to another network – foreign network  Mobile node registers with network node on foreign network – foreign agent  Mobile node gives care-of address to agent on home network – home agent
  • 4. Capabilities of Mobile IP  Discovery – mobile node uses discovery procedure to identify prospective home and foreign agents  Registration – mobile node uses an authenticated registration procedure to inform home agent of its care-of address  Tunneling – used to forward IP datagrams from a home address to a care-of address
  • 5. Discovery  Mobile node is responsible for ongoing discovery process  Must determine if it is attached to its home network or a foreign network  Transition from home network to foreign network can occur at any time without notification to the network layer  Mobile node listens for agent advertisement messages  Compares network portion of the router's IP address with the network portion of home address
  • 6. Agent Solicitation  Foreign agents are expected to issue agent advertisement messages periodically  If a mobile node needs agent information immediately, it can issue ICMP router solicitation message  Any agent receiving this message will then issue an agent advertisement
  • 7. Move Detection  Mobile node may move from one network to another due to some handoff mechanism without IP level being aware  Agent discovery process is intended to enable the agent to detect such a move  Algorithms to detect move:  Use of lifetime field – mobile node uses lifetime field as a timer for agent advertisements  Use of network prefix – mobile node checks if any newly received agent advertisement messages are on the same network as the node's current care-of address
  • 8. Co-Located Addresses  If mobile node moves to a network that has no foreign agents, or all foreign agents are busy, it can act as its own foreign agent  Mobile agent uses co-located care-of address  IP address obtained by mobile node associated with mobile node's current network interface  Means to acquire co-located address:  Temporary IP address through an Internet service, such as DHCP  May be owned by the mobile node as a long-term address for use while visiting a given foreign network
  • 9. Registration Process  Mobile node sends registration request to foreign agent requesting forwarding service  Foreign agent relays request to home agent  Home agent accepts or denies request and sends registration reply to foreign agent  Foreign agent relays reply to mobile node
  • 10. Registration Operation Messages  Registration request message  Fields = type, S, B, D, M, V, G, lifetime, home address, home agent, care-of-address, identification, extensions  Registration reply message  Fields = type, code, lifetime, home address, home agent, identification, extensions
  • 11. Registration Procedure Security  Mobile IP designed to resist attacks  Node pretending to be a foreign agent sends registration request to a home agent to divert mobile node traffic to itself  Agent replays old registration messages to cut mobile node from network  For message authentication, registration request and reply contain authentication extension  Fields = type, length, security parameter index (SPI), authenticator
  • 12. Types of Authentication Extensions  Mobile-home – provides for authentication of registration messages between mobile node and home agent; must be present  Mobile-foreign – may be present when a security association exists between mobile node and foreign agent  Foreign-home – may be present when a security association exists between foreign agent and home agent
  • 13. Tunneling  Home agent intercepts IP datagrams sent to mobile node's home address  Home agent informs other nodes on home network that datagrams to mobile node should be delivered to home agent  Datagrams forwarded to care-of address via tunneling  Datagram encapsulated in outer IP datagram
  • 14. Mobile IP Encapsulation Options  IP-within-IP – entire IP datagram becomes payload in new IP datagram  Original, inner IP header unchanged except TTL decremented by 1  Outer header is a full IP header  Minimal encapsulation – new header is inserted between original IP header and original IP payload  Original IP header modified to form new outer IP header  Generic routing encapsulation (GRE) – developed prior to development of Mobile IP
  • 15. Wireless Application Protocol (WAP)  Open standard providing mobile users of wireless terminals access to telephony and information services  Wireless terminals include wireless phones, pagers and personal digital assistants (PDAs)  Designed to work with all wireless network technologies such as GSM, CDMA, and TDMA  Based on existing Internet standards such as IP, XML, HTML, and HTTP  Includes security facilities
  • 18. Wireless Markup Language (WML) Features  Text and image support – formatting and layout commands  Deck/card organizational metaphor – WML documents subdivided into cards, which specify one or more units of interaction  Support for navigation among cards and decks – includes provisions for event handling; used for navigation or executing scripts
  • 19. WMLScript  Scripting language for defining script-type programs in a user device with limited processing power and memory  WMLScript capabilities:  Check validity of user input before it’s sent  Access device facilities and peripherals  Interact with user without introducing round trips to origin server
  • 20. WMLScript  WMLScript features:  JavaScript-based scripting language  Procedural logic  Event-based  Compiled implementation  Integrated into WAE
  • 21. Wireless Application Environment (WAE) WAE specifies an application framework for wireless devices  WAE elements:  WAE User agents – software that executes in the wireless device  Content generators – applications that produce standard content formats in response to requests from user agents in the mobile terminal  Standard content encoding – defined to allow a WAE user agent to navigate Web content  Wireless telephony applications (WTA) – collection of telephony-specific extensions for call and feature control mechanisms
  • 23. Wireless Session Protocol (WSP)  Transaction-oriented protocol based on the concept of a request and a reply  Provides applications with interface for two session services:  Connection-oriented session service – operates above reliable transport protocol WTP  Connectionless session service – operates above unreliable transport protocol WDP
  • 24. Connection-mode WSP Services  Establish reliable session from client to server and release  Agree on common level of protocol functionality using capability negotiation  Exchange content between client and server using compact encoding  Suspend and resume a session  Push content from server to client in an unsynchronized manner
  • 25. WSP Transaction Types  Session establishment – client WSP user requests session with server WSP user  Session termination – client WSP user initiates termination  Session suspend and resume – initiated with suspend and resume requests  Transaction – exchange of data between a client and server  Nonconfirmed data push – used to send unsolicited information from server to client  Confirmed data push – server receives delivery confirmation from client
  • 26. Wireless Transaction Protocol (WTP)  Lightweight protocol suitable for "thin" clients and over low-bandwidth wireless links  WTP features  Three classes of transaction service  Optional user-to-user reliability: WTP user triggers confirmation of each received message  Optional out-of-band data on acknowledgments  PDU concatenation and delayed
  • 27. WTP Transaction Classes  Class 0: Unreliable invoke message with no result message  Class 1: Reliable invoke message with no result message  Class 2: Unreliable invoke message with one reliable result message
  • 28. WTP PDU Types  Invoke PDU – used to convey a request from an initiator to a responder  ACK PDU – used to acknowledge an Invoke or Result PDU  Result PDU – used to convey response of the server to the client  Abort PDU – used to abort a transaction  Segmented invoke PDU and segmented result PDU – used for segmentation and reassembly  Negative acknowledgment PDU – used to indicate that some packets did not arrive
  • 29. Examples of WTP Operation
  • 30. Wireless Transport Layer Security (WTLS) Features  Data integrity – ensures that data sent between client and gateway are not modified, using message authentication  Privacy – ensures that the data cannot be read by a third party, using encryption  Authentication – establishes authentication of the two parties, using digital certificates  Denial-of-service protection – detects and rejects messages that are replayed or not successfully verified
  • 31. WTLS Protocol Stack  WTLS consists of two layers of protocols  WTLS Record Protocol – provides basic security services to various higher-layer protocols  Higher-layer protocols:  The Handshake Protocol  The Change Cipher Spec Protocol  The Alert Protocol
  • 34. Phases of the Handshake Protocol Exchange  First phase – used to initiate a logical connection and establish security capabilities  Second phase – used for server authentication and key exchange  Third phase – used for client authentication and key exchange  Forth phase – completes the setting up of a secure connection
  • 35. Wireless Datagram Protocol (WDP)  Used to adapt higher-layer WAP protocol to the communication mechanism used between mobile node and WAP gateway  WDP hides details of the various bearer networks from the other layers of WAP  Adaptation may include:  Partitioning data into segments of appropriate size for the bearer  Interfacing with the bearer network
  • 36. Wireless Control Message Protocol (WCMP)  Performs the same support function for WDP as ICMP does for IP  Used in environments that don’t provide IP bearer and don’t lend themselves to the use of ICMP  Used by wireless nodes and WAP gateways to report errors encountered in processing WDP datagrams  Can also be used for informational and diagnostic purposes