Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517
Rep:
# 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.
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
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.
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
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
# 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 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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.