[ns] help in the fixed routing protocol

2012-04-09 Thread Abinaya Ulagapa

hello,
i ve been trying to implent a routing agent with manually configured
routing table as mentioned in
http://www.winlab.rutgers.edu/~zhibinwu/html/Routing_Agent.html#Agent
I have made all the changes required and also created an routing table
file,but i am not able to input it to the code.I get the error :


[ns] help with Implementation of a routing agent with manually configured routing table (Static Routing)

2012-04-09 Thread Abinaya Ulagapa

Hello,I have been trying to implement a routing agent with manually
configured routing table (Static Routing) as mentioned in
http://www.winlab.rutgers.edu/~zhibinwu/html/Routing_Agent.html#Agent. I
have created a routing table manually but I am unable to input it to the
the script.I get the following error.Kindly help me with how to input the
routing table file.

Starting Simulation...
FIXRT: configure routing table file open failed!
Segmentation fault

Thank you,
Abinaya


[ns] [NS2-ANS]Re: adding components for ns2

2012-04-09 Thread Teerawat@UBC

Hi 

If you would like to add a new module into NS2, please read

http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2

You might want to check out the reasons behind Tcl error messages from the link 
below:

- General error message interpretation: 
http://www.ns2ultimate.com/post/419191200/tcl-error-message-in-ns2

To fix the error, please read the following posts:

- Invalid command name: 
http://www.ns2ultimate.com/post/995668627/error-message-invalid-command
- To add new OTcl class: 
http://www.ns2ultimate.com/post/689847378/c-and-otcl-linkage-binding-c-and-otcl-classes
- To add an OTcl command: 
http://www.ns2ultimate.com/post/801303612/c-and-otcl-linkage-otcl-commands-getting-started
- To add a new module: 
http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2

I hope this will help.

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.ece.ubc.ca/~teerawat
http://www.t-issariyakul.blogspot.com
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
On Apr 9, 2012, at 5:28 AM, savan kiran wrote:

 
 i have followed the steps given in the Marc Greis tutorial to the last word
 and put the renamed ping files into a directory named
 ns-allinone-2.35/ns2-2.35/eammh/
 
 i've made the necessary changes in files like packet.h etc...
 my files are eammh.cc and eammh.h
 after doing make clean,make depend,make
 the eammh.o file is being created successfully.
 but even then i get the following error whenever i try to include
 Agent/Eammh in a tcl file.
 
 error:
 
 invalid command name Agent/Eammh
 while executing
 Agent/Eammh instproc recv {from rtt} {
 $self instvar node_
 puts node [$node_ id] received ping answer from \
 $from with round-trip-ti...
 (file eammh.tcl line 32)
 
 what is the problem?
 
 -- 
 $@V@N
 




[ns] AOMDV Tcl Script

2012-04-09 Thread Bety Barreto Soares



 
Hi all,

I want to know that to run AOMDV for routing protocol in ns2.34 we just need to 
change the 
routing protocol to AOMDV and rest all things will be same as 
like in AODV 
or is there any other changes need to made in AODV tcl file to 
run the AOMDV 
protocol.

Thanks in advance
Bety