Ostinato with mininet

74 views
Skip to first unread message

poriya rinkal

unread,
Jul 18, 2023, 7:07:41 AM7/18/23
to ostinato
Hello everyone,

Does anyone know how can i see ports of all hosts from my custom mininet topology?
I am able to see the switches port but not of the hosts from my topology.
Any help will be appreciated.

Srivats P

unread,
Jul 18, 2023, 7:21:53 AM7/18/23
to poriya rinkal, ostinato
Hi,

Switches are middle boxes and not end points. You need to enter the IP address of the destination end point - i.e. your destination host.

Srivats (Founder, Ostinato)

On Mon, Jul 17, 2023 at 5:28 PM poriya rinkal <rinkalp...@gmail.com> wrote:
Hello Srivats sir,

I would like to ask for your help in running Ostinato with mininet.
I have a custom topology runninng with RYU controller. I wanted to send traffic from host to switches (acting as BTS in mininet environment) but i am not able to as the switches does not have the IP addresses that can be specified in the destination IP address while creating the streams.
I would really appriciate your help in this.
Waiting for your reply.

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ostinato/c6220b7f-a638-44ad-a91d-22131b00bf39n%40googlegroups.com.

Srivats P

unread,
Jul 18, 2023, 7:23:00 AM7/18/23
to poriya rinkal, ostinato
You need to run Ostinato on the host container namespace not the root namespace.

See https://srivatsp.com/ostinato/ostinato-mininet/

Srivats (Founder, Ostinato)

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.

poriya rinkal

unread,
Jul 20, 2023, 8:05:09 AM7/20/23
to ostinato
Thanks a lot for the response.
I would also like to know , what is the packet size when we send packets from source to the destination?  Does it depend on the chosen protocol? i.e. TCP, UDP etc?
If anyone knows then kindly help.

Srivats P

unread,
Jul 21, 2023, 2:39:48 AM7/21/23
to poriya rinkal, ostinato
The default packet size is 64 bytes.

You can change it by editing the stream

image.png

Srivats (Creator, Ostinato)

poriya rinkal

unread,
Jul 28, 2023, 11:25:43 AM7/28/23
to ostinato
Hello everyone,

I have a custom network topology consisting more than 10 hosts and switches in mininet which is working together with the RYU controller.
The goal is to generate traffic from each of this hosts(10) to the destination host server. For this purpose, I run ostinato on the host namespace using xterm from mininet CLI as suggested previously.
However, it is a bit of work to generate traffic from each of the host this way. I would like to know if there is a way out from this situation? Is there any possibility to generate the traffic from a central point using ostinato?

Also if anyone knows how can i run the same topology in mininet with Non-SDN scenario (i.e. same as traditional networking without the controller) to compare the results in the end. I did try changing the Switches from OVSSwitches to UserSwitches but not able to ping in the network.

Any help would be really great!

Srivats P

unread,
Aug 2, 2023, 5:17:19 AM8/2/23
to poriya rinkal, ostinato
Hi Poriya,
 
I have a custom network topology consisting more than 10 hosts and switches in mininet which is working together with the RYU controller.
The goal is to generate traffic from each of this hosts(10) to the destination host server. For this purpose, I run ostinato on the host namespace using xterm from mininet CLI as suggested previously.
However, it is a bit of work to generate traffic from each of the host this way. I would like to know if there is a way out from this situation? Is there any possibility to generate the traffic from a central point using ostinato?

Yes, it is possible. Run Ostinato on any one host like you are doing currently. On all the remaining hosts, run 'drone' (the Ostinato agent). From the Ostinato GUI, File | Add PortGroup and enter the IP address of another host - you will have to repeat this step for all the remaining 9 hosts. Once this is done - you will have all hX-eth0 ports visible on the same Ostinato GUI.

If you don't want mgmt traffic and data traffic to be mixed, you can create a parallel mgmt network and do this process on the mgmt network.

Please note I don't have a mininet install handy at the moment, so I haven't tested the above, but it should work.
 
Also if anyone knows how can i run the same topology in mininet with Non-SDN scenario (i.e. same as traditional networking without the controller) to compare the results in the end. I did try changing the Switches from OVSSwitches to UserSwitches but not able to ping in the network.

I'm not familiar with mininet UserSwitch, but try LinuxBridge and see if that works.

Srivats (Creator, Ostinato)

poriya rinkal

unread,
Aug 7, 2023, 11:49:08 AM8/7/23
to ostinato
Great! That did help with the hosts.
is there a possibility of generating a graph with the traffic generated from each host to the same server at the same time?
I did try this with iperf3 in mininet but I am not able to send traffic simultaneously from different hosts to plot all the traffic received at the server. if anyone can help.

poriya rinkal

unread,
Aug 16, 2023, 8:11:06 PM8/16/23
to ostinato
Hello everyone,

Is there a possibility of generating a visualization graph for throughput and latency in Ostinato? 
I need to generate traffic from multiple hosts to the same server and plot the throughput and delay graphs.
If anyone has an idea, please let me know. It will be a great help to my research results. 

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to a topic in the Google Groups "ostinato" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ostinato/MgEmrwWO8W4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ostinato+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ostinato/0bde9676-c790-49c2-b605-6053e237112cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages