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:
http://www.gnu.org/software/gaw
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 t
Hi there,
I'm trying to drop packets under some conditions I want. What I've done is,
change the recv function's code in connector.cc so that when the conditions
I set are met, I use drop(p) to drop the packet.
The problem is that those packets vanish from the logs, which is obviously
something
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
th
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 DROP_RTR
Thanks for your responce,
in my case I have a wired scenario and I use the default (static) routing.
As I say in the previous post, I do all the work in the connector class. I
don't really care from which layer the packet is dropped, as long as I have
access to the packet to read the information
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 ns-us
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 o
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 ti
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:
http://old.nabble.com/
11 matches
Mail list logo