[ns] Statements in recv() is not printed

2006-03-23 Thread raja priya
Dear All, I created a .cc file which actually has to broadcast the no of neighbors. For checking the c++ Otcl linkage i have just set the no of neighbors to be 10. I successfully created the .o file after doing make. I tried printing the no of neighbors using recv() in tcl but it dint

[ns] Routing protocol

2006-03-23 Thread juan manuel gomez garcia
Hello Pedro: I duplicate the BroadcastTimer object to myBroadcastTimer but I obtain a new error. I have observed that this error say that the multiple definitions are in zigbee.cc but I don't add nothing. I don't understand it. The error is: zigbee/zigbee.o:(.bss+0x10): multiple definition of

[ns] access point script

2006-03-23 Thread ravi kumar
  hello, I have a project,Enhancement of QoS of WLAN for voice multimedia communication. i have an access point script but when i run this script,it show an error message. i have attached the access point script. can anyone please help me regarding that script. Thanks

[ns] MACAW Source Code

2006-03-23 Thread Sebastian Guazzini
Hello, anybody can help me to find a source code for NS2 of MACAW. I need to simulate this MAC Protocol. Thank You Sebastián Guazzini Córdoba - Argentina

Re: [ns] Queue in Bytes

2006-03-24 Thread Adnan Huremovic
Hello, Do you know what is the size of queue when specified in packets? For example, if I put $ns duplex-link $n4 $n5 2Mb 20ms DropTail $ns queue-limit $n4 $n5 48 and have in the same time connections with different packet sizes (1000 i 1040 Bytes). What is the size of my queue in bytes?

[ns] gprs help

2006-03-24 Thread seema kukanur
Hi all! i am trying to execute on GPRS module (contributed by George) over ns-allinone-2.1b9a. if i run the script i obtain the following errors: number of nodes set 10 wrong node routing agent why? please give us solution for the above error.

[ns] changing Tcl script

2006-03-24 Thread elise hu
Hi, i have implemented a new ad-hoc routing agent on ns-2.29. When i use it, i get a Tcl error message, which i can more or less figure out. So i change the script concerned, but when i run my test again, i get the SAME error message, displaying a bit of code that i have changed, without the

[ns] Distributed Coordination Function (DCF) packet are not receiving at AGT level

2006-03-24 Thread Rudrashetty shetty
hi ! i have attached my Distributed Coordination Fucntion, tcl file, problem over here is in trace file, packet are not receiving at Agent level, showing till at RTR level. i have taken all physical and mac layer parameters and binded in PHY-MIB and MAC_MIB in mac-802.11.h file

[ns] Some problems about the mechanism of ns

2006-03-24 Thread 江 大鹏
Hello,everyone I knew from the ns manual that the C++ procedure can invoke OTcl procedures by tcl.eval() and so on.How do the OTcl invoke the C++ procedures? I donot understand the mechanism well.In other words, how can NS use these commands to obtain those C++ procedure? And what is the

Re: [ns] urgent help routing overhead with dsdv gave me 1

2006-03-24 Thread Ahmed Al Maashri
It should work with both Ahmed - Original Message - From: Sasan Sahraei [EMAIL PROTECTED] To: Ahmed Al Maashri [EMAIL PROTECTED] Sent: Saturday, March 25, 2006 2:28 AM Subject: Re: [ns] urgent help routing overhead with dsdv gave me 1 Are you assuming that the new-trace is set? i.e.

[ns] lookup the substitution of DHCP

2006-03-24 Thread 江 大鹏
Hello,everyone It is known to me that there is no implementation of DHCP under ns-2.Does anybody know some substitution?i need it vrey much. Thanks in advance, michael _ 与联机的朋友进行交流,请使用 MSN Messenger:

[ns] Need help with Nam

2006-03-24 Thread Anhs Mai The
Hi I have just started my research with ns and nam. I have these problem: - What program can be used to programming with TCL and OTCL language? - When I execute the example file with the command: ./ns example.tcl, it cannot open nam for simulation. The following message appeared: ns: finish:

[ns] SMAC doesn't support AODV?

2006-03-25 Thread chen guoming
Dear All: I write a tcl script to test the SMAC protocol and I set the routing protocol to be AODV. However, the packets can't be relayed in multihop topology. When I changed the routing protocol to DSR, it works fine. What's the problem? Please help me.Any suggestions will be affected!

[ns] IEEE 805.15.4 doesn't support DSR?

2006-03-25 Thread chen guoming
Dear All: I write a tcl script to test the IEEE802.15.4 protocol and I set the routing protocol to be DSR. However,I got the error information: [wpan/p802_15_4phy.cc::PD_DATA_request][100.105397](node 5) Invalid PSDU/MPDU length: type = DSR, src = 5, dst = -1, uid = 3, mac_uid = 1, size = 159

[ns] How to define different transmit range?

2006-03-25 Thread chen guoming
Dear All: I want to define different node with different transmit ranges, how to do it? Phy/WirelessPhy set CSThresh_ 1.559e-11 Phy/WirelessPhy set RXThresh_ 3.652e-10 ;# 250m the two lines above define the transmit range to 250m. However, all the node will have the same transmit range

[ns] Could not compile and run tcl8.4.11 during installation of ns-2.29 (fwd)

2006-03-25 Thread Angie
Hello, After I compiled tcl8.4.11 and excute make command under Fedora5.0. I got the following errors at the end. make gcc -pipe -c -DTCL_DBGX= -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1

[ns] Could not compile and run tcl8.4.11 during installation of ns-2.29

2006-03-25 Thread Angie
Hello, Sorry for the multiple posting since my previous post was not gone through smoothly. After I compiled tcl8.4.11 and execute make command under Fedora5.0. I got the following errors at the end. make gcc -pipe -c -DTCL_DBGX= -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1

Re: [ns] IEEE 805.15.4 doesn't support DSR?

2006-03-25 Thread Ahmad Khayyat
Try using smaller data packets. The maximum application packet size in 802.15.4 is 100 bytes. DSR adds larger overhead than AODV and hence makes the overall packet size larger than AODV does. You can see in size = 159 that the packet is larger than 128, which is the size limit of the

[ns] MECN algorithm implementation

2006-03-25 Thread Haninio elNINIo
Hi everyone, Does someone have the implementation of (S)MECN algorithm? It will really be a great help if you can share the implementation with me. Thank you very much. Best Regards

[ns] hierarchical routing example problem

2006-03-25 Thread vishnupriya padmanabhan
hi all, when i tried to run hier example in tcl/ex i get the following error duplex-interface split object attahed error in file please help me. thanks in advance vishnu priya

[ns] How to transmit MPEG-4 file over wired network using NS2

2006-03-26 Thread mohamed mydeen
Dear NS2 Users, I am Mohamed Mydeen A. I am using Network Simulator 2 for my M.E. Project work. I got some files from internet. I cannot execute the tcl files which is actually transmitting MPEG-4 file over wired network. I have attached three files. Please tell how to run that TCL script in

[ns] help plz : routing table doesn't want to be printed in the output file

2006-03-26 Thread hamdi benmessaoud
Hi all , I'm trying to print my routing table ,but i don't see the printed elements in my bash i tried also printing with cout ,printf, fprintf and sprintf and all of them don't print anything I used the following method to print this routing table : 1) i wrote a

[ns] changing node address

2006-03-26 Thread Ghirmay Desta
I am working on address autocofiguration for MANETs. I have created an agent. During simulation new nodes are able to send ADDRESS_REQUEST messages and receive ADDRESS_OFFER messages. But once after they change their address, they are not able to receive packets destined to their new address.

[ns] Problem running wireless script

2006-03-26 Thread Alexandra Cioroianu
Hello everybody! I am trying to run the first wireless script, simple-wireless.tcl and i get a starnge error,ahich i can't solve.Here is the output: num_nodes is set 2 invalid command name -topoInstance while executing -topoInstance $topo \ (file simple-wireless1.tcl line 97)

[ns] Multiple Propagation Models

2006-03-26 Thread Sasan Sahraei
Hi, How is it possible to have two propagation models for different distances? i.e. set twgProp [new Propagation/TwoRayGround] // setting parameter set badProp [new Propagation/Shadowing] // setting paraemters and then a third one and calling add-models to contain both? It there a

[ns] Any ns user who has tried J-Sim?

2006-03-26 Thread Sita S. Krishnakumar
Hello, I am a ns-2 user and would like to try J-Sim for some features that may be of interest to me. So if anyone has any experience with J-Sim, can you please comment on the following: 1. Is there a trace file generated when a simulation is run? The example I ran did not, but is there a way to

[ns] gprs help!!!!(urgent)

2006-03-26 Thread seema kukanur
Hi! i am sending the request to ns mailling list since from many days, but ur not responding to me. i am facing the problem while executing the GPRS code contributed by george in ns-allinone-2.1b9a version. then errors which we r getting are number of nodes

[ns] need RSVP/ns example scripts

2006-03-27 Thread Gilles Bertrand
Dear Ns users, I need some TCL script examples for the RSVP/ns patch from Marc Greis. Due to some prior (and modified) NS nstallations, I cannot use the standard patch to install RSVP/ns, I would therefore be very grateful if you could send me some tcl example files (in a zip or tar.gz file

[ns] how can i run a wireless simulation?

2006-03-27 Thread Alexandra Cioroianu
Hello ns users! I have ns-2.29 on Mandriva 2006. I am trying to run the first wireless script from Marc Greis' tutorial. This is what is written in the tutorial: At the end of the simulation run, trace-output file simple.tr is created. As we have turned on the AgentTrace and RouterTrace we

Re: [ns] gprs help!!!!(urgent)

2006-03-27 Thread Martina Umlauft
Hi! Maybe this is because your question is written badly and noone knows which code you are talking about? Posting the same question multiple times only annoys people and doesn't help at all. The GPRS code most people know about is by Richa Jain from India. There is a newer Version by Jeisa

[ns] Routing protocol OK

2006-03-27 Thread juan manuel gomez garcia
Hello NS-users: I create another identical AODV ad hoc routing protocol in Ns-2 but I renamed it as ZIGBEE. I copy all the files in AODV to a new folder call zigbee and renamed all AODV files (.cc .h) to zigbee files (.cc .h). Then I clone the code and I have changed all the words

[ns] end to end delay

2006-03-27 Thread minaxi rawat
hi i want to calculate end to end delay between two node.and draw graph delay vs bit rate. for this i want write a awk script can any body help me as soon as possible. thanks in advance. - Jiyo cricket on Yahoo! India cricket

[ns] See this site that gives out free products.

2006-03-27 Thread pravien kumar
Hello! Have a look at this. This company is giving away ipods. http://www.giftresource123.com/?r=EVE0U2QFdyc2BGgJDCMKi=gmailz=1tc=2 What do you think? Are you game?

Re: [ns] Problem running wireless script

2006-03-27 Thread Ghirmay Desta
Hi Alexandra, It seems that ns is trying to execute -topoInstance as a command while it is actually one of the node configuration parameters. I want you to look carefully how you are loading the node configuration parameters. Most likely the end of the line prior to the -topoInstance $topo \ is

Re: [ns] See this site that gives out free products.

2006-03-27 Thread Salvador Alcaraz Carrasco
I think that you are in a mistaken mailing list. /salva On Mon, 27 Mar 2006, pravien kumar wrote: Hello! Have a look at this. This company is giving away ipods. http://www.giftresource123.com/?r=EVE0U2QFdyc2BGgJDCMKi=gmailz=1tc=2 What do you think? Are you game?

[ns] sending packets from objects within agent

2006-03-27 Thread elise hu
Hi, i have implemented a routing agent for ad-hoc routing, but i have a problem: the agent attached to a node has several 'roles', so the agent has a central subclass of agent, and contains several objects which take care of different behaviours. Now i need to send packets from those objects

Re: [ns] Problem running wireless script

2006-03-27 Thread Ashraf Bourawy
hi Alexandra, Attached is your tcl script after modifications,it should work for you nowby the way, I have enabled the new trace as well as nam As for packet visualization, it is not supported yet,, to see the mobiles movement you can run your simulation and then type: nam

[ns] ns2 installation steps required, please help

2006-03-27 Thread Twum Frimpong
I am new to ns2. I am a student and part of my final year project require that I use ns2 for simulating an mpls network module. I have downloaded ns2 all-in-one on my machine on linux debian OS platform from source forge. Could you help me with the steps to install and run the simmulator please.

[ns] R: sending packets from objects within agent

2006-03-27 Thread Marco Fiore
Elise, you could have a look at the website: http://masimum.dif.um. es/?Documents where Francisco Ros and other researchers present their work on implementing a new routing protocol for ad-hoc networks. Regards, Marco Fiore Messaggio originale Da: [EMAIL PROTECTED] Data:

Re: [ns] ns2 installation steps required, please help

2006-03-27 Thread Ahmad Khayyat
If you search google for the terms debian ns2 you will get the following link as the first match! http://wiki.splitbrain.org/ns2 Twum Frimpong wrote: I am new to ns2. I am a student and part of my final year project require that I use ns2 for simulating an mpls network module. I have

[ns] Multipath routing

2006-03-27 Thread Vijay Ghorpade
  Hi all, In my project i am in a need of multipath routing. Is is possible to simulate multipath routing in ns-2? If yes how? Pl Reply. Thanx in advance Vijay

[ns] Qos Routing Problem

2006-03-28 Thread Xlarge
Dear all: I am now simulating AODV with QOS constraint, so i need the channel quality provided by the MAC layer(802.11), is anyone have experience on this? Please tell me how to start. Thanks in advance

[ns] GPRS help!!!!!(urgent)

2006-03-28 Thread geeta jaggal
Hi! I am facing the problem while executing the gprs code contributed by Jeisa in ns2-allinone2.1b9a version. when i execute the script i am getting the error wrong node routing agent please help me to overcome this problem which i mentioned above.

[ns] [bug] otcl-1.11 make failed! Exiting ... (thanks to Tom Henderson)

2006-03-28 Thread Fausto Codina-Ferrus (Core/Lay)
Hi Tom, Thanks very much for this. I updated the 'install' script and got the package working!! Best regards, [EMAIL PROTECTED]

Re: [ns] How to measure energy consumption of wireless nodes

2006-03-28 Thread Qasim Raza Iqbal
Hi there Could you also send me a copy of the solutions to your wishlist thanks Qasim Iqbal Hi Gurus, I am a newbie in ns2 and I need to evaluate the energy consumption of AODV. My plan is to have the nodes send/receive data for a period of time and measure the energy difference

[ns] Help on mysnoop.tcl

2006-03-28 Thread Tuhin Kanti Sharma
I need to analyse snoop on 802.11 mac. I hav tried many options but I guess the snoop implemented dsn't support 802.11. If there is a way to analyse snoop implemented on 802.11, please let me know. Is there an support for snoop using a wireless mac protocol. I'll b really obliged. Tuhin Kanti

[ns] router performance

2006-03-28 Thread Daniele
do you know if are there some parameters to setup (increase or decrease) the routing performance of a node in ns2? maybe in a .tcl file in ns2-2.29/tcl/lib ? I need to change the performance of a router in the lookup function, do you think is possible? Please answer.. Cheers -- D.

[ns] Getting help about simulating FDMA like Mac protocols in ns-2

2006-03-28 Thread ali chodari khosroshahi
Dear All. I want to simulate multi-channel Mac protocol in the NS-2 (simulating FDMA like Mac protocol). But I haven't any information about simulating this protocol. How I can create multiple channel for a node. How I can divide wireless bandwidth (frequency) into the multiple channel

[ns] SIP Help

2006-03-28 Thread Deeya Nursimloo
Hi there, I am working on ns2 for my project simulating MIP and SIP and I am still a novice in the field. Can u plz help me with the following : REGISTER sip:3 SIP/2.0 Cseq = 0 --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o32: no target for slot 0 _o32

[ns] Multi-state error model

2006-03-28 Thread Arwa Hafizji
Hi all I am trying to use the multi state error model for me ns simulations. I am having difficulty in understaing what the parameters are. I have attached a sample script but I dont understamd how to change the parameters if anyone can help that would be great thanx.. #Create a Loss Module

[ns] Problem with Ad-Hoc routinng agent

2006-03-28 Thread Shibdas Bannerjee
Hi, I am currently writing a new ad-hoc routing agent in ns-2.29. I have followed the Implementing a new manet routing agent document linked at ns documentation site. My agent implementation makes use of a timer. When the time expires Send_pkt function is called but when I am attaching an

Re: [ns] Set address to ns node

2006-03-28 Thread sandoche balakrichenan
Hello everyone The timers that i see in NS works like this. For every time duration it sends a packet. But i want to associate a sequence number of packet with the timeout. For e.g if i sent a packet with seq. no 1 and i assign a timeout of 5 sec for this packet i sent a packet with seq.

[ns] Variable link capacity

2006-03-28 Thread max
How to make a simple-link capacity vary during simulation ? I tried this : /*$ns at 40.0 [$ns link $r1 $dst_tcp(0)] set bandwidth_ $UMTS_half_access_capacity*/ There's no bug, but it doesn't work (as usual in ns2 :)) Thank you very much for your help. -- Max UNGER = N2NSOFT, 11 blvd

