Jhon Masschelein <[email protected]> schreef op 20 oktober 2014 17:26:56 CEST: >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.
Sure, this indeed should be working out of the box. Can you send the output of "ovs-ofctl dump-flows bridge-name" of the hypervisors? And "ovs-vsctl show"? Do you make use of the "mac-spoofing" and "IP hijacking prevention" features of ONE /openvswitch? Gr. Stefan _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
