On Tue, Mar 17, 2015 at 6:10 AM, Kyle Fazzari <openvswi...@status.e4ward.com> wrote: > 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. correct.
>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. Official information about using 'interfaces' in section "Debian network scripts integration": https://github.com/openvswitch/ovs/blob/master/debian/openvswitch-switch.README.Debian If I remember correctly, rebooting after 'interfaces' populated properly with the bridge already created may not be a problem. If it is a problem, delete your bridge. If you worry about loosing network connectivity, change the ip address back to eth0 in the same line as the del-br command. You can also test your changes to interfaces with (ifup --allow=ovs $list_of_bridges, ifdown --allow=ovs $list_of_bridges) > > 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 > not. > > Thank you! > > Kyle > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss