chindi chor notes
Unit III: Mobile IP and Mobile TCP
Mobile IP
Definition and Purpose:
Mobile IP is a standard communication protocol designed to allow users to
move across different networks without changing their IP address. It ensures
seamless communication during mobility and is particularly useful for mobile
users like laptops, tablets, and smartphones.
Features of Mobile IP:
1. Supports device mobility across multiple networks.
2. Ensures uninterrupted service during network transitions.
3. Provides compatibility with IPv4 and IPv6.
4. Introduces transparency in handovers without requiring modifications to
higher-layer protocols or applications.
Key Mechanisms in Mobile IP:
1. Agent Discovery:
Mobile devices use this process to detect Home Agents and Foreign
Agents.
Agents advertise their presence through ICMP Router Advertisement
messages.
2. Registration:
Mobile nodes register with their Home Agent (via a Foreign Agent if
required).
Registration includes authentication to prevent unauthorized access.
3. Tunneling and Encapsulation:
chindi chor notes 1
Encapsulation: The Home Agent wraps the data packet with an
additional header before forwarding it to the Foreign Agent.
Decapsulation: The Foreign Agent removes the header and forwards
the packet to the mobile node.
Tunneling ensures proper routing to the mobile device.
4. Reverse Tunneling:
Ensures that packets sent by the mobile node travel back through the
Home Agent to avoid routing issues and security violations.
Routing Protocols:
1. DSDV (Destination-Sequenced Distance-Vector):
Table-driven protocol.
Each node maintains a list of all available destinations and the number
of hops required to reach them.
Updates are shared periodically to maintain routing tables.
2. DSR (Dynamic Source Routing):
On-demand protocol.
Source routing is used, where the sender specifies the complete path
the packet should take.
Reduces control overhead but can cause longer delays.
Route Optimization:
Enhances routing efficiency by bypassing the Home Agent for packet
delivery.
Involves updating the correspondent node about the mobile node’s care-of
address.
IP Handoff:
Ensures continuous communication during transitions between networks.
Includes two types:
1. Hard Handoff: Break-before-make (disconnection before connection).
chindi chor notes 2
2. Soft Handoff: Make-before-break (connection established before
disconnection).
Mobile TCP
Challenges of Traditional TCP in Mobile Environments:
1. High error rates in wireless links.
2. Frequent disconnections due to mobility.
3. Variable bandwidth and delay.
4. TCP’s congestion control mechanisms are ineffective in handling wireless
losses.
Classical TCP Improvements:
1. Indirect TCP (I-TCP):
Divides the TCP connection into fixed and wireless parts.
Wireless part is optimized for mobile devices, while fixed part uses
standard TCP.
Reduces retransmission delays due to wireless losses.
2. Snooping TCP:
Enhances performance by caching unacknowledged packets at the
base station.
Retransmits locally when packets are lost, reducing end-to-end
retransmission delays.
3. Mobile TCP:
Includes mechanisms to handle mobile-specific challenges, like
handoffs and temporary disconnections.
Performance Enhancements:
1. Fast Retransmit/Fast Recovery:
Quickly retransmits packets after detecting loss using duplicate
acknowledgments (dupACKs).
chindi chor notes 3
Avoids waiting for timeout.
2. Transmission/Timeout Freezing:
Freezes timers during disconnections and resumes them when
connectivity is restored.
3. Selective Retransmission:
Only retransmits specific lost packets instead of retransmitting the
entire window.
Saves bandwidth and reduces latency.
Wireless Application Protocol (WAP)
Introduction:
WAP is a protocol suite enabling mobile devices with limited processing power,
memory, and bandwidth to access the Internet.
Applications:
1. Mobile web browsing.
2. Email services on mobile devices.
3. E-commerce and m-commerce.
4. News and weather updates.
Architecture:
1. Application Layer: Supports applications like web browsers and email
clients.
2. Session Layer: Provides transaction support (e.g., secure session
handling).
3. Transport Layer: Ensures reliable delivery of data over wireless networks.
4. Network Layer: Handles data routing and packet forwarding.
Challenges:
1. Limited processing power of mobile devices.
chindi chor notes 4
2. Low bandwidth and high latency of wireless networks.
3. Compatibility with existing Internet protocols.
Unit IV: Bluetooth and Mobile Technologies
Bluetooth
Introduction:
Bluetooth is a short-range wireless communication technology that operates in
the 2.4 GHz ISM band.
User Scenarios:
1. Connecting wireless peripherals like headphones, keyboards, and mice.
2. File sharing between devices.
3. IoT device communication.
4. Hands-free calling in vehicles.
Architecture and Protocol Stack:
1. Baseband Layer: Responsible for establishing physical connections.
2. L2CAP (Logical Link Control and Adaptation Protocol): Provides data
multiplexing and packet segmentation.
3. Profiles: Define specific applications, e.g., A2DP (audio streaming), HSP
(headset profile).
IP Mobility
Definition:
Ensures uninterrupted communication while the device moves across
networks.
Macro Mobility and Micro Mobility:
Macro Mobility:
chindi chor notes 5
Movement across different geographic locations, e.g., between cities or
countries.
Requires updates to the global routing tables.
Micro Mobility:
Movement within a local network, e.g., campus or office premises.
Achieved through local handoffs without global route updates.
Introduction to 4G and 5G
4G (Fourth Generation):
1. Supports IP-based communication for voice, data, and multimedia.
2. Offers speeds up to 1 Gbps for stationary users.
3. Enables services like HD video streaming, online gaming, and cloud
computing.
5G (Fifth Generation):
1. Delivers speeds up to 10 Gbps with ultra-low latency (<1 ms).
2. Supports massive IoT devices and smart cities.
3. Uses advanced technologies like beamforming, massive MIMO, and
network slicing.
LTE (Long-Term Evolution)
Offers high-speed data transmission with better spectral efficiency and
reduced latency.
HIPERLAN (High-Performance Radio LAN)
Standard for high-speed wireless LANs, supporting multimedia and real-time
applications.
Mobile Device Operating Systems
Examples:
chindi chor notes 6
1. iOS: Known for its user-friendly interface and security features.
2. Android: Open-source and customizable, widely used on various devices.
3. BlackBerry OS: Focuses on enterprise security and productivity.
4. Windows Phone: Seamless integration with Microsoft services.
Special Constraints & Requirements
Constraints include:
1. Limited battery life.
2. Small screens and low processing power.
3. High variability in network conditions.
4. Limited storage space on mobile devices.
Software Development Kits (SDKs)
iOS SDK: Includes tools like Xcode, Interface Builder, and Instruments.
Android SDK: Provides APIs, emulators, and tools like Android Studio.
Mobile Commerce (M-Commerce)
Applications:
1. Online shopping and ticket booking.
2. Mobile banking and financial transactions.
3. Digital wallet integration.
Structure and Mobile Payment Systems
Components:
1. User Authentication (e.g., biometric, OTP).
2. Secure Payment Gateways.
3. Integration with UPI, credit cards, and wallets.
Examples: Paytm, Google Pay, Apple Pay, PayPal.
chindi chor notes 7
chindi chor notes 8