[ns] CBRP(Cluster Base Routing Protocol)
Dear all, Hi, would you please send me a new version of source code and any documentation of CBRP(Cluster Base Routing Protocol) for NS2. Thanks a lot Amin Seyed Amin Hosseini, Computer PhD student, Network Research Group (NRG) (http://nrg.cs.usm.my), School of Computer Sciences (http://www.cs.usm.my), University Science Malaysia (http://www.usm.my), Penang - Malaysia, Mobile: +60 16 438 9352 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] how to implement priority based queue for wireless ad hoc
HI there is anybody who cqn help me to know how to implement priority based queue for wireless ad hoc networks in ns2. i want to classify different network traffic into different classess and on the base of that classification i will add received packets to a different queue. thanks a lot.
[ns] node coloring in wireless networks.
Hello every one, can any one tellme how to assign colors to different flows in wireless networks. Is it possible in the first place? Any sample code will be of great help. I followed the same steps as we normally do for wired networks but it doesn't seem to work. Also please let me know if it is possible to change the shape of the node (in Nam) . Thanks raghu
[ns] R: Re: R: RSSI measurement
Loreno, you may want to have a look at the following paper: Naumov et al., The Study of Inter-Vehicle Ad Hoc Networks on Realistic Vehicular Traces, MOBIHOC 2006. It's about 802.11 and vehicular networks, but it exploits the RSSI information to estimate the distance between nodes. Regards, Marco Messaggio originale Da: [EMAIL PROTECTED] com Data: 18-ott-2006 7.58 PM A: Marco Fiore[EMAIL PROTECTED] Cc: ns-users@isi.edu Ogg: Re: R: [ns] RSSI measurement Hi Marco, very thanks to your reply! I will take a look at the structure you said and doing some tests. Based in what you said, probably this solves my problem. A priori I am only considering simpler scenarios where I do not need to deal with interferences. My actual concern is only finding a way of estimating the distance between two bluetooth devices, and I thought RSSI was the straingforward solution... Regards, Loreno On 10/18/06, Marco Fiore [EMAIL PROTECTED] wrote: Loreno, in common/packet-stamp.h you can find the PacketStamp structure, which is included in any ns packet. It stores information on the transmitted and received power. You can access this information with, for example, p-txInfo_.RxPr, which returns the received power of packet p. Note that the original implementation of ns does not include interference: if you want to add this feature, you can install the patch for wireless support you can find at http://www.reti.polito. it/fiore bye, Marco Messaggio originale Da: [EMAIL PROTECTED] Data: 18-ott-2006 12.38 AM A: ns- [EMAIL PROTECTED] EDU Ogg: [ns] RSSI measurement Hi All, does anybody know how do I measure the RSSI between two wireless nodes?? As far as I have seen in the archive, this question has been posted during years in this list without any reply. I will be extremelly thankful if somebody had some hint about it. Regards, Loreno
[ns] CBQ implementation for wireless network
Hi I am implementing QoS for that I am using class based queue for wirless network. i made three types of traffic classess. I am taking Queue/CBQ/WRR as interface queue. then i am defining 3 priority classes and insert them into queue object. (IN cbq_example.tcl, they insert classess into cbqlink, because i m usnig wireless network which does not use Link object.) before that i am classsifing all packets by Classiffie/Hash/Fid. my code is like this # The root class set topclass [new CBQClass] $topclass setparams none 0 1 auto 8 2 0 # Highest priority class set class1 [new CBQClass] set queue1 [new Queue/DropTail] $class1 install-queue $queue1 $class1 setparams $topclass true 0.5 auto 1 1 0 # Medium priority class set class2 [new CBQClass] set queue2 [new Queue/DropTail] $class2 install-queue $queue2 $class2 setparams $topclass true 0.3 auto 2 1 0 # Low Priority class set class3 [new CBQClass] set queue3 [new Queue/DropTail] $class3 install-queue $queue3 $class3 setparams $topclass true 0.2 auto 3 1 0 ### for {set i 0} {$i $val(nn)} {incr i} { # create nodes set node_($i) [$ns_ node] $node_($i) color $i $node_($i) shape circle # set parameters of link [$node_($i) getLL 0] set bandwidth_ 100 [$node_($i) getLL 0] set delay_ 0.001 #getIFQ return interface queue object, i defined this method into mobilenode.tcl, and getLL return link layer object [$node_($i) getIFQ 0] link [$node_($i) getLL 0] [$node_($i) getLL 0] ifq [$node_($i) getIFQ 0] # Insert priority classes into CBQ object [$node_($i) getIFQ 0] insert-class $topclass [$node_($i) getIFQ 0] insert-class $class1 [$node_($i) getIFQ 0] insert-class $class2 [$node_($i) getIFQ 0] insert-class $class3 #i wrote bind method into mobilenode.tcl(as mentioned below) $node_($i) bind $class1 0 $node_($i) bind $class2 1 $node_($i) bind $class2 2 $node_($i) bind $class2 3 $node_($i) bind $class3 4 # bind method in mobile.tcl $self instvar hashClassifier_ set $hClassifier_ hashClassifier_ set slot [$hashClassifier_ installNext $cbqClass] $hashClassifier_ set-hash auto 0 0 $fid $slot i would be very thank ful if anybody solve my problem. Thank you. bye - Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.
[ns] Validation problem
I instaled ns 2.30 and it compiled ok. But when I run the validation it display a lot of this kind of problems... In the web page I did not found anything about this. Running test tcpHighspeed1A: ../../ns test-suite-tcpHighspeed.tcl tcpHighspeed1A Guide: Highspeed TCP, good queue, max_ssthresh=100, efficient version. Test output differs from reference output Diagnose with: diff test-output-tcpHighspeed/tcpHighspeed1A.test test-output-tcpHighspeed/tcpHighspeed1A Or see URL http://www.isi.edu/nsnam/ns/ns-problems.html;. Is a problem or it is normal ? Thanx. -- Jose Miguel Herrera M. counter.li.org: #246070 Unidad de Servicios de Computacion e Internet Fono: +56 32 2654367 Departamento de Informatica, UTFSM Valparaiso, Chile
[ns] CBQ implementation in wireless nodes
Hi I am implementing QoS for that I am using class based queue for wirless network. i made three types of traffic classess. I am taking Queue/CBQ/WRR as interface queue. then i am defining 3 priority classes and insert them into queue object. (IN cbq_example. tcl, they insert classess into cbqlink, because i m usnig wireless network which does not use Link object.) before that i am classsifing all packets by Classiffie/Hash/ Fid. my code is like this # ### # The root class set topclass [new CBQClass] $topclass setparams none 0 1 auto 8 2 0 # Highest priority class set class1 [new CBQClass] set queue1 [new Queue/DropTail] $class1 install-queue $queue1 $class1 setparams $topclass true 0.5 auto 1 1 0 # Medium priority class set class2 [new CBQClass] set queue2 [new Queue/DropTail] $class2 install-queue $queue2 $class2 setparams $topclass true 0.3 auto 2 1 0 # Low Priority class set class3 [new CBQClass] set queue3 [new Queue/DropTail] $class3 install-queue $queue3 $class3 setparams $topclass true 0.2 auto 3 1 0 # # # # ### for {set i 0} {$i $val(nn)} {incr i} { # create nodes set node_($i) [$ns_ node] $node_($i) color $i $node_($i) shape circle # set parameters of link [$node_($i) getLL 0] set bandwidth_ 100 [$node_($i) getLL 0] set delay_ 0.001 #getIFQ return interface queue object, i defined this method into mobilenode.tcl, and getLL return link layer object [$node_($i) getIFQ 0] link [$node_($i) getLL 0] [$node_($i) getLL 0] ifq [$node_($i) getIFQ 0] # Insert priority classes into CBQ object [$node_($i) getIFQ 0] insert-class $topclass [$node_($i) getIFQ 0] insert-class $class1 [$node_($i) getIFQ 0] insert-class $class2 [$node_($i) getIFQ 0] insert-class $class3 #i wrote bind method into mobilenode.tcl( as mentioned below) $node_($i) bind $class1 0 $node_($i) bind $class2 1 $node_($i) bind $class2 2 $node_($i) bind $class2 3 $node_($i) bind $class3 4 # bind method in mobile.tcl $self instvar hashClassifier_ set $hClassifier_ hashClassifier_ set slot [$hashClassifier_ installNext $cbqClass] $hashClassifier_ set-hash auto 0 0 $fid $slot # # # # i would be very thank ful if anybody solve my problem. Thank you. bye - Get your email and more, right on the new Yahoo.com
Re: [ns] Need tunctl command for cygwin
Emin Gencpinar schrieb: We installed ns-2 emulation (nse) both over Linux and (by cygwin) Windows machines. NSE uses tunctl command for tun / tap interfaces to manage the network. We have successfully installed the tunctl command source code for Linux under sbin directory, but we could not find any tunctl command source code valid for cygwin. Compilation error for the same source code in cygwin. tunctl is a tool to manage the TUN/TAP driver of the linux kernel. There is a TUN/TAP driver for Windows developed by the OpenVPN folks. But I suspect that is configured in a different way. If you are using the nse extension for wireless emulation you should give up on Cygwin, you have to run it on Linux. But it is possible to integrate Windows clients in such a setup. Daniel.
[ns] Problems running simulations
I'm a first time user and I couldn't find anything to help me with my problem in the archives so I hope one of you will be able to help me. When trying to run a simulation the following appears; nam: no display name and no $DISPLAY environment variable But I have set all the paths. Hopefully someone will be able to shed some light on the problem. Any help would be gratefully appreciated. Kind regards, Eoin
Re: [ns] Problems running simulations
Not sure if this is a ns/nam issue. Imediatelly before/after getting this message can you open some graphical application, such as xclock?? Loreno On 10/19/06, eoin curran [EMAIL PROTECTED] wrote: I'm a first time user and I couldn't find anything to help me with my problem in the archives so I hope one of you will be able to help me. When trying to run a simulation the following appears; nam: no display name and no $DISPLAY environment variable But I have set all the paths. Hopefully someone will be able to shed some light on the problem. Any help would be gratefully appreciated. Kind regards, Eoin
Re: [ns] Validation problem
Check the output file. I found that the validate scripts sometimes use options on commands that have not be verified on the workstation. In my case, I was running it in a limited function machine that didn't have a lot of utilities. I wasn't running bash as sh, didn't have diff,cmp,gzip or perl and if I did have them the options that the validate script used my utilities did support. On 10/19/06, Jose M.Herrera [EMAIL PROTECTED] wrote: I instaled ns 2.30 and it compiled ok. But when I run the validation it display a lot of this kind of problems... In the web page I did not found anything about this. Running test tcpHighspeed1A: ../../ns test-suite-tcpHighspeed.tcl tcpHighspeed1A Guide: Highspeed TCP, good queue, max_ssthresh=100, efficient version. Test output differs from reference output Diagnose with: diff test-output-tcpHighspeed/tcpHighspeed1A.test test-output-tcpHighspeed/tcpHighspeed1A Or see URL http://www.isi.edu/nsnam/ns/ns-problems.html;. Is a problem or it is normal ? Thanx. -- Jose Miguel Herrera M. counter.li.org: #246070 Unidad de Servicios de Computacion e Internet Fono: +56 32 2654367 Departamento de Informatica, UTFSM Valparaiso, Chile