[ovs-discuss] Newbie question

Tyrion Lannister tlannister12 at gmail.com
Fri Jan 6 02:22:38 UTC 2012


<Sorry forgot to copy the list>

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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120105/e70f23b3/attachment.html>


More information about the discuss mailing list