[ns] MediaWiN 2006: Workshop Program and Call for Participation

2006-03-28 Thread Periklis Chatzimisios
(Apologies if you receive multiple copies of this message) Workshop Program and Call for Participation 1st Workshop on multiMedia Applications over Wireless Networks

[ns] Completed install

2006-03-28 Thread chet
Is there a GUI for this and also a newbies begginers guide to running and getting the results, I know is a basic question but I'm willing to learn Martyn

[ns] [Cygwin] help on MIPv6

2006-03-28 Thread Mohammed Abu-Khadra
hi all, iam working on a project for QoS Provision in MIPv6 nodes ... i need the source/script for MIPv6 ... and any usefull link on IPv6 ..plz am using cygwin/windows ns-2.29-allinone thanks

[ns] X server - Keyboard problem

2006-03-28 Thread Emre CAN
Hi all, How can I create a configuration file for non-US keyboard in X11? I ran the X server but it's not recognising my keyboard's keys. I know it can be done with xsconfig command but I don't know how to use it, and I don't know which configuration needs to be done in order to X server

[ns] what is Admin address?

2006-03-28 Thread 耿蓉
ns-users,您好! 致 礼! 耿蓉 [EMAIL PROTECTED]   2006-03-29

[ns] Setting transfer rate for FTP application

