You are on page 1of 19

Computer Networks: Mobile IP

BITS Pilani Chittaranjan Hota


Hyderabad Campus
Outline

• Motivation for Mobile IP


• Mobile IPv4, Mobile IPv6
• Low level protocol details including message
formats
• Comparison on the basis of location updates,
handoff latency, and signaling overhead

BITS Pilani, Hyderabad Campus


Mobile Computing: Why?
Nokia E61

Gambling
Home
Security

Home
medical
E-learning care

Streaming Sports
Movies

BITS Pilani, Hyderabad Campus


Mobile Wireless Devices

Laptop Smartphone Media Player Palmtop Digital Camera

Mobile Router
Personal Digital Notebook Pager
Assistant Gaming Console

BITS Pilani, Hyderabad Campus


Is it portable networking?

• Connection to same ISP


• Technologies
– Bluetooth
– Wireless Ethernet (802.11)
• MAC Layer technology
– Cellular
• Cellular Digital Packet Data, 3G

BITS Pilani, Hyderabad Campus


Markets for IP Mobility

[Source: Cisco Systems]

BITS Pilani, Hyderabad Campus


How do we contact a mobile
friend?
I wonder where
Alice moved to?
Consider a friend frequently changing
addresses, how do you find her?

• search all phone books?


• call her parents?
• expect her to let you know
where she is?

BITS Pilani, Hyderabad Campus


Home and Care-of
addresses

[Source: McGH, Computer Networks, Forouzan, and Mosharraf]

BITS Pilani, Hyderabad Campus


Message Types
0 8 16 24

M, G bit: Minimal, type = 9 code = 0 checksum


Generic encapsulation =9 =9
standard
H,F bits: home or ICMP fields
router address
foreign agent
R bit: registration
required type = 16 length sequence #
RBHFMGV
registration lifetime reserved
bits mobility agent
advertisement
B bit: Busy
Agent 0 or more care-of- extension
Advertisement
V bit: Van Jacob addresses
Header
compression
Agent Solicitation Type=10 | code | checksum
With TTL=1
reserved

BITS Pilani, Hyderabad Campus


Registration request

BITS Pilani, Hyderabad Campus


Remote host and Mobile
host communication

[Source: McGH, Computer Networks, Forouzan, and Mosharraf] BITS Pilani, Hyderabad Campus
Registration

Foreign Network B
R

Home Network A
Mobile Node
R Internet Foreign Agent

Home Agent
Network C
R

✲Foreign agent sends Binding Update


Home Agent replies with Binding Acknowledgement Correspondent
Node C

BITS Pilani, Hyderabad Campus


Registration example

Mobility binding table at Home Agent


Home address Care-of address Lifetime (sec)
128.119.40.186 79.129.13.2 150
… … …

Visitor List at Foreign Agent


Home address Home agent Media address Lifetime
address
128.119.40.186 128.119.40.7 00-56-80-56-A1-E1 150

BITS Pilani, Hyderabad Campus


Continued…
visited network: 79.129.13/24
home agent foreign agent
HA: 128.119.40.7 COA: 79.129.13.2 ICMP agent adv.
Mobile node
COA: 79.129.13.2 MA: 128.119.40.186
….

registration req.
registration req.
COA: 79.129.13.2
COA: 79.129.13.2 HA: 128.119.40.7
HA: 128.119.40.7 MA: 128.119.40.186
MA: 128.119.40.186 Lifetime: 9999
Lifetime: 9999 identification:714
identification: 714 ….
encapsulation format
….

registration reply
time HA: 128.119.40.7
registration reply
MA: 128.119.40.186
Lifetime: 4999 HA: 128.119.40.7
Identification: 714 MA: 128.119.40.186
encapsulation format Lifetime: 4999
…. Identification: 714
….

BITS Pilani, Hyderabad Campus


Indirect routing via
tunneling

foreign-agent-to-mobile packet
packet sent by home agent to foreign agent: a dest: 128.119.40.186
packet within a packet (Tunnel)

dest: 79.129.13.2 dest: 128.119.40.186

Permanent address:
128.119.40.186
Care-of address:
79.129.13.2
dest: 128.119.40.186
packet sent by mobile replies directly to
correspondent correspondent

BITS Pilani, Hyderabad Campus


Route
optimization(Opt1:binding
cache)

visited
network
home
network 4
3

2 Internet
Binding update
1
First Packet to mobile host

CN

BITS Pilani, Hyderabad Campus


Continued…

Subsequent packets to the mobile host visited


network
home
network 7

Internet
6 5

CN

BITS Pilani, Hyderabad Campus


Route
optimization(Opt2:Smooth
handoff)
Binding foreign network
Warning visited at session
home start
network
FA Binding
Update
3
Internet
2
4
1
Binding Update
New
5 Foreign network
New FA

CN

BITS Pilani, Hyderabad Campus


MIPv6: Mobile on a foreign
network
• No FA is needed
• CoA through address
auto-configuration
• Deployment in large
environment
• Route optimization
3 through header options

2 Foreign Network

4 Stateless address Auto


configuration
1
Bidirectional tunnel

Duplicate address detection,


Proxy neighbor discovery,
and Binding cache update (Acquiring COA)
5 Update Binding Update List
BITS Pilani, Hyderabad Campus

You might also like