[systemd-devel] [PATCH] networkd: allow specification of DHCP route metric

Lennart Poettering lennart at poettering.net
Wed Oct 22 09:27:49 PDT 2014


On Mon, 08.09.14 15:09, Tom Gundersen (teg at jklm.no) wrote:

> Applied. Thanks!

Hmm, the route metric for dhcp routes is now configurable. But what
about implied routes created due to static IP configuration?

I wonder if it wouldn't be a better idea to move RouteMetric= from the
[DHCP] section into the [Network] section, and make it affect all
routes, regardless if created implicitly due to static IP
configuration, or if created due to DHCP configuration or created via
explicit [Route] blocks. (Of course, the latter should allow
individual overrides, and they already do...)

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list