2006-03-28 Thread Nikhil
Hi, I'm trying to do an experiment in which I've to set the rate at which FTP transfers data. From what I've seen, NS-2 allows setting transfer rate only for CBR using the $cbr set interval_ {value} Is there any way to set a similar interval for FTP or any application running over TCP? I'm

[ns] hierarchial routing for new node

2006-03-28 Thread vishnupriya padmanabhan
hi all, i am working with a new node type called ason.i want to implement hierarchial routing but i found that only ordinary nodes can use hierarchial routing.what should i do for implementing hierarchial routing for a new node type? please help me. thanks in advance vishnu priya

Re: [ns] How to measure energy consumption of wireless nodes

2006-03-28 Thread samanasrikanth samana
hi heo I m assuming that you might have simulated few tcl scripts. So in wireless tcl srcipts .. you will find node-config option so in that enable the option -movementTrace ON So when u run the script. It will generate some entries after every 10 sec, about all the nodes

[ns] What is the significance of recv()

2006-03-29 Thread raja priya
Dear All, Can anybody tell me the significance of recv() that is used in the tcl file of Ping??? Also please tell me in what way, recv(Packet *,Handler *) used in .cc is releted to recv used in tcl??? Please help me by providing this information. I need this for my graduation

[ns] ns 2 installation steps, please urgent help!!

2006-03-29 Thread kala dridi
I am new to ns2. I am a student and im doing a project that requires using ns2 for simulating an adhoc network. I have downloaded ns2 all-in-one on my machine on linux suse 9.1. Could you help me with the steps to install and run the simmulator please. Thanks in advance.

Re: [ns] What is the significance of recv()

2006-03-29 Thread Nisar Bashir
Hi, I would also like to know what this means. Thanks, Nisar On 3/29/06, raja priya [EMAIL PROTECTED] wrote: Dear All, Can anybody tell me the significance of recv() that is used in the tcl file of Ping??? Also please tell me in what way, recv(Packet *,Handler *) used in .cc is

[ns] Two questions - Node id and path optimality calculation

2006-03-29 Thread Sasan Sahraei
Hi, According to the manual -Hd represents the next hop towards the destination. In my trace file -Hd is mainlly equal to -2. i.e. r -t 30.106683874 -Hs 44 -Hd -2 -Ni 44 -Nx 1254.06 -Ny 25.52 -Nz 0.00 -Ne -1.00 -Nl RTR -Nw --- -Ma 0 -Md -Ms 2e -Mt 800 -Is 46.255 -Id -1.255 -It

[ns] doubt in MAC layer implementation of NS2.28 for wireless

2006-03-29 Thread manjusha
Hi NS-users, Can anyone tell me exactly, in which function does the MAC layer send a data packet (cbr/ftp) to the physical layer, after the RTS-CTS exchange? Regards, Manjusha If you look at what you don't have in life,

[ns] trace files addressing blues

2006-03-29 Thread Nauman Afzal
Hi, I am kind of lost in reading these trace files. While I understand that Hs aqnd Hd stand for next hop source and destination ID. But Is and Id shows numbers like 4194304 and 4194035, and it means source (and destination) address and port number respectively, but how does it translate to

[ns] packet forwarding .

2006-03-29 Thread sxroy1
I am trying to forward a packet with OAR protocol running outside the subnet where the protocol is running. The OAR protocol has the dsdv.cc file modified and under the DSDV_Agent::forwardPacket (Packet * p) the modification done is // Bypass Routing if (!dsdv_active_){

[ns] how to install SPIN protocol?

2006-03-29 Thread 黄莺
hi,all ns-users: i want to install spin routing protocol on my machine(cygwin+2.27),but failed.i know the spin can test on ns-2.1b5. is there any one can port it on latest version NS. please give me some advice.thank you in advance.

[ns] DiffServ in EURANE - only DCH

2006-03-29 Thread ben
Hi, My simulation completed successfully once I use DCH channel. Previously, I was using HS-DSCH channel the simulation just stop half way. I was using 2 UDP Sources with cbr traffic. Any comments? Could anybody please point where should I look regarding the above matter? Thank you.

[ns] SIP HELP

2006-03-30 Thread Deeya Nursimloo
Hi there, I am working on ns2 for my project simulating MIP and SIP and I am still a novice in the field. Can u plz help me with the following : REGISTER sip:3 SIP/2.0 Cseq = 0 --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o32: no target for slot 0 _o32

[ns] help reg DSR implementation in ns-2.28

2006-03-30 Thread rakesh reddy
Hi, Can anyone help me out in implementation of DSR for wireless network. Please suggest some tutorials related to this. Thanks in advance with regards K.Rakesh Reddy __ Yahoo! India Matrimony: Find your partner

[ns] Pareto distribution problem in wireless scenario

2006-03-30 Thread michelenuti
Hi, I've noted that in NS version 2.26, the Pareto distribution only works = in wired scenarios, but not in wireless scenarios. Does anybody knows why and how to solve the problem? Thanks a lot, Michele

[ns] Path Environment For Root User

2006-03-30 Thread hamid reza
Hi, How can I set path environment in linux redhat 9? and have sure from my true setting of path environment? I installed ns2.18ba for Root user. best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

[ns] help for slotted aloha simulation

2006-03-30 Thread rakesh reddy
Hi all, Has anyone done slotted aloha simulation for wired and wireless networks? Could someone plz help me out in this regard. I need to give poisson arrival as input. Looking forward for some help. Thanks in advance with regards K.Rakesh Reddy

[ns] error reading file cbr-3-test

2006-03-30 Thread Alexandra Cioroianu
Hello everybody! I am having a problem trying to run wireless1.tcl and i get this error message: couldn't read file ../mobility/scene/cbr-3-test: no such file or directory while executing source.orig ../mobility/scene/cbr-3-test (uplevel body line 1) invoked from within uplevel

