10.12.2007
Dynamo project group Tero Hätinen, Joni Purojärvi and Antti Pyykkönen University of Jyväskylä
The document presents the changes that Dynamo group made into Dynamics Mobile IPv4 and UDHCP system softwares to meet goals of the LaiLA project
The functions, attributes and variables are presented in detail with Doxygen generated Dynamics DHCP Reference manual.
The purpose of the changes is to add DHCP support into the home agent.
UDHCP 0.9.8 files were copied into Home Agent directory.
To the file ha.h were added the following parts
RENEWIP, REQUESTIP
and RELEASEIP
which indicates the wanted DHCP call.client_config
struct was added.main
function of the client was renamed to udhcp
.dhcp_mobile_array
was added with all the necessary data to be passed between UDHCP and the home agent.add_dhcp_mobile
, del_dhcp_mobile
and find_dhcp_mobile
were added.DHCPRELEASE
call with udhcp
when the mobile node disconnects,DHCPRENEW
call with udhcp
when the mobile node updates binding andDHCPDISCOVER
call with udhcp
when a new mobile node registers.0.0.0.0.
dhcp_if
variable to be set on UDHCP client_config
data structure.dhcp_if
into client_config
data structure.dhcp_if
to be set from dynhad.conf
file with name dhcp
.dhcp "eth2"
to tell the what network interface DHCP uses.The functions, attributes and variables are presented in detail in Dynamo VFAG Reference manual generated with Doxygen. The test data is presented in the following order: time (in ascending order), function (0=leave, 1=join, 2=run third party program), home address, home agent address, care-off address and NAI. A test data example is presented in the file mobiles.txt.
The purpose of the changes is to translate the mobile node into a testing tool called "virtual foreign agent generator". The tool is used to test the behaviour of the home agent in stress situation.
New file mobiles.txt
with test data
ifr_name
to u.name
.main
function to main_old
.mn_init
before doing anything else in the main program.mobile_array
anddevices
.readfile
and parse_rows
were added.create_mobile
to create virtual mobile nodes into mobile_array
from test data file andsend_messages
to send registeration or deregisteration messages for virtual mobile nodes.In our test enviroment (Ubuntu 6.10) we had to modify one Linux header file in order to get the program compiled.
To the file net/wireless.h was addedifnamsiz 16