[ovs-dev] [PATCH v4 0/4] Support native dhcp in ovn controller

Numan Siddique nusiddiq at redhat.com
Mon Mar 28 14:16:59 UTC 2016


On Mon, Mar 28, 2016 at 6:58 PM, Russell Bryant <russell at ovn.org> wrote:

>
>
> On Thu, Mar 17, 2016 at 2:34 AM, Numan Siddique <nusiddiq at redhat.com>
> wrote:
>
>> On 03/16/2016 10:44 PM, Russell Bryant wrote:
>> > It could also be this:
>> >
>> > dhcp_offer(offer_ip=10.0.0.3, netmask=255.255.255.0, mtu=1300,
>> > dns={8.8.8.8, 7.7.7.7});
>>
>> Thanks. This seems better to me.
>>
>
> Where do you get the source MAC and IP for the DHCP responses?
>
>
​For the initial testing I had harcoded source MAC to some value and left
the source ip unchanged i.e it 0.0.0.0

https://github.com/numansiddique/ovs/blob/dhcp_pause_rfc_working/ovn/northd/ovn-northd.c#L1132

I think it should be ok if the ovn-controller sets the source ip to
0.0.0.0, but not sure what should be set for source mac.

​



More information about the dev mailing list