Professional Documents
Culture Documents
Mobile Routing: Basic Notions of Mobility
Mobile Routing: Basic Notions of Mobility
R
R
R
R
R
R
LAN segment
LAN segment
Mobile host
Mobile IP solution:
Need compatibility
You notify the home post office about your address change.
Home post office intercepts all your mail. They do this anyway to deliver
your mail to you. They now see that you have a forwarding address.
Home post office puts your mail in another envelop with your forwarding
address. Your real address is still the home address.
Home post office mails that envelop again.
You get your mail from the Stony Brook post office at your forwarding
address.
You open the envelop and recover the original mail.
The original mail is indistinguishable from the mail you would have gotten at
home!
Terminology:
Mobile IP Example
Foo from blue network
visiting the red network
Blue = home network
Red = foreign network
Original IP address
COA
A Note on IP Routing
Terminology
Home Agent (HA)
Mobile IP Illustration
HA
MH
router
home network
mobile end-system
Internet
(home network
for the MH)
foreign
network
FA
router
(current network
for the MH)
CH
router
Correspondent host
(any host communicating with the MH)
MH
router
home network
Internet
mobile end-system
foreign
network
FA
1
CH
router
Correspondent host
(any host communicating with the MH)
router
router
home network
mobile end-system
Internet
foreign
network
router
CH
router
Correspondent host
(any host communicating with the MH)
FA
MH transmits to CH via normal
mechanism.
No complexity here as IP routing is
based on destinations IP address
only.
FA acts as the default router in this
example.
MH
home network
receiver
Internet
FA
CN
foreign
network
sender
home network
sender
Internet
FA
foreign
network
CN
receiver
MN
Overview Picture
COA
home
network
router
FA
router
HA
MH
foreign
network
Internet
CN
router
3.
home
network
router
HA
router
FA
2.
MH
4.
Internet
foreign
network
1.
CN
router
Registration
MN r
egis
HA
FA
MN r
egis
tra
requ tration
est
regi
s
requ tration
est
tratio
regis
y
l
rep
HA
tio
requ
est n
tratio
regis
y
l
rep
Registration via FA
tratio
regis
y
l
rep
new IP header
outer header
original data
new data
inner header
original data
Encapsulation I
Encapsulation of one packet into another as payload
IHL
DS (TOS)
length
IP identification
flags
fragment offset
TTL
IP-in-IP
IP checksum
IP address of HA
Care-of address COA
ver. IHL
DS (TOS)
length
IP identification
flags
fragment offset
TTL
lay. 4 prot.
IP checksum
IP address of CN
IP address of MN
TCP/UDP/ ... payload
Encapsulation II
Minimal encapsulation (optional)
ver.
IHL
DS (TOS)
length
IP identification
flags
fragment offset
TTL
min. encap.
IP checksum
IP address of HA
care-of address COA
lay. 4 protoc. S reserved
IP checksum
IP address of MN
original sender IP address (if S=1)
TCP/UDP/ ... payload
Optimizations
Triangular Routing
Solution
Change of FA
HA
Data
Update
FAold
FAnew
Data
MH
Data
ACK
Data
Data
MH changes
location
Update
ACK
Data
Data
Warning
Registration
Data
Request
Update
ACK
Data
Data
t
Reverse Tunneling
Reverse Tunneling
HA
MH
home network
Internet
sender
1
FA
CH
receiver
foreign
network
1. MH sends to FA
2. FA tunnels packets to HA
by encapsulation
3. HA forwards the packet to the
receiver (standard case)