<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2676809952989108356</id><updated>2012-02-12T00:01:51.407+05:30</updated><category term='mobility model'/><category term='ns-2.34'/><category term='installation'/><category term='multiple interfaces in ns-2'/><category term='ns-2.29'/><category term='dccp'/><category term='ns-2.26'/><category term='delay'/><category term='Nonlinear RED'/><category term='ns-2.31'/><category term='AODV'/><category term='mobiwan'/><category term='DSR'/><category term='ns2.26'/><category term='AOMDV'/><category term='Spintronics'/><category term='Re-ARED'/><category term='Ubuntu 9.04'/><category term='Nomalized Routing Load'/><category term='AWK'/><category term='ns-2.35'/><category term='tcl script for multiple interface'/><category term='OLSR'/><category term='mobile ant'/><category term='antsense'/><category term='DSDV'/><category term='ns226nrl226 patch'/><category term='ubuntu 8.04'/><category term='ns226 patch'/><category term='ant'/><category term='old trace format'/><category term='NS-2'/><category term='new trace format'/><category term='nrlsensorsim'/><category term='RED'/><category term='jitter'/><category term='ns-2.28'/><category term='ns2 sensor networks'/><category term='aco'/><category term='xgraph'/><category term='pdf'/><category term='multiple channels in ns-2'/><category term='fedora 8'/><category term='TCL Script Generator'/><category term='fedora 12'/><category term='ns-2.1b9a'/><category term='ns-2.33'/><category term='ns2-app'/><category term='throughput'/><category term='sensor networks on ns2'/><title type='text'>Mohit P. Tahiliani</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-4659895017028090893</id><published>2012-01-16T12:01:00.002+05:30</published><updated>2012-01-21T14:29:20.391+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='RED'/><category scheme='http://www.blogger.com/atom/ns#' term='Re-ARED'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Refined Adaptive RED (Re-ARED or RARED) patch for NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="text-align: justify;"&gt;Adaptive Random Early Detection (ARED) proposed by S. Floyd in 2001 solves most of the issues related to the parameter sensitivity of RED. ARED adaptively varies "Maximum drop probability" and automatically sets other parameters of RED.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="text-align: justify;"&gt;Refined Adaptive RED (Re-ARED or RARED) proposed by T.-H. Kim and K.-H. Lee modifies the ARED's approach of varying "Maximum drop probability". Re-ARED attempts to bring the average queue size closer to the target range more quickly as compared to ARED. As a result, it minimizes packet drop rate and improves the overall performance of the network.&lt;/span&gt;&lt;br /&gt;&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="text-align: justify;"&gt;&lt;b&gt;Reference: &lt;/b&gt;"Refined Adaptive RED in TCP/IP Networks", Tae-Hoon Kim and Kee-Hyun Lee, SICE-ICASE International Joint Conference, pp. 3722-3725 (2006).&lt;/span&gt;&lt;br /&gt;&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="text-align: justify;"&gt;The following patch provides implementation of Re-ARED (or RARED) in NS-2:&lt;/span&gt;&lt;br /&gt;&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Download&amp;nbsp;&lt;a href="http://www.mediafire.com/?b6c9vut7tg4rjua" target="_blank"&gt;Re-ARED patch for NS-2&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Following are the steps to be followed to apply above given patch to ns-2.34:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;1. Download&amp;nbsp;&lt;a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz/download" target="_blank"&gt;ns-allinone-2.34.tar.gz&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;2. Download&amp;nbsp;&lt;a href="http://www.mediafire.com/?b6c9vut7tg4rjua" target="_blank"&gt;Re-ARED.patch&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.megaupload.com/?d=22RAG7JV" target="_blank"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;3. Unzip ns-allinone-2.34.tar.gz. You will get a folder named ns-allinone-2.34.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;4. Paste the downloaded patch in this folder.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;5. Give the following command:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; patch -p1 &amp;lt; Re-ARED.patch&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;6. Then give&amp;nbsp;&lt;b&gt;./install&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;If you have already installed copy of ns-allinone-2.34 then follow the below given steps to apply Re-ARED patch&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;1.&amp;nbsp;Paste the downloaded patch in ns-allinone-2.34 folder.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;2.&amp;nbsp;Give the following command:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; patch -p1 &amp;lt; Re-A&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;RED&lt;/b&gt;&lt;/span&gt;.patch&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;3. Go in ns-allinone-2.34/ns-2.34 directory and give the following commands:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ./configure&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make clean&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make install&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You are done with it!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;TCL Commands:&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Please read this post before getting started with Re-ARED simulation in NS-2&amp;nbsp;&lt;a href="http://www.mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html" target="_blank"&gt;"Random Early Detection (RED) in NS-2 - TCL - Part 1"&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;To simulate Re-ARED, you need to &lt;b&gt;ensure&lt;/b&gt; that following two lines are added in the TCL Script:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #e69138; text-align: justify;"&gt;&lt;b&gt;Queue/RED set adaptive_ 1&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Queue/RED set refined_adaptive_ 1&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Rest all commands remain same as explained in&amp;nbsp;&lt;a href="http://www.mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html" target="_blank"&gt;"Random Early Detection (RED) in NS-2 - TCL - Part 1"&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Hope it helps.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Regards,&lt;/div&gt;&lt;span style="text-align: justify;"&gt;Mohit P. Tahiliani&lt;/span&gt;&lt;span style="text-align: justify;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-4659895017028090893?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/4659895017028090893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2012/01/refined-adaptive-red-re-ared-or-rared.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4659895017028090893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4659895017028090893'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2012/01/refined-adaptive-red-re-ared-or-rared.html' title='Refined Adaptive RED (Re-ARED or RARED) patch for NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5060801863629449158</id><published>2012-01-12T16:02:00.009+05:30</published><updated>2012-01-21T14:31:14.780+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nonlinear RED'/><category scheme='http://www.blogger.com/atom/ns#' term='RED'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Nonlinear RED (NLRED) patch for NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Random Early Detection (RED) proposed by S. Floyd and V.Jacobson in 1993 is one of the widely deployed Active Queue Management (AQM)mechanisms. However, due to its parameter sensitivity, lot of variants of RED have been proposed. Nonlinear RED (NLRED) is one such variant of RED.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Reference:&lt;/b&gt; "Nonlinear RED: A simple yet efficient active queue management scheme", Kaiyu Zhou, Kwan L. Yeung, Victor O. K. Li, Elsevier Journal of Computer Networks, 50, pp. 3784-3794 (2006).&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The packet drop probability in RED is a linear function of the "average queue size". NLRED modifies the packet drop probability to be a quadratic function (and hence nonlinear function) of the "average queue size" so as to minimize the overall packet drop rate in the network. NLRED is not implemented in the allinone package of NS-2. The following patch provides the implementation of NLRED in NS-2.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Download &lt;a href="http://www.mediafire.com/?ic04qp748xn7vpp" target="_blank"&gt;NLRED patch for NS-2&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Following are the steps to be followed to apply above given patch to ns-2.34:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;1. Download&amp;nbsp;&lt;a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz/download" target="_blank"&gt;ns-allinone-2.34.tar.gz&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;2. Download &lt;a href="http://www.mediafire.com/?ic04qp748xn7vpp" target="_blank"&gt;NLRED.patch&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.megaupload.com/?d=22RAG7JV" target="_blank"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Unzip ns-allinone-2.34.tar.gz. You will get a folder named ns-allinone-2.34.&lt;br /&gt;&lt;br /&gt;4. Paste the downloaded patch in this folder.&lt;br /&gt;&lt;br /&gt;5. Give the following command:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; patch -p1 &amp;lt; NLRED.patch&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;6. Then give&amp;nbsp;&lt;b&gt;./install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you have already installed copy of ns-allinone-2.34 then follow the below given steps to apply NLRED patch&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp;Paste the downloaded patch in ns-allinone-2.34 folder.&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp;Give the following command:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; patch -p1 &amp;lt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;NLRED&lt;/b&gt;&lt;/span&gt;.patch&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3. Go in ns-allinone-2.34/ns-2.34 directory and give the following commands:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ./configure&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make clean&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; make install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You are done with it!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TCL Commands:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Please read this post before getting started with NLRED simulation in NS-2 &lt;a href="http://www.mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html" target="_blank"&gt;"Random Early Detection (RED) in NS-2 - TCL - Part 1"&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To simulate NLRED, you just need to include the following command in TCL Script:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #e69138;"&gt;&lt;b&gt;Queue/RED set nonlinear_ 1&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;Rest all commands remain same as explained in &lt;a href="http://www.mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html" target="_blank"&gt;"Random Early Detection (RED) in NS-2 - TCL - Part 1"&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5060801863629449158?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5060801863629449158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2012/01/nonlinear-red-nlred-patch-for-ns-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5060801863629449158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5060801863629449158'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2012/01/nonlinear-red-nlred-patch-for-ns-2.html' title='Nonlinear RED (NLRED) patch for NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5423735560890318402</id><published>2011-08-26T13:36:00.002+05:30</published><updated>2011-11-29T15:45:41.253+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='RED'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Random Early Detection (RED) in NS-2 - TCL - Part 1</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;Random Early Detection (RED) proposed by S. Floyd and V.Jacobson in 1993 is one of the widely deployed Active Queue Management (AQM)mechanisms. The performance of RED highly depends on the appropriate setting ofatleast four parameters namely:&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;1. Minimum threshold&lt;/div&gt;&lt;div class="MsoNormal"&gt;2. Maximum threshold&lt;/div&gt;&lt;div class="MsoNormal"&gt;3. Exponential weighted moving average constant&lt;/div&gt;&lt;div class="MsoNormal"&gt;4. Maximum drop probability&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;Setting appropriate values for these parameters isconsidered as a challenging issue and hence in 1999 S. Floyd proposed Gentle variant of RED. Later in 2001, S. Floyd proposed Adaptive RED which automatically sets all theseparameters based on the network conditions.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;In NS-2, thedefault RED which is active is Gentle RED + Adaptive RED.&amp;nbsp;To simulate the Original RED proposed in 1993 by S. Floyd (becausestill there are several researchers who aim to address the parametersensitivity of Original RED), following commands must be used in the TCLScript before configuring a router with RED queue:&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set thresh_ 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set maxthresh_ 15&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set q_weight_ 0.001&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set cur_max_p_ 0.5&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set bytes_ false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set queue_in_bytes_ false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set gentle_ false&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138; font-family: inherit;"&gt;&lt;b&gt;Queue/RED set mean_pktsize_ 1000&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Note that the values used in the above commands are taken from the Original paper of RED (See References). You need to change them as per your requirements!&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;thresh_&lt;/b&gt;&lt;/span&gt; = minimum threshold&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;maxthresh_&lt;/b&gt;&lt;/span&gt; = maximum threshold&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;q_weight_&lt;/b&gt;&lt;/span&gt; = exponential weighted moving average constant&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;cur_max_p_&lt;/b&gt;&lt;/span&gt; = maximum drop probability&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;bytes_&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt; &lt;/span&gt;and&lt;span class="Apple-style-span" style="color: orange;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;queue_in_bytes_&lt;/b&gt;&lt;/span&gt; = indicate calculations of average queue size in bytes. Setting them to false indicates average queue size will be calculated in packets (not in bytes).&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;gentle_&lt;/b&gt;&lt;/span&gt; = Gentle RED mode. Setting it false indicates Gentle mode is OFF&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;mean_pktsize_&lt;/b&gt;&lt;/span&gt; = average size of a packet arriving at the router&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;b&gt;Setting RED in Wired Networks:&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Sample command is:&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;$ns duplex-link $n0 $n2 10Mb 10ms RED&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;b&gt;Setting RED in Wireless Networks:&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Sample command is:&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;set val(ifq) &amp;nbsp; &amp;nbsp;Queue/RED&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;b&gt;Gentle RED Settings in NS-2:&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;To enable Gentle RED option, the only change required is:&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;span class="Apple-style-span" style="color: #e69138;"&gt;&lt;b&gt;Queue/RED set gentle_ true&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Rest all commands and syntax&amp;nbsp;for Gentle RED&amp;nbsp;are exactly same as mentioned above for Original RED.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Hope it helps.&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Regards,&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;Mohit P. Tahiliani&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt; text-align: justify;"&gt;&lt;b&gt;References:&lt;/b&gt; S. Floyd and V. Jacobson, "Random Early Detection Gateways for Congestion Avoidance", IEEE/ACM Transactions on Networking, 1, 397-413.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5423735560890318402?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5423735560890318402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5423735560890318402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5423735560890318402'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2011/08/random-early-detection-red-in-ns-2-tcl.html' title='Random Early Detection (RED) in NS-2 - TCL - Part 1'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-1798181238653909588</id><published>2011-08-06T15:51:00.002+05:30</published><updated>2012-02-02T19:45:23.120+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='AODV'/><category scheme='http://www.blogger.com/atom/ns#' term='OLSR'/><category scheme='http://www.blogger.com/atom/ns#' term='AWK'/><category scheme='http://www.blogger.com/atom/ns#' term='DSR'/><category scheme='http://www.blogger.com/atom/ns#' term='Nomalized Routing Load'/><category scheme='http://www.blogger.com/atom/ns#' term='DSDV'/><title type='text'>AWK Scripts for Normalized Routing Load/Overhead</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Normalized Routing Load (or Normalized Routing Overhead) is defined as the total number of routing packet transmitted per data packet.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It is calculated by dividing the total number of routing packets sent (includes forwarded routing packets as well) by the total number of data packets received.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;AWK Script to calculate Normalized Routing Load for Old trace format can be downloaded from the link given below:&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;AWK Script for Normalized Routing Load - Old Trace Format:&lt;/b&gt;&lt;/div&gt;&lt;a href="http://www.megaupload.com/?d=4GF89D4G"&gt;&lt;/a&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px; text-align: center;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px 5px 3px; text-align: center;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?czvehuu2os3jh0u" style="color: #333333;" target="_blank"&gt;nrl_ot.awk&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;AWK Script to calculate Normalized Routing Load for New trace format can be downloaded from the link given below:&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;AWK Script for Normalized Routing Load - New Trace Format:&lt;/b&gt;&lt;/div&gt;&lt;a href="http://www.megaupload.com/?d=WRI2GJB0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px; text-align: center;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px 5px 3px; text-align: center;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?8v0o8g7adv0prbq" style="color: #333333;" target="_blank"&gt;nrl_nt.awk&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If there are any problems encountered in downloading above files, please visit the link given below:&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.mediafire.com/?z1c2cxdt1a31d" target="_blank"&gt;http://www.mediafire.com/?z1c2cxdt1a31d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;These scripts work for AODV, DSDV, DSR and OLSR. To use these scripts for other routing protocols, just add the name of that routing protocol in appropriate loop within this script.&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; Please report any bugs if encountered.&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-1798181238653909588?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/1798181238653909588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2011/08/awk-scripts-for-normalized-routing.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1798181238653909588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1798181238653909588'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2011/08/awk-scripts-for-normalized-routing.html' title='AWK Scripts for Normalized Routing Load/Overhead'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-7342709905964264184</id><published>2011-07-05T20:29:00.004+05:30</published><updated>2012-01-21T15:33:36.296+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple interfaces in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='multiple channels in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='tcl script for multiple interface'/><category scheme='http://www.blogger.com/atom/ns#' term='AOMDV'/><title type='text'>Modified AOMDV with Multiple Interface Support in NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;This patch is designed for ns-allinone-2.33.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Contributed by: &lt;b&gt;Chirag Raval&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;span class="Apple-style-span"&gt;Download &lt;/span&gt;&lt;a href="http://www.mediafire.com/?mbf2saf74asxfv8" target="_blank"&gt;&lt;span class="Apple-style-span"&gt;NS-2.33-AOMDV-Multiple-Interface.patch&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Following are the steps to be followed to apply above given patch to ns-2.33:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;1. Download&amp;nbsp;&lt;a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.33/ns-allinone-2.33.tar.gz/download" target="first_window"&gt;ns-allinone-2.33.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;2. Download&amp;nbsp;&lt;a href="http://www.mediafire.com/?mbf2saf74asxfv8" target="_blank"&gt;NS-2.33-AOMDV-Multiple-Interface.patch&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;3. Unzip ns-allinone-2.33.tar.gz. You will get a folder named ns-allinone-2.33.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-size: small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;4. Paste the downloaded patch in this folder.&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;5. Give the following command:&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt; NS-2.33-AOMDV-Multiple-Interface.patch&lt;/b&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;6. Then give&amp;nbsp;&lt;b&gt;./install&lt;/b&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; text-align: justify;"&gt;&lt;div style="margin: 0px;"&gt;If you have already installed copy of ns-allinone-2.33 then follow the below given steps to apply multi-interface patch.&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;1.&amp;nbsp;Paste the downloaded patch in ns-allinone-2.33 folder.&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;2.&amp;nbsp;Give the following command:&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;NS-2.33-AOMDV-Multiple-Interface&lt;/b&gt;&lt;/span&gt;.patch&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;3. Go in ns-allinone-2.33/ns-2.33 directory.&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;4. Give the following commands:&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;./configure&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make clean&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make install&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;You are done with it!&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px;"&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; line-height: normal; margin: 0px; text-align: justify;"&gt;&lt;div style="margin: 0px;"&gt;Example TCL scripts to verify the working of this patch are similar to that of TCL Scripts provided for Multi Interface DSDV patch. You need to replace DSDV by AOMDV in TCL Scripts. Scripts can be downloaded from the following link:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Download &lt;/span&gt;&lt;a href="http://www.mediafire.com/?4dchcj5w6bagx42" target="_blank"&gt;&lt;span class="Apple-style-span"&gt;Multi-Interface TCL Scripts - DSDV.zip&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;b&gt;Kindly Note:&lt;/b&gt;&amp;nbsp;The tcl scripts having "mesh" word in their name are the scripts designed with multiple interfaces. Others are designed with single interfaces. To verify the working of multiple interfaces, two awk scripts are also provided in the folder.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;/span&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;/span&gt;&lt;div style="margin: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;A tcl script named im3pmanual.tcl is a tcl script wherein nodes have different number of interfaces assigned to them whereas, other tcl scripts designed with multiple interface are designed such that all the nodes in the network have equal number of interfaces.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;If you encounter any problem in downloading the patch from the link given above, please follow this link:&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;a href="http://www.mediafire.com/?mbf2saf74asxfv8" target="_blank"&gt;http://www.mediafire.com/?mbf2saf74asxfv8&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;If you encounter any problem in downloading example tcl scripts, please follow this link:&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;a href="http://www.mediafire.com/?4dchcj5w6bagx42" target="_blank"&gt;http://www.mediafire.com/?4dchcj5w6bagx42&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;Hope it helps.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;Regards,&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;Mohit P. Tahiliani&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; line-height: 20px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-7342709905964264184?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/7342709905964264184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2011/07/modified-aomdv-with-multiple-interface.html#comment-form' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7342709905964264184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7342709905964264184'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2011/07/modified-aomdv-with-multiple-interface.html' title='Modified AOMDV with Multiple Interface Support in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-2858247806631807516</id><published>2010-08-06T11:21:00.005+05:30</published><updated>2012-01-21T15:07:43.177+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='xgraph'/><category scheme='http://www.blogger.com/atom/ns#' term='AWK'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Xgraph and AWK Scripts in NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: inherit; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;AWK scripts (.awk), which are used to extractthe necessary information from trace files (.tr) are also useful to plot graphsusing Xgraph (.xgr) utility of NS-2. However, the AWK scripts that are used toplot graphs differ from the AWK scripts that just print the values on theterminal.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;I will try to explain thedifference between these two types of AWK scripts with the help of an example. Assumethat we have designed a tcl script named “energy.tcl” which simulates a networkfor 100 seconds. We run this tcl script with the following command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;b&gt;ns energy.tcl&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;span style="line-height: 115%;"&gt;After executing the tcl script we get a tracefile (.tr) and a NAM file (.nam) i.e. “energy.tr” and “energy.nam”. Now we may have two scenarios as explained below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;1. We want the value of residual(remaining) energy of a node &lt;b&gt;at the endof the simulation&lt;/b&gt;. (Here graph of Time v/s Residual energy is not required).&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;2. We want the value of residual (remaining) energy ofa node &lt;b&gt;at each instance of time&lt;/b&gt; i.efrom beginning of the simulation to the end of the simulation. (Time v/sResidual energy graph is required to observe the decrease in the total energyof a node).&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;For both of the above mentionedscenarios we need to design two different AWK scripts. However, the main logicto calculate the residual energy will remain the same. Only the way we printthe values differs.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;Let &lt;b&gt;scen1.awk&lt;/b&gt; be the awk file for first scenario and &lt;b&gt;scen2.awk&lt;/b&gt; be the awk file for secondscenario. scen1.awk should be designed such that when we run it by using thefollowing command:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;b&gt;awk&amp;nbsp;-f&amp;nbsp; scen1.awk&amp;nbsp; energy.tr&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;it should print the residual(remaining) energy of a node on the terminal.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;And scen2.awk should be designedsuch that when we run it by using the following command:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;b&gt;awk &amp;nbsp;-f&amp;nbsp;scen2.awk&amp;nbsp; energy.tr&amp;nbsp; &amp;gt;&amp;nbsp;energy.xgr&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;span style="line-height: 115%;"&gt;it should print two values in “energy.xgr”: timeand residual (remaining) energy of a node.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;If you open “energy.xgr” you willnotice that there are two columns created. In first column, values related to “time”are printed and in another column values related to “residual energy” areprinted. The values in first column form X-axis of the graph and the values insecond column form Y-axis of the graph (thus you get a graph of Time v/sResidual Energy).&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;Give the following command to seethe graph:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;xgraph &amp;nbsp;energy.xgr&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Default background color of thegraph is grey. If you want a graph with background color as white, give thefollowing command:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;xgraph &amp;nbsp;energy.xgr&amp;nbsp;-bg&amp;nbsp; white&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Other options (like changingbackground colors, plotting bar graphs, etc) related to Xgraph are available inthe pdf file given below:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.mediafire.com/?oiykyfbk83dt7x1" target="_blank"&gt;Xgraph Utility of NS-2&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Hope it helps.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Regards,&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Mohit P. Tahiliani&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: inherit; margin-bottom: 0in; text-align: justify;"&gt;&lt;span style="font-size: small; line-height: 115%;"&gt;&lt;span style="line-height: 115%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraph" style="font-family: inherit; margin-bottom: 0in; text-align: justify; text-indent: -0.25in;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-2858247806631807516?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/2858247806631807516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/08/xgraph-and-awk-scripts-in-ns-2_06.html#comment-form' title='177 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2858247806631807516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2858247806631807516'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/08/xgraph-and-awk-scripts-in-ns-2_06.html' title='Xgraph and AWK Scripts in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>177</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-2156872486625234407</id><published>2010-06-16T14:11:00.001+05:30</published><updated>2012-01-21T15:11:00.760+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple interfaces in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='multiple channels in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='tcl script for multiple interface'/><category scheme='http://www.blogger.com/atom/ns#' term='DSDV'/><title type='text'>Modified DSDV for Multiple Interface Support in NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: 13px; line-height: 20px;"&gt;The document named "Adding multiple interface support in NS-2" prepared by Ramon Aguero Calvo and Jesus Perez Campo, University of Cantabria helps to incorporate multiple channel support to the core of the ns-2 simulator.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: 13px; line-height: 20px;"&gt;&lt;b&gt;There are few modifications required in the routing protocols such as DSDV, AODV and DSR to use multiple interface support in ns-2.&lt;/b&gt; Ramon Aguero Calvo and Jesus Perez Campo have modified the AODV protocol for which code is available in the document they have provided. A patch (that contains modifications in ns-2 to support multiple interfaces and modifications in AODV code) based on that document is available on this link &lt;a href="http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html" target="first_window"&gt;"Revised: Adding Multiple Interface Support in NS-2" &lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;Based on the guidelines provided in Chapter 5 of the document we have successfully made modifications in DSDV routing protocol. The patch for the same is available on the link given below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Download &lt;/span&gt;&lt;a href="http://www.mediafire.com/?y5tjaz5x6me2bh3" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;NS-2.33-DSDV-Multiple-Interface.patch&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;Following are the steps to be followed to apply above given patch to ns-2.33:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px;"&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;1. Download&amp;nbsp;&lt;a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.33/ns-allinone-2.33.tar.gz/download" target="first_window"&gt;ns-allinone-2.33.tar.gz&lt;/a&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;2. Download&amp;nbsp;&lt;a href="http://www.mediafire.com/?y5tjaz5x6me2bh3" target="_blank"&gt;NS-2.33-DSDV-Multiple-Interface.patch&lt;/a&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;3. Unzip ns-allinone-2.33.tar.gz. You will get a folder named ns-allinone-2.33.&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;4. Paste the downloaded patch in this folder.&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;5. Give the following command:&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt; NS-2.33-DSDV-Multiple-Interface.patch&lt;/b&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;6. Then give&amp;nbsp;&lt;b&gt;./install&lt;/b&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; text-align: justify;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;If you have already installed copy of ns-allinone-2.33 then follow the below given steps to apply multi-interface patch.&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;1.&amp;nbsp;Paste the downloaded patch in ns-allinone-2.33 folder.&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;2.&amp;nbsp;Give the following command:&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;NS-2.33-DSDV-Multiple-Interface&lt;/b&gt;&lt;/span&gt;.patch&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;3. Go in ns-allinone-2.33/ns-2.33 directory.&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;4. Give the following commands:&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;./configure&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make clean&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make install&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;You are done with it!&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: justify;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Example TCL scripts to verify the working of the patch can be found on the link given below:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Download &lt;/span&gt;&lt;a href="http://www.mediafire.com/?4dchcj5w6bagx42" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Multi-Interface TCL Scripts - DSDV.zip&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;b&gt;Kindly Note:&lt;/b&gt;&amp;nbsp;The tcl scripts having "mesh" word in their name are the scripts designed with multiple interfaces. Others are designed with single interfaces. To verify the working of multiple interfaces, two awk scripts are also provided in the folder.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #31302c; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;A tcl script named im3pmanual.tcl is a tcl script wherein nodes have different number of interfaces assigned to them whereas in other tcl scripts designed with multiple interface are designed such that all the nodes in the network have equal number of interfaces.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you encounter any problem in downloading the patch from the link given above, please follow this link:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://www.mediafire.com/?y5tjaz5x6me2bh3" target="_blank"&gt;http://www.mediafire.com/?y5tjaz5x6me2bh3&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;If you encounter any problem in downloading example tcl scripts, please follow this link:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://www.mediafire.com/?4dchcj5w6bagx42" target="_blank"&gt;http://www.mediafire.com/?4dchcj5w6bagx42&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Hope it helps.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Regards,&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Mohit P. Tahiliani&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Acknowledgements&lt;/b&gt;: I would like to Thank &lt;b&gt;Chirag J. Raval&lt;/b&gt; and &lt;b&gt;Vaidehi S. Panwala&lt;/b&gt; for extending their support in modifying the code of DSDV. They went in complete details of DSDV source code in NS-2 and have a major role in the implementation of this patch.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Very Important!!! Please Note:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;(1)&amp;nbsp;&lt;/b&gt;The DSDV modifications are still under review and the patch has been verified with only few TCL scripts. Please report any bugs if encountered.&lt;br /&gt;&lt;b&gt;(2)&lt;/b&gt; This patch does not contain modifications to AODV routing protocol. However it includes Multiple Interface Support in NS-2 (i.e we have excluded the AODV Modifications from the code of Ramon Sir's document and included DSDV Modifications).&lt;br /&gt;&lt;b&gt;(3)&lt;/b&gt; A combined patch that includes Multiple Interface Support + AODV Modifications + DSDV Modifications will be uploaded soon with sample TCL Scripts. Thank you for co-operation.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-2156872486625234407?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/2156872486625234407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2156872486625234407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2156872486625234407'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html' title='Modified DSDV for Multiple Interface Support in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5376857133199673194</id><published>2010-05-14T10:40:00.001+05:30</published><updated>2010-05-14T10:41:39.922+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu 9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.35'/><title type='text'>NS-2.35 on Ubuntu 9.04</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I tried compiling ns-allinone-2.35-RC4 on Ubuntu 9.04 and it works! No patches were required.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The installation procedure is the same.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;1. Download &lt;a href="http://www.isi.edu/nsnam/dist/release/ns-allinone-2.35-RC4.tar.gz" target="first_window"&gt;ns-allinone-2.35-RC4&lt;/a&gt;.&lt;/div&gt;&lt;br /&gt;2. Untar the downloaded folder.&lt;br /&gt;&lt;br /&gt;3. Go in ns-allinone-2.35-RC4 directory.&lt;br /&gt;&lt;br /&gt;4. Give the following command: &amp;nbsp; &amp;nbsp;&lt;b&gt;./install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;5. After the installation is successfully completed, set the paths properly which will be provided at the end of the installation procedure.&lt;/div&gt;&lt;br /&gt;6. Go in ns-2.35 directory.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;7. Start validation by giving following command: &amp;nbsp; &lt;b&gt;./validate&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;Once the validation is over you are done with installation procedure!&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5376857133199673194?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5376857133199673194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/ns-235-on-ubuntu-904.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5376857133199673194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5376857133199673194'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/ns-235-on-ubuntu-904.html' title='NS-2.35 on Ubuntu 9.04'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-8161718487775732933</id><published>2010-05-11T12:50:00.002+05:30</published><updated>2010-05-11T12:55:30.848+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.26'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.34'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.35'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.29'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.28'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.33'/><category scheme='http://www.blogger.com/atom/ns#' term='dccp'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.31'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><category scheme='http://www.blogger.com/atom/ns#' term='mobiwan'/><title type='text'>DCCP patches for NS-2</title><content type='html'>&lt;div style="text-align: justify;"&gt;Datagram Congestion Control Protocol (DCCP) is a message oriented transport layer protocol. It implements reliable connection setup, teardown, flow-based semantics, congestion control as in TCP but does not provide reliable in-order delivery of packets. It is because this protocol is used for applications that have strict timing constraints on the delivery of data.&lt;/div&gt;&lt;br /&gt;-- From &lt;a href="http://en.wikipedia.org/wiki/Datagram_Congestion_Control_Protocol" target="first_window"&gt;Wikipedia&lt;/a&gt;, the free encyclopedia.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Various patches for DCCP have been designed for NS-2 depending on various versions of NS-2. You can download the patches from the links given below:&lt;/div&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.26:&lt;/b&gt; Patch given for ns-2.31 includes the patch for ns-2.26 as well.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.28:&lt;/b&gt;&amp;nbsp;&lt;a href="http://eugen.dedu.free.fr/ns2/dccp-ns2.28.patch" target="first_window"&gt;http://eugen.dedu.free.fr/ns2/dccp-ns2.28.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.29:&lt;/b&gt;&amp;nbsp;&lt;a href="http://eugen.dedu.free.fr/ns2/dccp-ns2.29.patch" target="first_window"&gt;http://eugen.dedu.free.fr/ns2/dccp-ns2.29.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.31:&lt;/b&gt;&amp;nbsp;&lt;a href="http://eugen.dedu.free.fr/ns2/dccp-ns2.31.patch" target="first_window"&gt;http://eugen.dedu.free.fr/ns2/dccp-ns2.31.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.33:&lt;/b&gt;&amp;nbsp;&lt;a href="http://www.nicta.com.au/people/mehanio/nsmisc/ns-233-dccp-1.patch" target="first_window"&gt;http://www.nicta.com.au/people/mehanio/nsmisc/ns-233-dccp-1.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.34:&lt;/b&gt;&amp;nbsp;&lt;a href="http://eugen.dedu.free.fr/ns2/dccp-ns2.34.patch" target="first_window"&gt;http://eugen.dedu.free.fr/ns2/dccp-ns2.34.patch&lt;/a&gt;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&lt;a href="http://sourceforge.net/projects/dccp-ns/files/" target="first_window"&gt;http://sourceforge.net/projects/dccp-ns/files/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch for ns-2.35:&lt;/b&gt;&amp;nbsp;&lt;a href="http://sourceforge.net/projects/dccp-ns/files/" target="first_window"&gt;http://sourceforge.net/projects/dccp-ns/files/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;DCCP Patch compatible with MobiWAN:&lt;/b&gt;&amp;nbsp;&lt;a href="http://www.nicta.com.au/__data/assets/file/0003/16869/ns-233-dccp_mobiwan-1.patch" target="first_window"&gt;http://www.nicta.com.au/__data/assets/file/0003/16869/ns-233-dccp_mobiwan-1.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks to &lt;b&gt;Eugen Dedu, Sidney Doria and NICTA&lt;/b&gt; for designing and making these patches available for ns-2 community.&lt;br /&gt;&lt;br /&gt;The official links where these patches and more details about the same can be obtained are as given below:&lt;br /&gt;&lt;br /&gt;1)&amp;nbsp;&lt;a href="http://eugen.dedu.free.fr/ns2/" target="first_window"&gt;http://eugen.dedu.free.fr/ns2/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2)&amp;nbsp;&lt;a href="http://sourceforge.net/projects/dccp-ns/files/" target="first_window"&gt;http://sourceforge.net/projects/dccp-ns/files/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3)&amp;nbsp;&lt;a href="http://www.nicta.com.au/people/mehanio/nsmisc" target="first_window"&gt;http://www.nicta.com.au/people/mehanio/nsmisc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-8161718487775732933?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/8161718487775732933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/dccp-patches-for-ns-2.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/8161718487775732933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/8161718487775732933'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/dccp-patches-for-ns-2.html' title='DCCP patches for NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-6884992312448721849</id><published>2010-05-07T11:01:00.000+05:30</published><updated>2010-05-07T11:01:42.486+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.35'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu 8.04'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 12'/><title type='text'>NS-2.35 Released!</title><content type='html'>&lt;div style="text-align: justify;"&gt;The latest version of ns-2: ns-2.35 has been released.&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.isi.edu/nsnam/dist/release/ns-allinone-2.35-RC4.tar.gz" target="first_window"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Download ns-allinone-2.35&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The official website can be found on this link:&amp;nbsp;&lt;a href="http://nsnam.isi.edu/nsnam/index.php/Roadmap#Release_schedule" target="first_window"&gt;http://nsnam.isi.edu/nsnam/index.php/Roadmap#Release_schedule&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The download link given above is of ns-allinone-2.35-RC4 package. The platform support is yet to be tested.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;But ns-allinone-2.35-RC2 has been tested on Ubuntu Karmic, Ubuntu 8.04, Fedora 12, etc.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;For more information please visit the official website &lt;a href="http://nsnam.isi.edu/nsnam/index.php/Roadmap#Release_schedule" target="first_window"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Hope it helps.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Regards,&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Mohit P. Tahiliani&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-6884992312448721849?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/6884992312448721849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/ns-235-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6884992312448721849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6884992312448721849'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/05/ns-235-released.html' title='NS-2.35 Released!'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-1266853383678050804</id><published>2010-04-24T16:18:00.005+05:30</published><updated>2010-04-24T16:23:01.958+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><category scheme='http://www.blogger.com/atom/ns#' term='mobility model'/><title type='text'>Mobility Models for NS-2</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Bonnmotion:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;Mobility scenario generation &amp;amp; analysis tool&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Bonnmotion is a Java Software developed by the Communication Systems Group at the Institute of Computer Science 4 of the University of Bonn, Germany. This tool creates and analyses mobility scenarios.&lt;br /&gt;&lt;br /&gt;The scenarios generated by Bonnmotion can also be exported for network simulator - 2 (ns-2), glomosim/qualnet, cooja and mixim.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Following mobility models are supported by Bonnmotion:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;1. Random-Waypoint Model&lt;/div&gt;&lt;div style="text-align: justify;"&gt;2. Gauss-Markov Model&lt;/div&gt;&lt;div style="text-align: justify;"&gt;3. Manhattan Grid Model&lt;/div&gt;&lt;div style="text-align: justify;"&gt;4. Reference Point Group Mobility Model&lt;/div&gt;&lt;div style="text-align: justify;"&gt;5. Disaster Area Model&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;Download latest verison - &lt;span class="Apple-style-span"&gt;&lt;a href="http://net.cs.uni-bonn.de/fileadmin/ag/martini/projekte/BonnMotion/src/bonnmotion-1.4.zip" target="first_window"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Bonnmotion v1.4&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For more information on Bonnmotion such as documentation, FAQs, Feedback and updates, please visit the official webpage of Bonnmotion on the link given below:&lt;br /&gt;&lt;a href="http://net.cs.uni-bonn.de/wg/cs/applications/bonnmotion/" target="first_window"&gt;http://net.cs.uni-bonn.de/wg/cs/applications/bonnmotion/&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Kindly Note&lt;/b&gt;: The material provided above is taken from the same &lt;a href="http://net.cs.uni-bonn.de/wg/cs/applications/bonnmotion/" target="first_window"&gt;official webpage&lt;/a&gt; of Bonnmotion.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-1266853383678050804?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/1266853383678050804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/mobility-models-for-ns-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1266853383678050804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1266853383678050804'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/mobility-models-for-ns-2.html' title='Mobility Models for NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-1630932095442331868</id><published>2010-04-16T16:21:00.000+05:30</published><updated>2010-04-16T16:21:33.723+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns2-app'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.33'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Application Layer Simulations on NS-2</title><content type='html'>A framework named "ns2-app" is developed and maintained by &lt;a href="http://xizhizhu.blogspot.com/" target="first_window"&gt;Xizhi Zhu&lt;/a&gt; to simplify the application layer simulations on NS-2.&lt;br /&gt;&lt;br /&gt;This framework has been tested on ns-2.33.&lt;br /&gt;&lt;br /&gt;The source code can be downloaded from the following link:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;a href="http://ns2-app.googlecode.com/files/ns2-app-0.02.tar.bz2" target="first_window"&gt;Download ns2-app-0.02.tar.bz2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After downloading, untar the downloaded folder in &amp;nbsp;~/ns-2.33 directory and recompile NS-2.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;For more details on installation and the possible errors, please visit the official website of ns2-app &lt;a href="http://code.google.com/p/ns2-app/" target="first_window"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-1630932095442331868?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/1630932095442331868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/application-layer-simulations-on-ns-2.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1630932095442331868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/1630932095442331868'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/application-layer-simulations-on-ns-2.html' title='Application Layer Simulations on NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5350159183099216827</id><published>2010-04-13T14:48:00.004+05:30</published><updated>2012-01-21T15:13:30.971+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu 9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.1b9a'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 8'/><title type='text'>Installing ns-2.1b9a on Fedora 8 / Ubuntu 9.04</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Kindly Note:&lt;/b&gt; Before you start installing ns-2.1b9a on Fedora 8/Ubuntu 9.04 please make sure you have installed gcc-3.3 and g++-3.3.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The patch required to install ns-2.1b9a on Fedora 8/Ubuntu 9.04 is designed and is available on the following link:&lt;/div&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border-color: #353535; border-style: solid; border-width: 1px; color: #0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; padding: 0px;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.esnips.com/doc/4392e5f2-6c95-43d6-b174-3e5b461d34c2/ns21b9a" target="first_window"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;strong&gt;&lt;a href="http://www.mediafire.com/?4yy7dlrgub7cj6b" style="color: #333333;" target="_blank"&gt;ns21b9a.patch&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Following are the steps to install ns-2.1b9a on Fedora 8/Ubuntu 9.04:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;1. Download &lt;a href="http://www.isi.edu/nsnam/dist/ns-allinone-2.1b9a-gcc32.tar.gz"&gt;ns-allinone-2.1b9a-gcc32.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Download above given &lt;a href="http://www.mediafire.com/?4yy7dlrgub7cj6b" target="_blank"&gt;ns21b9a.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Untar ns-allinone-2.1b9a-gcc32.tar.gz. You will get a folder named ns-allinone-2.1b9a&lt;br /&gt;&lt;br /&gt;4. Paste &lt;b&gt;ns21b9a.patch&lt;/b&gt; in this folder and give the following command via terminal&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt; ns21b9a.patch&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;5. Then give the following command&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;b&gt;./install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You are done with it!&lt;br /&gt;&lt;br /&gt;If you encounter any problem in downloading the patch, please follow this link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mediafire.com/?4yy7dlrgub7cj6b" target="_blank"&gt;http://www.mediafire.com/?4yy7dlrgub7cj6b&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Mohit P. Tahiliani&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5350159183099216827?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5350159183099216827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/installing-ns-21b9a-on-fedora-8-ubuntu.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5350159183099216827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5350159183099216827'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/installing-ns-21b9a-on-fedora-8-ubuntu.html' title='Installing ns-2.1b9a on Fedora 8 / Ubuntu 9.04'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-6560198498209356676</id><published>2010-04-12T11:13:00.003+05:30</published><updated>2012-01-21T15:16:28.728+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple interfaces in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='multiple channels in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='tcl script for multiple interface'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.33'/><title type='text'>Revised: Adding Multiple Interface Support in NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;After designing the patch provided in my previous blog &lt;a href="http://mohittahiliani.blogspot.com/2010/03/adding-multiple-interface-support-in-ns.html" target="first_window"&gt;"Adding Multiple Interface Support in NS-2"&lt;/a&gt;, I tried to design an example tcl script (with reference to Chapter 6 in the document prepared by Ramon Aguero Calvo and Jesus Perez Campo) to verify the working of the patch.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I found few errors and later found there was a problem with mac-802_11.cc file. I have corrected the error and the modified patch can be found on the link given below:&lt;/div&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.esnips.com/doc/129dd331-f019-4d3f-9643-9642d5493e41/multi-interface%28ns-2.33%29" target="first_window"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?au0dce1r3ct0x7t" style="color: #333333;" target="_blank"&gt;multi-interface(ns...&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Following are the steps to be followed to apply above given patch to ns-2.33:&lt;br /&gt;&lt;br /&gt;1. Download &lt;a href="http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.33/ns-allinone-2.33.tar.gz/download" target="first_window"&gt;ns-allinone-2.33.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Download &lt;a href="http://www.mediafire.com/?au0dce1r3ct0x7t" target="_blank"&gt;multi-interface.patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Unzip ns-allinone-2.33.tar.gz. You will get a folder named ns-allinone-2.33.&lt;br /&gt;&lt;br /&gt;4. Paste the downloaded multi-interface.patch in this folder.&lt;br /&gt;&lt;br /&gt;5. Give the following command: &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt; multi-interface(ns-2.33).patch&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;6. Then give &lt;b&gt;./install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you have already installed copy of ns-allinone-2.33 then follow the below given steps to apply multi-interface patch.&lt;/div&gt;&lt;br /&gt;1.&amp;nbsp;Paste the downloaded multi-interface.patch in ns-allinone-2.33 folder.&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp;Give the following command: &lt;br /&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;patch -p1 &amp;lt; multi-interface(ns-2.33).patch&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;3. Go in ns-allinone-2.33/ns-2.33 directory.&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;4. Give the following commands:&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;./configure&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make clean&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;make install&lt;/b&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;You are done with it!&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px; text-align: justify;"&gt;Example TCL scripts to verify the working of the patch can be found on the link given below:&lt;/div&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.esnips.com/doc/617613c8-cc47-429e-a84e-f9dc258062c3/Multi-Interface-TCL-Scripts.tar" target="first_window"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?avpbigc1ynyjj7d" style="color: #333333;" target="_blank"&gt;Multi-Interface TC...&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px; text-align: justify;"&gt;&lt;b&gt;Kindly Note:&lt;/b&gt; The tcl scripts having "mesh" word in their name are the scripts designed with multiple interfaces. Others are designed with single interfaces. To verify the working of multiple interfaces, two awk scripts are also provided in the folder.&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;div style="text-align: justify;"&gt;A tcl script named im3pmanual.tcl is a tcl script wherein nodes have different number of interfaces assigned to them whereas in other tcl scripts designed with multiple interface are designed such that all the nodes in the network have equal number of interfaces.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you encounter any problem in downloading the patch from the link given above, please follow this link:&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.mediafire.com/?au0dce1r3ct0x7t" target="_blank"&gt;http://www.mediafire.com/?au0dce1r3ct0x7t&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you encounter any problem in downloading example tcl scripts, please follow this link:&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.mediafire.com/?avpbigc1ynyjj7d" target="_blank"&gt;http://www.mediafire.com/?avpbigc1ynyjj7d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;Hope it helps.&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;Regards,&lt;/div&gt;&lt;div style="margin: 0px;"&gt;Mohit P. Tahiliani&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Related Blogs:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;br /&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html" target="first_window"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html" target="first_window"&gt;Modified DSDV for Multiple Interface Support in NS-2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-6560198498209356676?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/6560198498209356676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6560198498209356676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6560198498209356676'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html' title='Revised: Adding Multiple Interface Support in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5472757658308982235</id><published>2010-03-15T16:51:00.009+05:30</published><updated>2012-01-21T15:17:47.720+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple interfaces in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='multiple channels in ns-2'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2.33'/><category scheme='http://www.blogger.com/atom/ns#' term='DSDV'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Adding Multiple Interface Support in NS-2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;The document named "Adding multiple interface support in NS-2" prepared by Ramon Aguero Calvo and Jesus Perez Campo, University of Cantabria helps to incorporate multiple channel support to the core of the ns-2 simulator.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;After following the instructions provided in the document I was able to implement multi-channel multi-interface support in ns-2.33.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;Hence I have designed a patch depending on the above mentioned document that incorporates multi-channel multi-interface support in ns-2.33.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border-color: #353535; border-style: solid; border-width: 1px; color: #0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; padding: 0px;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.esnips.com/nsdoc/d54db27b-5dcf-43c3-895c-b4c55222aa70/?action=forceDL"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;strong&gt;&lt;a href="http://www.mediafire.com/?au0dce1r3ct0x7t" style="color: #333333;" target="_blank"&gt;multichannel.patch&lt;/a&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;If you encounter any problem with above link please follow the link given below:&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://www.mediafire.com/?au0dce1r3ct0x7t" target="_blank"&gt;http://www.mediafire.com/?au0dce1r3ct0x7t&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sample tcl scripts for the same will be uploaded soon.&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;Regards,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;Mohit P. Tahiliani&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;Related Blogs:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html" target="first_window"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html" target="first_window"&gt;Revised: Adding Multiple Interface Support in NS-2&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;br /&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html" target="first_window"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px;"&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/06/modified-dsdv-for-multiple-interface.html" target="first_window"&gt;Modified DSDV for Multiple Interface Support in NS-2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5472757658308982235?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5472757658308982235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/adding-multiple-interface-support-in-ns.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5472757658308982235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5472757658308982235'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/adding-multiple-interface-support-in-ns.html' title='Adding Multiple Interface Support in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-4402009548626301633</id><published>2010-03-06T12:47:00.001+05:30</published><updated>2010-03-06T12:56:25.674+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='aco'/><category scheme='http://www.blogger.com/atom/ns#' term='antsense'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile ant'/><category scheme='http://www.blogger.com/atom/ns#' term='ant'/><title type='text'>Useful References for Ant Colony Optimization in NS-2</title><content type='html'>Some of the useful references related to Ant Colony Optimization in NS-2 for Wired networks, Mobile Ad hoc Networks and Wireless sensor networks are given below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.idsia.ch/~gianni/antnet.html" target="first_window"&gt;http://www.idsia.ch/~gianni/antnet.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://antnet.wordpress.com/" target="first_window"&gt;http://antnet.wordpress.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.springerlink.com/content/n6511860l57852n8/" target="first_window"&gt;http://www.springerlink.com/content/n6511860l57852n8/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://comjnl.oxfordjournals.org/cgi/content/abstract/bxn007v2" target="first_window"&gt;http://comjnl.oxfordjournals.org/cgi/content/abstract/bxn007v2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.actapress.com/PaperInfo.aspx?PaperID=30354&amp;amp;reason=500" target="first_window"&gt;http://www.actapress.com/PaperInfo.aspx?PaperID=30354&amp;amp;reason=500&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://uespro.blogfa.com/post-2.aspx" target="first_window"&gt;http://uespro.blogfa.com/post-2.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.slideshare.net/guest4c60e4/ant-colony-algorithm" target="first_window"&gt;http://www.slideshare.net/guest4c60e4/ant-colony-algorithm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ingentaconnect.com/content/klu/tels/2001/00000018/F0030001/00352998" target="first_window"&gt;http://www.ingentaconnect.com/content/klu/tels/2001/00000018/F0030001/00352998&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.faqs.org/patents/app/20090052321" target="first_window"&gt;http://www.faqs.org/patents/app/20090052321&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://findarticles.com/p/articles/mi_m0VVT/is_2_2/ai_n24986963/" target="first_window"&gt;http://findarticles.com/p/articles/mi_m0VVT/is_2_2/ai_n24986963/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://trg.fke.utm.my/members/kashif/ijcnis09.pdf" target="first_window"&gt;http://trg.fke.utm.my/members/kashif/ijcnis09.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www2.computer.org/portal/web/csdl/doi/10.1109/SecTech.2008.49" target="first_window"&gt;http://www2.computer.org/portal/web/csdl/doi/10.1109/SecTech.2008.49&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.q2s.ntnu.no/~wittner/ns/" target="first_window"&gt;http://www.q2s.ntnu.no/~wittner/ns/ &lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;(Mobile ANT Agents)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.matlab.nitech.ac.jp/~khpoo/research/ant.htm" target="first_window"&gt;http://www.matlab.nitech.ac.jp/~khpoo/research/ant.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://openpdf.com/ebook/anthocnet-coding-ns2-pdf-2.html" target="first_window"&gt;http://openpdf.com/ebook/anthocnet-coding-ns2-pdf-2.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://iridia.ulb.ac.be/~mdorigo/ACO/about.html" target="first_window"&gt;http://iridia.ulb.ac.be/~mdorigo/ACO/about.html &lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;(Nice Website, quite informative!!!)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://geneura.wordpress.com/category/algorithms/ant-colony-optimization-algorithms/" target="first_window"&gt;http://geneura.wordpress.com/category/algorithms/ant-colony-optimization-algorithms/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://eden.dei.uc.pt/~tandre/antsense/" target="first_window"&gt;http://eden.dei.uc.pt/~tandre/antsense/&lt;/a&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;(Antsense: ACO in Wireless Sensor Networks)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;Regards&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-4402009548626301633?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/4402009548626301633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/useful-references-for-ant-colony.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4402009548626301633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4402009548626301633'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/useful-references-for-ant-colony.html' title='Useful References for Ant Colony Optimization in NS-2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-5252828882464610118</id><published>2010-03-04T18:19:00.003+05:30</published><updated>2012-01-21T14:58:17.608+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='new trace format'/><category scheme='http://www.blogger.com/atom/ns#' term='AWK'/><category scheme='http://www.blogger.com/atom/ns#' term='old trace format'/><category scheme='http://www.blogger.com/atom/ns#' term='throughput'/><title type='text'>AWK Script for NS2 supporting New Trace Format</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;There are mainly two types of trace formats supported by NS-2 for Wireless Simulations.&lt;br /&gt;&lt;br /&gt;1. Old Trace Format and&lt;br /&gt;2. New Trace Format.&lt;br /&gt;&lt;br /&gt;Following file is an &lt;b&gt;AWK Script for throughput&lt;/b&gt; which supports "New Trace Format".&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border-bottom-color: rgb(53, 53, 53); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(53, 53, 53); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(53, 53, 53); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(53, 53, 53); border-top-style: solid; border-top-width: 1px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.esnips.com/doc/07598fb8-ae97-4d9a-9c46-b4127f3cc2d5/throughput_newtrace/?widget=documentIcon"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;strong&gt;&lt;a href="http://www.mediafire.com/?emesm2h7fe82x56" style="color: #333333;" target="_blank"&gt;throughput_newtrac...&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;AWK scripts for average end-to-end delay, packet delivery fraction, etc that support New Trace Format will be &amp;nbsp;uploaded soon.&lt;br /&gt;&lt;br /&gt;AWK Scripts that support Old Trace Format can be found on following links:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html" target="first_window"&gt;AWK Script for NS2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mohittahiliani.blogspot.com/2010/02/few-more-awk-scripts-for-ns2.html" target="first_window"&gt;Few more AWK Scripts for NS2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-5252828882464610118?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/5252828882464610118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html#comment-form' title='87 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5252828882464610118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/5252828882464610118'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html' title='AWK Script for NS2 supporting New Trace Format'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>87</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-6702545355279684461</id><published>2010-02-22T13:51:00.018+05:30</published><updated>2012-01-21T15:05:53.760+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='AWK'/><category scheme='http://www.blogger.com/atom/ns#' term='throughput'/><category scheme='http://www.blogger.com/atom/ns#' term='delay'/><title type='text'>Few more AWK Scripts for NS2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;In my previous blog &amp;nbsp;&lt;a href="http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html" target="first_window"&gt;AWK Script for NS2&lt;/a&gt;, the AWK Script for average end-to-end delay is not available. Also the AWK Script given for throughput is not generic and may not work for old wireless formats sometimes.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The following AWK Script is the generic AWK Script for throughput which can be used on old wireless trace format.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;AWK Script for throughput:&lt;/div&gt;&lt;a href="http://www.megaupload.com/?d=EJ81TPN1"&gt;&lt;/a&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px; text-align: center;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px 5px 3px; text-align: center;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td style="padding: 5px; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?ide7nuumhuem9g1" style="color: #333333;" target="_blank"&gt;genthroughput.awk&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The following AWK Script measures average end-to-end delay. It can be used with old wireless trace format.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;AWK Script for delay:&lt;/div&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color: #5d7cba; border: 1px solid rgb(53, 53, 53); font-family: Arial,Helvetica,sans-serif; font-size: 11px; padding: 0px;"&gt;&lt;tbody&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 5px;"&gt;&lt;a href="http://www.megaupload.com/?d=VE08SH4D"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background-color: white;"&gt;&lt;td align="center" style="padding: 3px;"&gt;&lt;b&gt;&lt;a href="http://www.mediafire.com/?zjkxzk4bkrwqhkc" style="color: #333333;" target="_blank"&gt;e2edelay.awk&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="color: white; font-size: 9px; padding: 5px;" valign="bottom"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If there are any problems encountered in downloading the above files, please visit the following link&lt;br /&gt;&lt;a href="http://www.mediafire.com/?z1c2cxdt1a31d" target="_blank"&gt;http://www.mediafire.com/?z1c2cxdt1a31d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-6702545355279684461?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/6702545355279684461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/few-more-awk-scripts-for-ns2.html#comment-form' title='197 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6702545355279684461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6702545355279684461'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/few-more-awk-scripts-for-ns2.html' title='Few more AWK Scripts for NS2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>197</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-7943805957206853540</id><published>2010-02-05T14:42:00.009+05:30</published><updated>2012-01-21T15:19:18.541+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns226 patch'/><category scheme='http://www.blogger.com/atom/ns#' term='ns226nrl226 patch'/><category scheme='http://www.blogger.com/atom/ns#' term='sensor networks on ns2'/><category scheme='http://www.blogger.com/atom/ns#' term='ns2 sensor networks'/><category scheme='http://www.blogger.com/atom/ns#' term='ns2.26'/><category scheme='http://www.blogger.com/atom/ns#' term='nrlsensorsim'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 8'/><title type='text'>Installing ns2.26 with nrlsensorsim on Fedora 8</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;ns2 sensor networks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NRLSensorSim is a patch developed and maintained by U.S. Naval Research Laboratory. This patch enables sensor network simulations on ns2.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Due to new versions of gcc, ns2.26 with nrlsensorsim patch cannot be installed directly on fedora 8.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Minor modifications in the code of ns2.26 and nrlsensorsim are required.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Hence I have designed two patches that incorporate all the modifications required in ns2.26 and nrlsensorsim code to be installed on fedora 8 (or other linux distributions having similar gcc version).&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Following are the steps to install ns2.26 with nrlsensorsim on fedora 8 (or other linux distributions having similar gcc version):&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;1) Download&amp;nbsp;&lt;a href="http://www.isi.edu/nsnam/dist/ns-allinone-2.26.tar.gz"&gt;ns-allinone-2.26.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;2) Download &lt;a href="http://downloads.pf.itd.nrl.navy.mil/archive/nrlsensorsim/nrlsensorsim-2.26.tgz"&gt;nrlsensorsim-2.26.tgz.gz&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;3) Download&amp;nbsp;&lt;a href="http://www.mediafire.com/?g9geachfm2h56l4" target="_blank"&gt;ns226.patch&lt;/a&gt;&amp;nbsp;(after downloading the file change its name to&amp;nbsp;&lt;b&gt;ns226.patch&lt;/b&gt;&amp;nbsp;in case if the file gets downloaded by some other name).&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you encounter any problem in downloading from the above link please follow the link given below:&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.mediafire.com/?g9geachfm2h56l4" target="_blank"&gt;http://www.mediafire.com/?g9geachfm2h56l4&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;4) Download &lt;a href="http://www.mediafire.com/?2qg5kxc95z89qlq" target="_blank"&gt;ns226nrl226.patch&lt;/a&gt;&amp;nbsp;(after downloading the file change its name to&amp;nbsp;&lt;b&gt;ns226nrl226.patch&lt;/b&gt;&amp;nbsp;in case if the file gets downloaded by some other name).&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you encounter any problem in downloading from the above link please follow the link given below:&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.mediafire.com/?2qg5kxc95z89qlq" target="_blank"&gt;http://www.mediafire.com/?2qg5kxc95z89qlq&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;5) Save ns-allinone-2.26.tar.gz and nrlsensorsim-2.26.tgz.gz in any directory (folder) of your file system.&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;6) Open a new terminal and go to that directory.&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;7) Give the following command to untar ns-allinone-2.26.tar.gz&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;tar &amp;nbsp;-xzvf &amp;nbsp;ns-allinone-2.26.tar.gz&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;and following command to untar nrlsensorsim-2.26.tgz.gz&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;tar &amp;nbsp;-xzvf &amp;nbsp;nrlsensorsim-2.26.tgz.gz&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;8) After executing the above command you will find the extracted folders named ns-allinone-2.26 and nrlsensorsim in the same directory.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Put the downloaded&lt;b&gt; ns226nrl226.patch &lt;/b&gt;file in the extracted folder named&lt;b&gt; nrlsensorsim.&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;9) Using a terminal enter in this extracted folder (nrlsensorsim) and give the following command&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;patch &amp;nbsp;-p1 &amp;nbsp;-t &amp;nbsp;&amp;lt; &amp;nbsp;ns226nrl226.patch&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;then give the following command&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;./patch_script.sh&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;if is asks for any permission, type yes and press enter.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;10)&amp;nbsp;Put the downloaded&lt;b&gt; ns226.patch f&lt;/b&gt;ile in the extracted folder named&lt;b&gt; ns-allinone-2.26.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;11)&lt;b&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Using a terminal enter in this folder (ns-allinone-2.26) and give the following command&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;patch &amp;nbsp;-p1 &amp;nbsp;-t &amp;nbsp;&amp;lt; &amp;nbsp;ns226.patch&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;12) After successfully completing the above procedure install ns2.26 by giving the following command (in same extracted folder)&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;./install&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Installation may take several minutes !!!&lt;/span&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Regards&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-7943805957206853540?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/7943805957206853540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/installing-ns226-with-nrlsensorsim-on.html#comment-form' title='106 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7943805957206853540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7943805957206853540'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/installing-ns226-with-nrlsensorsim-on.html' title='Installing ns2.26 with nrlsensorsim on Fedora 8'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>106</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-7324599024644120815</id><published>2010-02-05T12:28:00.007+05:30</published><updated>2012-01-21T15:20:05.580+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns226 patch'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='ns2.26'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 8'/><title type='text'>ns2.26:installation on Fedora 8</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Due to new versions of gcc, ns2.26 cannot be installed directly on fedora 8.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Minor modifications in the code of ns2.26 are required.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Hence I have designed a patch that incorporates all the modifications required in ns2.26 code to be installed on fedora 8 (or other linux distributions having similar gcc version).&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Following are the steps to install ns2.26 on fedora 8 (or other linux distributions having similar gcc version):&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;1) Download &lt;a href="http://www.isi.edu/nsnam/dist/ns-allinone-2.26.tar.gz"&gt;ns-allinone-2.26.tar.gz&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;2) Download &lt;a href="http://www.mediafire.com/?g9geachfm2h56l4" target="_blank"&gt;ns226.patch&lt;/a&gt;&amp;nbsp;(after downloading the file change its name to &lt;b&gt;ns226.patch&lt;/b&gt;&amp;nbsp;in case if the file gets downloaded by some other name).&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you encounter any problem in downloading from the above link please follow the link given below:&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.mediafire.com/?g9geachfm2h56l4" target="first_window"&gt;http://www.mediafire.com/?g9geachfm2h56l4&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;3) Save ns-allinone-2.26.tar.gz in any directory (folder) of your file system.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;4) Open a new terminal and go to that directory.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;5) Give the following command to untar ns-allinone-2.26.tar.gz&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt; tar &amp;nbsp;-xzvf &amp;nbsp;ns-allinone-2.26.tar.gz&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;6) After executing the above command you will find the extracted folder named ns-allinone-2.26 in the same directory.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Put the downloaded ns226.patch file in this extracted folder.&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;7) Using a terminal enter in this extracted folder and give the following command&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;patch &amp;nbsp;-p1 &amp;nbsp;-t &amp;nbsp;&amp;lt; &amp;nbsp;ns226.patch&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;8) After successfully completing the above procedure install ns2.26 by giving the following command (in same extracted folder)&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; &lt;b&gt;./install&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Installation may take several minutes !!!&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Regards&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-7324599024644120815?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/7324599024644120815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/ns226-installation-on-fedora-8.html#comment-form' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7324599024644120815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7324599024644120815'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2010/02/ns226-installation-on-fedora-8.html' title='ns2.26:installation on Fedora 8'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-7920696552252340522</id><published>2009-12-17T10:28:00.011+05:30</published><updated>2012-01-21T15:00:41.608+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jitter'/><category scheme='http://www.blogger.com/atom/ns#' term='AWK'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='throughput'/><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>AWK Script for NS2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AWK is a programming language that is designed for processing text-based data, either in files or data streams, and was created at Bell Labs in the 1970s. The name AWK is derived from the family names of its authors - &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Alfred Aho, Peter Weinberger and Brian Kernighan&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;.&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;"AWK is a language for processing files of text. A file is treated as a sequence of records, and by default each line is a record. Each line is broken up into a sequence of fields, so we can think of the first word in a line as the first field, the second word as the second field, and so on. An AWK program is of a sequence of pattern-action statements. AWK reads the input a line at a time. A line is scanned for each pattern in the program, and for each pattern that matches, the associated action is executed."  - Alfred V. Aho&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;- - - From &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/AWK"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Wikipedia&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;, the free encyclopedia.&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style="color: black; line-height: 150%;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Links to AWK scripts for NS2are given below:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="color: black; line-height: 150%;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AWK script for throughput –&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.mediafire.com/?ide7nuumhuem9g1" target="_blank"&gt;Download!&lt;/a&gt;&amp;nbsp;(Click again if it doesnt work first time :) )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="color: black; line-height: 150%;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AWK script for jitter –&lt;/span&gt;&lt;a href="http://www.mediafire.com/?lh5bbvbkzdm1qdu" target="_blank"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Download!&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="color: black; line-height: 150%;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;AWK script for pdf (packetdelivery fraction) – &lt;/span&gt;&lt;a href="http://www.mediafire.com/?zbqypz2c9x8c2ym" target="_blank"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Download!&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;For more AWK Scripts please visit the following page:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://mohit.ueuo.com/AWK_Scripts.html" target="first_window"&gt;http://mohit.ueuo.com/AWK_Scripts.html&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://mohit.ueuo.com/AWK_Scripts.html"&gt;&lt;/a&gt;or&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.esnips.com/web/mohittahiliani-ns2" target="first_window"&gt;http://www.esnips.com/web/mohittahiliani-ns2&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify; text-justify: inter-ideograph;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Regards.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Related Blogs:&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;1. &lt;a href="http://mohittahiliani.blogspot.com/2010/03/awk-script-for-ns2-supporting-new-trace.html" target="first_window"&gt;AWK Script for NS2 supporting New Trace Format&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;2. &lt;a href="http://mohittahiliani.blogspot.com/2010/02/few-more-awk-scripts-for-ns2.html" target="first_window"&gt;Few more AWK Scripts for NS2&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-7920696552252340522?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/7920696552252340522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html#comment-form' title='176 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7920696552252340522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7920696552252340522'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html' title='AWK Script for NS2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>176</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-6627785305000756785</id><published>2009-10-06T15:03:00.011+05:30</published><updated>2009-12-10T13:13:08.230+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TCL Script Generator'/><title type='text'>TCL Script Generator centered on NSG</title><content type='html'>&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Visual Network Simulator (VNS) is yet another tcl script generator tool like &lt;a href="http://mohittahiliani.blogspot.com/2009/10/tcl-script-generator.html"&gt;NS2 Scenarios Generator (NSG)&lt;/a&gt; to generate TCL Scripts automatically . . . !!! Infact Visual Network Simulator (VNS) is a tool centered on the capabilities on NSG.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Visual Network Simulator (VNS) is created and maintained by &lt;a href="http://apus.uma.pt/vns/"&gt;Ms. C. Ricardo Placido&lt;/a&gt;, University of Madeira.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Visual Network Simulator (VNS) retains all the features of NSG related to Wired Networks. VNS is mainly created to facilitate generation of tcl scripts for networks that provide "Differentiated Services" and hence at present it does not support generation of tcl scripts for Wireless Network simluations.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Some of the main features of Visual Network Simulator (VNS) are as mentioned below:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(1) Generates tcl scripts for wired networks only.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(2) Supports "Differentiated Services" scenarios.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(3) Supports Multicast feature.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(4) Supports execution of tcl scripts directly from tool (provided NS-2 is already installed on the machine).&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(5) Provides an option to select Dynamic Routing Protocol.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(6) Supports different types of queues (Drop Tail, RED, SFQ, etc) and different agents (TCP, UDP, variants of TCP, etc).&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(7) Provides an option to generate graphical result in Xgraph utility of NS-2 i.e. when we select that option in GUI, the tool includes necessary commands in the generated tcl scripts that will immediately plot a graph when we run that tcl script.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(8) Provides User Friendly GUI by including simple, intuitive and different set of icons to represent various components of a network (e.g.: hosts, routers, etc all are represented using different icons in GUI).&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;(9) Enables the user to save the simulation scenario for future modifications.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;The Snapshots of VNS are as shown below:&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_hDXILTo4D8c/SssIQG_Mh4I/AAAAAAAAAB0/zq6JUMFgMts/s1600-h/VNS02.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_hDXILTo4D8c/SssIQG_Mh4I/AAAAAAAAAB0/zq6JUMFgMts/s320/VNS02.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;lt;&amp;lt;&amp;lt; &amp;nbsp;Main GUI screen of Visual Network Simulator&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_hDXILTo4D8c/SssKnfkvs9I/AAAAAAAAAB8/F2L1BDiMcdo/s1600-h/VNS01.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_hDXILTo4D8c/SssKnfkvs9I/AAAAAAAAAB8/F2L1BDiMcdo/s200/VNS01.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&amp;lt;&amp;lt;&amp;lt; &amp;nbsp;Setting the Simulation parameters using GUI&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;a href="http://1.bp.blogspot.com/_hDXILTo4D8c/SssK3KPPYSI/AAAAAAAAACE/oc12HjW6tbw/s1600-h/VNS03.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration: none;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_hDXILTo4D8c/SssK3KPPYSI/AAAAAAAAACE/oc12HjW6tbw/s200/VNS03.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;The above shown snapshots are taken from the &lt;/span&gt;&lt;a href="http://apus.uma.pt/vns/"&gt;&lt;span style="font-size: small;"&gt;official website of Visual Network Simluator&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;a href="http://apus.uma.pt/vns/ficheiros/vns.1.0.windows.jar"&gt;&lt;span style="font-size: x-large;"&gt;Download VNS for Windows&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: 10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;a href="http://apus.uma.pt/vns/ficheiros/vns.1.0.linux.jar"&gt;Download VNS for Linux&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;Execution of VNS is similar to execution of NSG . . . !!! Just double click on the jar file to launch VNS.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;For more information on VNS, please visit the homepage of VNS &lt;a href="http://apus.uma.pt/vns/"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-6627785305000756785?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/6627785305000756785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/10/tcl-script-generator-centered-on-nsg.html#comment-form' title='48 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6627785305000756785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/6627785305000756785'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/10/tcl-script-generator-centered-on-nsg.html' title='TCL Script Generator centered on NSG'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hDXILTo4D8c/SssIQG_Mh4I/AAAAAAAAAB0/zq6JUMFgMts/s72-c/VNS02.jpg' height='72' width='72'/><thr:total>48</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-4862068529631491870</id><published>2009-10-01T18:56:00.007+05:30</published><updated>2009-12-10T13:13:22.392+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TCL Script Generator'/><title type='text'>TCL Script Generator</title><content type='html'>NS2 Scenarios Generator (NSG) is a tcl script generator tool to generate TCL Scripts automatically . . . !!!&lt;br /&gt;&lt;br /&gt;It is created and maintained by &lt;a href="http://sites.google.com/site/pengjungwu/"&gt;Peng-Jung Wu&lt;/a&gt;, Department of Computer Science and Engineering, National Sun Yat-Sen University, Kaohsiung, Taiwan.&lt;br /&gt;&lt;br /&gt;NSG is a Java based tool that runs on any platform and can generate TCL Scripts for Wired as well as Wireless Scenarios for Network Simulator - 2. The procedure to execute these TCL Scripts on NS-2 is same as those of manually written TCL Scripts.&lt;br /&gt;&lt;br /&gt;Some of the main features of NS2 Scenarios Generator (NSG) are as mentioned below:&lt;br /&gt;&lt;br /&gt;(1) Creating Wired and Wireless nodes just by drag and drop.&lt;br /&gt;(2) Creating Simplex and Duplex links for Wired network.&lt;br /&gt;(3)&amp;nbsp;Creating Grid, Random and Chain topologies.&lt;br /&gt;(4)&amp;nbsp;Creating TCP and UDP agents. Also supports TCP Tahoe, TCP Reno, TCP New-Reno and TCP Vegas.&lt;br /&gt;(5) Supports Ad Hoc routing protocols such as DSDV, AODV, DSR and TORA.&lt;br /&gt;(6)&amp;nbsp;Supports FTP and CBR applications.&lt;br /&gt;(7) Supports node mobility.&lt;br /&gt;(8) Setting the packet size, start time of simulation, end time of simulation, transmission range and interference &amp;nbsp; &amp;nbsp; range in case of wireless networks, etc.&lt;br /&gt;(9) Setting other network parameters such as bandwidth, etc for wireless scenarios.&lt;br /&gt;&lt;br /&gt;The Snapshot of NSG is as shown below:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_hDXILTo4D8c/SsSseOore0I/AAAAAAAAABs/OlGBIbBfXrg/s1600-h/NSG.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_hDXILTo4D8c/SsSseOore0I/AAAAAAAAABs/OlGBIbBfXrg/s320/NSG.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://sites.google.com/site/pengjungwu/nsg/NSG2.1.jar?attredirects=0"&gt;&lt;span style="font-size: x-large;"&gt;NSG2.1 Download&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;To execute NSG you need to install Java 6.0. NSG does not require any installation . . . !!! Just double click on the jar file to launch NSG. If it does not work, please see the instructions provided on the homepage of NSG &lt;a href="http://sites.google.com/site/pengjungwu/nsg"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;For more information on NSG and its previous versions, please visit the homepage of NSG &lt;a href="http://sites.google.com/site/pengjungwu/nsg"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;For more information on Peng-Jung Wu, please visit the homepage &lt;a href="http://sites.google.com/site/pengjungwu/"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-4862068529631491870?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/4862068529631491870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/10/tcl-script-generator.html#comment-form' title='155 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4862068529631491870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/4862068529631491870'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/10/tcl-script-generator.html' title='TCL Script Generator'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hDXILTo4D8c/SsSseOore0I/AAAAAAAAABs/OlGBIbBfXrg/s72-c/NSG.JPG' height='72' width='72'/><thr:total>155</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-396482908721253801</id><published>2009-05-27T06:21:00.022+05:30</published><updated>2011-06-27T11:27:08.835+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='NS-2'/><title type='text'>Network Simulator - 2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;The three main techniques to analyze the behavior of wired and wireless networks are: Analytical Modeling, Computer Simulations and Real Time Physical Measurements.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Analytical Modeling is very tedious and Real Time Physical Measurements may not be possible all the time. Computer Simulation is the only feasible approach to the quantitative analysis of networks. Computer Simulations can be Discrete Event Simulations (e.g.: arrival and departure of customers in a bank) or Continuous Simulations (e.g.: waterflow in a mountain). Computer Simulations are generally Discrete Event Simulations.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;Network Simulator - 2 (NS-2) is a discrete event and packet level simulator developed at UC Berkeley to analyze the performance of wired and wireless networks. The architecture of NS-2 is composed of five components: Event Scheduler (there are four: List, Heap, Calendar and Real), Network Components (like nodes, links, protocols, etc), Tool command language with Classes (TclCL), Object Oreinted Tcl (OTcl) library and TCL scripting language. NS-2 has C++ as the back-end language and TCL as the front-end language.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;For more information on NS - 2 and related references please visit my website:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.mohit.ueuo.com/"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;www.mohit.ueuo.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://www.mohit.ueuo.com/"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.mohit.ueuo.com/"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-396482908721253801?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/396482908721253801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/05/network-simulator-2.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/396482908721253801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/396482908721253801'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/05/network-simulator-2.html' title='Network Simulator - 2'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-2068835605053547964</id><published>2009-05-24T16:13:00.000+05:30</published><updated>2009-12-10T13:10:47.205+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Spintronics'/><title type='text'>Spintronics</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Electrons have the basic properties of mass, charge and spin. Until recently most data storage and processgin devices made use of only the charge property of an electron. In Spintronics the aim is to use the &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;spin&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; state as well, which can be "up" or "down". The spin of an electron creates a tiny magnetic field that makes the electron act like a tiny magnet. Just as the positive or negative values of an electrical charge are used to store data as 0s and 1s, the "up" and "down" states of the spin of an electron can be used to store data. Modern electronics is based on the manipulation of electrical &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;charge&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; in semiconductor devices. To increase the processing speed and power it relies on the miniaturization of these devices. Spintronics employs two degrees of freedom - the &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;charge&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; as well as the &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;spin&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt; - of conducting electrons to create a new class of electronic devices that will be smaller in size but with a quantum increase in processing speed and functionalities. The first major breakthrough in Spintronics was the discovery of the Giant Magneto Resistance (GMR) effect in 1988 by Albert Fert and Peter Gruenberg. With GMR technology there has been a 10,000 fold increase in the capacity of hard disc drives. Another recent breakthrough product is Magneto Resistive RAM (MRAM), which uses electron spin to store information.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: 'Times New Roman'; line-height: 17px;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;For more information on Spintronics &amp;amp; related references please visit:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.mohit.ueuo.com/"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;www.mohit.ueuo.com&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-2068835605053547964?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/2068835605053547964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/07/spintronics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2068835605053547964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/2068835605053547964'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/07/spintronics.html' title='Spintronics'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-3695358650891410925</id><published>2009-05-20T12:25:00.000+05:30</published><updated>2009-12-10T13:09:50.322+05:30</updated><title type='text'>The Angel of my Life</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;An Angel’s Touch Took me to deepest n sweetest of the sleep &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Else its been years i was asleep...&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;An affectionate smile from the angel made me to smile&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Else it was just that i had forgotten to smile...&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The angel dropped me into the ocean of spirit &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Else i was lost in the jungle of depression...&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Wonder!! life would ever be so beautiful???&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;True!! It’s never I can Touch this angel…&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Wish this angel’s touch would last for my lifetime...!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;-&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Mumtaz Mohammed Hussain&lt;/span&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-3695358650891410925?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/3695358650891410925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/08/angel-of-my-life.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/3695358650891410925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/3695358650891410925'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/08/angel-of-my-life.html' title='The Angel of my Life'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2676809952989108356.post-7848091844686366328</id><published>2009-05-12T18:36:00.002+05:30</published><updated>2010-01-08T14:27:44.063+05:30</updated><title type='text'>Thousand Miles</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You had reason to smile and weep              &lt;br /&gt;You had friends to play and fight &lt;br /&gt;Father, Mother, Uncle and Aunt          &lt;br /&gt;Were besides you to guide&lt;br /&gt;These were the days of Innocence.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;A journey of some thousand miles&lt;br /&gt;Your Innocence was left behind&lt;br /&gt;New people and new friends around&lt;br /&gt;Older the friends, happier was the life.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You had to get back, it’s never a lie&lt;br /&gt;Away a thousand miles was tough&lt;br /&gt;Tougher was to get back&lt;br /&gt;You had to leave friends behind&lt;br /&gt;But never from your heart and mind.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;b&gt; - Mumtaz Mohammed Hussain&lt;/span&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2676809952989108356-7848091844686366328?l=mohittahiliani.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mohittahiliani.blogspot.com/feeds/7848091844686366328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mohittahiliani.blogspot.com/2009/08/thousand-miles.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7848091844686366328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2676809952989108356/posts/default/7848091844686366328'/><link rel='alternate' type='text/html' href='http://mohittahiliani.blogspot.com/2009/08/thousand-miles.html' title='Thousand Miles'/><author><name>Mohit P. Tahiliani</name><uri>http://www.blogger.com/profile/12307336778318863317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://3.bp.blogspot.com/_hDXILTo4D8c/Sm6Q4KEG7eI/AAAAAAAAAAo/uAppulmPDZU/S220/IMAG011.JPG'/></author><thr:total>4</thr:total></entry></feed>