[ns] Need Help in simulating Bi-MAC protocol

2006-03-30 Thread Nagender Annem
Hi, Iam new to ns-2 and I dont know where to start for the simulations to be done. Actually I dont know where I can find the source code of MAC implementing bidirectional-MAC. I installed ns-2,26 modified version for bi-MAC. Can any one help me, how to get to know the things, Even I am trying to

[ns] routing outside the subnet.

2006-03-30 Thread sxroy1
under the dsdv.cc file there is a function which drops the packet if its destined for outside the given subnet, the function is as follows: DSDV_Agent::diff_subnet(int dst) { char* dstnet = Address::instance().get_subnetaddr(dst); if (subnet_ != NULL) { if

[ns] Help needed on RSVP !

2006-03-30 Thread Deepti C
Hi all! IS any of u ppl working on RSVP using NS-2??? If so, then do send me some example codes or some links where I can get some direction about where shd I start 4m?? Thanks in advance, Deepti. - Jiyo cricket

[ns] making ns2 to write to an output file

2006-03-30 Thread nalinaksh gaur
Hi everybody, I am trying to make ns2 to write some statistics to an output file. I am writing the following code in some c++ file inside the ns2 directory : #include fstream using namespace std; ofstream a_file (example.txt); a_fileThis text will now be inside of example.txt;

[ns] how can i print the policer table in FTP sources?

2006-03-31 Thread karthik karthik
dear all, I am doing the project in Network simulator.In that I am doing in differentiated services.I wrote the pogram in OTCL.But the problem is i cannot print the policer table Output in ftp sources where as i can print it in UDP sources.but my aim is to print in

Re: [ns] is address_ the routing address of a node?

2006-03-31 Thread Pedro Vale Estrela
This is definitely not a simple/good idea. Each node is represented by multiple addresses, see http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html, so you must make sure that everything is updated And most NS2 components probably were designed for constant addresses. I suggest you try

Re: [ns] Two questions - Node id and path optimality calculation

2006-03-31 Thread Pedro Vale Estrela
Its probably due to this code in common/packet.h packet.h- abort(); packet.h- } packet.h- init(p); // Initialize bits_[] packet.h: (HDR_CMN(p))-next_hop_ = -2; // -1 reserved forIP_BROADCAST packet.h: (HDR_CMN(p))-last_hop_ = -2; // -1 reserved

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Bruce Who
Hi, Stan: I read the slides distributed with the wpan modules, but I can only find some descriptions for the commands and cannot find answers to my questions. I'll look for papers and may get the answer to the question no.2, but I don't think I can find any clues to the others. I read

[ns] Does ns2 support simultaneous processing ?

2006-03-31 Thread Saurabh Sinha
Hi I just wanted to know that whether ns2 supports threads or not? Like can more that 2 two stations transmit at the same time It will of gr8 help if some one can post a suggestion -- Saurabh Sinha Department of Computer Science, University of Delhi.

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Ahmad Khayyat
2) assoPermit means whether the node should permit other nodes to associate with it so that it becomes their coordinator. Look at the 802.15.4-2003 standard for details. 5) This is not how LossModel is used. Consult ns-manual for the correct usage. It still applies for wpan. Bruce Who wrote:

[ns] Help on mysnoop.tcl

2006-03-31 Thread Tuhin Kanti Sharma
I need to analyse snoop on 802.11 mac. I hav tried many options but I guess the snoop implemented dsn't support 802.11. If there is a way to analyse snoop implemented on 802.11, please let me know. I'll b really obliged. Tuhin Kanti Sharma, India

Re: [ns] Trace file

2006-03-31 Thread Marco Fiore
Sara, the simplest way is probably to post-process your tracefile using awk or perl. Modifying the C++ code which generates the tracefile could be very time-consuming, as it is spread among all the implemented agents... Using awk or perl on the ns-2 tracefile you can print only some

Re: [ns] Help needed on RSVP !

