[ns] problem in generating xgraph

2015-05-31 Thread alok kumar
sir, when i am using to generate nam file its properly work in ns2.35 but when I am using to generate xgraph we modify nam file it gives the following error: invalid command name Agent/TCPSink/Sack1/DeAck while executing Agent/TCPSink/Sack1/DeAck create _o108 invoked from

[ns] How to do data aggregation in NS2?

2015-05-31 Thread Behnaz Merikhi
In my project there is a number of clusters which have some sensor nodes inside, in every cluster nodes detect level of some gases and temperature, generate some data packets then send these packets to the cluster head (nodes in the cluster use Zigbee protocol to communicate to each other) , I

[ns] DV routing in NS2

2015-05-31 Thread Zakaria Derder
Hello, I'm working on a wired network simulation and i'm wondering is it possible to activate DV routing ($ns rtproto DV) when a link congestion or packet loss occurs at a certain node, so it can redirect the traffic ? I know $ns rtproto DV works when a link goes down, it redirects the

[ns] node frequency and nodes in the range of each other

2015-05-31 Thread Hana Amira
Hi every body Please, I would like to know how can I set the frequency of a node and my second question is how can I know that two nodes are in the same range of each other thanks in advance