"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 <b...@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@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss