ns-3 Topology Generator

2,093 views
Skip to first unread message

jmyou...@gmail.com

unread,
Aug 16, 2016, 12:45:45 PM8/16/16
to ns-3-users
Hello,

I have updated the Topology Generator to generate ns-3 code compliant with version 3.25.
The ns-3 Topology Generator provides a quick and easy way to create a network topology, and generate C++ simulation code for ns-3.
The link to the repository can be found on the Contributed Code section of the ns-3 wiki at;

https://www.nsnam.org/wiki/Contributed_Code

Jeff Young
Idaho National Laboratory

Tommaso Pecorella

unread,
Aug 17, 2016, 11:03:36 AM8/17/16
to ns-3-users
Hi,

I'd like to thanks Jeff for the efforts in upgrading the topology generator.
Even though it might be still necessary to fine-tune the generated code, the program can avoid some quite common (and easily avoidable) mistakes.

Thanks,

T.

Matt Anonyme

unread,
Aug 17, 2016, 3:09:36 PM8/17/16
to ns-3-users
That's really great, I wish I knew about it before. Is it possible to add a screenshot to the README please ?

jmyou...@gmail.com

unread,
Aug 26, 2016, 12:12:23 PM8/26/16
to ns-3-users
I have updated the README to include a screenshot image.

Jeff

Odil

unread,
Sep 8, 2016, 7:11:57 AM9/8/16
to ns-3-users
Dear Jeffry,

Do you think we can create topology generator gui for vehicular communication network.
These days this topic is getting hotter and hotter so just out of curiosity, could you analyze the real
status and share your opinion about this particular point, Please ?

Warm Regards, Odil

jmyou...@gmail.com

unread,
Sep 13, 2016, 5:32:42 PM9/13/16
to ns-3-users
Hi Odil,

I would imagine that the GUI could be modified to take into consideration the position, direction and velocity
of a node and then build that information into the resultant ns-3 script that gets generated.  The topology generator currently
has the capability to build a script that sets the mobility model to either ConstantPositionMobilityModel or RandomWalk2dMobilityModel
within a given rectangle definition.  But it is currently hardcoded to ConstantPositionMobilityModel, with no way to select
it at the GUI.

I agree, it is a hot topic and would be an interesting application of the Topology Generator.

Regards, Jeff

RAHUL RAHUL

unread,
Jan 5, 2017, 10:31:19 PM1/5/17
to ns-3-users
Hi NS3 folks,

Can it be possible to create 2000 nodes in 1km square area and embeed client-server on each nodes and place the nodes randomly..? 
Is it possible with topology generator. And how to set the ip address for 2000 nodes.. help me out i am not getting!! let me know if any other drag and drop tools available for ns3 simulation of wired and wireless scenario


Thanks in Advance,
Rahul..

Tommaso Pecorella

unread,
Jan 6, 2017, 6:24:50 AM1/6/17
to ns-3-users
Hi,

with 2000 nodes it's better if you manually edit the C++ code.
Perhaps you can setup a simpler topology with fewer nodes and then modify the script.

T.

RAHUL RAHUL

unread,
Jan 7, 2017, 12:15:34 AM1/7/17
to ns-3-users
Hi,

I am getting address depricated. as of address overflow with the variation of nodes.I am using address.setbase("10.1.1.0", "255.255.255.0"); can u suggest me how to change the base with IP and Masks, so that i can address 2000 no of nodes.

Tommaso Pecorella

unread,
Jan 8, 2017, 6:33:54 AM1/8/17
to ns-3-users
Hi,

perhaps you should read a primer about Internet addressing and routing ?
Really, such a question only shows that you'll have even bigger problems later on if you don't study the basics right now.

T.

donald ngugi

unread,
Jan 17, 2017, 2:31:10 PM1/17/17
to ns-3-users
Hi
am getting an error when building your code

No wscript file in directory /home/donalnjeru/ns3/ns-allinone-3.24.1/ns-3.24.1/src/o-icn/examples/examples

Kindly assist

jmyou...@gmail.com

unread,
Jan 18, 2017, 11:56:55 AM1/18/17
to ns-3-users
I believe this is related to the install of ns-3.  I am not familiar with the o-icn directory in /src.

Jeff Young
Idaho National Laboratory

Tommaso Pecorella

unread,
Jan 18, 2017, 7:11:09 PM1/18/17
to ns-3-users
Donald, please read the posting guidelines.
Thanks.

T.

Ali Rezagholizadeh

unread,
Oct 16, 2018, 1:14:27 PM10/16/18
to ns-3-users
Hi,

I just downloaded this topology generator. But, I couldn't find the way to establish a configuration in order to get packets for example from 5050 port and send them to another port, say 5051. 
I want a ns-3 script to be generated in order to get rtp packets and after some delays, send them to the destination port.  

I appreciate if somebody can help me to find out a solution.

Thanks.
Reply all
Reply to author
Forward
0 new messages