[ns] problem about Ns by Example

2006-09-21 Thread zhang victor

Hi,

  i am a beginner for ns user, my NS version is all-in-one-2.29,when i try
to do as the step in the add new application and agentpart in Ns by
Example,say,add the mmapp.
there are trouble when i add the default value in
ns-default.tcl.couldanyone tell me the reason,I really appreciate your
help.
when i add the default value as the ns by example
Application/Mmapp set rate0_ 0.3mb
Application/Mmapp set rate1_ 0.6mb
Application/Mmapp set rate2_ 0.9mb
Application/Mmapp set rate3_ 1.2mb
Application/Mmapp set rate4_ 1.5mb

Application/Mmapp set pktsize_ 1000
Application/Mmapp set random_ false

the result is following:
ns:
[code omitted because of length]
: invalid command name Application/Mmapp
while executing
Application/Mmapp set rate0_ 0.3mb

when i using #  omit the default value.
the run result is as following:

 ns ex-mm-app.tcl
warning: no class variable Application/MmApp::rate0_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Application/MmApp::rate1_

warning: no class variable Application/MmApp::rate2_

warning: no class variable Application/MmApp::rate3_

warning: no class variable Application/MmApp::rate4_

warning: no class variable Application/MmApp::pktsize_

warning: no class variable Application/MmApp::random_

warning: no class variable Application/MmApp::rate0_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Application/MmApp::rate1_

warning: no class variable Application/MmApp::rate2_

warning: no class variable Application/MmApp::rate3_

warning: no class variable Application/MmApp::rate4_

warning: no class variable Application/MmApp::pktsize_

warning: no class variable Application/MmApp::random_


[ns] RUNNNNNNNN source code

2006-09-21 Thread *bahareh NTC*

how can we run a simple file from the tcl library defult source code in ns2 
under linux and get out put result as a animated file of NAM??


-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.


[ns] Simulate an End System Multicast protocol (Narada) - where to begin?

2006-09-21 Thread Son Hua

Hi all, I'm new to NS now. My group tries to simulate the Narada protocol - an 
End system multicast protocol which works on the application layer. I wonder 
where I could begin?
I think that with End system multicast architecture, we need not to develop a 
new underlying protocol, we just need to implement the overlay network and its 
application-level communication protocol only, with the underlying network 
protocol (TCP/IP) support. I think that we should derive a new Application in 
the ns class hierarchy. I'm not sure whether this is an accurate start point. 
Anyone can help?
Thanks.



[ns] Broadcast packets and LL

2006-09-21 Thread [EMAIL PROTECTED]

Hi all!

I would like to use Broadcast packets in a wired scenario. Is it possible? If 
I use IP_BRODCAST it seems not working (no target for slot -1). Is it working 
only for wireless networks? Why?

Does the LL work with wired network? Because it seems that even when I build 
a newLan object (for example in lantest.tcl) it doesn't work.

Please, help me, because it's really important for my thesis degree!

Have a nice day,

Paolo





[ns] help ! Does Anyone have TCP-Peach Module?

2006-09-21 Thread 林泰邑

Help, everybody, I need TCP-Peach Module to simulate my experimentation, so
does anyone have TCP-Peach Module?

 

Please help me , and I am happy to discuss about any kind of TCP agent on
satellite. 

 

Thanks a lot.

 

   Tai-Yei Lin

 



[ns] AODV - writing into trace file

2006-09-21 Thread Robin Pomplun


Hi altogether,

i have a minor problem which evolves to a bigger problem for me.
I need to write a line into the AODV trace file, when a node sends a 
data packet. The line should include the source id, the destination id 
and the pathlength (meaning the number of hops between source and 
destination).
Then I had a look where AODV writes something into the trace file; I 
only found aodv_logs.*. But where does AODV writes  a line into the 
trace when a node sends, receives and forwards a packet? Did I overlook 
something? I suppose so, but where?


Thanks in advance for any help
Robin Pomplun