2006-03-31 Thread Gilles Bertrand
Hi Deepti, you may find the following paper useful: /RSVP/ns: An Implementation of RSVP for the Network Simulator ns-2/ - Marc Greis - http://www.sti.uniurb.it/acquaviva/didattica/rsvpns.pdf The adaptations of this RSVP\ns to recent version of NS (=2.26) are provided on R. Prior's web page:

[ns] problem with set DISPLAY enviroment

2006-03-31 Thread Anhs Mai The
Thank you all, my problem, - When I execute the example file with: ./nam nam-example.tcl, the following message appeared: nam: no display nam and no $DISPLAY environment variable Solution, To set the DISPLAY enviroment - at shell by cygwin, type startx - export DISPLAY = :0.0 and it worked. Anh

Re: [ns] error reading file cbr-3-test

2006-03-31 Thread amrutha ravichandran
Hi, Hey i was also getting the same error.. U can try giving the entire path of the file or u can manually include the code in that file in your tcl code.. All the best, Bye.

Re: [ns] Does ns2 support simultaneous processing

2006-03-31 Thread amrutha ravichandran
Hi, I have actually tried to make one node transmit ftp traffic to different destination nodes at the same time.. something like the following set tcp1 [new Agent/TCP] set tcp2 [new Agent/TCP] set tcp3 [new Agent/TCP] #$tcp1 set class_ 2 set sink1 [new Agent/TCPSink] set sink2 [new

Re: [ns] [Ns-developers] Routing Protocol Implementation

2006-03-31 Thread Tom Henderson
Telis Papadopoulos wrote: Hi all, ...quoting from the ns_doc: class Agent/rtProto: this is the base class from which all routing protocol agents are derived... However, looking at the code of Distance Vector protocol, the respective agent is derived directly from the 'Agent' class...

[ns] why the void dsREDQueue::reset() function execution alone again?!

2006-04-01 Thread lei xu
hello, I am doing some work about diffserv simulation. I modify some C++ code about diffserv module in NS2. Today I add ¡°printf(test the dsREDQueue::reset function! \n);¡± to the void dsREDQueue::reset(), and add ¡°printf(test dsREDQueue::dsREDQueue() function, which is used to initialize the

Re: [ns] Does ns2 support simultaneous processing ?

2006-04-01 Thread Daniel Mahrenholz
On Friday 31 March 2006 17:33, Saurabh Sinha wrote: I just wanted to know that whether ns2 supports threads or not? Like can more that 2 two stations transmit at the same time It will of gr8 help if some one can post a suggestion Yes and no - ns2 itself does not use threads. But the

[ns] why the void dsREDQueue::reset() function execution alone again?!

2006-04-01 Thread lei xu
hello, I am doing some work about diffserv simulation. I modify some C++ code about diffserv module in NS2. Today I add ¡°printf(test the dsREDQueue::reset function! \n);¡± to the void dsREDQueue::reset(), and add ¡°printf(test dsREDQueue::dsREDQueue() function, which is used to initialize the

[ns] why the void dsREDQueue::reset() function execution alone again?!

2006-04-01 Thread lei xu
hello, I am doing some work about diffserv simulation. I modify some C++ code about diffserv module in NS2. Today I add ¡°printf(test the dsREDQueue::reset function! \n);¡± to the void dsREDQueue::reset(), and add ¡°printf(test dsREDQueue::dsREDQueue() function, which is used to initialize the

[ns] AdHoc Routing Core Packet Format

2006-04-01 Thread net sim
In the Tora/tora_io.cc I am planning to change the ip header in UPD in order to forge the packet from an inexistent node. In the same time, i do want the source node think that there is a valid route to the detination, so that it could sent the cbr packet out once it received the modified UPD.

[ns] looking forhcf implementation

2006-04-01 Thread michael dahis
Hello ,everybody! I am looking for hcf implementation,can anyone help me please? _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[ns] why setdest so slow?

2006-04-01 Thread Guanhua Yan
Hi, I am using the setdest tool in ns-2 to generate a mobility scenario that has 200 users and lasts 1 hour. I used version 2. It took seven to eight hours to generate only 800 seconds. Is this normal? I hope some people more experienced with this can give me help. thanks, Guanhua

<    4   5   6   7   8   9   10   11   12   13   >