[ns] TORA error, DSR/DSDV/AODV working
Hi all, Sorry to be sending multiple emails to this list but I'm really struggling with this. I managed to get DSR routing working by changing the queue type as suggested by others to CMUPriQueue. However TORA still won't work and I can't work out what is going wrong or find any solutions on the net. The error is shown below, with the tcl further down. There is no difference between this code and the other protocol code except for changing the protocol type. I have even tried to download TORA examples (http://www-sop.inria.fr/maestro/personnel/Eitan.Altman/ns.htm) which also don't work. Any help is appreciated! Michael. ERROR -- $ ns test.tcl num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead (_o17 cmd line 1) invoked from within "_o17 cmd port-dmux _o32" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o17" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o14" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o14" line 23) (Node/MobileNode add-target line 23) invoked from within "$self add-target $agent $port" (procedure "_o14" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 76) (Simulator create-wireless-node line 76) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns_ node " ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node ] $node_($i) random-motion 0 ;# disable random motion } " (file "test.tcl" line 54) TCL FILE -- # == # Define options # == set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(ant) Antenna/OmniAntenna ;# Antenna type set val(ll) LL ;# Link layer type set val(ifq)CMUPriQueue ;# Interface queue type #set val(ifq) Queue/DropTail/PriQueue ;# Interface queue type set val(ifqlen) 50 ;# max packet in ifq set val(netif)Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type set val(rp) TORA ;# ad-hoc routing protocol set val(nn) 3;# number of mobilenodes set val(stop) 500 ;# length of the simulation set val(x)500 ;# size of the square one side set val(y) 500 ;# size of the square one side # == # Standard Setup # == set ns_[new Simulator] $ns_ use-newtrace set tracefd[open thesis-out.tr w] $ns_ trace-all $tracefd set topo[new Topography] $topo load_flatgrid $val(x) $val(y) create-god $val(nn) # == # Configure Nodes # == $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -topoInstance $topo \ -channelType $val(chan) \ -agentTrace ON \ -routerTrace ON \ -macTrace ON for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node ] $node_($i) random-motion 0 ;# disable random motion } # == # Initial Positioning # == $node_(0) set X_ 20.0 $node_(0) set Y_ 20.0 $node_(0) set Z_ 0.0 $node_(1) set X_ 450.0 $node_(1) set Y_ 450.0 $node_(1) set Z_ 0.0 $node_(2) set X_ 250.0 $node_(2) set Y_ 250.0 $node_(2) set Z_ 0.0 #
[ns] ns-3.1 Stable Release Posted
Original Message Subject: [Ns-developers] Ns-3.1 Stable Release Posted Date: Mon, 30 Jun 2008 15:03:09 -0700 From: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: The University of Washington To: 'ns-developers' <[EMAIL PROTECTED]> I am happy to report to you that the initial stable release of ns-3 is now immediately available. >From the RELEASE_NOTES file in the distribution ... Release 3.1 (2008/06/30) The first ns-3 stable release - This release is immediately available from: http://www.nsnam.org/releases/ns-3.1.tar.bz2 We dedicate this initial ns-3 release to our late contributor and friend, Federico Maguolo. What is ns-3 ? -- ns-3 is a new discrete-event network simulator designed for supporting network research and education. ns-3 features a solid, well documented C++ core and models for TCP/IP (IPv4), several link types including WiFi, and mobility models. ns-3 is an open source project released under the GNU GPLv2 license which allows anyone to use ns-3 without having to pay any license fee or royalties. ns-3 is actively seeking new contributors to extend the range of supported models and/or to maintain existing models. Where to get more information about ns-3 All the ns-3 documentation, is accessible from the ns-3 website: http://www.nsnam.org Including, tutorials: http://www.nsnam.org/tutorials.html Supported platforms --- ns-3 is regularly tested on the following platforms: - linux x86 gcc 4.2, 4.1, and, 3.4.6. - linux x86_64 gcc 4.1.3, 4.2.1, 3.4.6 - MacOS X ppc and x86 - cygwin gcc 3.4.4 (debug only) Known issues ns-3 is known to fail on the following platforms: - gcc 3.3 and earlier - optimized builds on gcc 3.4.4 and 3.4.5 - optimized builds on linux x86 gcc 4.0.x The IPv4 API defined in src/node/ipv4.h is expected to undergo major changes in preparation of the merge of the IPv6 API and implementation. Future releases --- Our next release, which is expected to happen in 2 to 4 months from now, will feature the merging of some of our projects currently in development: python scripting, IPv6, emulation, a statistics framework and synchronous posix sockets.
Re: [ns] how to use/install a new protocol???
I can´t find the pdf file! Regards, On Mon, Jun 30, 2008 at 7:46 PM, Sheraz Nadeem <[EMAIL PROTECTED]> wrote: > > > > one thing i would like to add to it is that you can read this pdf file this > is great. bye > _ > News, entertainment and everything you care about at Live.com. Get it now! > http://www.live.com/getstarted.aspx >
Re: [ns] how to use/install a new protocol???
one thing i would like to add to it is that you can read this pdf file this is great. bye _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
[ns] How to Use busy tone ins ns-2.31 (kindly respond)
Dear All, We are trying for some time to implement Busy Tone in ns-2.31. But in vein, we are unable to do so. If anybody can suggest some possible procedure, we will be grateful.. Could any one help us? Thanking you. With Regards Pratap Kumar Sahu, Jagruti Sahoo Ph. D. Student, Dept. of CSIE. National Central University, TAIWAN (ROC) Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/
[ns] How to calculate delay of links
Hi. I have a problem to calculate the delay of link e.g ethernet 10Mb/s. Can someone help me? Thanks
[ns] Modifying ns2 back-end for wimax scheduler!
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: modifying ns2 back-end for wimax scheduler!Date: Thu, 26 Jun 2008 22:52:33 +0500 Is there any one? who can help me in modifying ns2 backend code for wimax scheduler. Discover the new Windows Vista Learn more! _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
[ns] Packet colors.
Hello list, I am implementing a self-healing routing protocol for ring topologies on ns-2.23. My header has a field "type_" which is set to indicate four different types of packets that the protocol can handle. For instance, one type is DIAGN(ostics) and one other is DIAGN_ACK. Is there an easy way to change packet colors based on their "type_" values so I could spot them with nam? (I am very new with ns/nam) Many thanks in advance, Alexandros
[ns] question regarding class OldSim error
Hi all; I have installed ns2.33 on centOS . The allinone package has installed correctly and all validation tests have passed ...but whenever i try to run a .tcl file, it gives the following error: *error* when *calling* *class* *OldSim*: example1; ocassionally it also gives the following *error*: warning working in backward compatibility mode Note that i have explicitly taken care of path requirements. Can you help me to solve this problem? Regards, Aleksandra
[ns] Stack several agents in the same node
Hi! Does anyone know if it is possible to stack several agents in the same node? I would like to have a stack that looks something like this: Application (web, VoIP or something) Agent (TCP, UDP) Agent (PDCP for LTE) Agent (RLC for LTE) Node Searching the archives, I note that this question has come up before, but I have not found a solution: http://mailman.isi.edu/pipermail/ns-users/2002-July/024328.html http://mailman.isi.edu/pipermail/ns-users/2005-July/050874.html I use ns-2.33 on Linux. Best wishes, -- Mats Folke, M.Sc., Tech.lic Research Engineer Ericsson AB Office: +46 8 7571385 Ericsson Research Fax: +46 920 99621 P.O. Box 920Mobile: +46 76 1271385 SE-971 28 Luleå
Re: [ns] how to use/install a new protocol???
hello i think this link will be usefull http://nuraini.net/2007/09/09/how-to-running-protocol-on-ns2/ -- Sincerely Samira Niafar
[ns] how to add your pacet name in trace file using ns2.29
Dear All, I have implemented the Multimedia Application with extended udp Agent as shown the ex How to add an application to ns2 I am using ns2.29 .The appication is running but in the trace file no new packet is shown only tcp and ack are shown.How to add the new packet to the trace file Regards Srirupa