[ovs-discuss] Newbie question

Ben Pfaff blp at nicira.com
Fri Jan 6 21:32:09 UTC 2012


There shouldn't be any loss of functionality.  It just means that you
can also use brctl, etc., to control OVS.

On Fri, Jan 06, 2012 at 01:31:00PM -0800, Tyrion Lannister wrote:
> Thanks. I will try with brcompatd. Just to make sure, does having brcompatd
> instead of a regular ovs mean loss of functionality or it is everything ovs
> provides + linux bridge?
> 
> Tyrion
> 
> On Fri, Jan 6, 2012 at 1:19 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > OVS doesn't yet integrate well with libvirt.  You can kluge it through
> > brcompatd, I think.
> >
> > On Fri, Jan 06, 2012 at 01:18:36PM -0800, Tyrion Lannister wrote:
> > > Thanks. This worked. Now I cannot create VMs using virt-install or
> > > virt-manager. Is this not supported? With virt-install, I get an error
> > > saying
> > > "Failed to add tap interface to bridge. br0 is not a bridge device"
> > >
> > > As per the instructions, I have removed the bridge module and want to use
> > > the ovs. I see the source has this thing called ovsbrcompat, but I am not
> > > necessarily looking to get the linux bridge compatibility.
> > >
> > > Tyrion
> > >
> > > On Thu, Jan 5, 2012 at 7:51 PM, Ben Pfaff <blp at nicira.com> wrote:
> > >
> > > > "dhclient br0" should work.  This is the same behavior as the Linux
> > > > bridge, so if you've used that, then this works the same way.
> > > >
> > > > rhel/README.RHEL in the source distribution has some information on Red
> > > > Hat network script integration.  It was contributed; I haven't
> > > > personally tried it.
> > > >
> > > > On Thu, Jan 05, 2012 at 06:22:38PM -0800, Tyrion Lannister wrote:
> > > > > Thanks. But the IP is coming from DHCP. How do I enable DHCP on the
> > > > bridge?
> > > > > And how do I prevent eth0 from getting that IP address? I am
> > assuming I
> > > > > dont have to go muck with ifcfg-eth0 under
> > /etc/sysconfig/network-scripts
> > > > > nor do I have to create ifcfg-br0 in the same place.
> > > > >
> > > > > Tyrion
> > > > >
> > > > > On Thu, Jan 5, 2012 at 6:08 PM, Ben Pfaff <blp at nicira.com> wrote:
> > > > >
> > > > > > On Thu, Jan 05, 2012 at 06:03:02PM -0800, Tyrion Lannister wrote:
> > > > > > > I just installed OpenVswitch 1.3.0 on Centos 6 with KVM QEMU. I
> > have
> > > > some
> > > > > > > basic questions:
> > > > > > >
> > > > > > > 1) I add a bridge br0 - ovs-vsctl add-br br0
> > > > > > > 2) I attach eth0 to br0 - ovs-vsctl add-port br0 eth0
> > > > > > >
> > > > > > > I havent added any VMs yet, but I expect to still reach the
> > > > hypervisor
> > > > > > > using IP.
> > > > > > >
> > > > > > > eth0 is getting an IP address from the network using DHCP. But
> > it is
> > > > not
> > > > > > > pingable anymore.
> > > > > > >
> > > > > > > Shouldnt eth0 be a slave of br0 at this point. Shouldnt it be
> > bridge0
> > > > > > that
> > > > > > > should own the address? How does one talk to the hypervisor at
> > this
> > > > > > point?
> > > > > >
> > > > > > Yes.  Put the IP address on br0.
> > > > > >
> > > >
> >



More information about the discuss mailing list