[ns] How acess the protocol agent of a mobil node
Hi all. I would like to know if someone can explain me how sould I do to get an access of the protocol agent of a mobile node. The mobile node I use is declared in this way : set val(adhocRouting) AODV . . . $ns_ node-config -adhocRouting $val(adhocRouting) \ . . . How could I do to get the "name" of that variable in order to use some methods I have develop in the body of the protocol AODV ? Thanks a lot. Olivier.
[ns] ns routing protocol
Dear all, If any body knows, please tell me if it is possible to change the routing metrics (such as bandwidth, delay,..) in my TCL program or it should be changed via adding new protocol or any modification in routing protocols of ns-2.29 source. Best Regards, Fatemeh Karimirad - Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
[ns] Mobile MPLS
Hello, Is there an implemented package of Mobile MPLS for the ns-2 ? If yes, where I can find ? I will need it for my diploma thesis. Tanks, Dea - Yahoo! DSL Something to write home about. Just $16.99/mo. or less
[ns] Difference between DumbAgent and DSDV
Dear All Happy New Year, I Hope you all had great holidays. I wanted to enquire what is the difference between DumbAgent protocol and DSDV (I know about DSDV as mentioned in NS2 manual. DumbAgent is applied in the example MyTest.TCL, an online example for smac users Another thing I needed to know if MyTest.tcl applies the motes version of parameters for routing etc, and Tiny OS parameters for bandwith and other calculations Also in the example it has two lines as follow #set opt(mac)Mac/802_11 ;# MAC type set opt(mac)Mac/SMAC ;# MAC type this means that smac is applied in calculations. However if I rem out Mac/SMAC and leave Mac/802_11 only. Would this apply 802.11 protocol for the motes using DumbAgent. I would be very much grateful for answer to any or all questions mentioned above Best regards Qasim Iqbal Aston University
Re: [ns] How acess the protocol agent of a mobil node
Hi! in the tcl script you can add the following line after the creation of the node set node_($i) [$ns_ node];#create the node set ragent_($i)[$node_($i) set ragent_];#get the routing agent Hope that helps Martin Olivier Berho wrote: > Hi all. > > I would like to know if someone can explain me how sould I do to get an > access of the protocol agent of a mobile node. > The mobile node I use is declared in this way : > > set val(adhocRouting) AODV > . > . > . > $ns_ node-config -adhocRouting $val(adhocRouting) \ > . > . > . > > How could I do to get the "name" of that variable in order to use some > methods I have develop in the body of the protocol AODV ? > > Thanks a lot. > > Olivier. > > > >
[ns] Wired network losses
Dear ns users, I am looking at general relationships between the various parameters in a wired network and have got some unexpected results. It seems that there is no real loss in available throughput when the transmission distance is increased. However, mathematical equations show significant losses over large distances (e.g. 1000m). My tcl code is based on the first few examples in Marc Greis' tutorial. I was wondering if there is some extra code that needs to be used to include losses (like the shadowing propagation used in wireless networks). Any advice much appreciated, Adam _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters
Re: [ns] Wired network losses
On Wednesday 04 January 2006 15:08, Adam Hunt wrote: > I am looking at general relationships between the various parameters in a > wired network and have got some unexpected results. It seems that there is > no real loss in available throughput when the transmission distance is > increased. However, mathematical equations show significant losses over > large distances (e.g. 1000m). My tcl code is based on the first few > examples in Marc Greis' tutorial. I was wondering if there is some extra > code that needs to be used to include losses (like the shadowing > propagation used in wireless networks). If you use the freespace or two-ray-ground propagation model you will only get packet loss because of collisions and noise. Between two nodes you will get only 0 or 100% receive probability. You should better use the shadowing model because it produces a gradual loss probability. Daniel. -- Dipl.-Inf. Daniel Mahrenholz, University of Magdeburg, Germany Homepage: http://ivs.cs.uni-magdeburg.de/~mahrenho
Re: [ns] Difference between DumbAgent and DSDV
You use DumbAgent as the network layer protocol when no routing is required in your test scenario - this is when you need to calculate MAC layer performance specifically. In DumbAgent it is assumed that your scenario is such that each source and destination node are directly neigbors and within one hop distance from each other and hence require no routing techniques. Answer to your final question is Yes, 802.11 will be applied instead of SMAC. Zubair On Wed, 04 Jan 2006 Qasim Raza Iqbal wrote : > >Dear All > >Happy New Year, I Hope you all had great holidays. > >I wanted to enquire what is the difference between DumbAgent protocol and >DSDV (I know about DSDV as mentioned in NS2 manual. > >DumbAgent is applied in the example MyTest.TCL, an online example for smac >users > >Another thing I needed to know if MyTest.tcl applies the motes version of >parameters for routing etc, and Tiny OS parameters for bandwith and other >calculations > >Also in the example it has two lines as follow > >#set opt(mac)Mac/802_11 ;# MAC type >set opt(mac)Mac/SMAC ;# MAC type > >this means that smac is applied in calculations. >However if I rem out Mac/SMAC and leave Mac/802_11 only. Would this apply >802.11 protocol for the motes using DumbAgent. > >I would be very much grateful for answer to any or all questions mentioned >above > > >Best regards > >Qasim Iqbal >Aston University > Mohammad Zubair Ahmad PhD Student, Computer Engineering University of Central Florida, Orlando, FL 32826
[ns] problem with 'nam' installation
hello. i have installed ns-allinone-2.29 on FedoraCore4 except nam,xgraph. directions are to install them separately. i did but got error in building 'nam1.11'. traces are: checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking that g++ can handle -O2... no checking for zlib.h... -I/usr/include checking for libz1.1.4... -L/usr/lib -lz checking for X11 header files checking for X11 library archive checking for XOpenDisplay in -lX11... no checking for libXext.a checking for tcl.h... ./configure: line 5501: syntax error near unexpected token `(' ./configure: line 5501: ` echo $ECHO_N "(cached) $ECHO_C" >&6' tell me whats wrong n guide towards solution. thanking u in advance - Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
[ns] Packet error rate
Hi, Does anyone know if there is a relationship between the length of a wired link and the packet error rate? Is there a formula? I wish to use it in an Error Model to find throughputs over different distances. Thanks, Adam _ Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk
[ns] Node id_
Hello, I'd like to know if there is some way of find out in which node I am being within link layer, for example. Thanks in advance, Laércio Jr.
[ns] Delay anomaly
Hello all, I was trying to find out the delay distribution (MAC layer).I am doing the experiment for different data rates.The delay with 200kbps datarate is found to be more than that with 400kbps.ie. When u repeat the same experiment,the delay is concentrated on a higher value for 200kbps. What can be the problem? Is there any explanation for that? Thanks in advance. Teena.
[ns] Segmentation fault at the end of simulation
Hello NS-users, I'm getting a strange error while running wireless simulations using DSR protocol. After a simulation run of 200sec with 120 nodes, the system is receiving a SIGSEGV, segmentation fault in Tcl_FindHashEntry(). The packets are all getting delivered to the destination & packets in transit are getting dropped at the end of 200sec, as usual. But, I'm unable to trace the cause of the seg fault. Has anyone got a solution to this problem? Do reply at the earliest. Regards, Manjusha
[ns] Unicasting in multicasting
Hi, can anybody tell me how to send packet to only one node in multicasting. I have created my own agents. Send instant messages to your online friends http://in.messenger.yahoo.com