Introduction
Me and Saqib are working on MIP Testing. Its part of my Master's Thesis, and I am really thankful to Allah that He is helping us. And I am also very thankful to one of my best friends Saqib for his support.
Check Saqib here!
Wired Mobile IP Testing on Cisco Boxes
A normal Cisco IOS doesn't support Mobile IP Protocol. We have used IP Plus version of IOS for ver. 12.09 (I guess). It has 3620-is-mz kind of file name.
Cisco 3620,3640 and one 2500 series router are used in this scenario.
wired_mip.txt
Wireless Mobile IP Testing - 01
Now everything is wireless.
Using Cisco Aironet 340 Series Bridges this time at MN,HA and FA.
Routers R7,R1 and R5 are acting as HA, FA and MN in this config.
MN is connected to HA on the first place using SSID home on MN.
Then SSID on MN was changed to FORE and then it was attached to FA.
And as u can see in the configuratio, Mobile route is there showing as "M".
And if u run "show ip mobile tunnel" command. It will give u tunnel information.
Configuration of Brigdges are also provided.
config_mip_01.jpg
config_mip_01.txt
Wireless Mobile IP Testing Testbed- ns2 Simulator
Mobile IP Scenario File written in TCL Language.
Sample raw and unformatted snap of the trace file generated by ns2. The whole trace file is about 128-150 MB
Main Program that control the whole process of calculating delay out of a raw trace file format of ns2 simulator
This AWK script grap only TCP information out of the ns2 Trace File (extension .tr) and save the information into another file named tcp_info.tr
Sample trace file that contains only TCP information. Gathered from ns2 TRACE File
This AWK script calculates delay by examining every line of the tcp_info.tr file and generates output into a file named delay_result.txt. But this file again not something that we want. So still further processing needs to be done from here
Format of the delay_result.txt file
Now to further normalize the delay_result.txt. I have written a Program in C++ (delay_avg2.cpp) which take average of the delay appearing in the 2nd column, on the basis of the time appearing in the first column of the file delay_result.txt and generates another file named delay_avg2.txt
Format of the delay_avg2.txt file
But since we need a BIG picture of the delay associated with a particular scenario. So we have written an Script in SHELL Language (final_avg_delay.sh) which calculates the final delay by examining the file delay_avg2.txt
And finally the scenario name and the final average delay is emailed to me automatically. Where I read it and put it into an EXCEL Sheet.
Wireless Mobile IP Testing - 02
Now our Mobile IP Testing is in final phases.
This time we are using one Home Agent and two foreign agents.
The task is more complicated this time.
As we need to add and remove static routes manually.
For this we are using Programming to make the whole process autmated.
Here are the related files.
config_mip_02
Wireless 340 Series Bridges Config
Document with the results
Mobile IP Thesis Presentation Sep 29th 2001
The presentation went fine. A question pointed about using Mobile Router as our Mobile Node. Asked to replaced it with a Mobile Laptop. Feasibility has to be checked before start doing it.
NS2 mobile IP Complete Source Code as of Oct 1, 2001, in zip format.
Wireless Mobile IP Testing - 03
Mobile IP Configuration with Bridges acting as Access Points and Mobile Node is actually is a Mobile Router.
bw_dly_q.exp.txt
fore12fo.exp.txt
fore12ho.exp.txt
fore2for.exp.txt
fore2hom.exp.txt
home2for.exp.txt
tcp_rr_s.txt
Remove the file extension .txt from above files.
This is done to satisfy my web hosting server's settings.
netperf.tar.zip
netperf.zip
netserve.zip
scripts.tar.zip
Remove the extension .zip from all files above.
This is done to satisfy my web hosting server's settings.
Click here to see all files listing
For network diagram see the presentation
This is my final thesis copy Allin1.doc. Final presentation was held on December 4th 2001.
Here is final power point presentation copy MIP_Final.ppt