[ovs-discuss] Newbie question

Ansis Atteka aatteka at nicira.com
Fri Jan 6 21:28:38 UTC 2012


You might want to look here for hints -
http://veejoe.net/blog/tag/openvswitch/

On Fri, Jan 6, 2012 at 1:18 PM, Tyrion Lannister <tlannister12 at gmail.com>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.
>> > >
>>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120106/5a07c053/attachment.html>


More information about the discuss mailing list