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

Morgan Yang Morgan.Yang at radisys.com
Fri Oct 18 00:26:51 UTC 2013


Thanks Guru, this is great information!

-----Original Message-----
From: Gurucharan Shetty [mailto:shettyg at nicira.com] 
Sent: Tuesday, October 15, 2013 12:44 PM
To: Morgan Yang
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] dhcp for bridge interfaces not working in 1.11.0

On Tue, Oct 15, 2013 at 11:02 AM, Morgan Yang <Morgan.Yang at radisys.com> wrote:
> Thanks Guru:
>
> Would you know which document would contain all the "OVS" specific parameters one can configure/set in ifcfg? I was using the ifup-ovs scripts but I was wondering if there's something more specific.

The README.RHEL should have them. The file is version controlled. You can either read it directly in the repo at rhel/. or on the installed system at /usr/share/doc/openvswitch-$version/.


>
> Much Thanks
> Morgan Yang
>
> -----Original Message-----
> From: Gurucharan Shetty [mailto:shettyg at nicira.com]
> Sent: Tuesday, October 15, 2013 9:38 AM
> To: Morgan Yang
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] dhcp for bridge interfaces not working in 
> 1.11.0
>
> 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