[ns] nse emulator

2012-10-24 Thread hagit maryuma

Hello,

Please help anyone.. knows how to read the real IP addreses of a packet
from a pcap file that is inserted to a node in the nse emulator?

The simulation uses pcap file as live data.

But need to find a way to read the real IP address from that pcap file.

Thanks!


[ns] help with errormodule

2012-10-24 Thread Rocío R


Hi,
what's the difference between errormodel and errormodule?
I find an example with the code:
set emod [$lossylink_ errormodule]
set errmodel [new ErrorModel/Periodic]
$errmodel unit pkt
$errmodel set offset_ 10
$errmodel set period_ $interval
$ns at $changetime $errmodel set period_ 1
$emod insert $errmodel
$emod bind $errmodel 0

but I can't find what means insert and bind. 
Where can I look for those commands?

Thaks everyone.

Rocío

  


[ns] code for mobile sensor nodes

2012-10-24 Thread Gaya thri

can u please help me how to code in ns2. im new to ns2. how to define
sensor nodes and make it in random motion.