On Fri, Mar 3, 2017 at 7:04 AM, Dong Jun <[email protected]> wrote:

>
>
> On 2017/3/3 1:33, Ben Pfaff wrote:
>
>> On Thu, Mar 02, 2017 at 07:15:48PM +0800, Dong Jun wrote:
>>
>>> An router IP MUST be set to dhcp v4 option for option 3, but not all
>>> subnet
>>> do have a gateway IP. Furthermore,  if i set 0.0.0.0 to option as a
>>> tradeoff, the VM can obtain client ip and a gateway error log occurred
>>> meanwhile.
>>>
>>> It seems that it's not a  restriction in RFC 2132, as comparison dnsmaq
>>> can
>>> offer a no-router-ip option.
>>>
>>> So could ovn remove this restriction or is there anther way to meet the
>>> requirement?
>>>
>> It took me a while to figure out what you're talking about.  Are you
>> asking whether options:router could be changed from mandatory to
>> optional in the DHCP_Options table for DHCPv4?
>>
> Yes, i think it's better to be optional.


​Looking into the RFC 2132, it doesn't mandate this option. Also dhcp
option 121 (classless static routes) can be used by the client for the same
purpose and when both option 3 and 121 are present, client should give
preference to option 121.
I think
​
router dhcp option
can be optional.

Thanks
Numan

 ​


>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to