Can't ping between 2 hosts using ovs

126 views
Skip to first unread message

Fei Xie

unread,
Mar 4, 2014, 6:30:46 PM3/4/14
to geni-...@googlegroups.com
I followed the tutorial http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS/Execute and set up the topology.

When I was doing 2b "sudo ovs-vsctl list-br", it was saying  connection failed, so I installed ovs with this tutorial http://groups.geni.net/geni/wiki/HowTo/InstallOVSInProtoGENI
After that, I'm able to add a bridge and configure the switch.
When I was 3b, I realized that there is no pox installed in the vm. So I git clone it from https://github.com/noxrepo/pox
Then I run "./pox.py --verbose forwarding.l2_learning" in switch and got the message:

s:~/pox% ./pox.py --verbose forwarding.l2_learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
DEBUG:core:POX 0.2.0 (carp) going up...
DEBUG:core:Running on CPython (2.7.3/Apr 20 2012 22:39:59)
DEBUG:core:Platform is Linux-3.2.0-56-generic-x86_64-with-Ubuntu-12.04-precise
INFO:core:POX 0.2.0 (carp) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633

But when I login to H1 and ping H2, it doesn't work.

Any help on this? Thank you so much!

Niky Riga

unread,
Mar 6, 2014, 4:46:28 PM3/6/14
to geni-...@googlegroups.com
Hi Fei,

From your discription it looks like that your OVS node was not loaded
with the appropriate image.

How did you do the reservation? Did you use the correct rspec:
http://www.gpolab.bbn.com/exp/OpenFlowOVS/openflowovs-xen-vz.rspec

From the output of pox i see that your switch is not being connected to
the controller. Try using the above rspec and if you are still having
troubles please let us know.

Best,
Niky

Fei Xie wrote:
> I followed the tutorial
> http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/OpenFlowOVS/Execute
> and set up the
> topology.<https://lh4.googleusercontent.com/-zXWx8ZvRDfE/UxZggvibAzI/AAAAAAAAAA4/7aN66Rx1fXA/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D%E5%9B%BE%E7%89%87.png>
>
> When I was doing 2b "sudo ovs-vsctl list-br", it was saying connection
> failed, so I installed ovs with this tutorial
> http://groups.geni.net/geni/wiki/HowTo/InstallOVSInProtoGENI
> After that, I'm able to add a bridge and configure the switch.
> When I was 3b, I realized that there is no pox installed in the vm. So I
> git clone it from https://github.com/noxrepo/pox
> Then I run "./pox.py --verbose forwarding.l2_learning" in switch and got
> the message:
>
> s:~/pox% ./pox.py --verbose forwarding.l2_learning
> POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
> DEBUG:core:POX 0.2.0 (carp) going up...
> DEBUG:core:Running on CPython (2.7.3/Apr 20 2012 22:39:59)
> DEBUG:core:Platform is
> Linux-3.2.0-56-generic-x86_64-with-Ubuntu-12.04-precise
> INFO:core:POX 0.2.0 (carp) is up.
> DEBUG:openflow.of_01:Listening on 0.0.0.0:6633 <http://0.0.0.0:6633/>
>
> But when I login to H1 and ping H2, it doesn't work.
>
> Any help on this? Thank you so much!
>
> --
> GENI Users is a community supported mailing list, so please help by
> responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please
> review
> http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google
> Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geni-users+...@googlegroups.com
> <mailto:geni-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages