[ovs-discuss] Persistent Address on OVS Bridge

Kyle Fazzari openvswitch at status.e4ward.com
Tue Mar 17 13:10:08 UTC 2015

Hello all.

This may be a bit of a newbie question, for which I apologize. When I
originally created my bridge with ovs-vsctl, I lost network
connectivity. I quickly found this:
http://openvswitch.org/pipermail/discuss/2014-April/013598.html , and
simply setting the address on br0 worked fine.

However, I want this to happen at boot time. I'm on Ubuntu 14.04. From
what I've read, it sounds like OVS maintains its own database, which
explains why after running

    ovs-vsctl add-br br0
    ovs-vsctl add-port br0 eth0

when I reboot, br0 still exists. However, I'd like br0 to have an
address when it comes back up. If it was a regular interface obviously
I'd put this information in /etc/network/interfaces, but it's not.
However, I've seen articles like this
(http://www.opencloudblog.com/?p=240) that imply that I could
configure this all via /etc/network/interfaces, but I didn't do it
that way initially and now my database already has the bridge defined.

What do I do? I just want to specify a static IP address for br0 when
it comes up at boot, whether it's in my /etc/network/interfaces or

Thank you!


More information about the discuss mailing list