The physical switch that the hosts are connected to, need to be configured
as trunk ports, and allow trunking for all VLANS.

 

Robert Foote

Chief Technical Officer

Phone | 1-800-611-8763 Ext. 201

www.bpsnode.com

 

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Jhon
Masschelein
Sent: Monday, October 20, 2014 11:27 AM
To: users@lists.opennebula.org
Subject: [one-users] Opennebula + OpenVSwitch + FLoodlight with multiple
hosts

 

Hi, 

 

I am trying to get OpenNebula to work using  OVS + VLAN networking, but I
cannot get VMs on different hosts to talk to each other.

 

If I just configure the OVS bridge on the host, set up the OpenNebula
virtual network as an OVS network and add the hosts using the OVS driver,
everything works within a host. Any VMs running on that host can talk to
each other.

 

Also, the two hosts themselves can talk to each other using the ip address
assigned to the OVS bridge device.

 

But a vm on one host cannot ping a VM on the other host.

 

A number of internet resources like
http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/
would seem to indicate that this should work, but it does not, at least not
for me.

 

As a next step, I set up a Floodlight openflow controller. 

With the above setup, I assign the controller to the OVSwitches and almost
immediately, all running VMs are able to talk to each other.

 

However, any VM's I start after the Floodlight controller has started, are
again confined to their respective hosts.

A restart of the Floodlght controller fixes it again: all VM's (old and new)
are able to talk to each other.

 

 

Of course, restarting floodlight every time does not seem to be the right
way of doing this. I also reconfigured floodlight to "learning switch mode"
but that did not change anything.

I do see the ports added to the switches when the new VMs come up, but
nothing more.

 

Has anybody  been able to get this setup to work? Is an openflow controller
like floodlight required to get this to work reliably? 

FYI; the floodlight controller is not controlling the switch that is sitting
between the hosts. I am not sure if this is even relevant since the web page
I mentioned above indicates it should all work without a controller. If it
can be made to work without the need for an external controller like
floodlight, that would be totally acceptable.

 

If anyone has been able to make a OVS setup work, I would be very grateful
for any information you can pass my way.

 

Best regards,

 

Jhon Masschelein 

 

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to