LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-13-2014, 03:48 AM   #1
m0rzana
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
Fhmip


Hi ;
i successfuly install FHMIP patch on ns2.31 on ubuntu
and got results it seem finr but trying to simulate MIP by doing this
Quote:
# RCH Attaching the MAP agent.
#$ns_ attach-mapagent $MAP ;# Need to enable MAP_MODE in mip-reg.cc
and make the needed changes on mip-reg.cc

it give me error
Quote:
3.000340 BS send ADS 1.0.0
3.005036 MH 1.0.1 received ADS with coa 1.0.0
3.005036 MH 1.0.1 sends request (packet 13) to 1.0.0
3.005036 MH agent list [COA 1.0.0]: [1.0.0-(0/0 3)]
MAC_802_11: accessing MAC cache_ array out of range (src 1, dst 0, size 1)!
3.007084 HA 1.0.0 updated, MH back home, packet 13
3.009756 MH 1.0.1 received reply from BS 1.0.0 [COA: 1.0.0], packet 13
3.014205 BS send ADS 3.1.0
3.088123 BS send ADS 4.1.0
4.000340 BS send ADS 1.0.0
4.009549 MH 1.0.1 received ADS with coa 1.0.0
4.009549 MH 1.0.1 sends request (packet 17) to 1.0.0
4.009549 MH agent list [COA 1.0.0]: [1.0.0-(0/0 3)]
MAC_802_11: accessing MAC cache_ array out of range (src 1, dst 0, size 1)!
4.011337 HA 1.0.0 updated, MH back home, packet 17
4.013749 MH 1.0.1 received reply from BS 1.0.0 [COA: 1.0.0], packet 17
4.014205 BS send ADS 3.1.0
4.088123 BS send ADS 4.1.0
5.000340 BS send ADS 1.0.0
daddr = [1.0.1] saddr = [0.0.0] last_hop = [0.0.0] varify_ = [1.0.0], packet 20
5.005598 Varifier drop! ( packet 20 )
5.008950 MH 1.0.1 received ADS with coa 1.0.0
5.008950 MH 1.0.1 sends request (packet 22) to 1.0.0
5.008950 MH agent list [COA 1.0.0]: [1.0.0-(0/0 3)]
MAC_802_11: accessing MAC cache_ array out of range (src 1, dst 0, size 1)!
5.011058 HA 1.0.0 updated, MH back home, packet 22
5.013850 MH 1.0.1 received reply from BS 1.0.0 [COA: 1.0.0], packet 22
5.014205 BS send ADS 3.1.0
5.088123 BS send ADS 4.1.0
6.000340 BS send ADS 1.0.0
6.003199 MH 1.0.1 received ADS with coa 1.0.0
6.003199 MH 1.0.1 sends request (packet 26) to 1.0.0
6.003199 MH agent list [COA 1.0.0]: [1.0.0-(0/0 3)]
MAC_802_11: accessing MAC cache_ array out of range (src 1, dst 0, size 1)!
6.005007 HA 1.0.0 updated, MH back home, packet 26
6.007459 MH 1.0.1 received reply from BS 1.0.0 [COA: 1.0.0], packet 26
6.014205 BS send ADS 3.1.0
6.088123 BS send ADS 4.1.0
7.000340 BS send ADS 1.0.0
7.014205 BS send ADS 3.1.0
7.088123 BS send ADS 4.1.0
8.000340 BS send ADS 1.0.0
8.014205 BS send ADS 3.1.0
8.019657 MH 1.0.1 received ADS with coa 3.1.0
dst of request 2.0.0 (MAP), packet 35
8.019657 MH 1.0.1 sends request to 3.1.0
8.019657 MH agent list [COA 1.0.0]: 3.1.0-(0/0 3) [1.0.0-(0/0 3)]
MAC_802_11: accessing MAC cache_ array out of range (src 2, dst 1, size 1)!
MAC_802_11: accessing MAC cache_ array out of range (src 1, dst 2, size 1)!
8.024100 BS 3.1.0 forwarding map-reg-request from 1.0.1 to MAP 2.0.0, packet 35
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o35: no target for slot 0
_o35 type: Classifier/Port/Reserve
content dump:
classifier _o35
0 offset
0 shift
2147483647 mask
1 slots
slot 1: _o36 (Classifier/Addr/MIPDecapsulator)
---------- Finished standard no-slot{} default handler ----------
could any of you please upload the trace file if successfully in simulating MIP by using the above steps

thanks
 
