[ns] which files are to be modified for implementing a new protocol.....i want 2 create a new protocol by modifying AODV....

2009-03-05 Thread veronica diaza
Hello ns2 usersIam Veronica,pursuing my final year Bachelor of TechnologyIam working on AODV implementation with power consumption as cost metric. Please suggest me which CC.FILES i have to modify for replacing shortest path with power consumption as cost metric..please sug

[ns] please help....

2009-03-05 Thread veronica diaza
Hello ns2 usersIam Veronica,pursuing my final year Bachelor of TechnologyIam working on AODV implementation with power consumption as cost metric. Please suggest me which CC.FILES i have to modify for replacing shortest path with power consumption as cost metric..and in which w

Re: [ns] Ns-users Digest, Vol 63, Issue 4

2009-03-05 Thread sahoo jagruti
Dear J S, To check memory leaks , you can go for valgrind tool. Check the link below. http://valgrind.org/ Sometimes, out of of memory occurs if the trace file is large. In that case, just keep the traces that u need and turn off all other traces. For example, u may turn on AGT only and turn

[ns] ns error invalid command name "Node/DelayBox"

2009-03-05 Thread renuka uday prabhu
  Dear ns-users I am using ns-2.33 version installed on Cygwin . It was working fine. Now I tried to add Cluster Based Routing Protocol(CBRP), the source code for which I got from the internet for version 2.1b5. I modified the code and removed all the errors to fit for the new version. I modi

[ns] ns2 pushback

2009-03-05 Thread muralikrishna g
hi to all i am new to ns2, i am using ns-2.33, here i like to simulate the pushback in this i like to do push incoming packets sender address to up stream router.. for this scenario i got some code it is like this * * * * * Node instproc add-pushback-agent {} { $self instvar pushback

Re: [ns] problem with DSDV

2009-03-05 Thread Jaspreet Singh
On 3/6/09, Jaspreet Singh wrote: > > Hi All, > > I am facing a problem with wireless ad hoc simulation. It works fine with > AODV & DSR protocols for any no of nodes. Now, if I change the protocol to > DSDV, it works fine only for 5 nodes. If I increase the nodes to 10, it does > not produce the

[ns] AODV new pkt send error

2009-03-05 Thread sarym binome
Hello i create a new packet “newpkt” aodv and I create a function send_newpkt (for neighbor only )and recv_newpkt and I call it in constructor (bold underlined ) AODV::AODV(nsaddr_t id) : Agent(PT_AODV), btimer(this), htimer(thi

[ns] Promiscous mode in DSR...

2009-03-05 Thread Salvo Danilo Giuffrida
Hi, I saw that in the DSR implementation of NS2, promiscous listening for source routes and automatic route shortening is by default enabled. In real life scenarios (sensor networks, etc...), is it enabled? I'm wondering this because I know that promiscous listening consumes more power, and maybe

[ns] NIST Mobility Package

2009-03-05 Thread Lynoh MaGee
Hi, Does the NIST mobility package extension to NS-2 support MIPv6 ? Furthermore, which files need to be modified to implement PMIPv6 ? Thank you. _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.mic

[ns] 802.15.4 modulation

2009-03-05 Thread Rodrigo Palucci Pantoni
Hello, I would like to know if there is some code available of 802.15.4 to NS that supports modulation of TDMA (Time Division Multiple Access) and Channel Hopping simultaneously. Somebody can give me a tip? Thanks in advance, Rodrigo

[ns] need an example of wireless sensor network using SMAC

2009-03-05 Thread Mathiew Moussa
Hello All, Does anyone know where i can find a package (TCL and some C++ algorithm) for NS2 the simulates a Wireless Sensor Network using SMAC at the Mac Layer. I couldn't find something sufficient. All I need is something to start with i.e. some code that the I can slightly modify, add co

[ns] NAM Problem

2009-03-05 Thread Mayank Daga
Hey, I am using a scenario file which comes with ns2. scen-3-test. But the issue is, when I see the topology in NAM, there is just one node and that too is not at the co-ordinates where it has been assigned to. I have tried with various scenario files but non luck. Please help. -- Regards, M

[ns] how to call multiple targets to receive a packet.

2009-03-05 Thread sai krishna gumudavally
Hello, I need to simulate a scenario where a node on receiving a packet will send it out on all the out going links.I do not want to use multicast protocols due to some other issue.Can any one help me with implementing it?. Thank you, Regards -Saikrishna

[ns] problem regarding NS2

2009-03-05 Thread akshatha h.k
Respected sir/madam, I am doing my final year B-tech project in NS2.All the installations procedures were really good for the beginners like us. But i have a huge hurdle on my way I don't know how to write a code for the spectrum sensing or a passive listener who can sense the medium and just re