[ovs-discuss] OVS bridge can not obtain the same physical interface ip by dhcp bootproto

Flavio Leitner fbl at redhat.com
Wed Nov 12 15:42:41 UTC 2014


On Tue, Nov 11, 2014 at 08:15:12AM -0800, Gurucharan Shetty wrote:
> On Mon, Nov 10, 2014 at 12:14 AM, huwei.xtu at gmail.com
> <huwei.xtu at gmail.com> wrote:
> > Hi,
> > I have a requirement to move the interface ip address to ovs bridge by
> > ifcfg-ethX file's configuration. In some of my environment the following
> > configuration can move the ip address to bridge, but some can not.
> > ifcfg-br-ex:
> > DEVICE=br-ex
> > ONBOOT=yes
> > NM_CONTROLLED=yes
> > BOOTPROTO=dhcp
> > HWADDR=00:50:56:B2:3C:5F
> > OVS_EXTRA="set Bridge br-ex other-config:hwaddr=$HWADDR"

The above is not needed.  Just pass:
MACADDR=00:50:56:B2:3C:5F

> > TYPE=OVSBridge
> > DEVICETYPE=ovs
> Have a look at the examples here:
> https://github.com/openvswitch/ovs/blob/master/rhel/README.RHEL
> The examples ask you to use OVSBOOTPROTO instead of BOOTPROTO and then
> to use OVSDHCPINTERFACES.

Exactly.
fbl




More information about the discuss mailing list