[systemd-devel] Why is default route scope RT_SCOPE_UNIVERSE?

Lennart Poettering lennart at poettering.net
Wed May 17 09:32:43 UTC 2017


On Tue, 16.05.17 10:45, Daniel Wang (wonderfly at google.com) wrote:

> Following up on this, the "ip route" command has some intelligence of
> deciding what scope to use for a route, depending on its type. Does it make
> sense for systemd to do something similar?
> 
> https://linux.die.net/man/8/ip
> 
> ```
> scope SCOPE_VAL
>     the scope of the destinations covered by the route prefix. SCOPE_VAL
> may be a number or a string from the file /etc/iproute2/rt_scopes. If this
> parameter is omitted, ip assumes scope global for all gatewayed unicast
> routes, scope link for direct unicast and broadcast routes and scope host
> for local routes.
> ```

Could you please file an RFE bug on github regarding this?

(Even better, provide a patch... ;-) )

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list