Building the p2p network and installing brite, click, openflow modules in ms3

559 views
Skip to first unread message

chinmay shah

unread,
Oct 11, 2013, 1:10:57 PM10/11/13
to ns-3-...@googlegroups.com
Hi Everyone,

I am trying to build a p2p network using ns3. I tried to visualize the simple-point-to-point and second.cc which can be found in the examples and it does not show any packet details and packet movement visualization while running.Simple-point-to-point is running successfully but even without visualization, it does not show any details of the packet movement.Also, While compiling ./waf, I am unable to build brite, click and openflow modules yet the build is successful. I followed all the steps found in the documents yet the three modules are not getting enabled.

I would really appreciate help in both these problems

Thank You
Regards
Chinmay

chinmay shah

unread,
Oct 13, 2013, 1:22:17 PM10/13/13
to ns-3-...@googlegroups.com
Hi,

Thanks for the help. My problem is still not solved.  

On Friday, October 11, 2013 7:33:24 PM UTC+2, Konstantinos wrote:
Hi, 

On Friday, October 11, 2013 6:10:57 PM UTC+1, chinmay shah wrote:
Hi Everyone,

I am trying to build a p2p network using ns3. I tried to visualize the simple-point-to-point and second.cc which can be found in the examples and it does not show any packet details and packet movement visualization while running.Simple-point-to-point is running successfully but even without visualization, it does not show any details of the packet movement.
 
Which tool do you use for the visualisation? What details do you want to see for packet movement? Perhaps the scenarios you want to test do not have an output, it depends on the logging you have specified.
I am using python visualizer that is obtained by default by typing -- visualization. I would like to see complete packet details including routing protocols, packet source, packet routing etc. I am taking the default examples and they are supposed to have output in  the form of ip address and packet movement but it is not showing it and log also is not showing any details 
 
Also, While compiling ./waf, I am unable to build brite, click and openflow modules yet the build is successful. I followed all the steps found in the documents yet the three modules are not getting enabled.


I guess you are getting an output like this:
Modules not built (see ns-3 tutorial for explanation):
brite                     click                     openflow
visualizer

If you want to use these modules you have to configure them separately. Please read the documentation.
 
 

This just means that some ns-3 modules that have dependencies on outside libraries may not have been built, or that the configuration specifically asked not to build them. It does not mean that the simulator did not build successfully or that it will provide wrong results for the modules listed as being built.

I am getting the output which you have mentioned but visualizer is built and I went to their documentation and enabled all the modules after following the steps, yet I am getting the same thing when I run ./waf. But I would still need these modules to be build 
Regards,
K.
 
I would really appreciate help in both these problems. If I have failed to explain my problem then I can send you the pictures too and explain in detail about which steps I have followed so basically what I need is a visualization of any p2p network.

Thank You
Regards
Chinmay

Konstantinos

unread,
Oct 13, 2013, 2:16:21 PM10/13/13
to ns-3-...@googlegroups.com


On Sunday, October 13, 2013 6:22:17 PM UTC+1, chinmay shah wrote:
Hi,

Thanks for the help. My problem is still not solved.  

On Friday, October 11, 2013 7:33:24 PM UTC+2, Konstantinos wrote:
Hi, 

On Friday, October 11, 2013 6:10:57 PM UTC+1, chinmay shah wrote:
Hi Everyone,

I am trying to build a p2p network using ns3. I tried to visualize the simple-point-to-point and second.cc which can be found in the examples and it does not show any packet details and packet movement visualization while running.Simple-point-to-point is running successfully but even without visualization, it does not show any details of the packet movement.
 
Which tool do you use for the visualisation? What details do you want to see for packet movement? Perhaps the scenarios you want to test do not have an output, it depends on the logging you have specified.
I am using python visualizer that is obtained by default by typing -- visualization. I would like to see complete packet details including routing protocols, packet source, packet routing etc. I am taking the default examples and they are supposed to have output in  the form of ip address and packet movement but it is not showing it and log also is not showing any details 

I do not know if with PyVis you can see all these you want, perhaps the NetAnim might be more useful for what you want.
To enable PyVis in your example, you have to add the visualiser in the wscript file of the folder you are running. If you have it in scratch then it is enabled, but if you run it directly from the /examples folder it is not. Please read the following:


For the output of the second tutorial, please read this 

Perhaps you haven't enabled the proper logging component. 

 
 
Also, While compiling ./waf, I am unable to build brite, click and openflow modules yet the build is successful. I followed all the steps found in the documents yet the three modules are not getting enabled.


I guess you are getting an output like this:
Modules not built (see ns-3 tutorial for explanation):
brite                     click                     openflow
visualizer

If you want to use these modules you have to configure them separately. Please read the documentation.
 
 

This just means that some ns-3 modules that have dependencies on outside libraries may not have been built, or that the configuration specifically asked not to build them. It does not mean that the simulator did not build successfully or that it will provide wrong results for the modules listed as being built.

I am getting the output which you have mentioned but visualizer is built and I went to their documentation and enabled all the modules after following the steps, yet I am getting the same thing when I run ./waf. But I would still need these modules to be build 

I can't understand what you have done and what is the problem. 
If you are not going to build a scenario that uses click, or openflow or brite, then you do NOT need to build these module. It will only make the compilation slower and bigger. 

chinmay shah

unread,
Dec 1, 2013, 12:56:37 PM12/1/13
to ns-3-...@googlegroups.com
Hi,

Thanks a lot for the input. Can you please send me the source code for Kademlia implementation in ns-3 framework and document for using it?

Thanks
Regards
Chinmay


--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/qbKzFRpGB7s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.

Konstantinos

unread,
Oct 11, 2013, 1:33:24 PM10/11/13
to ns-3-...@googlegroups.com
Hi, 

On Friday, October 11, 2013 6:10:57 PM UTC+1, chinmay shah wrote:
Hi Everyone,

I am trying to build a p2p network using ns3. I tried to visualize the simple-point-to-point and second.cc which can be found in the examples and it does not show any packet details and packet movement visualization while running.Simple-point-to-point is running successfully but even without visualization, it does not show any details of the packet movement.
 
Which tool do you use for the visualisation? What details do you want to see for packet movement? Perhaps the scenarios you want to test do not have an output, it depends on the logging you have specified.
 
Also, While compiling ./waf, I am unable to build brite, click and openflow modules yet the build is successful. I followed all the steps found in the documents yet the three modules are not getting enabled.


I guess you are getting an output like this:
Modules not built (see ns-3 tutorial for explanation):
brite                     click                     openflow
visualizer

If you want to use these modules you have to configure them separately. Please read the documentation.
 

This just means that some ns-3 modules that have dependencies on outside libraries may not have been built, or that the configuration specifically asked not to build them. It does not mean that the simulator did not build successfully or that it will provide wrong results for the modules listed as being built.


Regards,
K.
Reply all
Reply to author
Forward
0 new messages