wireless network coding simulaiton code with NS2 available

4,363 views
Skip to first unread message

skydo...@gmail.com

unread,
Aug 12, 2011, 12:32:03 PM8/12/11
to Network Simulator 2 (NS2)
Hi,

I have some wireless network coding simulaiton code with NS2
available. I proposed the idea of Coding-aware Routing in 2006 and
also did some research on rate selection for wireless network coding
and concurrent MAC.

My most famous paper which proposed the idea of "coding-aware routing"
is
routing with opportunistically coded exchange for wireless mesh
network

Please also introduce yourself a little bit so that I could make a
connection with you in the future.

Please contact me to check whether I can contribute.

Thanks so much!

Regards,
Bin Ni

srinivas kanakala

unread,
Aug 12, 2011, 1:07:31 PM8/12/11
to ns-u...@googlegroups.com
sir i am working on "energy efficient routing in manets". i need code
in this area. to reduce energy consumption i need new protocol
implementation.

currently i have one problem i.e., how to set different pause times to
each node in one simulation .

thank u.

> --
> You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
> To post to this group, send email to ns-u...@googlegroups.com.
> To unsubscribe from this group, send email to ns-users+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ns-users?hl=en.
>
>

--
Thanking You.

best wishes and regards,

yours sincerely,

Srinivas.Kanakala
Assistant Professor
Department of Computer Science
Vaagdevi College of Engineering

www.vagdevieng.com

Warangal,AndhraPradesh,INDIA-506002

contact no:91-9966343560


All the power is with in u,u can do any thing and every thing

ANAS AMER

unread,
Aug 12, 2011, 3:21:52 PM8/12/11
to ns-u...@googlegroups.com, skydo...@gmail.com
Hi
I am a master student in Kingston university my master is in networks and information security and my dissertation is about providing a source location privacy for sensor networks and i choose Directed diffusion as my routing protocol but i cannot find any useful examples or instructions since all the presented ones focus on ping sending and receiving without and mechanism about how the filters are installed or the matching mechanism is carried out 
I am using NS2.34 with Directed Diffusion 3.3.0 beta
If you can provide and information regarding this topic i will be thankful
Regards 
Anas  
I have been looking for some body who is using ns2 to simulate WSN, I want to use directed diffusion as a routing protocol but i could not find any useful example about it 
Do you recommend using SPIN instead 
And which version of ns2 do you recommend to use with wsn as mine is ns2.34 and the diffusion i am using is beta 3.3.0
is it doable to implement any task in sensing nodes to measure the distance from another node relying on the signal level
and what about the encryption method you are using is there any written classes in C++ to be compiled 
Best regards 
Anas 



sajad vafa

unread,
Nov 19, 2012, 8:41:37 AM11/19/12
to ns-u...@googlegroups.com
hello dear friend
i must implement a network coding module for ns2 , do you have any idea about it? i have some problems for this work

Basavaraj Bidnoor

unread,
Dec 12, 2012, 4:29:26 AM12/12/12
to ns-u...@googlegroups.com
please call me +919632766055

Basavaraj Bidnoor

unread,
Dec 13, 2012, 7:13:53 AM12/13/12
to ns-u...@googlegroups.com
 
 
 
 
 
 
 
 
 
Hi
Regarding the Ns2 project,we had implemeted the all kinds of
protocols,  please send your project requirement, so that we will
implemet and give you.
we will provide TCL file, Xgraphs, trace files, Awk scripts and deley,
throuhtput, packet delivery ratio and report.
please install the team viewer. prvoide  the id.
HI  please mail me ajay.b...@gmail.com and in...@projectinfosys.co.in
please install team viewer using below link.
after installing call me, i will give you user ID and Password.
I will show you demo of your project.

skype id: basavaraj.bid
Ajay Bidanoor
project manager
+919632766055

Rajeev Mishra

unread,
Jan 23, 2013, 6:01:31 AM1/23/13
to ns-u...@googlegroups.com

hi

my dissertation topic is "Intrusion Detection in MANETS using Neural networks".I have created a MANET but i need help in attacking the manet i created.i mean to say that i need to perform 3 to 4 attacks on the manets i created and then i need to implement an "Intrusion Detection System" or "Intrusion detection" code in NS2 to detect and prevent this intrusion.

Pavan Kumar R

unread,
Feb 3, 2013, 11:08:42 PM2/3/13
to ns-u...@googlegroups.com
Rajeev Pls do help me also :(

mathi vanan

unread,
Feb 4, 2013, 9:44:05 AM2/4/13
to ns-u...@googlegroups.com
Hi Bin, I am going to do project in wireless mesh network, and my proj is about reconfiguring local link failures automatically. This is already developed as ARS (Autonomously Reconfigyurable System for WMN). But am gonna modify the protocol using cognitive radio tech. And my concpt is using cognitive radio technique for changing the failure links with the free links. I would be happy if you help me to improve this projct. Also i wanna know that wheter it is already done or not. If it is then can you suggest me some modifications with the same.



Thanks in advance
-Mathi

Aman Zeri

unread,
Feb 11, 2013, 6:07:31 PM2/11/13
to ns-u...@googlegroups.com
Hello,

My name is Aman and I am working on network coding for MANET. Can you please send me the patch for network coding and description of how to implement it for ns2? Please and thank you very much,

Pradeep Kumar

unread,
Feb 11, 2013, 10:45:35 PM2/11/13
to ns-u...@googlegroups.com
Hi this is Pradeep.. I'm new to this forum and also to the ns2.. can any one send the ns2 coding for warmhole detection to learn... i just want a basic coding to learn and develop....

kal...@curaj.ac.in

unread,
Feb 17, 2013, 8:14:28 AM2/17/13
to ns-u...@googlegroups.com
Dear ,
          I am working on network coding + mobile ad hoc network. I am installed ubuntu11.10 and ns2.27. Downloads network coding package from http://www.dei.unipd.it/%7Erossi/Software/NetworkCoding/netcod_ns2.zip this link.
When installed netcod_ns2 on ns2.27 and run file ./INSTALL_NC.I copied network-coding.zip and INSTALL_NC file into nsallinone/ns2.27 .and install this network coding zip file through ./INSTALL_NC after that error showing .
the error is :

‘char*’ [-Wwrite-strings]
network-coding/cpp/NCR.cc: In member function ‘virtual int NCR::command(int, const char* const*)’:
network-coding/cpp/NCR.cc:164:33: error: overloaded function with no contextual type information
make: *** [network-coding/cpp/NCR.o] Error 1

so please help me to solve this error and also how can use this package in my thesis.

jyotsna singh

unread,
Feb 21, 2013, 12:40:43 PM2/21/13
to ns-u...@googlegroups.com
Hello sir/ mam ,
I am jyotsna . I am doing my dissertation in   single rate multicast congestion control using fuzzy logic and  i am able to incorporate  fuzzy in this. So, can you provide ns 2 code for this.
Thankyou.

Akki

unread,
Feb 26, 2013, 2:25:58 AM2/26/13
to ns-u...@googlegroups.com
Hello ..

Can u plz send the source code for LEACH , as i am interested in comparing this with other routing protocols...

Thanks...

Basavaraj Bidnoor

unread,
Feb 27, 2013, 5:50:24 AM2/27/13
to ns-u...@googlegroups.com
Regarding the Ns2 project,we had implemented your project ,  please
   send your project requirement, so that we will
   implemet and give you.
   we will provide TCL file, Xgraphs, trace files, Awk scripts and deley,
   throuhtput, packet delivery ratio and report.
   please install the team viewer. prvoide  the id.
   please install team viewer using below link.
 after installing call me, i will give you user ID and Password.
   I will show you demo of your project.
 
   skype id: basavaraj.bid
   Ajay Bidanoor
   project manager
- show quoted text -

On Monday, December 24, 2012 2:39:21 PM UTC+5:30, Malik mosta wrote:

hi,
      i need help to
Black Hole Attack for AODV;

Thanks

This message has been deleted.
munni
Sign in to reply
More message actions
Feb 10
Other recipients:
Did u get the code... if yes from where.. please help me... i want the same...
help me..
thank you..

On Monday, December 24, 2012 2:39:21 PM UTC+5:30, Malik mosta wrote:
- show quoted text -

hi,
      i need help to
Black Hole Attack for AODV;

Thanks


On Friday, August 12, 2011 10:02:03 PM UTC+5:30, skydo...@gmail.com wrote:

Srinivas Kanakala

unread,
Apr 18, 2013, 5:32:55 AM4/18/13
to ns-u...@googlegroups.com
i am also working on network coding .if u know any good code please help me .

Srinivas Kanakala

unread,
Apr 18, 2013, 5:33:54 AM4/18/13
to ns-u...@googlegroups.com
i am alsow orking on network coding .help me

On Sunday, February 17, 2013 6:44:28 PM UTC+5:30, kal...@curaj.ac.in wrote:

Indrajeet Kumar

unread,
Apr 18, 2013, 8:15:19 AM4/18/13
to ns-u...@googlegroups.com

hello sir

i am also doing work on MANET, so please send me code  and after checking i will try to resolve the problem.




On Wednesday, January 23, 2013 4:31:31 PM UTC+5:30, Rajeev Mishra wrote:

Indrajeet Kumar

unread,
Apr 18, 2013, 8:19:02 AM4/18/13
to ns-u...@googlegroups.com
hello sir


i am  also working on MANET security.

so please send me your code and after checking i will tell the required modification


On Wednesday, January 23, 2013 4:31:31 PM UTC+5:30, Rajeev Mishra wrote:

Nikumani Choudhury

unread,
Jun 19, 2013, 5:46:41 AM6/19/13
to ns-u...@googlegroups.com


On Friday, August 12, 2011 10:02:03 PM UTC+5:30, skydo...@gmail.com wrote:





Sir, please guide me onto how to implement network coding in ns2.34 preferably with a sample tcl code. I am pursuing M.Tech and need it for my project. Please help .

Thank you

Nikumani Choudhury

unread,
Jun 19, 2013, 5:53:29 AM6/19/13
to ns-u...@googlegroups.com




If you got solution to your problems please help me  with the same. I need to do the same. Need some sample tcl code for network codng. Mail me at nikuma...@rediff.com

knudfl

unread,
Jun 19, 2013, 10:49:42 AM6/19/13
to ns-u...@googlegroups.com
> @Nikumani Choudhury
> .. please guide me onto how to implement network coding in ns2.34 preferably with a sample tcl code.
> .....
> .....

> If you got solution to your problems please help me  with the same.
> I need to do the same. Need some sample tcl code for network codng.

Not quite clear what you want. Please explain exactly what is is you want to add to ns-allinone-2.34.
Ns-2.34 is all about network, and lots of example tcl scripts are included : ns-2.34/tcl/ex/.
Also : Plenty of examples on the Internet. Starting examples http://www.isi.edu/nsnam/ns/tutorial/

-

Srinivasa Rao

unread,
Oct 17, 2013, 12:02:31 AM10/17/13
to ns-u...@googlegroups.com
Hi sir!!! i am also doing on network coding for wireless mesh network,can you help to develop a new module (network coding) in ns2.






On Friday, August 12, 2011 10:02:03 PM UTC+5:30, skydo...@gmail.com wrote:

knudfl

unread,
Oct 17, 2013, 4:54:41 AM10/17/13
to ns-u...@googlegroups.com
@Srinivasa Rao : Please have a look at the existing code :
https://groups.google.com/forum/?fromgroups#!topic/ns-users/ssY01bRzj7A

-

satya shah

unread,
Dec 30, 2013, 1:59:50 PM12/30/13
to ns-u...@googlegroups.com
Hi Please provide me your email id

Olfa ben Rhayem

unread,
Jan 23, 2014, 8:24:08 AM1/23/14
to ns-u...@googlegroups.com
Hello, im a phd student workin on MANET 
Please i want to implement Network coding in ns-2
please guide me
thak you bery mush

Ashish Srivastava

unread,
Feb 3, 2014, 3:06:23 PM2/3/14
to ns-u...@googlegroups.com
Hello Sir,
I am doing M.Tech and I need Energy Consumption code of MANET for simulation in ns-2.
So,please help me.

saira...@gmail.com

unread,
Mar 5, 2014, 9:59:42 AM3/5/14
to ns-u...@googlegroups.com
hi how r you?

sir i want a NS2 code for opportunisti networks i am working on node level congestion controll issue.

kindly if you have such code and patches share with me

thanks

harpinder kaur

unread,
Mar 6, 2014, 6:45:41 AM3/6/14
to ns-u...@googlegroups.com
hii BIN Ni 
I am M Tech student,I want to implement wormhole attack in wsn using ns2 . Will u plz help in logic that i can use...and what changes are required in aodv cc files..

regards
 Harpinder kaur

SONICA MOHATA

unread,
May 17, 2014, 3:56:33 PM5/17/14
to ns-u...@googlegroups.com

hey..hope you completed your dissertation..I am a final year UnderGraduate Engineering student and i have d same topic for my final year project.. Any help would be appreciated.. Please contact me as soon as you can. My email id is sonica...@gmail.com. Thanx in advance.

Ashish Srivastava

unread,
May 18, 2014, 4:45:35 AM5/18/14
to ns-u...@googlegroups.com
Hello...

Kindly send me the name...



On Sun, May 18, 2014 at 1:26 AM, SONICA MOHATA <sonica...@gmail.com> wrote:

hey..hope you completed your dissertation..I am a final year UnderGraduate Engineering student and i have d same topic for my final year project.. Any help would be appreciated.. Please contact me as soon as you can. My email id is sonica...@gmail.com. Thanx in advance.

--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/tIh2V0v-leU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.

Gem

unread,
May 18, 2014, 6:20:17 AM5/18/14
to ns-u...@googlegroups.com
HI Bin Ni,
Please send me your email address.
Thanks

Nasrin Farzana

unread,
Aug 31, 2014, 2:31:41 AM8/31/14
to ns-u...@googlegroups.com
please send wireless sensor node creation coding and how will i store matrix value in each nodes

Tann Lybear

unread,
Nov 11, 2014, 12:46:45 AM11/11/14
to ns-u...@googlegroups.com
Hi Skydo,

I am a new researcher , for currently I am working on 802.11ah protocol .

do you have some simulation that regards to 802.11ah , if so Please share to me.

I hope for your kindly help.

Thanks in advance,

Best regards,
libea

Pradeepkumar TS

unread,
Nov 19, 2014, 11:20:19 AM11/19/14
to ns-u...@googlegroups.com
Hi Friends,
I have a website www.nsnam.com that tells you about ns2 and its usages for research, projects. It gives you free source codes, how tos, installation, workshop details,all related to ns2,ns3, omnet, etc. Before you purchase project with any one, please check back my website, as there are some cases, the students were diverted to me because of errors.

Once a month, a project will be updated in my website.....

Read  more about ns2 through my website.
I have another of my domain www.pradeepkumar.org that tells about the courses, technology other than ns2....

Regards
Pradeep Kumar

Uditnarayan Kar

unread,
Nov 19, 2014, 11:47:58 AM11/19/14
to ns-u...@googlegroups.com
Thank you sir for your efforts and help. But it is my suggestion to every students that please try to do your research work by your own effort. Don't try to make it done by someone else by paying money. You people will never get an accurate result.

From: Pradeepkumar TS
Sent: ‎19-‎11-‎2014 21:50
To: ns-u...@googlegroups.com
Subject: Re: wireless network coding simulaiton code with NS2 available

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

Suzanne Hussein

unread,
Mar 6, 2015, 7:08:57 AM3/6/15
to ns-u...@googlegroups.com
Hi,
i'm Msc student, i have a project about simulation in WMN and i don't have any idea how to do It , can you help me?
thanks

Pradeepkumar TS

unread,
Mar 6, 2015, 7:23:10 AM3/6/15
to ns-u...@googlegroups.com
Yes
Send me the code, i will try



--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/tIh2V0v-leU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+u...@googlegroups.com.

Mohammed Moin

unread,
Mar 12, 2015, 10:37:58 AM3/12/15
to ns-u...@googlegroups.com
hi bin ni sir.

I am working on ns2.33. on rate adapatation topic i need arf, aarf, sample rate rate adapatation code for my project pls do help me.

my mail id: moi...@gmail.com

Thomas

unread,
Aug 17, 2015, 11:10:40 AM8/17/15
to Network Simulator 2 (NS2)
hi... me too having the same problem while integrating network coding into ns2.27. Kindly reply me if you have found any solution

network-coding/cpp/NCR.cc: In member function ‘virtual int NCR::command(int, const char* const*)’:
network-coding/cpp/NCR.cc:164:33: error: overloaded function with no contextual type information

On Sunday, February 17, 2013 at 6:44:28 PM UTC+5:30, kal...@curaj.ac.in wrote:
Dear ,
          I am working on network coding + mobile ad hoc network. I am installed ubuntu11.10 and ns2.27. Downloads network coding package from http://www.dei.unipd.it/%7Erossi/Software/NetworkCoding/netcod_ns2.zip this link.
When installed netcod_ns2 on ns2.27 and run file ./INSTALL_NC.I copied network-coding.zip and INSTALL_NC file into nsallinone/ns2.27 .and install this network coding zip file through ./INSTALL_NC after that error showing .
the error is :

‘char*’ [-Wwrite-strings]
network-coding/cpp/NCR.cc: In member function ‘virtual int NCR::command(int, const char* const*)’:
network-coding/cpp/NCR.cc:164:33: error: overloaded function with no contextual type information
make: *** [network-coding/cpp/NCR.o] Error 1

so please help me to solve this error and also how can use this package in my thesis.
159

knudfl

unread,
Aug 17, 2015, 4:26:31 PM8/17/15
to Network Simulator 2 (NS2)
@Thomas ,   Hi.

? You are probably using a wrong compiler ?
"ns-allinone-2.27" requires gcc/g++ version  3.4.6 .. 4.1.2
... And that's when it already has been patched with "ns-2.27-gcc410.patch" :
https://drive.google.com/file/d/0B7S255p3kFXNemVRQ1liZmVOOGM/view?usp=sharing

HOWTO Network-Coding :

tar xvf ns-allinone-2.27.tar.gz
patch
-p0 < ns-2.27-gcc410.patch   ( outside ns-allinone-2.27/ ! )
cd ns
-allinone-2.27/
patch
-p0 < NetworkCoding_ns227.patch
https
://drive.google.com/file/d/0B7S255p3kFXNSE9mUS11WDR2WFk/view?usp=sharing
export CC=gcc34 CXX=g++34 && ./install
cd ns
-2.27/
sudo make install
('make install' will copy 'ns' to /usr/local/bin/ )

The compilers, for a 32bits Ubuntu 11.10 .. 15.** :
compat-gcc34 https://drive.google.com/file/d/0B7S255p3kFXNaUdzeldxeXdycTQ/view?usp=sharing
compat-g++34 https://drive.google.com/file/d/0B7S255p3kFXNT0JTTVNDSHpNVGM/view?usp=sharing
... Download the packages, click the packages, and they will be installed.

-

Thomas

unread,
Aug 18, 2015, 3:02:15 AM8/18/15
to Network Simulator 2 (NS2)
Hi...
Thanks a lot for the reply.
615

Mahadev Desai

unread,
Oct 29, 2015, 12:54:42 AM10/29/15
to Network Simulator 2 (NS2)
i am doing project in wban security.
please give me code.
i am using NS2 .

Sweta Ramani

unread,
Dec 29, 2015, 4:51:57 AM12/29/15
to Network Simulator 2 (NS2)

Hello.

I am working on Network coding in Clustered MANET. For that i require code for Network coding and also PATCH for CBRP(cluster based routing protocol).

Please provide me guidence for network coding implementation and CBRp patch installtion in NS2.

Its big help for me.

Pratikshya Shrestha

unread,
Feb 3, 2016, 5:07:15 AM2/3/16
to Network Simulator 2 (NS2)
Hello Sweta,
Even I am working on clustering mechanism in ad hoc network. Can you let me know in which section of AODV protocol do we need to modify?

Shital Kothari

unread,
Feb 6, 2016, 2:38:50 AM2/6/16
to Network Simulator 2 (NS2)
Hello Pratikshya,

You should go with leach protocol, it has implementation of clustering mechanism. You can modify clustering algorithm in the same, & that will be less time consuming.

To go with AODV:

If you want to modify AODV then you need to start with adding packet headers for new control messages to be added in protocol in aodv_packet.h 
Then you should declare timer classes in aodv.h & start to call initiating clustering functions using timers in aodv.cc.
You have to modify recv function in aodv.cc as per reception of control messages.
You need to maintain cluster data structure..

better way go with LEACH.

Source code for LEACH is attached with this thread.

You may use http://ns2academy.in/forums for instant replies.

Cheers!
ns-leach-2.35.tar.gz

Renita Blossom Monteiro

unread,
Feb 19, 2016, 2:35:53 AM2/19/16
to Network Simulator 2 (NS2)


On Friday, August 12, 2011 at 10:02:03 PM UTC+5:30, skydo...@gmail.com wrote:
Hi,

I have some wireless network coding simulaiton code with NS2
available. I proposed the idea of Coding-aware Routing in 2006 and
also did some research on rate selection for wireless network coding
and concurrent MAC.

My most famous paper which proposed the idea of "coding-aware routing"
is
routing with opportunistically coded exchange for wireless mesh
network

Please also introduce yourself a little bit so that I could make a
connection with you in the future.

Please contact me to check whether I can contribute.

Thanks so much!

Regards,
Bin Ni



I am renita pursuing my MTech in Computer Networking at NMAMIT,Nitte Karnataka India.My project is related to video streaming using network coding technique in ns2.35 using evalvid tool. I have installed evalvid-2.7 in ubuntu-14.04 LTS and i am able to send the video from source to destination in single hop environment.I want to simulate the same using network coding for multihop environment can you please help me for network coding.

Thank you
With regards
Renita Blossom Monteiro

Lungisani Ndlovu

unread,
Feb 19, 2016, 2:54:48 AM2/19/16
to ns-u...@googlegroups.com
Hi Renita

Would you please send me your current code, so  that I can see where I can make amendments.

Thanks and regards,
S'busiso

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

To post to this group, send email to ns-u...@googlegroups.com.

anubhavsh...@gmail.com

unread,
Mar 22, 2017, 5:26:30 AM3/22/17
to Network Simulator 2 (NS2)

I have the same topic for my final year project. I have been trying this for three months but i have been unable to put a tunnel between two attacker nodes. I've searched everywhere but got nothing. I have done inserting a malicious node in the MANET and that node is dropping the packets but i want the packets to get transfered between two attackers. Please help me here.
Contact: anubhavsh...@gmail.com

Sreelakshmi T R

unread,
Mar 29, 2017, 1:02:59 PM3/29/17
to Network Simulator 2 (NS2)
hai akki, am also want the same. If u got it, can u pls help me?

On Tuesday, February 26, 2013 at 12:55:58 PM UTC+5:30, Akki wrote:
Hello ..

Can u plz send the source code for LEACH , as i am interested in comparing this with other routing protocols...

Thanks...

ma changw

unread,
Aug 23, 2017, 11:26:47 PM8/23/17
to Network Simulator 2 (NS2)
Hi, Tann Lybear
  I also  work on 802.11ah protocol. 
  if you have some simulation, could you share to me.
  Thanks so much!
  Regards,
  Changw Ma


在 2014年11月11日星期二 UTC+8下午1:46:45,Tann Lybear写道:

Mehrdad Babaei

unread,
Dec 17, 2017, 3:22:45 AM12/17/17
to Network Simulator 2 (NS2)
dear friend . I need a implemented project on clustering in the  manet  based on the energy and the mean distance of the nodes with the cluster head.pls

Mehrdad Babaei

unread,
Dec 17, 2017, 3:23:04 AM12/17/17
to Network Simulator 2 (NS2)
dear friend . I need a implemented project on clustering in the  manet  based on the energy and the mean distance of the nodes with the cluster head.pls

On Thursday, October 17, 2013 at 12:24:41 PM UTC+3:30, knudfl wrote:
@Srinivasa Rao : Please have a look at the existing code :
https://groups.google.com/forum/?fromgroups#!topic/ns-users/ssY01bRzj7A

-

On Thursday, October 17, 2013 6:02:31 AM UTC+2, Srinivasa Rao wrote:
Hi sir!!! i am also doing on network coding for wireless mesh network,can you help to develop a new module (network coding) in ns2.

mohammedsa...@gmail.com

unread,
May 3, 2019, 12:23:39 PM5/3/19
to Network Simulator 2 (NS2)
How to contact you sir I need the network coding code.

knudfl

unread,
May 3, 2019, 2:21:57 PM5/3/19
to Network Simulator 2 (NS2)

Mohammed Sameer Inamdar

unread,
May 3, 2019, 11:53:03 PM5/3/19
to ns-u...@googlegroups.com
Sir I am not getting these documents please help me. I want to enhance network performance like throughput, delay etc compared with unicast networks. Please please please help me sir .
--

knudfl

unread,
May 4, 2019, 5:14:05 AM5/4/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar.

»» I am not getting these documents «« :   ?Which documents ? Please write a list in a new post.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.

Mohammed Sameer Inamdar

unread,
May 4, 2019, 1:43:26 PM5/4/19
to ns-u...@googlegroups.com
 I want to enhance network performance like throughput, delay etc compared with unicast networks. Please please please help me sir .
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

knudfl

unread,
May 4, 2019, 3:23:48 PM5/4/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

" Anyone on the internet can find and view" :   NCSD-network-coding_ns235.patch
https://drive.google.com/file/d/1I7CAJA0msy6rLzK1VgbWiAW9RyF2JaFJ/view?usp=sharing
 "Anyone on the internet can find and view" :   NCSD-Network-coding-ex.tar.gz
https://drive.google.com/file/d/1y1IqlUCQ0EWv2NGvjsGVDMNNTR3WLgMT/view?usp=sharing

The files are attached too.  ( Hopefully ... as the examples are 2.8MB ).
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.
NCSD-Network-coding-ex.tar.gz
NCSD-network-coding_ns235.patch

Mohammed Sameer Inamdar

unread,
May 5, 2019, 12:07:59 AM5/5/19
to ns-u...@googlegroups.com
Thank you soo much sir,
I attached the above patch and try to simulate the example1.tcl in the ncsd_ex but it fails it shows many error as give below.

invalid command name "Agent/Tdtp"
    while executing
"Agent/Tdtp create _o36 "
    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/Tdtp"
    invoked from within
"set tdtp_M [new Agent/Tdtp]"
    (file "example1.tcl" line 67)


please help me sir


To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

knudfl

unread,
May 5, 2019, 6:13:23 AM5/5/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar.

HOWTO apply the patch
tar xvf ns-allinone-2.35_gcc5.tar.gz
https
://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns
-allinone-2.35/
patch
-p0 < NCSD-network-coding_ns235.patch
https
://drive.google.com/file/d/1I7CAJA0msy6rLzK1VgbWiAW9RyF2JaFJ/view?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns
-2.35/
cp ns ns235
-NCSD
sudo cp ns235
-NCSD /usr/local/bin/

Simulation
ns235-NCSD example1.tcl
.
sender_type
= 0
sender_type
= 0
.
         
// A "Gnuplot window 0" opens

Your errors : You are using a wrong copy of the execuable 'ns', or you have a failed build.


----------

knudfl

unread,
May 5, 2019, 6:46:43 AM5/5/19
to Network Simulator 2 (NS2)
Example1_ncs.eps  is attached.
example1_ncs.eps

mohammedsa...@gmail.com

unread,
May 7, 2019, 3:38:11 AM5/7/19
to Network Simulator 2 (NS2)
Thanks a lot for replying me sir.
Thanks again for sharing your valuable time..


>>Your errors : You are using a wrong copy of the execuable 'ns', or you have a failed build.<< 
 how to correct this error.

1 out of 1 hunk ignored
patching file ns-2.35/Makefile.in
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 333.
2 out of 2 hunks FAILED -- saving rejects to file ns-2.35/Makefile.in.rej
patching file ns-2.35/tcl/lib/ns-default.tcl
Hunk #1 FAILED at 1590.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.35/tcl/lib/ns-default.tcl.rej
patching file ns-2.35/tcl/lib/ns-packet.tcl
Hunk #1 FAILED at 183.
1 out of 1 hunk FAILED -- saving rejects to file ns-2.35/tcl/lib/ns-packet.tcl.rej
 
ns-packet.tcl.rej

Mohammed Sameer Inamdar

unread,
May 7, 2019, 3:43:23 AM5/7/19
to ns-u...@googlegroups.com
I got successful build of ns-allinone-2.35 and I run many examples also Please help me.
I am not getting any sample code for network coding. I want to show only the increased throughput compared with unicast network.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

knudfl

unread,
May 7, 2019, 6:54:20 AM5/7/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar.

»» I am not getting any sample code for network coding «« :
   .....  Get the above attached NCSD-Network-coding-ex.tar.gz   →   My posting : 04 May 2019.

»» saving rejects to file ns-2.35/Makefile.in.rej
     saving rejects to file ns-2.35/tcl/lib/ns-default.tcl.rej «« : 
  • Please attach the two files {Makefile.in.rej,  ns-default.tcl.rej}.
  • And also your { Makefile.in, ns-default.tcl, ns-packet.tcl }
  • →       5 files to be attached to a new post, please.

knudfl

unread,
May 7, 2019, 7:04:55 AM5/7/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar.

Just guessing :  You have an  ns-allinone-2.35 (may be old version) with some extra protocols added ?
Fist thing to do :  Setup a new ns-allinone-2.35_gcc5.tar.gz in a new empty folder/.
.... You can have as many ns-allinone-2.xx as you want, installed at the same time.

Example :
/home/name/ns2/a/ns-allinone-2.35/
/home/name/ns2/b/ns-allinone-2.35/
/home/name/ns2/c/ns-allinone-2.35/
/home/name/ns2/d/ns-allinone-2.35/
/home/name/ns2/e/ns-allinone-2.35/

When you have the ns2 with  NCSD_network-coding  working, we can add the other extra protocols (if any.)

Mohammed Sameer Inamdar

unread,
May 9, 2019, 1:41:09 PM5/9/19
to ns-u...@googlegroups.com
sir I want to add some protocol to create galious field for RLNC and to use it in broadcast network. can you please help me.

and about the above program it showing as undefined tdtp please please help me.
 

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.

Mohammed Sameer Inamdar

unread,
May 9, 2019, 1:52:26 PM5/9/19
to ns-u...@googlegroups.com
Thank you sooo much sir, thanks a lot I can't tell how much it help to me , Thanks a lot.

and I want to creat a butterfly network random linear network coding, If you have any butterfly Random Linear Network Coding code please please please help me.
Makefile
ns-default.tcl
ns-packet.tcl
Makefile.in.rej
ns-default.tcl.rej

Mohammed Sameer Inamdar

unread,
May 10, 2019, 5:58:55 AM5/10/19
to ns-u...@googlegroups.com
sir still it shows an error
invalid command name "Agent/Tdtp"
    while executing
"Agent/Tdtp create _o36 "
    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/Tdtp"
    invoked from within
"set tdtp_M [new Agent/Tdtp]"
    (file "example1.tcl" line 67)

knudfl

unread,
May 10, 2019, 9:21:51 AM5/10/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

»»  still it shows an error
invalid command name "Agent/Tdtp" «« :   
When you do what ? No errors without the connected command, please.
!   An error output without the command causing the error says nothing.

The "test command" is usually  $ ns235-NCSD example1.tcl

The build is
tar xvf ns-allinone-2.35_gcc5.tar.gz
https
://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns
-allinone-2.35/
patch
-p0 < NCSD-network-coding_ns235.patch
https
://drive.google.com/file/d/1I7CAJA0msy6rLzK1VgbWiAW9RyF2JaFJ/view?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns
-2.35/
cp ns ns235
-NCSD
sudo cp ns235
-NCSD /usr/local/bin/

If you do anything different, then please explain.

Mohammed Sameer Inamdar

unread,
May 10, 2019, 10:53:16 AM5/10/19
to ns-u...@googlegroups.com
I have done the same thing as mention above in apply patch and I am thinking that the Tdtp should have some Tdtp.h Tdtp.cc Tdtp.o files. These I am not finding anywhere. 

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.

Mohammed Sameer Inamdar

unread,
May 10, 2019, 10:59:32 AM5/10/19
to ns-u...@googlegroups.com
My execution scenario

/ns-new/ns-allinone-2.35/ncsd-ex/example1$ ns235-NCSD example1.tcl
invalid command name "Agent/Tdtp"
    while executing
"Agent/Tdtp create _o36 "
    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/Tdtp"
    invoked from within
"set tdtp_M [new Agent/Tdtp]"
    (file "example1.tcl" line 67)

Mohammed Sameer Inamdar

unread,
May 10, 2019, 11:10:00 AM5/10/19
to ns-u...@googlegroups.com
Sir what are the causes to not recognizing this Tdtp agent. As UDP and TCP has there own UDP.cc and UDP.h and UDP.o files but there is no file for the Tdtp.

Mohammed Sameer Inamdar

unread,
May 10, 2019, 11:13:26 AM5/10/19
to ns-u...@googlegroups.com
What is this attached file.
tdtp_ns.tar.gz

knudfl

unread,
May 10, 2019, 12:18:24 PM5/10/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

»» there is no file for the Tdtp «« : Please read  "NCSD-network-coding_ns235.patch"
→  ns-2.35/{ncsd_app_v2b3.cc  ncsd_app_v2b3.h  tdtp_ag_v2b3.cc  tdtp_ag_v2b3.h}
and Makefile.in, line 336: apps/tdtp_ns/ncsd_app_v2b3.o apps/tdtp_ns/tdtp_ag_v2b3.o \

A tree version also exists : That's what I create, and unpack to generate the patch.
Tree version = NCSD-network-coding_ns235.tar.gz .
Is for information only  after the patch creation. Not to be used. I.e. the patch will do it all.  

NCSD-network-coding_ns235.tar.gz was created from `ncsd_ns2_v2b3.tar.gz´
→  The package ncsd_ns2_v2b3.tar.gz also includes the examples, and documentation.


The package you have attached to the next post ( tdtp_ns.tar.gz )
.... also includes a previous file version { ncsd_app.h  tdtp_ag.h } =  Older versions.
The new file versions are  *_v2b3.* .... i.e. version v2b3.


* Difficult to understand how you can fail. Just setup a new ns-allinone-2.35_gcc5.tar.gz in a new folder.
I have ~200 ns-allinone-2.xx on one OS. I.e. you can have as many as you want at the same time.
Example :
/home/name/ns2/a/ns-allinone-2.35/
/home/name/ns2/b/ns-allinone-2.35/
/home/name/ns2/c/ns-allinone-2.35/
/home/name/ns2/d/ns-allinone-2.35/
NCSD-network-coding_ns235.tar.gz

Mohammed Sameer Inamdar

unread,
May 11, 2019, 1:22:11 AM5/11/19
to ns-u...@googlegroups.com
Thanks a lot sir It's done.
1.the apps doesn't have the tdtp_ns folder $HOME _ NS-2.35/apps/tdtp_ns/tdtp_ag.h and tdtp_ag.cc
2. /ns-2.35/apps/app.h this sentence is missing in -->
 classApplication :public Process {
public:
       Application();
...............................................................................................
 virtual void recv_msg ( int nbytes, const char *msg = 0) {};
...............................................................................................

3. ns-2.35/Makefile --> 
OBJ_CC=
................................................
apps/tdtp_ncs/ncsd_app.o\
apps/tdtp_ncs/tdtp_ag.o\
...............................................
$ ( OBJ_STL )

and in tdtp_ncs folder the files are renamed as ncsd_app.cc and ncsd_app.h tdtp_ag.h and tdtp_ag.cc 

Thanks a lot to ALLAH and
Thanks a lot to you sooooooooooooooooooooooooooooooooooooooooooooooooooooooo much 
It's done at last.
Sir GOD BLESS you forever.
Thanks a lot sir again.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.

Mohammed Sameer Inamdar

unread,
May 11, 2019, 1:29:20 AM5/11/19
to ns-u...@googlegroups.com
Sir I What are the Master slave nodes. I want some brief.
and Is the graph have parameters both without network coding and with network coding.
and how to show the comparison between without network coding and with network coding the parameters like throughput and delay.  

knudfl

unread,
May 11, 2019, 6:47:45 AM5/11/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

»»What are the Master slave nodes«« : 

»»how to show the comparison between without network coding and with network coding«« :
Suggest :  Write a new simulation.tcl without the nscd settings.
* throughput and delay can be analyzed with an awk or perl script.
Like  $ awk -f script.awk example1_total.tr     
(except that `example1_total.tr´ shows no packets sent (s) so you will also have to write a new example1-2.tcl for ncsd ... in order to get something to analyze. I.e.  example1.tcl is just a basic example with limited action / communication.)




