Dear all,
Would you please elaborate on the following points?
- I have 130 ns2 trace files. How can I use a single command to do them all?
- How can I send the results to a single file?
I have found this:
awk -f awkfile.awk tracefile1.trace tracefile2.trace
here:
The best way is to create a script that does the job for you.
I would do it as follows (considered that the trace files are all in the
same directory and you execute the script from that directory as well.
Otherwise you need to alter the script a little bit.):
#!/bin/bash
touch results
for
To provide some more info:
Suppose I have the following topology:
http://old.nabble.com/file/p34250683/topology.jpeg
What I want is node D to drop packets from some specific nodes. What I've
done is the following:
I added one variables in the node.cc node.h to define if the packets from
first of all you should determine which layer is responsible for dropping
the packet?
I suppose it's routing agent, for example. then, put this line wherever you
want to drop the packet p:
drop(p, DROP_RTR_YOUR_REASON);
put this at line 97 in file %NS_DIRECTORY%/trace/cmu-trace.h
#define
After a closer look I saw that in the trace files the packets are delivered
normally. They only don't show up in the nam trace after the node that is
supposed to drop them...
--
View this message in context:
http://old.nabble.com/Properly-drop-packet-tp34250208p34251562.html
Sent from the
Dear all,
I'm a newbee on NS2 simulation. However, I have a problem considering
the following scenario.
I want to broadcast one control packet, for each time interval, by a
node chosen randomly. Then, after a certain period, I could send a
data packet by a designated node.
My problem is
Can you Please mail me the procedure to install ns2.34 version on ubuntu 11 ,
it would be of great help .
as i am learning ubuntu .
Best regards
Ajinkya
ankunda rubereza wrote:
hi all,
i was hoping to get some help towards simulating packet marking for ip
traceback. some of the older
Hi there,
I am a newer to NS2. Could anyone tells me
how Scheduler::instance().clock() works? In particular,
when Scheduler::instance().clock() are called at two different places in
the program (might be in different methods or classes), how can I tell
whether they return the same or different
Hi,
I am having a lot of trouble implementing Split TCP connection using NS-2
and so far I have failed to find anything of significant help on the net.
I would really appreciate it if someone could provide me some code for this
problem.
--
View this message in context: