[ns] alternate path routing
hi all, i want to simulate alternate path routing for multicast. can any one plz give some idea about it regards.. - Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
[ns] which trace format is more accurate?
Hi All, I am generating both trace formats (old and new) for the exact same simulation, and for instance I count total number of messages sent as below (in my awk file) $1~/s/ /AGT/ { sent ++; } but I get two different results now I wonder, which one of the trace files are accurate? which one should I pick? the version is 2.29. I'll appreciate your advice. Thanks, Sasan
Re: [ns] Running nam on cygwin
Thnx everyone for their help, my nam indeed is working. I am not aware whether I am using a linux server with or without ssh , I m using cygwin on windows XP. Also export DISPLAY=localhost:0 is working, but for this you need two terminals and 1 terminal should connect with the other. I did modify startxwin.bat but I think it isn't starting nam at startup so I dont know the correct way. Tuhin Kanti Sharma, Department of Computer Science, University of Delhi, Delhi, India On 4/15/06, Sasan Sahraei [EMAIL PROTECTED] wrote: in addition, I guess you need to run nam through startup batch file of XWindows simulator, make sure X11 is installed and from bin directory you can run startxwin.bat Sasan Hello Tuhin Kanti Sharma, You are probably trying to use NS on a linux server with ssh. Am I wrong? Anyway, typing the following commands in your console should help you a lot: export DISPLAY = localhost:0 and if you are using ssh, please use the option -Y after having set the DISPLAY variable with the previous command, for example:: ssh -Y -l mydistantlogin mydistantcomputername Mit freundlichen Grüßen, with kind regards, cordialement, -- Gilles BERTRAND Institut National des Télécommunications (GET)- Universität Stuttgart http://raimizou.com/GB_online/pages/network_simulator.php -- Tuhin Kanti Sharma a écrit : hi, I m getting this error: $ nam MySnoop.nam nam: no display name and no $DISPLAY environment variable when I try to run nam on cygwin.if ne1 can hlp I would be obliged. Tuhin Kanti Sharma
[ns] R: which trace format is more accurate?
Sasan, both versions of tracefile report the same information. The difference only lies in the format (actually, the new trace format is somehow more complete). So they are accurate in the same way, but the point is that you can't use the same awk script on both! You have to write two versions of you awk script, and then you'll get the same results. Regards, Marco Fiore Messaggio originale Da: [EMAIL PROTECTED] Data: 15-apr-2006 8.06 AM A: ns-users@ISI.EDU Ogg: [ns] which trace format is more accurate? Hi All, I am generating both trace formats (old and new) for the exact same simulation, and for instance I count total number of messages sent as below (in my awk file) $1~/s/ /AGT/ { sent ++; } but I get two different results now I wonder, which one of the trace files are accurate? which one should I pick? the version is 2.29. I'll appreciate your advice. Thanks, Sasan
[ns] NS2 faqs in the link below
NS2 faqs in the link below Good NS2 faq http://web.syr.edu/~dchen02/FAQ.txt -- Ankit Mehta Undergraduate Computer Science and Engineering Indian Institute Of Technology,Madras Chennai,India
[ns] tracing a 50 nodes aodv simulation
Hello ns users! I'm using ns2.29 and i want to make a simulation of a 50 nodes MANET scenario, using AODV as the routing protocol. I want to get an xgraph representation of the bandwidth, packet delivery ratio, traffic(number of packets, routing tables sent between nodes) and delay. My tcl file is in the aodv directory and i have written the finish and record procedures for xgraph, but i get the segmentation fault error and i can't figure out what's wrong... Here is the attached tcl file. If someone has done something similar or knows about this, please tell me what's wrong and how can i fix it. How to analize the trace file and get the data that i need? How can i make the graphical representation of the packet delivery ratio, traffic and delay? Please help! Regards, Alexandra - Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
[ns] in the trace file the lines are just a messages udp or cbr
hello thank you for your reponse,i would like to ask you a question,the trace file its contain juste the cbr or tcp messages,or this contain the HELLO and TC messages also. because i remarque that the nombre of paquets receive is more than the number of paquets send and i think its not logical. other think;i would like to know if adressing its very importante,and for having an ideas of the nombre of paquets receive by a node,i must to count de number of adress apears in trace file,and not the number of node apears ,because the node can be juste a router of message,and not the real destinantion Thank you for your help;thanks - Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.
[ns] Finding the source of the pkt in AODV
hi, ive a doubt in the AODV implementation in ns-2. Can anyone tell me a way to find the source of the pkt, given only the Packet P. That is ... I want to know the originator of the pkt. thanx, vinod -- Vinod Kone, Btech,Computer Science, VIII sem, Room 177,Kapili, IIT Guwahati.
[ns] having problem in Link layer issues
Hello everyone, I am trying to modify LEACH code, which is a cluster-oriented sensor network protocol. It uses CDMA technique, using different code for each cluster-node/cluster-head-node communication and cluster-head-nodes/Base Station (BS) communication. In the protocol the CHs (cluster head nodes) communicate directly with the BS, while I am trying to let the CHs communicate with other CHs before reaching BS, i.e. hop-by-hop communication between CH-BS link. But when I try to send the packet from one CH to the other nearest CH, other CH doesnot receive it. Rather it is lost somewhere in the Link Layer (ll) methods which are scheduled by the cluster head at one point. I could not figure out link layer methods, how they work, which methods they call, they schedule further uptarget_ and downtarget_ instances, which I could never trace. Can anybody help i this regard? How to track this uptarget_ and downtarget_ instances defined in ll.h and ll.cc? waiting eagerly for any help. Thanx Shafiq
[ns] Network Simulator Questions
Hi, I have been investigating NS2 for research purposes for the last several weeks. I have a very basic question and would really appreciate if you could shed some valuable light on it. I really stepped through each line of the code but can't really find when and where the simulator assigns source and destination node addresses to the packets. Could someone please explain in some detail how, when and where the packets are assigned source and destination node addresses and from where does the packets learn this information? Also, if there are more than 3 nodes (in case of ping agent), how does the packet establishes the source and the destination nodes for traffic because in the Tcl script we only connect the agents and do not specify the source and destination nodes. Secondly, function access (some argument) is spread all over the code. I went through the manual as well but can't really understand why it is being used in so many places. Could someone please explain what is the purpose of using this function and how does this function when cast into different data types provides information? Thanks, - Faisal Siddiqui
[ns] help with gcc/cygwin
Hi, I need to install an implementation of HCCA mode of 802.11e for ns2. After spending a week of trying to install Qiang Ni's and University of Pisa's implementation on both cygwin/windows or linux I still haven't got far. I have run into errors after errors. Apparently the latest error in cygwin is that of tclcl-mappings.h file related with something about incomplete declaration of tcl.. On linux. theres the problem of tk3d.c with error messages of symbol dx.. already defined etc etc I don't know why getting a running 802.11e HCCA is so complicated... Anyways, the main problem that I have found out after browsing the net is that the gcc compiler 3 or above has some problems so what is usually recommended is to downgrade to gcc 2.95 for ns Can someone please list the simple steps for installing/downgrading the gcc2.95 for cygwin Regards. - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
Re: [ns] Fwd: What does h stand for in trace format
check here, you might find the answer: http://k-lug.org/~griswold/NS2/ns2-trace-formats.html Sasan -- Forwarded message -- From: Tuhin Kanti Sharma [EMAIL PROTECTED] Date: Apr 15, 2006 7:57 AM Subject: [ns] What does h stand for in trace format To: ns-users@isi.edu Hi all, In running ~ns-2.29\tcl\ex\snoop\MySnoop.tcl, the trace file created out.trhas an h row, can anyone tell what does this h stand for, like r is for recieve, + for enqueue, - for dequeue, f for forward, similarly what does h stand for. Help would be really appreciated. Tuhin DUCS
[ns] Problems in the running the demo tcl in EDCF PATCH
Hi I'm working on the EDCF patch : avaialble at: http://sourceforge.net/project/showfiles.php?group_id=136544. But in that i'm facing a problem in the demo tcl multi_udpflows.tcl script, that all the packets are dropped; with the warning : warning: Route to base_stn not known: dropping pkt Can any one plz get me the reason, and also the problem in the routing algo. -- Saurabh Sinha Department of Computer Science, University of Delhi.