Mohammed Sameer Inamdar

unread,
May 14, 2019, 2:33:40 AM5/14/19
to ns-u...@googlegroups.com
Sir I want to convert the ncsd--> example2 --> wired topology to wireless please help me I am getting some error.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
wnc.tcl

Mohammed Sameer Inamdar

unread,
May 14, 2019, 2:34:51 AM5/14/19
to ns-u...@googlegroups.com
error while executing wnc.tcl......................................................................
num_nodes is set 6
INITIALIZE THE LIST xListHead
warning: no class variable Agent/Tdtp::err_max_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Agent/Tdtp::err_max_

see tcl-object.tcl in tclcl for info about this warning.

invalid command name ""
    while executing
"$lnk attach-monitors $isnoop $osnoop $dsnoop $fm"
    (procedure "_o3" line 5)
    (Simulator attach-fmon line 5)
    invoked from within
"$ns attach-fmon [$ns link $Master $r1] $flowmon_MS"
    (file "wnc.tcl" line 288)


On Sat, May 11, 2019 at 4:17 PM knudfl <knu...@ofir.dk> wrote:
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
Message has been deleted

knudfl

unread,
May 14, 2019, 11:50:55 AM5/14/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

invalid command name ""
.
(file "wnc.tcl" line 288)

.... often means a wrong command somewhere in the whole section ... from line 288
   288    $ns attach-fmon [$ns link $Master $r1] $flowmon_MS
   
289    ####### flowmon_SM for Slave->Master
   
290    set flowmon_SM [$ns makeflowmon Fid]
   
291    $ns attach-fmon [$ns link $Slave $r2] $flowmon_SM
   
292    ####### flowmon_r1r2 for r1->r2
   
293    set flowmon_r1r2 [$ns makeflowmon Fid]
   
294    $ns attach-fmon [$ns link $r1 $r2] $flowmon_r1r2
   
295    ####### flowmon_r2r1 for r2->r1
   
296    set flowmon_r2r1 [$ns makeflowmon Fid]
   
297    $ns attach-fmon [$ns link $r2 $r1] $flowmon_r2r1
   
298    
   
299    set fmon_clas_r1r2 [$flowmon_r1r2 classifier]
   
300    set fmon_clas_r2r1 [$flowmon_r2r1 classifier]
   
301
....  I found no solution so far.  
So I guess it's do and try :  Edit something in the section, and test if it's working.
Good luck !


Mohammed Sameer Inamdar

unread,
May 14, 2019, 11:19:52 PM5/14/19
to ns-u...@googlegroups.com
Thank you sir.
Dear Sir how to assign relay node between (n1 and n2) and (Master and Slave) The below file I have, it is creating a channel between (n1 and n2) and (Master and Slave) directly. 
How to make packet flow/rout through r1 and r2 to destination.

The path from destination to source should n1->r1-> r2-> n2 same for master and slave.
Please help me to get through this.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
wnc.tcl

Mohammed Sameer Inamdar

unread,
May 15, 2019, 12:08:54 AM5/15/19
to ns-u...@googlegroups.com
Dear sir I need to get that NCS_TDTP.pdf into English language as that is in Greek language. As you provided it to under stand v2b3 versions.
 please I am struck at TDTP because I don't know how it works and at which node exactly the network coding is done in the program.
NCS_TDTP.pdf

knudfl

unread,
May 15, 2019, 5:44:18 AM5/15/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

NCS_TDTP.pdf is in Spanish.
You can use Google Translate to translate some sections to English, or to other language.

Two examples are attached ....
screen17493.jpg
screen26673.jpg

Mohammed Sameer Inamdar

unread,
May 18, 2019, 12:45:18 AM5/18/19
to ns-u...@googlegroups.com
Thank you sooo much sir
And sir I am getting the throughput of ncsd is less than the general program. I want to show improvements in throughput and delay please please please modify the below attached programs for me It's my final submission of this project ad I tried a lot please please.
wnc.tcl is with network coding program as from the example2.tcl
nonc.tcl is the without network coding program 
and Throuput.awk I am using to calculate throughput for both the programs 

Please help me or modify it for me


--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
Throughput.awk.txt
wnc.tcl.txt
nonc.tcl.txt

Mohammed Sameer Inamdar

unread,
May 18, 2019, 12:53:22 AM5/18/19
to ns-u...@googlegroups.com
Sir there are many word which are not copying replacing by space or next line specially for c word.

Mohammed Sameer Inamdar

unread,
May 19, 2019, 2:25:00 AM5/19/19
to ns-u...@googlegroups.com
sir I am adding some protocol and I am getting this error.
network-coding/cpp/NCR.cc:164:33: error: overloaded function with no contextual type information
          tcl.resultf("%d", index);
                                 ^
what is this and because of this Make failed.
Makefile:93: recipe for target 'network-coding/cpp/NCR.o' failed
make: *** [network-coding/cpp/NCR.o] Error 1
Ns make failed!

knudfl

unread,
May 19, 2019, 5:35:18 AM5/19/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

»» adding some protocol«« :    Which protocol  ?  ?  ?
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.

Mohammed Sameer Inamdar

unread,
May 19, 2019, 1:35:49 PM5/19/19
to ns-u...@googlegroups.com
NCR 
Dear sir what is this "source" work for
# -----------------
# TOPOLOGY
# -----------------

puts "... Create topology..."

