Network - Protocols Mobile Ip
Network - Protocols Mobile Ip
Schiller
Mobile Communications
Chapter 8: Network Protocols/Mobile IP
Motivation
D&CP
*o!tin+
base( on IP (estination a((ress, network prefi- .e.+.
1,/.10.1,2 (eter%ines ph#sical s!bnet
chan+e of ph#sical s!bnet i%plies chan+e of IP a((ress to
have a topolo+ical correct a((ress .stan(ar( IP2 or nee(s
special entries in the ro!tin+ tables
6ransparenc#
%obile en()s#ste%s keep their IP a((ress
contin!ation of co%%!nication after interr!ption of link
possible
point of connection to the fi-e( network can be chan+e(
Co%patibilit#
s!pport of the sa%e la#er , protocols as IP
no chan+es to c!rrent en()s#ste%s an( ro!ters re4!ire(
%obile en()s#ste%s can co%%!nicate with fi-e( s#ste%s
"ec!rit#
a!thentication of all re+istration %essa+es
'+ent '(vertise%ent
&' an( 7' perio(icall# sen( a(vertise%ent %essa+es into their
ph#sical s!bnets
MN listens to these %essa+es an( (etects, if it is in the ho%e or a
forei+n network .stan(ar( case for ho%e network2
MN rea(s a C:' fro% the 7' a(vertise%ent %essa+es
'(vertise%ent
&' a(vertises the IP a((ress of the MN .as for fi-e( s#ste%s2, i.e.
stan(ar( ro!tin+ infor%ation
ro!ters a(5!st their entries, these are stable for a lon+er ti%e .&'
responsible for a MN over a lon+er perio( of ti%e2
packets to the MN are sent to the &',
in(epen(ent of chan+es in C:'/7'
8.18 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
type - 1.
len+th - . / , 0 1'(#s
%2 re+istration re3uired
42 busy! no more re+istrations
"2 home a+ent
)2 forei+n a+ent
M2 minimal encapsulation
52 5%6 encapsulation
r2 -7! i+nored (former 8an 9acobson compression)
:2 )# supports reverse tunnelin+
reserved2 -7! i+nored
'+ent a(vertise%ent
preference level 1
router address 1
1addresses
type
addr. si;e lifetime
checksum
'(# 1
'(# &
type - 1. se3uence number len+th
7
< = 1> 1. *1 &, &*
code
preference level &
router address &
. . .
re+istration lifetime
. . .
% 4 " ) M5 r reserved :
8.11 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
*e+istration
t
MN
"#
r
e
+
is
t
r
a
t
io
n
r
e
3
u
e
s
t
r
e
+
is
t
r
a
t
io
n
r
e
p
ly
t
MN
)# "#
r
e
+
is
t
r
a
t
io
n
r
e
3
u
e
s
t
r
e
+
is
t
r
a
t
io
n
r
e
3
u
e
s
t
r
e
+
is
t
r
a
t
io
n
r
e
p
ly
r
e
+
is
t
r
a
t
io
n
r
e
p
ly
8.1, courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Mobile IP re+istration re4!est
home a+ent
home address
type - 1 lifetime
7
< = 1> 1. *1 &, &*
: $
identification
'(#
6$tensions (e.+. authentication) . . .
S4?M5 r
S2 simultaneous bindin+s (re+istra todos os '(#s anteriores)
42 broadcast data+rams
?2 decapsulation by MN (If 'o-located '(# is adopted)
M mininal encapsulation
52 5%6 encapsulation
r2 -7! i+nored
:2 reverse tunnelin+ re3uested
$2 -7! i+nored
:ype 1 @ re+istration re3uest
8.10 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Mobile IP re+istration repl#
home a+ent
home address
type - * lifetime
7
< = 1> 1. *1
code
identification
e$tensions . . .
Example codes:
re+istration successful
7 re+istration accepted
1 re+istration accepted! but simultaneous mobility bindin+s unsupported
re+istration denied by )#
.> administratively prohibited
.. insufficient resources
.< mobile node failed authentication
.= home a+ent failed authentication
.A re3uested Bifetime too lon+
re+istration denied by "#
1&A administratively prohibited
1*1 mobile node failed authentication
1** re+istration Identification mismatch
1*> too many simultaneous mobility bindin+s
:ype * @ resposta do home a+ente
8.11 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
ncaps!lation
ori+inal I header ori+inal data
new data new I header
outer header inner header ori+inal data
8.1; courtesy from Prof. Dr.-Ing. Jochen H. Schiller
ncaps!lation I
B"ol!tionsC
sen(er learns the c!rrent location of MN
(irect t!nnelin+ to this location
&' infor%s a sen(er abo!t the location of MN
bi+ sec!rit# proble%s<
Chan+e of 7'
packets on)the)fl# (!rin+ the chan+e can be lost
new 7' infor%s ol( 7' to avoi( packet loss, ol( 7' now
forwar(s re%ainin+ packets to new 7'
this infor%ation also enables the ol( 7' to release reso!rces
for the MN
8.1/ courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Chan+e of forei+n a+ent
'N "# )#
old
)#
new
MN
MN chan+es
location
t
?ata
?ata
?ata
Dpdate
#'E
?ata
?ata
%e+istration
Dpdate
#'E
?ata
?ata
?ata
Farnin+
%e3uest
Dpdate
#'E
?ata
?ata
8.,8 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
*everse t!nnelin+ .*7C 08,1, was:
,0112
Internet
receiver
FA
HA
MN
home network
foreign
network
sender
3
2
1
1. MN sends to )#
&. )# tunnels packets to "#
by encapsulation
*. "# forwards the packet to the
receiver (standard case)
CN
8.,1 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Mobile IP with reverse t!nnelin+
"ec!rit#
a!thentication with 7' proble%atic, for the 7' t#picall#
belon+s to another or+aniAation
no protocol for ke# %ana+e%ent an( ke# (istrib!tion has
been stan(ar(iAe( in the Internet
7irewalls
t#picall# %obile IP cannot be !se( to+ether with firewalls,
special set)!ps are nee(e( .s!ch as reverse t!nnelin+2
Go"
%an# new reservations in case of *"HP
t!nnelin+ %akes it har( to +ive a flow of packets a special
treat%ent nee(e( for the Go"
'pplication
si%plification of installation an( %aintenance of networke(
co%p!ters
s!pplies s#ste%s with all necessar# infor%ation, s!ch as IP
a((ress, DN" server a((ress, (o%ain na%e, s!bnet %ask,
(efa!lt ro!ter etc.
enables a!to%atic inte+ration of s#ste%s into an Intranet or
the Internet, can be !se( to ac4!ire a C:' for Mobile IP
Client/"erver)Mo(el
the client sen(s via a M'C broa(cast a re4!est to the D&CP
server .%i+ht be via a D&CP rela#2
client relay
client server
?"'?IS'(86%
?"'?IS'(86%
8.,; courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D&CP ) protocol %echanis%s
t
i
m
e
server
(not selected)
client
server
(selected)
initiali;ation
collection of replies
selection of confi+uration
initiali;ation completed
release
confirmation of
confi+uration
delete conte$t
determine the
confi+uration
?"'?IS'(86%
?"'())6%
?"'%6GD6S:
(reHect)
?"'#'E
?"'%6B6#S6
?"'?IS'(86%
?"'())6%
?"'%6GD6S:
(options)
determine the
confi+uration
8.,$ courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D&CP characteristics
"erver
several servers can be confi+!re( for D&CP, coor(ination not
#et stan(ar(iAe( .i.e., %an!al confi+!ration2
*enewal of confi+!rations
IP a((resses have to be re4!este( perio(icall#, si%plifie(
protocol
:ptions
available for ro!ters, s!bnet %ask, N6P .network ti%e
protocol2 ti%eserver, "@P .service location protocol2
(irector#, DN" .(o%ain na%e s#ste%2
8.,9 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Mobile a( hoc networks
-a%ples
"in+le)hop: 'll partners %a-. one hop apart
=l!etooth piconet, PD's in a roo%,
+a%in+ (evicesJ
M!lti)hop: Cover lar+er (istances,
circ!%vent obstacles
=l!etooth scatternet, 66*' police network,
car)to)car networksJ
Distance Hector
perio(ic e-chan+e of %essa+es with all ph#sical nei+hbors
that contain infor%ation abo!t who can be reache( at what
(istance
selection of the shortest path if several paths available
@ink "tate
perio(ic notification of all ro!ters abo!t the c!rrent state of
all ph#sical links
ro!ter +et a co%plete pict!re of the network
-a%ple
'*P' packet ra(io network .1/902, DH)*o!tin+
ever# 9.;s e-chan+e of ro!tin+ tables incl!(in+ link 4!alit#
!p(atin+ of tables also b# reception of packets
ro!tin+ proble%s solve( with li%ite( floo(in+
8.0, courtesy from Prof. Dr.-Ing. Jochen H. Schiller
*o!tin+ in a()hoc networks
*easons
Classical approaches fro% fi-e( networks fail
Her# slow conver+ence, lar+e overhea(
&i+h (#na%icit#, low ban(wi(th, low co%p!tin+ power
arl# work
on (e%an( version: ':DH
Discover a path
onl# if a path for sen(in+ packets to a certain (estination is
nee(e( an( no path is c!rrentl# available
Maintainin+ a path
onl# while the path is in !se one has to %ake s!re that it can
be !se( contin!o!sl#
Path (iscover#
broa(cast a packet with (estination a((ress an( !ni4!e ID
if a station receives a broa(cast packet
if the station is the receiver .i.e., has the correct (estination a((ress2
then ret!rn the packet to the sen(er .path was collecte( in the packet2
if the packet has alrea(# been receive( earlier .i(entifie( via ID2 then
(iscar( the packet
otherwise, appen( own a((ress an( broa(cast packet
sen(er receives packet with the c!rrent path .a((ress list2
:pti%iAations
li%it broa(castin+ if %a-i%!% (ia%eter of the network is known
cachin+ of a((ress lists .i.e. paths2 with help of passin+ packets
stations can !se the cache( infor%ation for path (iscover# .own paths
or paths for other hosts2
8.09 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
Sendin+ from ' to (
8.08 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$roadcast
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'!,<11J
I(!'!,<11J
8.0/ courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'C5!,<11J
I(!'C5!,<11J
I(!'C4!,<11J
I(!'C6!,<11J
8.18 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'C5CI!,<11J
I(!'C4C#!,<11J
I(!'C4C?!,<11J
I(!'C6C"!,<11J
(alternatively2 I(!'C6C?!,<11J)
8.11 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'C4C?C)!,<11J
I(!'C5CICE!,<11J
I(!'C6C"C9!,<11J
8.1, courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'C6C"C9CB!,<11J
(alternatively2 I(!'C5CICECB!,<11J)
I(!'C5CICECM!,<11J
8.10 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
I(!'C6C"C9CBCN!,<11J
8.11 courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D"*: *o!te Discover#
$
A
C
%
"
&
'
(
E
H
F )
*
#
M
N
!
+
ath2 M! E! I! 5
8.1; courtesy from Prof. Dr.-Ing. Jochen H. Schiller
D#na%ic "o!rce *o!tin+ III
Maintainin+ paths
after sen(in+ a packet
wait for a la#er , acknowle(+e%ent .if applicable2
listen into the %e(i!% to (etect if other stations forwar( the
packet .if possible2
re4!est an e-plicit acknowle(+e%ent
if a station enco!nters proble%s it can infor% the sen(er of a
packet or look)!p a new path locall#
8.1$ courtesy from Prof. Dr.-Ing. Jochen H. Schiller
Interference)base( ro!tin+
'!to)Confi+!ration
'ssi+n%ent of a((resses, f!nction, profile, pro+ra%, J
"ervice (iscover#
Discover# of services an( service provi(ers
M!lticast
6rans%ission to a selecte( +ro!p of receivers
G!alit#)of)"ervice
Maintenance of a certain trans%ission 4!alit#
Power control
Mini%iAin+ interference, ener+# conservation %echanis%s
"ec!rit#
Data inte+rit#, protection fro% attacks .e.+. Denial of "ervice2
"calabilit#
18 no(es3 188 no(es3 1888 no(es3 18888 no(es3
@eia% o capKt!lo 8