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

Daniel Wang wonderfly at google.com
Wed May 17 17:41:40 UTC 2017


Thanks. I filed https://github.com/systemd/systemd/issues/5979

On Wed, May 17, 2017 at 2:32 AM, Lennart Poettering <lennart at poettering.net>
wrote:

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



-- 
Best,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170517/9b29033c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4849 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170517/9b29033c/attachment.bin>


More information about the systemd-devel mailing list