source "./Network_topology/RandomNet/test/randomNet_$val(nn)_$val(sim).tcl"


for {set i 0} {$i < $val(nn) } {incr i} {
#puts $node_($i)
#puts "start neigh"
$node_($i) start_neigh
}

puts "...OK!"
I am not getting this what it actually does?



To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.

knudfl

unread,
May 19, 2019, 5:11:57 PM5/19/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

Unknown directories / unknown file :
»» "./Network_topology/RandomNet/test/randomNet_$val(nn)_$val(sim).tcl" ««

Unknown otcl code :
for {set i 0} {$i < $val(nn) } {incr i} {

   
#                ;# A hash mark means "this line is commented out".
   
#                ;# I.e. the line could as well be deleted / edited away.
    $node_
($i) start_neigh
... I guess "neigh" could be neighbour ?

Nothing of the above is from a known example. So what are you doing ?
Please attach the files involved, if you want an answer.



knudfl

unread,
May 19, 2019, 5:42:18 PM5/19/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar

OK,  I found the examples. In the old "Network-coding" for ns-2.27 .
The files in the examples are sketchy.
And {tcl_script_example/{ Mac802_11/, Mac802_11_pseudobroadcast/, Mac802_11_pseudobroadcast_rts_cts/, Mac_ideal/ }} :  The most configuration files are missing. Must be created / copied and renamed from the exsisting ones.
And furthermore the examples usually causes 'Segmentation fault'.  So not very useful.

Mohammed Sameer Inamdar

unread,
May 20, 2019, 1:48:19 AM5/20/19
to ns-u...@googlegroups.com
I think this is what I need the above network-coding. It has some galious field operation in(gf2e.cc gf2e.h etc)
As from Tdtp I am not getting enhanced throughput I am getting the same as normal. So please help me to enhance throughput and delay. above I attached all 3 files.
How to enhance the throughput and delay I am not getting.  these files are attached above



--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.

knudfl

unread,
May 20, 2019, 5:22:02 AM5/20/19
to Network Simulator 2 (NS2)
@Mohammed Sameer Inamdar.

No valid links to any of the "look-alike-attachments".
And none of the files {nonc.tcl.txt, wnc.tcl.txt, Throughput.awk.txt} are attached.
Attachments :  That's the  [ Paper clip tool, `Attach a file´ ]  .... in tool line.

Network coding : The old ns227 mac code cannot be used in later version.

ns2 has been unsupported for years. Replaced by ns3.
Google,  ns3 network coding :  ~100,000 hits.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.

Mohammed Sameer Inamdar

unread,
May 20, 2019, 5:50:26 AM5/20/19
to ns-u...@googlegroups.com
sir please tell me when you are free I want to talk with you on this project and I want to finish it as early as possible.please tell me when you get time. 

Mohammed Sameer Inamdar

unread,
May 21, 2019, 7:45:37 AM5/21/19
to ns-u...@googlegroups.com
what happened sir Please
I just want to show the delay and throughput vs number of nodes.
It should be greater tan the normal wireless network using network coding.
How to broadcast to number of nodes and how to use tdtp protocol to increase the throughput.

Mohammed Sameer Inamdar

unread,
May 21, 2019, 2:36:51 PM5/21/19
to ns-u...@googlegroups.com
I added the NCR as possible as I can but I don't know how it works or how to use.

Mohammed Sameer Inamdar

unread,
May 21, 2019, 2:41:37 PM5/21/19
to ns-u...@googlegroups.com
this is the output of tcl script example Mac802_11 I am just affraid off about sourc as I asked you above


num_nodes is set 100
...Create nodes...
INITIALIZE THE LIST xListHead
..OK!
... Create topology...
...OK!
...Create traffic...
...OK!
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
Floating point exception (core dumped)

Mohammed Sameer Inamdar

unread,
May 21, 2019, 3:02:33 PM5/21/19
to ns-u...@googlegroups.com

Mohammed Sameer Inamdar

unread,
May 21, 2019, 3:03:45 PM5/21/19
to ns-u...@googlegroups.com
I attached my tcl file here
randomnet.tcl
It is loading more messages.
0 new messages