Old 09-24-2014, 05:33 AM   #2
m0rzana
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
hi;
i got the following error when installing FHMIP on NS2.31

Quote:
root@ubuntu:/usr/src/ns-allinone-2.31/ns-2.31/tcl/ex/fhmip# ns-fhmip fhmip_simula.tcl
num_nodes is set 1
INITIALIZE THE LIST xListHead
Simulation started...
0.000340 BS send ADS 1.0.0
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 129.2
SORTING LISTS ...DONE!
0.004729 MH 1.0.1 received ADS with coa 1.0.0
ns: _o123 setrv -1:
(_o123 cmd line 1)
invoked from within
"_o123 cmd setrv -1"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o123" line 2)
(SplitObject unknown line 2)
invoked from within
"_o123 setrv -1"
what to do ?????!!
 
Old 09-24-2014, 07:43 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← post #2 .

May be you are using the wrong executable 'ns' ?
Make a copy of the right 'ns' to 'ns-fhmip' ,
... and copy 'ns-fhmip' to /usr/local/bin/ .
(You may also have a failed build of ns231 + ns2.31_fhmip.patch.)


All fhmip simulations will work with $ ns-fhmip file.tcl
No errors here with : $ ns-fhmip fhmip_simula.tcl
.. The files traffic.nam 48MB and traffic.tr 33MB are created.
The terminal text output "fhmip_simula__Text.out",
download link https://drive.google.com/file/d/0B7S...it?usp=sharing

FHMIP, #17 here http://www.linuxquestions.org/questi...924/page2.html

-
 
Old 09-24-2014, 12:58 PM   #4
m0rzana
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
i previously install fhmip suceesfully but trying to install it again following the same steps as before . i failed

i need to install it again in another machine having installed another patch with other ns version to make a combined scenario of two patches with different ns versions .... am i wrong

E.X WiMAX ns2.31 with Mobiwan ns2.33
#3
i don't understand what you mean as i'm beginner in linux please declare this with steps if you don'y mind
Quote:
May be you are using the wrong executable 'ns' ?
Make a copy of the right 'ns' to 'ns-fhmip' ,
... and copy 'ns-fhmip' to /usr/local/bin/ .
(You may also have a failed build of ns231 + ns2.31_fhmip.patch.)
also https://drive.google.com/folderview?...W8&usp=sharing
the above is the source of NEMO patch edited mobiwan patch
but i couldn't install it successfully like mobiwan does

---------- Post added 09-24-14 at 08:58 PM ----------

Quote:
i previously install fhmip suceesfully but trying to install it again following the same steps as before . i failed

i need to install it again in another machine having installed another patch with other ns version to make a combined scenario of two patches with different ns versions .... am i wrong

E.X WiMAX ns2.31 with Mobiwan ns2.33
#3
i don't understand what you mean as i'm beginner in linux please declare this with steps if you don'y mind
Quote:
May be you are using the wrong executable 'ns' ?
Make a copy of the right 'ns' to 'ns-fhmip' ,
... and copy 'ns-fhmip' to /usr/local/bin/ .
(You may also have a failed build of ns231 + ns2.31_fhmip.patch.)
also https://drive.google.com/folderview?...W8&usp=sharing
the above is the source of NEMO patch edited mobiwan patch
but i couldn't install it successfully like mobiwan does
 
Old 09-25-2014, 04:03 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please edit away the duplicated text in post #4 .
Editing : Hit the `Edit´ button.


← 4# : The NEMO (Network Mobility) edited mobiwan : Have you got any documentation ?
The `nemo mobiwan´ is very much like the MIPv6 ns-2.33-mobiwan-an-110617 (Year 2011) ..
New link https://drive.google.com/file/d/0B7S...it?usp=sharing
( The old links for ns-2.33-mobiwan-an-110617.tar.gz are no more reachable :
http://siti.ulusofona.pt/aigaion/ind...tions/show/100 , etc.)


Not quite clear what it is you want : Do you want { MIPv6 + FHMIP + wimax } ?
Some patches can be combined. Some will conflict.
Example, Wimax-lwx + LTE + DCCP + MPTCP :
http://www.linuxquestions.org/questi...-a-4175519200/
.... Creation time for a combined patch is 1 - 10 hours.

-

Last edited by knudfl; 09-25-2014 at 04:10 AM.
 
  


Reply

Tags
fhmip, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install fhmip patch in ns2? hippo3010 Linux - Software 8 02-12-2014 09:43 AM
mip,hmip,fmip and fhmip simz Linux - Newbie 2 05-15-2012 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration