What is the difference between Mobile IPv4 and Mobile IPv6?
Asked by suzette
(33 points)
on Aug 3, 2009
under Internet & Computers
1 answers
What is the difference between Mobile IPv4 and Mobile IPv6?

![]() rebekkah (33 points) |
on Aug 3, 2009As internet is now evolving itself into IPv6 protocol addressing at IP layer, Mobile IP is also evolving itself accordingly. IPv6 is the future of internet. As IPv6 has almost an infinite addressing space, it will increase internet users enormously. Obviously, mobile users will also increase accordingly. So, Mobile IPv6 must also be enough capable to bear such large amount of mobile users. Although, the underlying mechanism is same in IPv6 but all protocols must adapt themselves according to new enhancements and mechanisms that IPv6 provide. Now what changes will be made to Mobile IPv4 to make it Mobile IPv6. Mobile IPv6 is integral part of IPv6 Absence of Foreign Agent This Foreign Agent is completely removed in Mobile IPv6. So the first change which will occur after transitioning to Mobile IPv6 is that Mobile Node must know that there is Foreign Agent available to provide it a Care of Address. So, a Mobile IPv6 complaint node can neither discover that its network is changed nor it can ask for its Care of Address with simple Agent Discovery Message. IPv6 Neighbor Discovery Protocol instead of Gratuitous ARP messages In IPv4, the Home Agent sends gratuitous ARP messages on the home subnet. This is to ensure that packets destined for the Mobile Node are received by the Home Agent, which tunnels them to the mobile node. On the contrary, this entire problem is solved by IPv6 Neighbor Discovery Protocol. ARP is a Ethernet protocol and IPv6 is IPv6 own protocol. Provision for every Mobile Node to have its own Care of Address Another change due to unavailability of Foreign Agent in Mobile IPv6 scenario is that, the mobile node must have the capability to decapsulate the packet from Home Agent. In Mobile IPv4 it was decapsulated by Foreign Agent. Only a single packet use to come on Foreign Network. But now complete encapsulated packet will traverse to Mobile Node. It is the duty of Mobile Node to remove the tunnel header. Hierarchical Mobile IPv6 (HMIPv6) More than this, if the route optimization of IPv6 is being used then Mobile Node will have to tell every Corresponding Node about its new location. This increases the update time and hence increases the number of dropped packets. To avoid the mentioned problem Mobile IPv6 introduces another concept known as Hierarchical Mobile IPv6. In this scenario a Mobility Anchor Point (MAP) router is provided which hides the movement of mobile node within a network’s own subnets from Corresponding Node. This reduces number of signaling messages between Mobile Node and its Corresponding Node. This means a Mobile Node must know how to utilize Hierarchical facility of current network. When a Mobile Node enters a network it first learns weather current network supports HMIPv6. If it finds that HMIPv6 is present then it will use MAP router’s address as its Care of Address. Route Optimization as an integral component Firstly, in Mobile IPv6 this facility is available in IPv6 protocol itself. IPv4 itself does not support such optimizations. Secondly, in Mobile IPv6, Mobile Node and Correspondent Node decide whether they want to enable an optimal path and Home Agent decides whether Route Optimization is allowed or not. Thirdly, in Mobile IPv6 uses new routing header and destination options instead of using tunneling which was used in IPv4 for traffic between Mobile Node and Correspondent Node. For the traffic arriving from Mobile Node and arriving at the Corresponding Node, the source IP address is the Care of Address and the destination IP address is the correspondent Node address. These source and destination addresses are reversed for traffic from the Correspondent Node to the Mobile Node. So, Correspondent Node will send all packets on Care of Address of Mobile Node. In original internet scenario, this will not work due to ingress firewalls and routing issues. To solve this issue IPv6 give us its own facility in its IP header. It provides an opportunity to place Mobile Node’s original Home Address in the header. The sender stores the Mobile Node's Home Address in the IP header of the packet and sends packet to the recipient. When the packet is received on the Correspondent Node, it replaced the source IP address by this Home Address so that an application working at application layer believes that the peer is the Mobile Node on its Home Network. Just like that, in other direction, when Mobile Node receives a packet, the destination address is replaced by this Home Address. In IPv4, tunneling is used. Tunneling uses a new IP Header in the packet hence the size of packet grows due to additional IP Headers. Due to this, sometimes, fragmentation is required. When a new header is added the frame overall grows and become larger than the present MTU of the network. This puts the overhead of de-fragmentation and reassembly which adds latency. Secondly, larger packet goes on the network which wastes bandwidth. In IPv6, a new routing header and destination options is used. Instead of appending entirely a new IP Header in present IP datagram, it simply adds Mobile Node Address through routing header. This adds fewer bits into the original packet. Less bandwidth is used and no de-fragmentation and reassembly is required. In contrast, IPv6 itself supports IPSec. So theoretically, all nodes on IPv6 have IPsec implemented in them. This makes Mobile IPv4 configuration a long and tedious task. On the other hand, IPv6 supports auto-configuration feature in its nodes. When a IPv6 Mobile Node enters in a network it receives the router advertisement, it auto-configures its IP address accordingly. Nothing more is required! This happens because of the capability of IPv6 nodes to learn their subnet prefix automatically. After learning network prefix Mobile Node appends its unique Message Authentication Code address to obtain routable IP address on the subnet. This mechanism is used along with Duplicate Avoidance Technique to avoid duplicate addresses. This method is a lot faster then the IPv4 traditional DHCP methods. Home test init (HoTI) message These messages are required for IPv6 Route Optimization between Mobile Node and Correspondent Node. On the contrary, IPv6 uses boot strap, auto-configuration mechanism to configure Home Agent address, security association with the Home Agent etc using AAA infrastructure. AAA server is a separate entity. It is also supported in Mobile IPv4 extensions. But it is the part of Mobile IPv6 itself. In AAA Infrastructure, Mobile Node sends an extended RRQ message to AAA server to obtain its key. AAA server recognizes the key request and generates a key. It offers a key |
|

