confirm drone and a few beginner questions regarding ostinato

743 views
Skip to first unread message

djho...@gmail.com

unread,
Dec 14, 2014, 9:26:29 AM12/14/14
to osti...@googlegroups.com
hi everyone,

I am new to ostinato and I did install ostinato on ubuntu 14.04 as given here: https://code.google.com/p/ostinato/wiki/Downloads?tm=2#Ubuntu i.e., with sudo apt-get install ostinato
I have a few queries:

1. How do I confirm that drone is running on my system?
2. Would $apt-get install ostinato install all the required packages for ostinato such as QT4.3+ and protobuff?
2. How can I generate streams on mininet where one mininet host is client and another mininet host is a server.

Note: I want to generate streams according to this article: http://www.inficone.com/technology/crafting-vxlan-packets-using-ostinato/917/

Thanks a lot for any help/suggestion/link in this regard.

Kind Regards,
David

Srivats P

unread,
Dec 16, 2014, 10:12:57 AM12/16/14
to djho...@gmail.com, ostinato
1. ps ax | grep drone
2. Yes
3. Sorry, I'm not familiar with mininet. However, if you are looking
to generate stateful TCP traffic, Ostinato cannot do that.

Srivats
> --
> 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 post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en
> ---
> 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.
> For more options, visit https://groups.google.com/d/optout.



--
http://ostinato.org/
@ostinato

david jhon

unread,
Jan 17, 2015, 3:59:24 AM1/17/15
to Srivats P, ostinato
Hi,

Thanks for your response. I have one more query regarding port link state in Ostinato. How can a port with "unknown" link state be converted to "Up" link state?

Please note that I am using mininet which creates ports on openvswitch while creating a topology. I want to generate traffic from one of the ports on openvswitch to a destination port on openvswitch. The port from which I want to generate traffic has the link state "Unknown" but the destination port link state is up.

Thanks for any help/suggestion/guideline.

Regards,

Srivats P

unread,
Jan 17, 2015, 8:20:11 AM1/17/15
to david jhon, ostinato
* What OS is the drone running on? Linux?
* What does ifconfig <port> show as link state?
* Attach the drone console log here

Srivats
--
http://ostinato.org/
@ostinato

j.s.ti...@gmail.com

unread,
Nov 19, 2015, 10:47:15 PM11/19/15
to ostinato, psta...@gmail.com
Hello David,

Did you find out a way to change the port state? I am also using mininet and facing the same issue.
TIA.

Srivats P

unread,
Nov 25, 2015, 8:23:00 AM11/25/15
to Janhavi Tirodkar, david jhon, ostinato
+David

@Jahnavi: Please provide the info I requested on Jan 17 so that we can help you.

Srivats
--
http://ostinato.org/
@ostinato

j.s.ti...@gmail.com

unread,
Nov 26, 2015, 3:44:14 AM11/26/15
to ostinato, j.s.ti...@gmail.com, djho...@gmail.com
My hosts are running linux. I have attached the drone console logs and the ostinato screenshot.

h7 is one of the host in my virtual mininet SDN topology which is connected to an openvswitch. Controller is running on loopback port.
I want to generate traffic from h7 to another host inside the mininet topology. 
When I create a new stream for h7-etho and apply like shown in the ostinato screenshot, I cannot see packets going out on the h7 port wireshark. Neither can I open wireshark in ostinato to check whether packets are actually being sent.
drone server log 1.png
drone server log 2.png
ostinato.png

Carlos G Mendioroz

unread,
Nov 26, 2015, 5:17:57 AM11/26/15
to j.s.ti...@gmail.com, ostinato, djho...@gmail.com
Are you running drone as root ? I spotted some "operation not permitted"
in the screenshots you sent...

j.s.ti...@gmail.com @ 26/11/2015 03:09 -0300 dixit:
> <https://groups.google.com/d/optout>.
> >>>
> >>>
> >>>
> >>> --
> >>> http://ostinato.org/
> >>> @ostinato
> >>
> >>
> >
>
>
>
> --
> http://ostinato.org/
> @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
> <mailto:ostinato+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
Carlos G Mendioroz <tr...@huapi.ba.ar> LW7 EQI Argentina

j.s.ti...@gmail.com

unread,
Nov 26, 2015, 5:44:56 AM11/26/15
to ostinato
I am running "sudo ostinato" on the h7 terminal. How does it affect packet transmission?

Carlos G Mendioroz

unread,
Nov 26, 2015, 5:53:16 AM11/26/15
to j.s.ti...@gmail.com, ostinato
That should be ok. Dron needs device access, and that usually needs root
priviledges.
I'm not familiar with mininet, so I'm not currently able to help.

j.s.ti...@gmail.com @ 26/11/2015 07:28 -0300 dixit:
> I am running "sudo ostinato" on the h7 terminal. How does it affect packet transmission?
>

j.s.ti...@gmail.com

unread,
Nov 26, 2015, 5:58:25 AM11/26/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
Since the interfaces on h7 are showing up on the ostinato gui means that the drone has device access isnt it? How do I know whether ostinato has the access to my device?

Carlos G Mendioroz

unread,
Nov 26, 2015, 6:17:29 AM11/26/15
to j.s.ti...@gmail.com, ostinato
Hmm, I took a second look on the logs you provided, and they are from
h2, not from h7. Why is that ?

Would you please describe your topology ? Do you have IP connectivity
from ostinato (running on h2?) to h7 ?

j.s.ti...@gmail.com @ 26/11/2015 07:57 -0300 dixit:
> Since the interfaces on h7 are showing up on the ostinato gui means that
> the drone has device access isnt it? How do I know whether ostinato has
> the access to my device?
>
> On Thursday, November 26, 2015 at 2:53:16 AM UTC-8, Carlos G Mendioroz
> wrote:
>
> That should be ok. Dron needs device access, and that usually needs
> root
> priviledges.
> I'm not familiar with mininet, so I'm not currently able to help.
>
> j.s.ti...@gmail.com <javascript:> @ 26/11/2015 07:28 -0300 dixit:
> > I am running "sudo ostinato" on the h7 terminal. How does it
> affect packet transmission?
> >
>
> --
> Carlos G Mendioroz <tr...@huapi.ba.ar <javascript:>> LW7 EQI
> Argentina

j.s.ti...@gmail.com

unread,
Nov 26, 2015, 6:38:37 AM11/26/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
I have a tree topology like the one shown in the figure attached. I do have IP connectivity between H1 and H7.I am running drone server on h2(drone logs are seen on h2) and ostinato on h7. And I want to generate traffic from H7 to H2. 
topo.pdf

Carlos G Mendioroz

unread,
Nov 26, 2015, 6:45:34 AM11/26/15
to j.s.ti...@gmail.com, ostinato
I would not call this a tree topology.
You are confusing me. You say you run ostinato on h7 and drone on h2,
but your ostinato pic is showing h7's interfaces.

Ostinato is a controller, Drones are slaves. If you want to generate
traffic from h2, you need to connect to h2's drone.

j.s.ti...@gmail.com @ 26/11/2015 08:30 -0300 dixit:
> I have a tree topology like the one shown in the figure attached. I do
> have IP connectivity between H1 and H7.I am running drone server on
> h2(drone logs are seen on h2) and ostinato on h7. And I want to generate
> traffic from H7 to H2.
>
> On Thursday, November 26, 2015 at 3:17:29 AM UTC-8, Carlos G Mendioroz
> wrote:
>
> Hmm, I took a second look on the logs you provided, and they are from
> h2, not from h7. Why is that ?
>
> Would you please describe your topology ? Do you have IP connectivity
> from ostinato (running on h2?) to h7 ?
>
> j.s.ti...@gmail.com <javascript:> @ 26/11/2015 07:57 -0300 dixit:

j.s.tirodkar

unread,
Nov 26, 2015, 7:12:45 AM11/26/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
Oh. I was confused because the agent-cotroller architecture in the docs showed that ostinato is the GUI and the drone is the controller. I think that was the reason that the traffic wasnt being generated. Thanks :)

Now that I run drone on h7 and tried generating traffic. But the wireshark shows empty capture and an error message. I have attached the screenshot of the error. 
error.png

Carlos G Mendioroz

unread,
Nov 26, 2015, 7:18:14 AM11/26/15
to j.s.tirodkar, ostinato
Hmm, may be you are trying to run Drone twice ? Ostinato starts Drone by
itself on the local host AFAIK.

j.s.tirodkar @ 26/11/2015 09:12 -0300 dixit:
> Oh. I was confused because the agent-cotroller architecture in the docs
> showed that ostinato is the GUI and the drone is the controller. I think
> that was the reason that the traffic wasnt being generated. Thanks :)
>
> Now that I run drone on h7 and tried generating traffic. But the
> wireshark shows empty capture and an error message. I have attached the
> screenshot of the error.
>
> On Thursday, November 26, 2015 at 3:45:34 AM UTC-8, Carlos G Mendioroz
> wrote:
>
> I would not call this a tree topology.
> You are confusing me. You say you run ostinato on h7 and drone on h2,
> but your ostinato pic is showing h7's interfaces.
>
> Ostinato is a controller, Drones are slaves. If you want to generate
> traffic from h2, you need to connect to h2's drone.
>
> j.s.ti...@gmail.com <javascript:> @ 26/11/2015 08:30 -0300 dixit:

j.s.tirodkar

unread,
Nov 26, 2015, 7:30:21 AM11/26/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
Nope. I am still getting the same error even after running just ostinato. I restarted both the topology and the ostinato on h7.

Carlos G Mendioroz

unread,
Nov 26, 2015, 3:49:26 PM11/26/15
to j.s.tirodkar, ostinato
Just downloaded mininet, installed ostinato and created a test stream
(ping) from h1 to h2 on default topology, and works as expected.
Out of curiosity, have you hit "Apply" after creating the stream ?


j.s.tirodkar @ 26/11/2015 09:30 -0300 dixit:

j.s.tirodkar

unread,
Nov 28, 2015, 5:35:23 AM11/28/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
Hello Carlos, Thanks for all the help. 
The wireshark captures aren't still working (Yes, I hit apply after creating stream),but now I can generate packets and that served my purpose. I am verifying that the packets are being sent by opening wireshark on the individual hosts.

Carlos G Mendioroz

unread,
Nov 28, 2015, 5:40:27 AM11/28/15
to j.s.tirodkar, ostinato
For the sake of helping others that might get into the same problem, it
would be nice your describing what caused your troubles!


j.s.tirodkar @ 28/11/2015 07:35 -0300 dixit:
> 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
> <mailto:ostinato+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

j.s.tirodkar

unread,
Nov 28, 2015, 5:52:02 AM11/28/15
to ostinato, j.s.ti...@gmail.com, tr...@huapi.ba.ar
I have already mentioned that in the conversation above when you cleared out the drone-controller architecture concept. 
About the wireshark error, I am still facing the same problem and have found a temporary workaround of opening wireshark on individual hosts in the topology. I will keep the group posted in case I find out what is causing the error. :)
Reply all
Reply to author
Forward
0 new messages