Professional Documents
Culture Documents
router
end-system router
Wireless Networks Spring 2005
Data transfer to the mobile
HA
2
MN
FA foreign
network
FA foreign
network
receiver
Mobile host
Mobile host
when at home
Home agent Foreign agent after move Remote host
• Agent Discovery
• Mobility agents advertise availability
• MN solicits agent
• Registration
• Updating the care-of-address with home network
• Tunneling
• Delivery of data to mobile node’s care-of-address, via permanent
home address
Overview COA
router
home router MN
FA
network HA
foreign
Internet network
CN router
3.
home router router
2. MN
network HA FA
4.
foreign
Internet network
1.
CN router
• Agent Advertisement
• Extends the current ICMP (Internet Control Message Protocol – Router
Advertisement)
• HA and FA periodically send advertisement messages into their physical
subnets
• MN listens to these messages and detects, if it is in the home or a
foreign network (standard case for home network)
• MN reads a COA from the FA advertisement messages
Agent Discovery (cont)
• Agent Solicitation
• Alternatively, mobile node may solicit agent (Broadcast or
Multicast)
• Mobile node can now proceed to register
0 7 8 15 16 23 24 31
Agent Advertisement type code checksum
(ICMP – extension) #addresses addr. size lifetime
router address 1
preference level 1
router address 2
preference level 2
...
t Co-located COA
IP tunnel
optional. Allows
packets of a different protocol suite to be encapsulated by
another protocol suite.
• Type of tunneling/encapsulation supported is indicated
in registration.
Encapsulation
• Encapsulation of one packet into another as payload
• e.g. IPv6 in IPv4 , Multicast in Unicast
• here: e.g. IP-in-IP-encapsulation
• IP-in-IP-encapsulation (mandatory, RFC 2003)
• tunnel between HA and COA
MobileIP Header
IP Header IP Header
IP Payload IP Payload
Problems with Mobile IP
• Security
• authentication with FA problematic, for the FA typically belongs to another organization
• no protocol for key management and key distribution has been standardized in the Internet
• patent and export restrictions
• Firewalls
• typically mobile IP cannot be used together with firewalls, special set-ups are needed (such as reverse
tunneling)
• QoS
• many new reservations in case of RSVP
• tunneling makes it hard to give a flow of packets a special treatment needed for the QoS
• Security, firewalls, QoS etc. are topics of current research and discussions!
Full dump
Carries all available routing info and can require multiple network protocol
data units. Infrequently transmitted while there is not much movement.
Incremental packets
These smaller packets are for relaying only the information that was updated
since the last full dump
• When node S wants to send a packet to node D, but does not know a
route to D, node S initiates a route discovery
Z
S E
F
B
C M L
J
A G
H D
K
I N
[S] Z
S E
F
B
C M L
J
A G
H D
K
I N
Z
S [S,E]
E
F
B
C M L
J
A [S,C] G
H D
K
I N
Z
S E
F [S,E,F]
B
C M L
J
A G
H D
[S,C,G] K
I N
Z
S E
F [S,E,F,J]
B
C M L
J
A G
H D
K
I [S,C,G,K] N
Z
S E
[S,E,F,J,M]
F
B
C M L
J
A G
H D
K
I N
Z
S RREP [S,E,F,J,D]
E
F
B
C M L
J
A G
H D
K
I N
• If unidirectional (asymmetric) links are allowed, then RREP may need a route
discovery for S from node D
• Unless node D already knows a route to node S
• If a route discovery is initiated by D for a route to S, then
the Route Reply is piggybacked on the Route Request
from D.
• If IEEE 802.11 MAC is used to send data, then links have to be bi-directional (since
Ack is used)
DATA [S,E,F,J,D] Z
S E
F
B
C M L
J
A G
H D
K
I N
RERR [J-D] Z
S E
F
B
C M L
J
A G
H D
K
I N
J sends a route error to S along route J-F-E-S when its attempt to forward the
data packet S (with route SEFJD) on J-D fails
Nodes hearing RERR update their route cache to remove link J-D