Search This Blog

TCL Script Generator centered on NSG

Labels:

Visual Network Simulator (VNS) is yet another tcl script generator tool like NS2 Scenarios Generator (NSG) to generate TCL Scripts automatically . . . !!! Infact Visual Network Simulator (VNS) is a tool centered on the capabilities on NSG.

Visual Network Simulator (VNS) is created and maintained by Ms. C. Ricardo Placido, University of Madeira.

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.

Some of the main features of Visual Network Simulator (VNS) are as mentioned below:

(1) Generates tcl scripts for wired networks only.
(2) Supports "Differentiated Services" scenarios.
(3) Supports Multicast feature.
(4) Supports execution of tcl scripts directly from tool (provided NS-2 is already installed on the machine).
(5) Provides an option to select Dynamic Routing Protocol.
(6) Supports different types of queues (Drop Tail, RED, SFQ, etc) and different agents (TCP, UDP, variants of TCP, etc).
(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.
(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).
(9) Enables the user to save the simulation scenario for future modifications.

The Snapshots of VNS are as shown below:



<<<  Main GUI screen of Visual Network Simulator




<<<  Setting the Simulation parameters using GUI


The above shown snapshots are taken from the official website of Visual Network Simluator.





Execution of VNS is similar to execution of NSG . . . !!! Just double click on the jar file to launch VNS.

For more information on VNS, please visit the homepage of VNS here.

Comments (85)

sir in my paper i have found a georgia tech sensor network simulator (GTSNets)which is an event based object-oriented sensor network .What my doubt is i have ns2.3.4 version whether it is possible to do a project in ns2.3.4. and whether c++ code can be supported as directed way.

Sir
I want to know how to enable HELLO messages in AODV.Please you can help me

Hello sir,
We need the awk code for the trace file which was generated by directed diffusion algorithm....

@Ashok - To enable HELLO messages in AODV you need to comment the following two lines in ns-2/aodv/aodv.cc file.

#ifndef AODV LINK LAYER DETECTION
#endif LINK LAYER DETECTION

After making the changes, re-compile NS-2:

sudo make clean

sudo make

sudo make install

Ref.: For more details on AODV implementation in NS-2, please refer to "A Tutorial on the Implementation of AODV in NS-2" by Mubashir Hussain Rehmani. The tutorial is available on the following link:

http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf

Hope it helps.

Regards,
Mohit P. Tahiliani

hello sir
i am swaroopa i am working on minimum distance packet forwarding algorithm for search applications in manets for this can you please guide me to implement this in ns2 .

Hi sir,
I am doing my final year project in Directed diffusion and i am new to
ns2.
I can't able to understand directed diffusion trace file.
The packet size in trace file is always remains 0.
How to differentiate between an interest and data packet.
Please help me to find out the speed of data transfer in ns2....
help me to find out mathematical model of directed diffusion.....

thanks,
ragupathy v
SIET

Hello sir,
I am in need of a tcl script for monitoring the hello packets in AODV protocol.I need to visualize it through NAM,can you provide me the tcl script for it please.

thanks,
Janani

@Janani - To enable HELLO messages in AODV you need to comment the following two lines in ns-2/aodv/aodv.cc file.

#ifndef AODV LINK LAYER DETECTION
#endif LINK LAYER DETECTION

After making the changes, re-compile NS-2:

sudo make clean

sudo make

sudo make install

Ref.: For more details on AODV implementation in NS-2, please refer to "A Tutorial on the Implementation of AODV in NS-2" by Mubashir Hussain Rehmani. The tutorial is available on the following link:

http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf

Hope it helps.

Regards,
Mohit P. Tahiliani

Hello sir,
Thanks for the previous reply...........
I need to visualize the HELLO message transmission through NAM,can you help me to get the tcl script for it please.........


Thanks,
Janani

i want project based on securing rushing attack on mobile ad-hoc network.

Great tool!
A question: why if I have 2 flows (UDP and TCP) and I select the xgraph option, it returns me only the graphs of the UDP one?

sir if i want to do local repair in aodv what i should do???
and how can i create my own packet which includes routing agents to repair broken links..

@Rahul - Local Repair is done before sending RERR packet (in fact RERR is not sent if Local Repair is successful). I am not very sure but I guess local repair functionality is available in NS-2. To know more details about AODV in NS-2, refer this tutorial:

http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf

To know how to implement/modify routing protocols in NS-2 download the following document from internet:

"Implementing a new Unicast MANET Routing Protocol in NS-2"

Hope it helps.

Regards,
Mohit P. Tahiliani

Hello sir,

I am Rakshith and i'm a final year engineering student.

I' m doing my project on implementating anthocnet algorithm on ns2.34,i could successfully "make" after installing the anthocnet patch.
But when i tried to run any anthocnet tcl scripts, i got an error like this

"invalid command name "Agent/Anthocnet"
while executing
"Agent/Anthocnet create _o386 0"
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/Anthocnet $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $sz} {incr i} {
set nn($i) [ new Agent/Anthocnet $i]
}"

please tell me how to overcome this problem? plz mail me ur solution at : hpr3929@gmail.com
and i'm trying to patch antnet also.i'm getting the same error. so kindly help me..

thank you

@Rakshith - Anthocnet patch is not complete. There are many functions that are only declared but not defined. Even the Makefile is not modified in that patch. I hope the authors will update it soon.

Hope it helps.

Regards,
Mohit P. Tahiliani

hello mohit sir can you help me to attach a cache node to a node in manets.
how to do this can any material help me out for this
thanks for your previous helps

@Swaroopa - You can use DSR routing protocol to achieve since it has a cache functionality and is implemented in NS-2. The following link may be useful:

http://www.skynet.ie/~bryan/dsr_faq/

Hope it helps.

Regards,
Mohit P. Tahiliani

hello mohit sir
i am working on ns please tellme which ns is best for handling the security issues in wireless network

@Minakshihalder20 - The patch available on the following link is one of the best patches to handle Security issues in Wireless networks, specifically Wireless Sensor Networks:

http://apachepersonal.miun.se/~qinwan/resources.htm

It is based on ns-allinone-2.27

Hope it helps.

Regards,
Mohit P. Tahiliani

iam meenakshi m.tech student at jntu i need help on ns2 sir

@Meenakshi - See the "Useful Links" Section of this blog.

Hope it helps.

Regards,
Mohit P. Tahiliani

hello sir,
currently i am doing my project "performance evaluation of wireless sensor network" on network simulator 2.34, i need a patch of sensor network so that i can proceed on my coding part,

hello sir,
i need a patch of mpls so that i can proceed my project in "fault recovery in mpls based network" it will be better for me if you advise which version of ns would be bettter and how can i get patch of mpls for same. thanktou sir

hello sir,
sir when i execute my tcl script i m getting an error
i.e. num_nodes is set 27
Wrong node routing agent!
can u help me to sort the problem.
thanks for the help.

@Minakshi - Follow the link given below to simulate WSN in NS-2:

http://mohittahiliani.blogspot.com/2010/02/installing-ns226-with-nrlsensorsim-on.html

@Satish - MPLS is available in the default package of NS-2. You can work with ns-2.34 since it is the latest version. See the file named "MPLS-sim-template.txt" in the following folder:

ns-allinone-2.34/ns-2.34/tcl/ex

@Minakshi - Go in ns-allione-2.xx/ns-2.xx directory and give following commands:

./configure
make clean
make
make install

Hope it helps.

Regards,
Mohit P. Tahiliani

sir,
i want to monitor bandwidth and SNR in wireless network(wimax).what should i do?

sir after command ./configure an error occured i.e.
You need to re-run configure.
false
make: *** [Makefile] Error 1
and this error comes again and again.sir plz help me. what to do.

@Nithu - The following link may be useful:

http://pages.cs.wisc.edu/~springbo/SNR/detailed.html

@Minakshi - Try the solution given on the following link:

http://mailman.isi.edu/pipermail/ns-users/2007-December/061885.html

Hope it helps.

Regards,
Mohit P. Tahiliani

sir while installing ns2.34 in my desktop following error occured
"
Warning: File `Makefile.in' has modification time 2e+08 s in the future
Makefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1
Ns make failed!
"
sir i am trying but i am not been able to resolve this problem ....sir please help me

@Satish - Make sure your system time is correctly set. After that give the following commands in ns-allinone-2.xx/ns-2.xx directory:

./configure
make clean
make
make install

Hope it helps.

Regards,
Mohit P. Tahiliani

sir thanx for your reply through which i have installed ns 2.33 successfully but there is another problem that i am facing now....
after installing ns 2.33 successfully and giving pathname

1) PATH=$PATH:/usr/local/ns-allinone-2.33/bin:/usr/local/ns-allinone-2.33/tcl8.4.18/unix:/usr/local/ns-allinone-2.33/tk8.4.18/unix

2) LD_LIBRARY_PATH=/usr/local/ns-allinone-2.33/otcl-1.13:/usr/local/ns-allinone-2.33/lib

3) TCL_LIBRARY=/usr/local/ns-allinone-2.33/tcl8.4.18/library

4) export PATH

5) export LD_LIBRARY_PATH

6) export TCL_LIBRARY

when i type command "ns" it shows % sign so that i am confirmed of ns being installed but when i close the terminal and open it again and type "ns" it shows "ns command does not found" and after giving the setpath as i mentioned it again shows % .........
i am confused if i need to give setpath each time i want to run ns sir please help me

sir i need patch of "RSVP-TE" for my project can you help me

sir, i have installed ns-2.34 in ubuntu 11.04 than after restart the whole ubuntu operating system were currupted.it was installed in dell laptop under dual booting with window7. so please suggest me what to do.
thankyou sir

sir is there is any website thorough which i can learn basic commands of network simulator just like www.dictionary.com.

a)after installing ns 2.35 when i gave path name

1)PATH=$PATH:/usr/local/ns-allinone-2.35/bin:/usr/local/ns-allinone-2.35/tcl8.5.10/unix:/usr/local/ns-allinone-2.35/tk8.5.10/unix
2)LD_LIBRARY_PATH=/usr/local/ns-allinone-2.35/otcl-1.14, /usr/local/ns-allinone-2.35/lib
3)TCL_LIBRARY=/usr/local/ns-allinone-2.35/tcl8.5.10/library
4)export PATH
5)export LD_LIBRARY_PATH
6)export TCL_LIBRARY

following error occured
"
When configured, ns found the right version of tclsh in /usr/local/ns-allinone-2.33/bin/tclsh8.4
but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem.
"
b)
when i gave "nam" command folloiwing error occured

"nam: Can't find a usable tk.tcl in the following directories:
/usr/local/ns-allinone-2.35/tcl8.5.10/library/tk8.5 /usr/local/ns-allinone-2.35/tcl8.5.10/tk8.5 ./lib/tk8.5 /usr/local/ns-allinone-2.35/lib/tk8.5 ./library

/usr/local/ns-allinone-2.35/lib/tk8.5/tk.tcl: wrong # args: should be "::source fileName"
wrong # args: should be "::source fileName"
while executing
"::source -encoding utf-8 /usr/local/ns-allinone-2.35/lib/tk8.5/msgs/en.msg"
("uplevel" body line 1)
invoked from within
"uplevel 1 [list ::source -encoding utf-8 $langfile]"
(procedure "::msgcat::mcload" line 10)
invoked from within
"::msgcat::mcload [file join $::tk_library msgs]"
(in namespace eval "::tk::msgcat" script line 23)
invoked from within
"namespace eval msgcat {
namespace export mc mcmax
if {[interp issafe] || [catch {package require msgcat}]} {
# The msgcat package..."
(in namespace eval "::tk" script line 3)
invoked from within
"namespace eval ::tk {
# Set up the msgcat commands
namespace eval msgcat {
namespace export mc mcmax
if {[interp issafe] || [catch {p..."
(file "/usr/local/ns-allinone-2.35/lib/tk8.5/tk.tcl" line 21)
invoked from within
"source.orig /usr/local/ns-allinone-2.35/lib/tk8.5/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /usr/local/ns-allinone-2.35/lib/tk8.5/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.
"

@Satish - Follow the steps given below:

1. Remove all executables related to ns2 from /usr/local/bin

2. Install ns2 (whichever version you want)

3. After installation - there is no need to do any path setting.

4. Go in ns-allinone-2.xx/ns-2.xx directory and give the following command:

make install

5. Go in ns-allinone-2.xx/nam-1.xx directory and give the following command:

make install

6. Close the terminal - open a new terminal - check whether ns and nam are working correctly now.

@Minakshi - This may happen due to several factors. There is no need to worry. You may try to install it again on a freshly installed Ubuntu.

Hope it helps.

Regards,
Mohit P. Tahiliani

sir while executing an tcl file it gives error i.e;
This is a multi-channel sensor network test program.
num_nodes is set 26
wrong # args: should be "set varName ?newValue?"
while executing
"set val(rp) PHENOM protocol"
(file "new.tcl" line 61)
i m not geting the error.plz help.

sir i have a tcl scrip, it has some errors while executing in ns 2.35, the tcl script has RSVP-TE logic implementation in mpls domain, can you help me that sir my mail adress is satishetc4288@gmail.com

sir wen i executed the tcl script generated by NSG2.1 it generate nam but not the trace file.
give me some suggestion

Sir i am using ns2.29+cygwin. Could you pls clear my doubts?

i want to simulate wireless mesh network
1) Should i need to add patchs? Is it possible to add to ns 2.29?If so What i have to download?How can i add it?
2)How can i change trace file format

sir while executing the mpls example(MPLS-sim-template.txt) in ns 2.35 a number of errors been occured, i have corrected many of them, i am not been able to solve the problem given below, can you help me on that
the error is like following

"

ns: _o32 trace-LDP:
(_o32 cmd line 1)
invoked from within
"_o32 cmd trace-LDP"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o32" line 2)
(SplitObject unknown line 2)
invoked from within
"_o32 trace-LDP"


"pleaes sir help me on that.....thankyou

sir, I installed the patch file of antnet.when i tried to install
i am getting error when i type the command "make"
error:"No target" stop
reply me:radhisunil@yahoo.com

@Minakshi - Give the following commands:

./configure

make clean

make

make install

and then try to run the TCL Script again.

Regarding generation of trace file - Set the parameters in NSG correctly. By default it generates trace file by name "out.tr"

@Satish - Sorry, I have not worked with MPLS in ns-2. If any relevant information is found - I will post it here.

@Pdivya - No, there are no patches for WMN for ns-2.29 as far as I know. There are no patches specifically developed for WMN yet. You may get started with the Multiple interface patches provided for WMN in this blog. See the following link:

http://mohittahiliani.blogspot.com/2010/04/revised-adding-multiple-interface.html

Yes, you can modify AODV trace format. For that you need to make modifications in

ns-allineone-2.xx/ns-2.xx/trace/cmu-trace.cc

"format_aodv(Packet *p, int offset)" function.

@Radhika - There is a small error in antnet patch.

In ns-allinone-2.xx/ns-2.xx/common/packet.h

the value of PT_ANT must be smaller than the value of PT_NTYPE. (I guess PT_ANT has value of 63 and PT_NTYPE has value of 62. Just swap them).

Hope it helps.

Regards,
Mohit P. Tahiliani

sir i want to creat optical link between two nodes,does ns2 has provided with that, does it has provision of 'optical network unit'....sir please helpme in that.......

hello sir,
im installed ns2.32 in fedora 13.
i downloaded the wormhole implemenation codings from website which is suggested by you.
when i run example tcl coding IDStest06_wormhole.tcl it shows the error
i.e. num_nodes is set 27
Wrong node routing agent!

also tried the solution
./configure
make clean
make
make install
followed mailman link also
but still i got error sir.
pls sort my problem...

sir i get an error while executing a tcl script that is
"floating point exeption"

@Satish - As of now such a facility is not available in NS-2. However, you can configure a link with several parameters.

@Kalai - Go in ns-allinone-2.32/bin. Copy all executables and paste them in /usr/local/bin

@Satish - Did you make any changes in C++ code? TCL Script is for which scenario?

Hope it helps.

Regards,
Mohit P. Tahiliani

hello sir,
i have the same problem as kalai.as i have done all the changes according to ur previous reply but still tcl script gives wrong node routing agent.i m using the tcl from sites u have given previously.i think this error is due to the phenom routing protocol bec 1 of the node is phenom node and ns should contain phenom.h,phenom.cc etc files but i don't know it have or not(i d'nt got those files in ns).
plz help sir

hello sir
i tried to patch the mtens from http://netserv.iet.unipi.it/software/mtens/

and when i patch then following error occurs

In file included from mns_v2.0/classifier-addr-mpls.cc:55:0:
mns_v2.0/classifier-addr-mpls.h:56:21: fatal error: fstream.h: No such file or directory
compilation terminated.
make: *** [mns_v2.0/classifier-addr-mpls.o] Error 1
Ns make failed!
I'm using gcc-4.4 for ns2.32
can anybody help me on this?

hello sir,
after paching,when i run tcl script it gives:
This is a multi-channel sensor network test program.
num_nodes is set 27
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead
*** glibc detected *** ns: double free or corruption (out): 0x09c9a5e0 ***
======= Backtrace: =========
/lib/libc.so.6[0x4210bf7d]
/lib/libc.so.6(cfree+0x90)[0x4210f5d0]
ns[0x82d2bfd]
ns[0x825f59d]
ns(TclProcInterpProc+0x115)[0x82afc95]
ns[0x8252000]
ns(TclInvokeStringCommand+0x6e)[0x8258b9e]
ns[0x825a681]
ns[0x825ac2f]
ns[0x829ffb2]
ns[0x82a3507]
ns[0x804c9fc]
/lib/libc.so.6(__libc_start_main+0xdc)[0x420bbdec]
ns(__gxx_personality_v0+0x305)[0x804c821]
======= Memory map: ========
00ce8000-00ce9000 r-xp 00ce8000 00:00 0 [vdso]
08048000-08399000 r-xp 00000000 fd:00 3658537 /usr/local/bin/ns
08399000-08433000 rwxp 00350000 fd:00 3658537 /usr/local/bin/ns
08433000-0843a000 rwxp 08433000 00:00 0
09acd000-0a400000 rwxp 09acd000 00:00 0
42089000-420a2000 r-xp 00000000 fd:00 3426093 /lib/ld-2.5.so
420a2000-420a3000 r-xp 00018000 fd:00 3426093 /lib/ld-2.5.so
420a3000-420a4000 rwxp 00019000 fd:00 3426093 /lib/ld-2.5.so
420a6000-421dd000 r-xp 00000000 fd:00 3426094 /lib/libc-2.5.so
421dd000-421df000 r-xp 00137000 fd:00 3426094 /lib/libc-2.5.so
421df000-421e0000 rwxp 00139000 fd:00 3426094 /lib/libc-2.5.so
421e0000-421e3000 rwxp 421e0000 00:00 0
421e5000-4220a000 r-xp 00000000 fd:00 3426101 /lib/libm-2.5.so
4220a000-4220b000 r-xp 00024000 fd:00 3426101 /lib/libm-2.5.so
4220b000-4220c000 rwxp 00025000 fd:00 3426101 /lib/libm-2.5.so
4220e000-42210000 r-xp 00000000 fd:00 3426095 /lib/libdl-2.5.so
42210000-42211000 r-xp 00001000 fd:00 3426095 /lib/libdl-2.5.so
42211000-42212000 rwxp 00002000 fd:00 3426095 /lib/libdl-2.5.so
424b3000-424c5000 r-xp 00000000 fd:00 3426106 /lib/libnsl-2.5.so
424c5000-424c6000 r-xp 00012000 fd:00 3426106 /lib/libnsl-2.5.so
424c6000-424c7000 rwxp 00013000 fd:00 3426106 /lib/libnsl-2.5.so
424c7000-424c9000 rwxp 424c7000 00:00 0
42942000-4294d000 r-xp 00000000 fd:00 3426115 /lib/libgcc_s-4.1.1-20070105.so.1
4294d000-4294e000 rwxp 0000a000 fd:00 3426115 /lib/libgcc_s-4.1.1-20070105.so.1
42ed0000-42fb0000 r-xp 00000000 fd:00 3660955 /usr/lib/libstdc++.so.6.0.8
42fb0000-42fb3000 r-xp 000e0000 fd:00 3660955 /usr/lib/libstdc++.so.6.0.8
42fb3000-42fb5000 rwxp 000e3000 fd:00 3660955 /usr/lib/libstdc++.so.6.0.8
42fb5000-42fbb000 rwxp 42fb5000 00:00 0
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d5d000-b7f5d000 r--p 00000000 fd:00 3657986 /usr/lib/locale/locale-archive
b7f5d000-b7f5f000 rw-p b7f5d000 00:00 0
b7f65000-b7f66000 rw-p b7f65000 00:00 0
b7f66000-b7f6d000 r--s 00000000 fd:00 3658246 /usr/lib/gconv/gconv-modules.cache
b7f6d000-b7f6e000 rw-p b7f6d000 00:00 0
bfc51000-bfc66000 rw-p bfc51000 00:00 0 [stack]
Aborted
what does it mean.waiting for your precious advice.
thank you

hello sir thank you very much for your answer. now i patched the mtens for mpls module but still couldn't simulate rsvp for mpls.
Do you have any idea how to analyse the traffic of mpls and ip network in terms of delay, throughput, packet loss etc

hello sir,
while running an another example of tcl script i always got this type of error
This is a multi-channel sensor network test program.
num_nodes is set 3
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead
node_(0) = _o15 node_(1) = _o37 node_(2) = _o67
phenom05.tcl: sensor01 is object _o96
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 558.7
SORTING LISTS ...DONE!
Segmentation fault
plz help me sir to solve error

hello sir,
i m unable to post further question.my published questions were disapperred.what to do

hello sir,
what does it mean
warning: no class variable Application/SensorApp::TransmitFreq_

see tcl-object.tcl in tclcl for info about this warning.
it comes after command ns file.tcl with ns existing...
help me sir.

how to calculate snr and rp in dsr protocol and what are the changes i required to do in packet format.

hi..i m 4th student..currently i m working oon ns2...however i m not unable to implement aodv.....kindly help me..provide me aodv's .tcl code..

hello sir..
am a final mca student...
pls guide me to simulate wireless mesh network...
tools for simulate wmn??

mohit sir,
can we implement DCCP for MANETs in ns2.
i had made topology of DCCP for wired network but i not able to draw the topology of DCCP for MANETs.
please guide me sir to sort out the problem.

In my code for MANETs,it is giving error like following:

Created Files
num_nodes is set 3

INITIALIZE THE LIST xListHead

*** stack smashing detected ***: ns terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0xa3a0a0]
/lib/i386-linux-gnu/libc.so.6(+0xe704a)[0xa3a04a]
ns(_ZN8CMUTrace10nam_formatEP6Packeti+0xbcf)[0x82bc1d9]
ns(_ZN8CMUTrace6formatEP6PacketPKc+0x6b)[0x82bc24f]

please help me sir.

Hi,
I install NS2.34 in linux (centos 6.2), I work with an architectural C /S,topology multianneaux. I can realize the tcl script no problems but when I work with multicast traffic, and I execute the script she displays the following message:

Nam syntax has changed: v -t 0 set_rate_ext 0.0030000000000000001 1
Please use this format in the future.
v -t -e

Please help me if possible I want to write a tcl script which allows to realize a multicast ring

Dear Mohit Sir,

Please help me regarding this...

TCL COMMAND to set on-off status of any node at some particular time.

Actually I want to configure the simulation in a way that when simulation starts there exist only one node out of 20 nodes in the network whose status is 'on' (means can send or recieve hello). And then after a specific interval 2nd node node turn 'on' and so on.

regards

Dear sir

I have successfully installed ns-2 on my laptop but when i run project(tcl script) on VNS it still says ns file not found.

PLease help me

Regards


Hello sir, i want ur NSG usecase giagram for as reference

want ur NSG use case diagram

sir i need to simulate hidden node scenario in nsg.please guide me and tell me what should be done for this since i am new to ns2.

Hello Sir, I want to know how to create replicate nodes using Tcl script

Hello Sir,
I'm doing my ME project on NS2 and the project title is "Distributed Detection Of Clone Attacks in WSNs". I need a help from you. I want to know is there any command to create clone nodes in tcl?

Hello sir, do you have patch for mobile wimax module in ns2.35?

hello sir,

please guide me i have do flooding attack i have done code in aodv.cc without any error make done.
But in this code index are does not called from tcl file so what can i do...

please help me......

sir, i am new to ns2 and i want to work on AODV protocol and try to improve the performance by considering some parameters. i do not know how to move ahead. please help me out how to go further

please give me working link for worm hole attach i have tried all link i am facing problem to download patch

sir I need your guidance in WSN.
I write my problem on your blog, but when i next time I visit your blog , i did not found my comments
plz reply me at rohinisharmaohlan@gmail.com

I found that my ns executable file in /home/wahidahusm/ns-allinone-2.35/bin is broken, stated as Type : link (broken) (inode/symlink). How to repair it? All other files are OK I think as it's all in diamond shape except for the ns executable.

If I run the example tcl file, it's working. However, when I tried to run other tcl file, for example broadcast file. Error occured.

Hello sir, i want to implement the aodv routing protocol in vanet using ns2... and check its performance.. pls help me hw can i do this.. pls sir help me i am in a great need... reply me pls gagandeep.engineer@gmail.com...

i need your hlp to set up sensor network in ns2.34 pls hlp me sir. phenom is not working

dear sir, i want to add anthocnet protocol in ns2 .how can i add this protocol in ns2.35.

Hello sir,
How can icreate an optical network in ns2?
plz someone help me.

Hello Sir,
I want a network of around 1000 nodes in NS-2.
I have graph formatted files like .gdf, .csf etc.
Can we import these files in NS-2 ? Basically I want tcl file of this network.
or is that any other convenient way to generate the network from these graph formatted file?
pls help me out.

Thanking you

hello sir,
Iam manohar , when i try to change HELLO_INTERVAL in AntHocNet, iam getting same values, even when i make clean,make,make install.

please try to change my values , when iam change the HELLO_INTERVAL in anthocnet.

hello sir
i am chandresh , can i make tcl script for aodv routing protocol in vanet through nsg.

@Chandresh - Yes, you can generate a TCL script for AODV using NSG provided on the following link:

http://mohittahiliani.blogspot.in/2009/10/tcl-script-generator.html

Hope it helps.

Regards,
Mohit P. Tahiliani

Hi sir, Actually i need your help to configure/install AES package for c++ code...

sir can you give me idea on how to make a node as sleep in NS2.

Hello Sir,
i wanted to do my IPv4 - IPv6 comparison on NS2.
Is it possible? And plz let me know how.

I am working on ANTNET Algorithm.I need full program using ANTNET Algorithm Wireless routing protocol.


This is very intresting Hyperlink Generator Copy And Paste Tool, If you want to make hyperlink then you should visit this website and then make hyperlink for bakclink.

Hyperlink Generator Copy And Paste