[ovs-discuss] Port added to bridge must keep same IP at all times

Felipe Arturo Polanco felipeapolanco at gmail.com
Sun Nov 20 01:50:40 UTC 2016


Hello,

I'm facing some issues when trying to implement VRRP in OpenNebula with an
OVS bridge underneath.

I have observed that once I assign an interface to my ovsbr1 bridge, that
interface can passthrough the bridge as long as it keeps the same IP, once
I change the IP of that interface the communication is broken.

I'm using this with OpenNebula 5.2 and OVS 2.5.1

My setup is the following:

ethernet device:p3p1
OVS bridge: ovsbr1
Virtual Machine port: one-34-0

commands used to setup:
>ifconfig p3p1 0.0.0.0 up
>ovs-vsctl add-br ovsbr1
>ovs-vsctl add-port ovsbr1 p3p1
>ifconfig ovsbr1 192.168.0.1 netmask 255.255.255.0 up
...run VM and attach IP to VM interface 192.168.0.5.....
from the guest VM >ping 192.168.0.1 successful
from the guest VM >ifconfig eth0 192.168.0.6
form the guest VM >ping 192.168.0.1 not successful

If I return the interface to 192.168.0.5 it works again.

Any ideas of what might be happening here?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20161119/fe0b7413/attachment.html>


More information about the discuss mailing list