10.MobileIP Updated
10.MobileIP Updated
J.Govindarajan
Agenda
• Optimization
• Requirements
- IP-in-IP Encapsulation
• Entities and Terminologies - Minimal Encapsulation
• IP Packet Delivery - Generic Routing Encapsulation
• Reverse Tunneling
• Agent Discovery
– Agent Advertisement
• IPv6
– Agent Solicitation • IP-Micro Mobility Support
- Cellular IP
• Registration - Hawall
• Tunneling and Encapsulation - Hierarchical Mobile IPv6
Traditional IP Packet Delivery to Mobile Device (destination)
160.5.10.0/16
IP Packet
Dst: 200.8.4.20 R1
R3
R4
Source
IP Address : IP Packet
150.10.2.5
Dst: 200.8.4.20
Transmission is 200.8.4.20/16
R5 Successful
IP Packet IP Packet
Segment Dst: 200.8.4.20 Dst: 200.8.4.20
IP header IP Packet Destination IP Address :
200.8.4.20
Traditional IP Packet Delivery to Mobile Device (destination):
Address has changed : Packet Drop
160.5.10.0/16
IP Packet
Dst: 200.8.4.20 R1
R3
M Destination IP Address :
R4 o 160.5.10.5
Source
IP Address : IP Packet Destination is not v
150.10.2.5 available: Drop the e
Dst: 200.8.4.20 packet d 200.8.4.20/16
R5
IP Packet
Segment Dst: 200.8.4.20
IP header
Requirements : Mobile Device
• To enable mobility in the internet
• Mobility should remain invisible to the higher layer protocols (Example: TCP)
– High layers (Example :TCP) should continue to work even if the mobile computer has
changed its point of attachment
Mobile
node
Home Agent Foreign Agent
COA types:
FA COA
Co-located COA
MN - Mobile node
CN - Corresponding Node
HA - Home Agent
Correspondent Node FA - Foreign Agent
Mobile IP : Data delivery to and from mobile node
Agent discovery
1) Agent Advertisement
type=9
code=0, if the agent also routes traffic from non-mobile nodes,
code=16, if it does not route anything other than mobile traffic
R bit (registration)
B-Busy to accept the registration
H-Home Agent
F-Foreign Agent
M-Minimal Encapsulation
G-Generic Encapsulation
r-0 (ignored)
T-Reverse Tunnelling is supported by FA
ICMP advertisement - Mobility
type=9
length=6 + 4*(number of addresses)
mobile node can send out three solicitations, one per second, as soon as it enters a new
2) Agent solicitation: network.
Registration
S bit an MN can specify if it wants the HA to retain
prior mobility bindings
B bit -MN also wants to receive the broadcast
packets of Home Network
D bit-decapsulation by MN if co-located COA
M-Minimal Encapsulation
G-Generic Encapsulation Registration request
r and x-0 (ignored)
ICMP type =3
Tunneling and encapsulation
Encapsulation
IP-in-IP
encapsulation
Minimal
encapsulation
Generic Routing
encapsulation
Protocol fields for GRE
according to RFC 1701
access routers
IPv6 and Mobility
• Features of IPv6:
• Stateless address autoconfiguration
• Optional NAT (Network Address Translation)
• Easier administration with DHCPv6
• Improved quality of service with flow labeling
• IP address Format
IPv6 address
• Link-Local Address
• CN only has to be able to process binding updates, i.e., to create or to update an entry in the
routing cache
• The MN itself has to be able to decapsulate packets, to detect when it needs a new COA, and to
determine when to send binding updates to the HA and CN. A HA must be able to encapsulate
DHCP