[systemd-devel] [PATCH] Add support for DHCP static route options in networkd

Eugene Yakubovich eyakubovich at gmail.com
Thu Jun 26 12:49:21 PDT 2014


On Thu, Jun 26, 2014 at 11:17 AM, Lennart Poettering
<lennart at poettering.net> wrote:

> I am tempted to say that we should try to apply as much information from
> DHCP as we can by default, but make sure it doesn't become a security
> problem. i.e. we should probably use metrics or so so that manual routes
> always win, or routes to other interfaces.

I think using metrics is a good idea. Are there some accepted
guidelines on what reasonable
values for route metrics should be? Static routes (from [Route]) are
added with 0, what would
a good value for DHCP routes be? 100? 1000?

>
> I can see that it might make sense to turn this off, though I would
> probably not have bothered if I had done the patch myself. So, yeah,
> opt-out sounds good to me.

I'll make this change.


More information about the systemd-devel mailing list