[ns] Implementing a PID controller
Vijaya Laxmi
vxlaxmi at wichita.edu
Wed Feb 17 05:07:40 PST 2010
Hello Prem,
I need to add (additional info) leftover bandwidth of nodes in RREP packet
of AODV. just like you added left over buffer space and availability in
RREP packet in AODV.
Can you please guide me with this, so that I can proceed with my project.
Looking forward to your reply.
Many thanks in advance..!!
Vijaya Laxmi
--------------------------------------------------
From: "Premprakaash V" <premprakaashv at gmail.com>
Sent: Wednesday, February 17, 2010 5:52 AM
To: <ns-users at ISI.EDU>
Subject: [ns] Implementing a PID controller
>
> Hi,
> I'm currently working on project wherein i need to implement a PID
> controller which selects the best route based on buffer space along a
> path and node's stability.
> I've been able to add addtitional info onto the AODV RREQ and RREP
> msges so that every node adds its buffer space available and stability
> percent.
> When i make an entry into routing table of AODV, i need to consider my
> requirements from upper layer, i.e.. appln layer. so a PID controller
> needs to be incorporated.
> Now my question is that, where do i put in that PID controller.
> I'm clueless about this part.. should my PID be a part of AODV C++
> code or the TCL file wherein i do the simulation. if TCL then how do i
> controll the route entry details..
> Thanks..
> regards prem
>
>
> On 2/17/10, ns-users-request at isi.edu <ns-users-request at isi.edu> wrote:
>> Send Ns-users mailing list submissions to
>> ns-users at isi.edu
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.isi.edu/mailman/listinfo/ns-users
>> or, via email, send a message with subject or body 'help' to
>> ns-users-request at isi.edu
>>
>> You can reach the person managing the list at
>> ns-users-owner at isi.edu
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Ns-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Fwd: Calling SystemC code in NS2 (? ?)
>> 2. tcp connection (siavash-sh)
>> 3. MAC-802.11 IFQ (sireesha madabhushi)
>> 4. Urgent - Paper needed (Rishi Kumar)
>> 5. Help configuring simple AODV routing example (Ariel Bello)
>> 6. Re: running configuration..Installation of tclcl seems
>> incomplete or can't be found automatically. (Souha Rayana)
>> 7. Re: Help configuring simple AODV routing example (? ?)
>> 8. installating mannasim-2.29 under ns-2.34, possible? (Souha Rayana)
>> 9. Simulate Load Balancing and DNS redirect
>> (Luiz Carlos Rodrigues Chaves)
>> 10. Multimedia Packet (Shyam Sundar)
>> 11. Help Required Regarding NS2 version! (Muhammad Aqeel)
>> 12. Re: Help Required Regarding NS2 version! (Sidney Doria)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 16 Feb 2010 13:54:15 +0900
>> From: ? ? <lxutao at gmail.com>
>> Subject: Re: [ns] Fwd: Calling SystemC code in NS2
>> To: ns-users <ns-users at ISI.EDU>
>> Message-ID:
>> <c8cf594a1002152054t543690efl51850db04c403ddf at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> *Hi
>>
>> I am reading the ns-tutorial
>>
>> II.1. Documentation for ns&nam
>>
>> The last line has a link to
>> *http://www.isi.edu/nsnam/dist/archive/ns-users/
>>
>> But it is unavailable?
>>
>> Thanks & Regards.
>>
>> On Tue, Feb 16, 2010 at 1:38 PM, ? ? <lxutao at gmail.com> wrote:
>>
>>> hi
>>>
>>> Can anyone download the ns manual *gzip'ed postscript*
>>> format<http://www.isi.edu/nsnam/ns/doc/ns_doc.ps.gz>from the following
>>> URL?
>>>
>>> http://www.isi.edu/nsnam/ns/doc/ns_doc.ps.gz
>>>
>>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 16 Feb 2010 00:04:08 -0800 (PST)
>> From: siavash-sh <ash.siavash at yahoo.com>
>> Subject: [ns] tcp connection
>> To: ns-users at ISI.EDU
>> Message-ID: <27582299.post at talk.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hi all
>>
>> I am new to NS2.
>> May anyone send to me a program example that creates connection between
>> two
>> nodes with FULLTCP by 3 way handshaking (SYN, SYN+ACK, ACK).
>>
>> Best regards,
>> Siavash
>> --
>> View this message in context:
>> http://old.nabble.com/tcp-connection-tp27582299p27582299.html
>> Sent from the ns-users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 16 Feb 2010 04:41:47 -0500
>> From: sireesha madabhushi <siri638 at gmail.com>
>> Subject: [ns] MAC-802.11 IFQ
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <8c14d75f1002160141i39e5ead4lfdd50f7dd98421a4 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Are the MAC packets meant to go into the interface queue? Yes, they can
>> is
>> what I gathered from the documentation of NS2. But the codes in priority
>> queue are not able to detect that the obtained packet is a MAC packet. I
>> have tried with CMUPriQueue and PriQueue as well but encountered the same
>> problem in both the cases. Please help me in this regard.
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 16 Feb 2010 20:32:52 +0530
>> From: Rishi Kumar <crystal.rishi2 at gmail.com>
>> Subject: [ns] Urgent - Paper needed
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <ab1f781e1002160702w37c1b80fib1ed5a4833bfa540 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Does anyone have a copy of "On route Lifetime in MultiHop Mobile Ad-hoc
>> networks", by Tseng Y, Li Y. and Chang Y.
>>
>> Please send me a copy asap.
>> Thanks in advance !
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Tue, 16 Feb 2010 10:29:05 -0500
>> From: Ariel Bello <abello00 at hotmail.com>
>> Subject: [ns] Help configuring simple AODV routing example
>> To: <ns-users at ISI.EDU>
>> Message-ID: <BLU133-W2424A7BEA4EA0E8BAAE54AC6490 at phx.gbl>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> I am a new user to ns-2 and have read through just about every tutorial
>> I could find. I used the example3.tcl script from Marc Greis' tutorial
>> (ring architecture that illustrates the use the of the dynamic routing
>> by using $ns rtproto DV command). This file works fine on its own,
>> however when I add the line "$ns node-config -adhocRouting AODV" right
>> before I enter the for loop for instantiating the nodes, I get the
>> following error:
>>
>> can't read "chan": no such variable
>> while executing
>> "$node
>> add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_
>> $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_
>> $FECProc_"
>> (procedure "_o3" line 77)
>> (Simulator create-wireless-node line 77)
>> 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 < 12} {incr i} {
>> set n($i) [$ns node]
>> }"
>>
>> I am assuming that ns wants me to instantiate/declare all of the
>> variables
>> listed after "$node add-interface ..." however I do not know how. I
>> looked
>> at the NS-2 AODV tutorial which was sent over the mailing list a couple
>> weeks ago, however the example in that tutorial fails to compile as well.
>> If I am leaving anything out, please do not hesitate to ask.
>>
>> Thanks in advance for any help.
>>
>> Ariel Bello
>>
>> _________________________________________________________________
>> Hotmail: Free, trusted and rich email service.
>> http://clk.atdmt.com/GBL/go/201469228/direct/01/
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Tue, 16 Feb 2010 17:00:06 +0100
>> From: Souha Rayana <souha.rayana at gmail.com>
>> Subject: Re: [ns] running configuration..Installation of tclcl seems
>> incomplete or can't be found automatically.
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <5b25d4f71002160800t1ebb4852l1ae89c0af0a4aa40 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Thank you very much,
>>
>> I have already installed ns-2.34. It was easier. But , the wireless
>> sensor
>> networks module is named mannasim-2.29. I was told that it works only
>> with
>> ns-2.29. But I am still not sure about the information.
>>
>> I am waiting confirmation because installation of mannasim on ns-2.34
>> didn't
>> work. I want to know if it is a matter of compatibility or a technical
>> mistake.
>>
>> Thanks
>>
>> ---------------------------------------------------------------------------
>>
>> Regards,
>> Suha
>>
>> 2010/2/16 Hari Prabhat Gupta <hprabhatgupta at rediffmail.com>
>>
>>>
>>> hi,
>>> use ns2.33 in place of ns2.2X.
>>>
>>> hariprabhat
>>> iit guwahati
>>> On Mon, 15 Feb 2010 18:06:56 +0530 wrote
>>> >
>>>
>>> Hello,
>>>
>>> I tried to install ns2.29. when I enter "ns" command, % is displayed, so
>>> it
>>>
>>> is ok.
>>>
>>> then, I tried to add the mannasim framework (for sensor networks) by
>>>
>>> modifiying some files in the ns main folder.
>>>
>>> while re-running configuration script, the above message is displayed.
>>>
>>>
>>>
>>> Your answers would be very helful for me!
>>>
>>>
>>>
>>>
>>> ----------------------------------------------------------------------------------------------------------------------------------
>>>
>>> Regards,
>>>
>>> Suha
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> checking if C++ libraries work with namespace std... yes
>>>
>>> checking if STL works without any namespace... no
>>>
>>> checking if STL works with namespace std... yes
>>>
>>> checking should use STL... yes
>>>
>>> checking for tcl.h... -I../include
>>>
>>> checking for libtcl8.4... -L../lib -ltcl8.4
>>>
>>> checking for init.tcl... ../lib/tcl8.4
>>>
>>> checking for tclsh8.4.11... no
>>>
>>> checking for tclsh8.4... ../bin/tclsh8.4
>>>
>>> checking for tk.h... -I../include
>>>
>>> checking for libtk8.4... -L../lib -ltk8.4
>>>
>>> checking for tk.tcl... ../lib/tk8.4
>>>
>>> checking for otcl.h... -I../otcl-1.11
>>>
>>> checking for libotcl1.11... -L../otcl-1.11 -lotcl
>>>
>>> checking for tclcl.h... -I../tclcl-1.17
>>>
>>> checking for libtclcl... no
>>>
>>> checking for tcl2c++... ../tclcl-1.17
>>>
>>> configure: error: Installation of tclcl seems incomplete or can't be
>>> found
>>>
>>> automatically.
>>>
>>> Please correct the problem by telling configure where tclcl is
>>>
>>> using the argument --with-tclcl=/path/to/package
>>>
>>> (perhaps after installing it),
>>>
>>> or the package is not required, disable it with --with-tclcl=no.
>>>
>>> [root at localhost ns-2.29]#
>>>
>>>
>>>
>>> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Wed, 17 Feb 2010 01:20:05 +0900
>> From: ? ? <lxutao at gmail.com>
>> Subject: Re: [ns] Help configuring simple AODV routing example
>> To: Ariel Bello <abello00 at hotmail.com>
>> Cc: ns-users at ISI.EDU
>> Message-ID:
>> <c8cf594a1002160820s387af04m9dc9c91a9891719b at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi, Bello
>>
>> I am learning that tutorial now.
>> I typed the code, and it run well.
>> If you insert "$ns node-config -adhocRouting AODV"
>> after
>> "for {set i 0} {$i < 12} {incr i} {
>> set n($i) [$ns node]
>> }"
>>
>> Variable declaration is not needed in Tcl.
>>
>> Good luck.
>>
>> On Wed, Feb 17, 2010 at 12:29 AM, Ariel Bello <abello00 at hotmail.com>
>> wrote:
>>
>>>
>>>
>>> I am a new user to ns-2 and have read through just about every tutorial
>>> I could find. I used the example3.tcl script from Marc Greis' tutorial
>>> (ring architecture that illustrates the use the of the dynamic routing
>>> by using $ns rtproto DV command). This file works fine on its own,
>>> however when I add the line "$ns node-config -adhocRouting AODV" right
>>> before I enter the for loop for instantiating the nodes, I get the
>>> following error:
>>>
>>> can't read "chan": no such variable
>>> while executing
>>> "$node
>>> add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_
>>> $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_
>>> $FECProc_"
>>> (procedure "_o3" line 77)
>>> (Simulator create-wireless-node line 77)
>>> 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 < 12} {incr i} {
>>> set n($i) [$ns node]
>>> }"
>>>
>>> I am assuming that ns wants me to instantiate/declare all of the
>>> variables
>>> listed after "$node add-interface ..." however I do not know how. I
>>> looked
>>> at the NS-2 AODV tutorial which was sent over the mailing list a couple
>>> weeks ago, however the example in that tutorial fails to compile as
>>> well.
>>> If I am leaving anything out, please do not hesitate to ask.
>>>
>>> Thanks in advance for any help.
>>>
>>> Ariel Bello
>>>
>>> _________________________________________________________________
>>> Hotmail: Free, trusted and rich email service.
>>> http://clk.atdmt.com/GBL/go/201469228/direct/01/
>>>
>>
>>
>> ------------------------------
>>
>> Message: 8
>> Date: Tue, 16 Feb 2010 17:27:07 +0100
>> From: Souha Rayana <souha.rayana at gmail.com>
>> Subject: [ns] installating mannasim-2.29 under ns-2.34, possible?
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <5b25d4f71002160827j73f41935s87764f1e33e28f02 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hello,
>>
>> I wonder if it is possible to install mannasim-2.29 under ns-2.34? In
>> other
>> terms, does the mannasim version's number imply that the use of ns-2.29
>> is
>> necessary.
>>
>> Thanks
>>
>>
>> ------------------------------
>>
>> Message: 9
>> Date: Tue, 16 Feb 2010 14:11:43 -0300
>> From: Luiz Carlos Rodrigues Chaves <lucachaves at gmail.com>
>> Subject: [ns] Simulate Load Balancing and DNS redirect
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <32f043201002160911p62f68755x8eefd216593b62e3 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hello everyone,
>>
>> How do I simulate load balancing and DNS redirect in ns on usual wired
>> network? May be in the ns-2 and ns-3.
>>
>> Regards,
>>
>> Luiz Carlos.
>>
>> -
>>
>>
>> ------------------------------
>>
>> Message: 10
>> Date: Wed, 17 Feb 2010 00:00:33 +0530
>> From: Shyam Sundar <handsomesundar at gmail.com>
>> Subject: [ns] Multimedia Packet
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <8600185d1002161030w52ad60f7te1d162f25daeafb9 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi,
>> I am new to ns2. I am using ns-allinone-2.34. I need to send multimedia
>> streaming through wireless nodes. Does anyone know how to send a
>> multimedia
>> files/packets through wireless networks? Please reply me soon.
>>
>> With Regards
>> S.Shyam Sundar
>>
>>
>> ------------------------------
>>
>> Message: 11
>> Date: Tue, 16 Feb 2010 23:07:15 +0000
>> From: Muhammad Aqeel <aqeel.09 at gmail.com>
>> Subject: [ns] Help Required Regarding NS2 version!
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <feecd7cc1002161507l1786d1ecw5541483bb9a06a0d at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi,
>> I am going to do Mobility management in WiFi, WiMax and UMTS. I am
>> going
>> to use 802.21 for mobility management.
>> I want to know which version of NS2.XX is more suitable for 802.21 and
>> which
>> also supports WiFi, WiMax and UMTS. I tried to find out comparisons but
>> could not find enough information.
>> I am using Windows 7 operating system.
>>
>> Please guide me regarding the best suitable version of NS2 for 802.21
>> based
>> mobility management.
>>
>> Regards
>>
>>
>> ------------------------------
>>
>> Message: 12
>> Date: Tue, 16 Feb 2010 21:39:09 -0300
>> From: Sidney Doria <ssdoria at gmail.com>
>> Subject: Re: [ns] Help Required Regarding NS2 version!
>> To: ns-users at ISI.EDU
>> Message-ID:
>> <1bc975701002161639p808e114nc46dbc609fb7a8b6 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Aqeel,
>>
>> any version of NS you choose for your purposes, I suggest you to use It
>> in
>> a Virtualbox with Ubuntu [8.04 - 9.04].
>> This is the most compatible NS-2 set you ever use in Windows.
>>
>> Cygwin is an option, but:
>>
>> - I can tell you that NS runs slower in Cygwin than in a
>> Virtualbox Linux VM. You may measure that counting time of a simple
>> "validate" in both platforms.
>>
>> - While the newest NS-2.35 isn't released, you must use a previous NS
>> in Cygwin 1.5 (legacy-setup) to a successful compilation, but this
>> release of Cygwin
>> isn't compatible with Windows 7. The newest Cygwin 1.7.1 is fully
>> compatible with Windows 7, but isn't compatible with NS-2.34 and below.
>> So, the main solution will be the NS-2.35. For now, to circumvent the
>> problems, those that use
>> Windows 7 must install Cygwin 1.5 in compatible mode (win95). After
>> this "special" install, recreate the Cygwin bash icon in start menu.
>>
>> Sidney Doria
>> UFCG / BRAZIL
>>
>>
>> 2010/2/16 Muhammad Aqeel <aqeel.09 at gmail.com>:
>>>
>>> Hi,
>>> ? ?I am going to do Mobility management in WiFi, WiMax and UMTS. I am
>>> going
>>> to use 802.21 for mobility management.
>>> I want to know which version of NS2.XX is more suitable for 802.21 and
>>> which
>>> also supports WiFi, WiMax and UMTS. I tried to find out comparisons but
>>> could not find enough information.
>>> I am using Windows 7 operating system.
>>>
>>> Please guide me regarding the best suitable version of NS2 for 802.21
>>> based
>>> mobility management.
>>>
>>> Regards
>>>
>>
>>
>>
>> --
>> Sidney Doria
>> Redes ad hoc m?veis
>> Doutorado em Computa??o
>> UFCG
>> Brasil
>>
>> "Nessa jornada, o conhecimento ser? o seu escudo..."
>> (Mestre dos Magos no epis?dio do grimoire de ouro)
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Ns-users mailing list
>> Ns-users at isi.edu
>> http://mailman.isi.edu/mailman/listinfo/ns-users
>>
>>
>> End of Ns-users Digest, Vol 74, Issue 17
>> ****************************************
>>
>
>
>
> ---
> avast! Antivirus: Inbound message clean.
> Virus Database (VPS): 100216-1, 02/16/2010
> Tested on: 2/17/2010 7:02:52 AM
> avast! - copyright (c) 1988-2010 ALWIL Software.
> http://www.avast.com
>
>
>
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 100217-0, 02/17/2010
Tested on: 2/17/2010 7:07:40 AM
avast! - copyright (c) 1988-2010 ALWIL Software.
http://www.avast.com
More information about the Ns-users
mailing list