[ovs-discuss] dhcp for bridge interfaces not working in 1.11.0

Gurucharan Shetty shettyg at nicira.com
Tue Oct 15 16:38:00 UTC 2013


Also,
There is an expectation that the underlying port is configured.
So during system startup, when the ifcfg-eth* is run, it will call its
bridge's ifup script and dhcp configuration happens.


On Tue, Oct 15, 2013 at 8:36 AM, Gurucharan Shetty <shettyg at nicira.com> wrote:
> You will need a
> OVSDHCPINTERFACES="eth0"
>
> From the README.rhel file:
> Enable DHCP on the bridge:
> * Needs OVSBOOTPROTO instead of BOOTPROTO.
> * All the interfaces that can reach the DHCP server
> as a space separated list in OVSDHCPINTERFACES.
>
> DEVICE=ovsbridge0
> ONBOOT=yes
> DEVICETYPE=ovs
> TYPE=OVSBridge
> OVSBOOTPROTO="dhcp"
> OVSDHCPINTERFACES="eth0"
> HOTPLUG=no
>
> On Tue, Oct 15, 2013 at 12:19 AM, Morgan Yang <Morgan.Yang at radisys.com> wrote:
>> Hi All:
>>
>>
>>
>> I have been using the following ifcfg files for 1.9.3 and 1.10.0. However,
>> after updating to 1.11.0, it seems DHCP is not working on the bridges
>> anymore. Running “ifup” manually, I don’t even see dhcp requests going on
>> the wire
>>
>>
>>
>> DEVICE=ovsbase0
>>
>> ONBOOT=yes
>>
>> DEVICETYPE=ovs
>>
>> TYPE=OVSBridge
>>
>> BOOTPROTO=dhcp
>>
>> HOTPLUG=no
>>
>>
>>
>> root at xxxxxxx:~/ovs# ifup ovsbase0
>>
>> device ovsbase0 entered promiscuous mode
>>
>> Determining IP information for ovsbase0... failed.
>>
>>
>>
>> However, running “dhclient <bridgename>” seems to work fine.
>>
>>
>>
>> Is this a result of feature change in 1.11.0?
>>
>>
>>
>> Much Thanks
>>
>> Morgan Yang
>>
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>



More information about the discuss mailing list