[ovs-discuss] OVN DHCP implementation ignores broadcast bit

Greg Rose gvrose8192 at gmail.com
Wed Jul 5 10:35:11 UTC 2017

On Tue, Jul 4, 2017 at 2:00 AM, Alex Jones <ajones at genband.com> wrote:

> Hi All,
>   I have OVN up and running (version 2.7), and it is working well except
> for one case. We have a VM which uses its own IP stack and does not accept
> unicast DHCP offers. After examining the OVN code, I found that it
> currently doesn't support the broadcast bit if set by the client.
>   I didn't see any bugs regarding this, so I did a patch myself. The patch
> modifies put_dhcp_options to return 2 if the broadcast bit was set in the
> DISCOVER/REQUEST, and 1 if not set (both indicate success). Then I modified
> the current logical flow to check if the return code is 1, then execute the
> current logical flow. I added a new logical flow to handle the broadcast
> bit set case. If the return value from put_dhcp_options is 2, the new flow
> is executed which sets the dest MAC and dest IP to broadcast.
>   I'd like to submit this. Do I just post it here?
> Alex
​Patches should be posted to the Open vSwitch dev list -
ovs-dev at openvswitch.org​


- Greg

> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170705/13a440d3/attachment.html>

More information about the discuss mailing list