An Accurate Simulation Model For Mobile Ipv6 Protocol
An Accurate Simulation Model For Mobile Ipv6 Protocol
Protocol
Eric Wu, Johnny Lai, Ahmet Sekercioglu
Department of Electrical and Computer Systems Engineering
Monash University, Australia
I. I NTRODUCTION
Over the last two decades, arguably the main change
in telecommunication networks has been the deployment
of wireless access technologies. Wireless access has lead
to creation of a plethora of mobile devices with a wide
range of communication, computing, and storage capabilities. With wireless interfaces providing ease of use, these
devices have become increasingly popular.
The current Internet is based on an architecture created
in 1969 as the ARPANET. However, it does not support the
needed features and architectural structures for mobility.
Because of that, the existing general mobility support
solutions in the IP world have tried to hide the dynamic
change of IP addresses from the upper layers.
Mobility for IPv6, or Mobile IPv6 (MIPv6) [2] was developed to allow an IPv6 node to change points of network
attachment without disrupting applications or services. In
the MIPv6 specification, three network roles: mobile node,
correspondent node and home agent are essentially defined.
A mobile node is a node that can change its point of
attachment from one link to another, while still being
reachable via its home address. The mobile node maintains
two IPv6 addresses, home address and care-of address. The
home address is used as a permanent address of the node
and is also used as an identifier by the transport sessions.
The care-of address is essentially used as a current location
identifier of the mobile node by the home agent. It also
allows the correspondent node to send packets directly to
the mobile node. A correspondent node is a peer node with
which a mobile node is communicating. A home agent is
OF
T HE M OBILE IP V 6 M ODEL
Fig. 3.
Fig. 1.
Fig. 2.
In the MIPv6 specification, the conceptual data structures are described as follows:
Binding Cache: A cache of bindings1 for other nodes.
This cache is maintained by home agents and correspondent nodes. Each entry in the cache contains information
about the home address that is visible for the upper layer
protocols and the care-of address that corresponds to the
home address.
Binding Update List: This list is maintained by each
mobile node. The list has an item for every binding that the
mobile node has or is trying to establish with another node.
Both correspondent and home registrations are included in
this list. Entries from the list are deleted as the lifetime of
the binding expires.
Home Agents List: Home agents need to know which
other home agents are on the same link. This information
is stored in the Home Agents List. The list is used
for informing mobile nodes during dynamic home agent
address discovery.
Figure 4 shows the design of MIPv6 conceptual data
structures. The base class MIPv6CDS contains the binding
Fig. 4.
Fig. 6.
Fig. 5.
Parameter
MN MoveSpeed
PingInterval
MaxRtrAdvInterval**
MinRtrAdvInterval**
AllowedMissedRtrAdv
RetransTimer
DupAddrDetectTransmits
** parameters configured for router only
Value
3m/s
0.05s
1s
0.25s
1
1s
1
TABLE I
L IST OF PARAMETERS IN MIP V 6 TEST NETWORK
Fig. 7.
Handover latencies
(1)
Note that if AllowedMissedRtrAdv is zero the movement detection is triggered as soon as one router advertisement is missed. Due to the high probability of packet
loss in the wireless network environment, the mobile
node may not receive unsolicited router advertisements.
Consequently, the MIPv6 handover process is triggered
while the mobile node is still in the same subnet. To
avoid this, AllowedMissedRtrAdv is generally set to one
or higher.
Another dominating component to the handover latency
is the delay during the duplicate address detection operation. A node must perform a duplicate address detection
when it attaches to a new link and reconfigures a new
care-of address. During the duplicate address detection,
the node has to wait for at least RetransTimer seconds, to
check if any neighbouring node responds with a solicited
neighbour advertisement. If the mobile node does recieve
one, then a neighbouring node already has the same IP
address. The duplicate address detection delay can be
expressed by following equation:
3
'3
'3 movement detection (
'3 duplicate address detection (
30
(3)
where,
RetransTimer = 1 second
DupAddrDetectTransmits = 1
For the minimum possible value of the handover delay, the
router advertisement is received instantly, hence assuming
the router advertisement interval is extremely small.
The maximum value of the delay can be:
' #&%
(
where,
AllowedMissedRtrAdv = 1
RetransTimer = 1 second
DupAddrDetectTransmits = 1
RA DELAY = 0.5 seconds
For the maximume possible value of the handover delay,
we assuming that first router advertisement is missed and
the second one is received at the longest time, which is
near MaxRtrAdvInterval.
Therefore, the theoretical handover delay values range
from 1 seconds to 3.5 seconds. In the experiment, the
average handover delay of 2.123 seconds falls within the
range provided by the mathematical analysis.
IV. F UTURE A DDITIONS
Most of the MIPv6 functionalities have been implemented in the simulation model. However, there is a
number of attributes, which is still under consideration and
may be implemented in the future. It includes:
) Return Routability Procedure
) Full Proxy Neighbour Discovery
) Improve robustness of handover process when the
mobile node returns home
) Dynamic Home Agent Address Discovery
) Router renumbering at home
V. C ONCLUSION
In this paper, we present an overview of the MIPv6
simulation model implemented under OMNet++ simulation framework. Accurate modeling of MIPv6 protocol
in the simulation will allow us to extend our research
into MIPv6 protocol performance analysis, such as signaling and handover optimisations, network mobility, and
multicast mobility. The example network in the paper
demonstrates the capabilities and verifies the correctness
of the model. The handover performance obtained from
the example network produces a delay we theoretically
expected.
R EFERENCES
[1] A. Varga, OMNeT++ Discrete Event Simulation System User Manual, 2nd ed., Technical University of Budapest, Dept. of Telecommunications.
[2] D. Johnson, C. Perkins, and J. Arkko, Mobility Support
in IPv6, RFC 3775, June 2004. [Online]. Available: http:
//www.ietf.org/rfc/rfc3775.txt
[3] J. Lai, E. Wu, A. Varga, Y. A. Sekercioglu, and G. K. Egan,
A Simulation Suite for Accurate Modeling of IPv6 Protocols, in
Proceedings of the 2nd International OMNeT++ Workshop, Berlin,
Germany, Jan 2002, pp. 222.
[4] S. Woon, E. Wu, and Y. A. Sekercioglu, A Simulation Model of
IEEE 802.11b for Performance Analysis of Wireless LAN Protocols, in Australian Telecommunications, Networks and Applications
Conference (ATNAC), Melbourne, Australia, December 2003.
[5] S. Deering and R. Hinden, Internet Protocol, Version 6 (IPv6)
specification, RFC 2460, December 1998. [Online]. Available:
http://www.ietf.org/rfc/rfc2460.txt
[6] T. Narten, E. Nordmark, and W. Simpson, Neighbor Discovery
for IP Version 6 (IPv6), RFC 2461, December 1998. [Online].
Available: http://www.ietf.org/rfc/rfc2461.txt