LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2011, 12:00 PM   #46
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

# 45.
Quote:
invalid command name "Agent/MIPv6/MN"
That's the result you get from an 'ns' that is not compiled with mobiwan.
Or it may be a wrong location :

I have no ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/mobiwan/ ,
but : ns-allinone-2.33/ns-2.33/tcl/mobiwan/.

The folder "ns-2.33-mobiwan/" may origin from a wrong patch command.
( 'patch < p0' ? )

Code:
cd ns-allinone-2.33/ns-2.33/tcl/mobiwan/
./ns-mobiwan simple-mipv6.tcl 
num_nodes is set 5
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl (except for MobiWAN simulations)
INITIALIZE THE LIST xListHead

  >-------------------- NS Addressing --------------------<
  Domains (domain_num) : 2
  Clusters (cluster_num) : 1 5
  Nodes (nodes_num) :  1 1 3 1 1 1
  >-------------------------------------------------------<

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
31.9021 get_coa for BS 1.2.0:4198400
Simulation finished

|Binding Cache for node 1.1.0 at 100 --------------------------------------- |
|Node		COA		Type	Info	Flag	Last	Time		Life	Expire		Nb|
|1.1.1		1.2.6		7	MN	1	22	96.9076		10	0		12 |


|Binding Cache for node 0.0.0 at 100 --------------------------------------- |
|Node		COA		Type	Info	Flag	Last	Time		Life	Expire		Nb|
|1.1.1		1.2.6		7	MN	1	23	96.9098		10	0		11 |


|Binding Update List for node 1.1.1 at 100 --------------------------------------- |
|Node		COA		Type	Info	Flag	Last	Time		Life	Expire		Nb|
|0.0.0		1.2.6		5	CN	1	23	96.9021		10	109.964		11 |
|1.1.0		1.2.6		3	HA	1	22	96.9021		10	2.68435e+08		12 |


|Base Station List for node 1.1.1 at 100 --------------------------------------- |
|Node		COA		Type	Info	Flag	Last	Time		Life	Expire		Nb|
|1.2.0		1.2.6		8	BS	1	-1	99.5648		1	0		135 |
About "./ns-mobiwan" : Because of 5...10 ns2 versions installed
(on each Linux OS), I would usually have unique file names for all 'ns'.
..
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-22-2011, 07:33 PM   #47
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Quote:
Originally Posted by Hannaneh View Post
Hi, I am using HMIPv6 in ns-2 (ns-2.33 and FHMIPv6 patch)
I have 2 MNs which each receives 500K CBR traffic . when MN1 moves from HA to FA , during the Hand over time, MN2 throughput decrease significantly (from 500kbps to 100kbps) but after MN1 finishes its handover again MN2 comes back to the normal throughput (500kbps). has any one faced the same problem?
Thanks
Hannaneh
Do you have the link for FHMIPv6 patch? so that i can use HMIPv6
 
Old 09-22-2011, 08:34 PM   #48
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Dear Sir, i got now the error again, can you please teach me what to do next , please....

masum@ubuntu:~/Documents/ns-allinone-2.33/ns-2.33/tcl/mobiwan$ ns simple-mipv6.tcl
invalid command name "Agent/MIPv6/MN"
while executing
"Agent/MIPv6/MN set bs_forwarding_ 0 "
(file "simple-mipv6.tcl" line 4)

N.B. - my path is now ok, i guess as u said ns-allinone-2.33/ns-2.33/tcl/mobiwan/

Last edited by masumbillah243; 09-23-2011 at 04:54 AM.
 
Old 09-23-2011, 02:59 AM   #49
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 48 : Please do not quote entire posts. The thread becomes unreadable.
A simple #46 will do as reference.
Please edit your posts !


#48 : The best solution is to start from scratch in a new directory.
Delete everything. And hopefully do things the right way this time.


As an emergency solution, you can use a binary "ns-mobiwan"
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

.
 
Old 09-23-2011, 04:57 AM   #50
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Dear knudfl, thanx sir for your reply, # 49, how i m gonna use ur this, https://docs.google.com/uc?id=0B7S25...nload&hl=en_US? can you please tell me couple of steps sir
 
Old 09-23-2011, 05:10 AM   #51
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Copy any ns-mobiwan* to ns-allinone-2.33/ns-2.33/tcl/mobiwan/

And : ./ns-mobiwan* simple-mipv6.tcl

( See post # 46 ).
 
Old 09-23-2011, 05:18 AM   #52
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
let me try sir, thanx for your really qucik answer
 
Old 09-23-2011, 05:33 AM   #53
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
u r great sir, now i got as u got at # 46, thanx sir.
i want to compare MIPv6 with HMIPv6. how i get HMIPv6, as i know i need FHMIP extension, do you have?please
 
Old 09-23-2011, 05:38 AM   #54
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Dear sir,

whn i did like #46, i got

masum@ubuntu:~/Documents/ns-allinone-2.33/ns-2.33/tcl/mobiwan$ ./ns-mobiwan_Ubu1010 simple-mipv6.tcl
When configured, ns found the right version of tclsh in /home/knudfl/8tmp/ns-allinone-2.33/bin/tclsh8.4
but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem.
num_nodes is set 5
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl (except for MobiWAN simulations)
INITIALIZE THE LIST xListHead

>-------------------- NS Addressing --------------------<
Domains (domain_num) : 2
Clusters (cluster_num) : 1 5
Nodes (nodes_num) : 1 1 3 1 1 1
>-------------------------------------------------------
......

the difference i see, that is its tell something about tclsh, what u think sir, it is ok?
 
Old 09-23-2011, 06:19 AM   #55
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Quote:
Originally Posted by sangram_kokate View Post
Hello silvapearl ,

I have installed seasons FHMIP1.3.1 extension in ns2.31.

# Download links :
1) http://translate.google.co.in/transl...%26aid%3D16409
[Note: On "www.baisi.net" you can find lot of good resources related to ns2 installation,simulation.]

2) http://www.pudn.com/downloads103/sou...ail422234.html

# Installations instructions are clearly mentionded in pdf document..just rename pdf document to "FHMIP1.3.1.pdf" and you can view it (also you translate it with google for more clear understanding).

If you still found some problem, i can send extension just email me.

For your information i have tried this on winxp + cygwin + ns2.31 + fhmip1.3.1

can i use this extension at NS-2.33?
 
Old 09-23-2011, 06:26 AM   #56
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Dear knudfl,

Can you please help me to get FHMIP extension, or can you suggest me how i can compare with MIPv6 (i already have by followed ur teaching) with HMIPv6? please help me sir
 
Old 09-23-2011, 06:42 AM   #57
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 56.

Sorry, not a subject I know : FHMIP extension , HMIPv6.

Please advise, if you find some information, patches, etc.

.
 
Old 09-23-2011, 07:01 AM   #58
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 56.

Sorry, not a subject I know : FHMIP extension , HMIPv6.

Please advise, if you find some information, patches, etc.

.
Sir, so how i can i get HMIPv6? consider i want compare MIPv6 with HMIPv6
 
Old 09-23-2011, 09:05 AM   #59
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Google .. ns2 HMIPv6 .. : 10,400 hits.
Examples
http://www.linuxquestions.org/questi...in-ns2-875272/
→ →
Patch for ns-2.32 (or ns-2.31 ?)
http://castudillo.usanetsol.com/port...gid=28&lang=fr
> http://castudillo.usanetsol.com/port...emid=4&lang=fr
> ns2.31_fhmip.patch.gz

Last edited by knudfl; 09-23-2011 at 09:08 AM.
 
Old 09-23-2011, 09:36 AM   #60
masumbillah243
Member
 
Registered: Aug 2011
Posts: 31

Rep: Reputation: Disabled
Post #59 , dear sir, can i use this extension at ns-2.33?
 
  


Reply

Tags
fhmip, hmipv6, mipv6, ns2



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 implement HMIPv6 in ns2? bsyew Linux - Newbie 10 08-18-2012 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 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