Mobile IP is a network-layer protocol that allows a mobile device to move between networks while retaining its permanent IP address.
Normal IP routing assumes that an IP address identifies both a host and its network location. Mobile IP separates permanent identity from current location.
Need for Mobile IP
Continuous connectivity during movement
Transparent mobility
Existing applications continue working
Permanent home address remains unchanged
2. Components of Mobile IP
Mobile Node: device that changes its network attachment point.
Home Network: permanent network of the mobile node.
Home Agent: maintains the current location of the mobile node.
Foreign Network: network currently visited by the mobile node.
Foreign Agent: assists the mobile node in the visited network.
Care-of Address: temporary address representing the current location.
Correspondent Node: device communicating with the mobile node.
Correspondent Node
|
Internet
|
Home Agent ===== Tunnel ===== Foreign Agent
| |
Home Network Mobile Node
3. Working of Mobile IP
The mobile node detects that it has entered a foreign network.
It obtains a care-of address.
It registers the care-of address with the home agent.
The home agent intercepts packets addressed to the home address.
Packets are tunneled to the care-of address.
The foreign agent or mobile node delivers the packets.
Outgoing packets may be sent directly or through reverse tunneling.
Tunneling
Tunneling encapsulates the original IP packet inside another IP packet for delivery to the current location.
Triangular Routing: Packets from the correspondent node may travel through the home agent, while replies may travel directly.
4. DHCP
DHCP stands for Dynamic Host Configuration Protocol. It automatically assigns IP configuration to devices.
Information Provided
IP address
Subnet mask
Default gateway
DNS server
Lease duration
DORA Process
Discover: client searches for a DHCP server.
Offer: server offers an address.
Request: client requests the offered address.
Acknowledge: server confirms the lease.
Client → Discover → Server
Client ← Offer ← Server
Client → Request → Server
Client ← ACK ← Server
5. Ad Hoc Networks
An ad hoc network is a self-configuring wireless network without fixed infrastructure or centralized control.
Characteristics
Infrastructure-less operation
Dynamic topology
Multi-hop communication
Distributed control
Limited bandwidth
Battery-powered nodes
Rapid deployment
Applications
Military communication
Disaster recovery
Temporary meetings
Vehicle networks
Emergency operations
6. Performance Issues in Ad Hoc Networks
Dynamic topology: routes change frequently.
Limited bandwidth: wireless medium is shared.
Energy limitation: nodes depend on batteries.
Hidden terminal: transmitters may not hear each other.
Scalability: routing overhead increases with network size.
Unreliable links: mobility and fading cause packet loss.
7. Routing in Mobile Hosts
Ad hoc routing protocols discover and maintain paths between mobile nodes.
Proactive Routing
Routes are maintained continuously.
Example: DSDV
Low route-discovery delay
High periodic overhead
Reactive Routing
Routes are discovered only when needed.
Examples: AODV and DSR
Lower regular overhead
Initial route-discovery delay
Hybrid Routing
Combines proactive and reactive methods.
Type
Route Creation
Advantage
Limitation
Proactive
Always maintained
Immediate route
High overhead
Reactive
On demand
Lower overhead
Discovery delay
Hybrid
Combined
Balanced operation
Complex design
8. Wireless Sensor Networks
A wireless sensor network contains small sensor nodes that observe physical conditions and send collected data wirelessly.
Sensor Node Components
Sensing unit
Processing unit
Communication unit
Power unit
Sensor Nodes → Cluster Head / Sink → Base Station → User
Applications
Environmental monitoring
Healthcare
Agriculture
Industrial automation
Military surveillance
Smart cities
Challenges
Limited energy
Limited memory and processing
Coverage and connectivity
Fault tolerance
Security
9. Mobile Transport Layer
Traditional TCP treats packet loss as a sign of congestion. Wireless links may lose packets because of fading, handoff or disconnection, causing unnecessary reduction in transmission rate.
Main Problems
Wireless transmission errors
Temporary disconnections
Long and variable delay
Frequent handoff
Asymmetric links
10. Indirect TCP
Indirect TCP splits one TCP connection into a wired connection and a wireless connection at the base station.
Fixed Host ===== TCP ===== Base Station ===== Wireless TCP ===== Mobile Host
Advantages
Wireless losses are hidden from the fixed host.
Different protocols can be used on the wireless link.
Fast local retransmission is possible.
Limitations
End-to-end TCP semantics are broken.
Base station stores connection state.
Handoff requires state transfer.
11. Snooping TCP
Snooping TCP uses an agent at the base station to monitor TCP packets and perform local retransmissions.
Working
Base station caches unacknowledged TCP packets.
It observes acknowledgements from the mobile host.
If wireless loss is detected, it retransmits locally.
Duplicate acknowledgements may be suppressed.
Advantages
Maintains end-to-end TCP semantics
No major change at fixed host
Quick local recovery
Limitation
Encrypted traffic may prevent the snooping agent from reading transport headers.
12. Mobile TCP
Mobile TCP supports mobility and temporary disconnections without causing unnecessary congestion control at the sender.
Main Idea
A supervisory host monitors the mobile connection.
During disconnection, the sender is placed in a controlled state.
After reconnection, transmission resumes without slow-start penalties caused by false congestion assumptions.
13. Timeout Freezing
Timeout freezing prevents the TCP sender from allowing its retransmission timer to expire during a known temporary disconnection.
Working
The mobile predicts disconnection.
It informs the sender through a special signal.
The sender freezes timers and congestion state.
After reconnection, the mobile signals the sender.
Transmission continues from the previous state.
Limitation
The mobile must detect the disconnection before it occurs.
14. Selective Retransmission
Selective retransmission sends only the packets that were actually lost instead of retransmitting a complete sequence of correctly received packets.
Benefits
Saves wireless bandwidth
Reduces delay
Improves performance on error-prone links
Avoids unnecessary retransmissions
15. Transaction-Oriented TCP
Transaction-oriented TCP is designed for short request-response exchanges and reduces connection-establishment overhead.
It is useful for applications that send a small request and receive a small response, such as mobile queries.
Advantages
Lower setup overhead
Reduced delay
Suitable for short transactions
16. Introduction to WAP
WAP stands for Wireless Application Protocol. It provides a framework for delivering internet-style services to mobile devices.
WAP Architecture
Mobile Device
|
WAP Protocol Stack
|
WAP Gateway
|
Web Server
WAP Protocol Stack
WAE: Wireless Application Environment
WSP: Wireless Session Protocol
WTP: Wireless Transaction Protocol
WTLS: Wireless Transport Layer Security
WDP: Wireless Datagram Protocol
Advantages
Designed for low-bandwidth networks
Supports limited mobile devices
Provides session and security services
Unit 4 Summary
Mobile IP preserves connectivity while a host changes networks.
DHCP automatically provides IP configuration.
Ad hoc networks work without fixed infrastructure.
Routing may be proactive, reactive or hybrid.
Wireless sensor networks collect and forward environmental data.
Indirect TCP splits the connection at a base station.
Snooping TCP performs local retransmission while preserving end-to-end semantics.
Timeout freezing prevents false TCP timeouts.
WAP delivers mobile-oriented network services.
Important RGPV Exam Questions
Long Answer Questions
Define Mobile IP and explain its components and working.
Explain tunneling and triangular routing in Mobile IP.
Explain DHCP and the DORA process.
Define ad hoc networks and explain their characteristics.
Discuss performance issues in ad hoc networks.
Compare proactive, reactive and hybrid routing protocols.
Explain wireless sensor network architecture and applications.
Why does traditional TCP perform poorly over wireless networks?
Explain Indirect TCP with advantages and limitations.
Explain Snooping TCP and Mobile TCP.
Explain timeout freezing and selective retransmission.
Explain transaction-oriented TCP.
Draw and explain WAP architecture and protocol stack.
Short Answer Questions
Define care-of address.
What is a home agent?
Expand DHCP.
Define ad hoc network.
What is AODV?
Define sensor node.
What is Snooping TCP?
Expand WAP.
Exam Strategy: Draw Mobile IP, WSN, Indirect TCP and WAP architecture diagrams. Include advantages and limitations for transport protocols.
Download Study Resources
Complete Notes PDF
Printable notes will be uploaded soon.
Coming Soon
Important Questions
Question bank will be available soon.
Coming Soon
PYQ Analysis
Previous year analysis will be added soon.
Coming Soon
Frequently Asked Questions
Mobile IP allows a device to move between networks while retaining its permanent IP address.
It is a temporary address representing the mobile node's current location.
It is a self-configuring wireless network without fixed infrastructure.
It caches packets at the base station and retransmits lost wireless packets locally.
WAP is a protocol framework for delivering internet-style services to mobile devices.