How to learn ns3?

2,819 views
Skip to first unread message

Mukul Shukla

unread,
Nov 16, 2011, 12:15:54 PM11/16/11
to ns-3-...@googlegroups.com
Dear All,

I am new to ns3 and want to know how to learn ns3? What are the pre-requisite tools that I should know to start working in ns3? As the ns3 is totally built on c++. how much depth in C++ programming is required?

Thanks.


Lalith Suresh

unread,
Nov 16, 2011, 1:15:24 PM11/16/11
to ns-3-...@googlegroups.com
On Wed, Nov 16, 2011 at 6:15 PM, Mukul Shukla <mukulr...@gmail.com> wrote:
Dear All,

I am new to ns3 and want to know how to learn ns3? What are the pre-requisite tools that I should know to start working in ns3? As the ns3 is totally built on c++. how much depth in C++ programming is required?



ns-3 is very C++ heavy. I suggest going through a good C++ book if don't have any background in it.
 
Thanks.


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/Ej52E8sHCo8J.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Lalith Suresh

Mukul Shukla

unread,
Nov 16, 2011, 1:21:20 PM11/16/11
to ns-3-...@googlegroups.com
Dear Lalith

Kindly do suggest me a good c++ book to build up the background. As I have some background of C++ (not very good though), I will go through the tutorial pointed by you. Kindly also let me know what C++ concepts are sufficient to start building the basic simulations?

Thank you for help.

Mukul

Lalith Suresh

unread,
Nov 16, 2011, 5:02:06 PM11/16/11
to ns-3-...@googlegroups.com
On Wed, Nov 16, 2011 at 7:21 PM, Mukul Shukla <mukulr...@gmail.com> wrote:
Dear Lalith

Kindly do suggest me a good c++ book to build up the background. As I have some background of C++ (not very good though), I will go through the tutorial pointed by you. Kindly also let me know what C++ concepts are sufficient to start building the basic simulations?



I doubt it's the best out there, but it should teach you the basics needed to start hacking on ns-3. About basic simulations, you won't need more than basic C++ to go about it (just some lines inside a main() block).
 
Thank you for help.

Mukul

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/AYULoNfoM_IJ.

To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Lalith Suresh

abhinay kumar

unread,
Nov 16, 2011, 9:51:16 PM11/16/11
to ns-3-users
hey mukul if you r using GNOME .....then you shoul have some pre-
requisite ......
there are some installations required before installing Ns-3 in ur
system.
just follow this link-----
http://www.nsnam.org/wiki/index.php/Installation

Mukul Shukla

unread,
Nov 20, 2011, 11:31:32 AM11/20/11
to ns-3-...@googlegroups.com
I have grabbed the book "C++ Complete Reference", but it will take sometime to learn all the details of c++. But meantime I want to know what are Pythonbindings? I have read that it can be used to write simulation scripts in Python. Can somebody help to understand more about the python bindings. Also point me to some basic simulation scripts written in python.

Thanks.

Vedran Miletić

unread,
Nov 20, 2011, 11:40:19 AM11/20/11
to ns-3-...@googlegroups.com
2011/11/20 Mukul Shukla <mukulr...@gmail.com>:

You can call C++ functions from Python programs using ns-3's Python
modules. For example, take a look at these files:
examples/tutorial/first.py
examples/wireless/mixed-wireless.py
examples/wireless/wifi-ap.py
examples/routing/simple-routing-ping6.py

Regards,

Vedran

Mukul Shukla

unread,
Nov 21, 2011, 10:04:18 AM11/21/11
to ns-3-...@googlegroups.com
But where can I find more details about python bindings? Exactly, I want to read about writing simulation scripts using python bindings. I also want to know how to install python bindings? Does it get automatically installed while installing ns3? Is there any tutorial about python bindings?

ANKITA TIWARI

unread,
Feb 13, 2014, 4:51:24 AM2/13/14
to ns-3-...@googlegroups.com
Hi Mukul,

I want to work on NS3 for my project.
I am assuming since this post is approx. 3 yrs old u must be knowing NS3 quite nicely by now.
Could you help me by guiding me regarding NS3.

Amir Reda

unread,
Feb 13, 2014, 1:33:31 PM2/13/14
to ns-3-...@googlegroups.com


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

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



--
Warmest regards and best wishes for a good health,urs sincerely
mero

Saikumar Nagireddi

unread,
Jan 12, 2016, 8:05:05 AM1/12/16
to ns-3-users

Hi..ma'am..
        I want to learn ns3. i started by simulating the examples, but i didn't understand much what is happening. i had gone through nsnam website. but i could not found where to start. my aim is to understand the tracing system in ns3. so that i can plot graph (Packet loss vs Distance) using gnu in the process of wifi channel implementation.

Saikumar Nagireddi

unread,
Jan 12, 2016, 8:07:54 AM1/12/16
to ns-3-users

Hi. Mukul Shukla
Reply all
Reply to author
Forward
0 new messages