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

Lennart Poettering lennart at poettering.net
Fri Jun 27 10:58:54 PDT 2014


On Thu, 26.06.14 12:49, Eugene Yakubovich (eyakubovich at gmail.com) wrote:

> 
> 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?

Hmm, something in the middle of the range, I figure, that is still nice
to type and look at for whatever that is. pick something... Also I
figure the default route added due to dhcp config should also use this
same metric. 

But I figure Tom might have to say something about this?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list