Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-26-2014, 12:24 PM   #1
LQ Newbie
Registered: Oct 2012
Posts: 14

Rep: Reputation: Disabled
How to obtain various results for each node in ns-2?

I have a problem with getting various results for different nodes in ns-2 simulator. I use different tcl files from different resources to check if they would give me different results but each time, I obtain the same results for all nodes.
For example, what I'm doing is that I'm sending a dropping packet counter from Mac class to udp class in order to do some calculations and print the value of them using certain algorithm. However, each time I got the same results even I'm assigning different traffics at different times with different rates! I think this is maybe because I have same values for the droppingPacket counter over all nodes?

So If I am interested in getting different number of dropping packets for each node? how can I do it? could you have any idea that help me to obtain different results for each node, please?

I attach the Tcl file I am using. I have created 3 nodes and assign between 2 nodes different traffics to be able to get various results with different rates.

Thanks in advance.
Attached Files
File Type: txt wirelessexample.tcl.txt (5.6 KB, 15 views)


networking, ns-2, ns2, ns2 ns-allinone, ns2-c++-tcl

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
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 09:33 AM
node recovery when the node becomes fault by using another node to replace it jerinc Linux - Wireless Networking 0 02-21-2014 06:44 PM
How to transfer the services from node 1 to node 2 ,if node 1 is directly turned off sankarg304 Linux - Server 1 12-12-2012 11:06 AM
How to make a DRBD node start itself as a primary node automatically? pyruby Linux - Newbie 1 01-29-2010 01:41 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 AM.

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