[ns] records in trace file are all broadcast packet, Y?

2006-11-08 Thread wang laye
Hi all, I am studing the GPSR routing proto, I install the gpsr code for ns2.26, test it and generate a trace file. Now I find the trace records are all Broadcast Packet, such as r 5.054887671 _32_ RTR --- 111 GPSR 29 [0 1f 800] --- [31:255 -1:255 32 0] I dont know where is the

[ns] IPSec and NS2

2006-11-08 Thread Matteo Lauriano
Dear all, I am writing because I'd like to know if there is today an implementation of IPSec ESP (RFC 4303). Thanks in advance, Matteo

[ns] Obtaining SNR value

2006-11-08 Thread Piyush Agrawal
Hi, How can I obtain the SNR value at a node during the simulation from the C++ code? I need this to simulate a link adaptation algorithm. TIA, Piyush -- Piyush Agrawal 4th Year Undergraduate Student, Department of Computer Science Engineering, IIT Kanpur, India Homepage:

[ns] HOW TO DISTINGUISH THE TRANSIT NODE WITH STUB NODE IN GT-ITM

2006-11-08 Thread zhang victor
hi, everyone, I used GT-ITM in ns-allinone-2.29.2 to generate the transit-stub topology gragh, and used sgb2ns to generate the tcl file. but i need to reset the delay value between the links. but how can i distinguish which nodes is the transit nodes or stub nodes , i try to read it from sgb

[ns] Definition of bind() function

2006-11-08 Thread G.Chandramowli
Hi everybody .. Can anyone please tell me where the TclObject::bind() function has been defined ? I know that it has been declared in tclcl.h file in the following path . /ns-allinone-2.29/tclcl-1.17/ Related suggestions are also welcome . Thanks in advance Mouli.

[ns] Access to the IP header

2006-11-08 Thread babak
Hi All, I'm trying to access to the IP header with this command hdr_ip* hdrip = (hdr_ip*)pkt-access(off_ip_);I've used this command based on Marc Greis Tutorial in the Ping Agent implementation. However I get the error that off_ip_ was not declared in this scope. I didn't find off_ip_ in ip.h

[ns] Inserting connectors (NS-2.30)

2006-11-08 Thread toby.moncaster
I am trying to find out how to add a new connector element to a single link. This element is a dropper. I can add it to every link (which isn't very useful) but can't manage to add it to a single link. Thus far I have tried adding the following code to ns-link.tcl: SimpleLink instproc

[ns] bash:ns:command not found-Urgent

2006-11-08 Thread Shaili Desai
Hello all I tried to patch wimax module with NS-2.29 and the patch worked now, but after that when I go to cd ns-allinone-2.29 and do 'ns example1a.tcl' or any other script it gives me following: bash: ns: command not found Does, it have something to do with Path Environments.?? I had a back

[ns] packet rate in cbrgen

2006-11-08 Thread Mohammad Haseeb Zafar
Hi To create CBR connecions, run ns cbrgen.tcl [-type cbr|tcp] [-nn nodes] [-seed seed] [-mc connections] [-rate rate] For example , ns cbrgen.tcl -type cbr -nn 50 -seed 1.0 -mc 20 -rate ? If I want to set rate at 10 packets/sec, what should I mention in rate 10 or 1/10 as rate=1/interval.

[ns] problem with NS2.28 and Mobiwan

2006-11-08 Thread sarah mina
Hi NS-users; I try to install the patch Mobiwan in NS2.28 on Redhat9.0, I got the following step: $zcat -f ns-228-mobiwan-102.diff.gz |patch –p1 Enter ns-allinone-228 direcory and i typed $./install But I have failed when I try to execute a TCL script like

Re: [ns] Disabling ARP protocol for MAC evaluation

2006-11-08 Thread Michael Timmers
first you need to get a tcl reference for the arp-table: e.g. ($val(nn) = number of nodes in simulation) for {set i 0} {$i $val(nn) } { incr i } { set ll($i) [$node_($i) set ll_(0)] set arp($i) [$ll($i) get-arptable] } then you can put entries in the arp-table.

[ns] Scenario Files

2006-11-08 Thread Mohammad Haseeb Zafar
Hi 1. I want to set constant speeds of 0, 1, 5, 10 and 20 m/s for set of experiments that varies the velocity for 20 sources of 50 nodes network. The packet sending rate is fixed at 10 packets / sec. I am setting the scenario file for speed of 1 m/s as ./setdest -v 1 -n 50 -p 30.0 -M 1.0 -t

[ns] ns.2.29 cygwin sp2 VALIDATION TEST ERRORS HELP!!!!!!!

2006-11-08 Thread antonis antoniou
This is the result of validation test of ns2.29,under CYGWIN WINXP SP2 Can anyone help to fix the problems??? $ ./validatetest.txt 0.805440: FullTcp(_o87): recv'd pkt in CLOSED state: 2.361973: FullTc 8):: resetting cwnd from 0.00 to 1 2.500640: FullTcpAgent(_o138):: resetting cwnd from

[ns] Problem with running 802.15.4

2006-11-08 Thread kelvin lim
Hi, Really need help. I'm performing analysis on the performance of 802.15.4 and aftering runing ns2 (AODV,cbr), i got this error [wpan/p802_15_4phy.cc::PD_DATA_request][8470.807910](node 4) Invalid PSDU/MPDU length: type = AODV, src = 4, dst = -1, uid = 0, mac_uid = 406423, size = 135.

[ns] wireless network (directed diffusion and height number of nodes )

2006-11-08 Thread zitouni rafik
Hello to all, I' have the problem when I simulate the directed diffusion diff_prob with a height number of nodes 100 nodes, I receive the following error: ns: mobile/god.cc:1052: virtual int God::command(int, const char* const*): Assertion `min_hops[i * num_nodes + j] == d' failed.

[ns] My e-mail address

2006-11-08 Thread G Shafiullah
My e-mail address is: [EMAIL PROTECTED] Please subscribe this. Thanks GM G M Shafiullah Master of Engineering (Research) Student Centre for Railway Engineering (CRE) Faculty of Sciences, Engineering and Health Central Queensland University

[ns] Mail from GM Shafiullah, a postgraduate research staff

2006-11-08 Thread G Shafiullah
Dear Users, I am doing Masters by research in Central Queensland University, Australia. My research topic is Apllication of Wireless Sensor Networking in Train Health Monitoring. I am trying to develop an energy-efficient MAC and routing protocol for WSN and for this I want to use NS-2

[ns] when add new class in ns2.30, undefined refrence to vtable error

2006-11-08 Thread ghada
Hi all, i try to add new simple class to ns2.30 i write the myclass.cc file and .h file, then make ./configure , ./make i had this error: in function myclass::myclass(): undefined refrence to vtable for myclass. anyone know what it is the error exactly? thanks