[systemd-bugs] [Bug 88508] New: systemd-network: please make route’s scope configurable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 16 11:27:58 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88508

            Bug ID: 88508
           Summary: systemd-network: please make route’s scope
                    configurable
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: michael+freedesktop at stapelberg.de
        QA Contact: systemd-bugs at lists.freedesktop.org

in networkd-route.c:route_new_static(), you currently set

        route->scope = RT_SCOPE_UNIVERSE;

Which sets up the following route:

localhost core # ip -4 route show
192.168.23.23 dev eth0 

…with this configuration:

    [Route]
    Destination=192.168.23.23/32

However, for my network setup, I need a route that is scoped to the link:

localhost core # ip -4 route delete 192.168.23.23 dev eth0
localhost core # ip -4 route add 192.168.23.23 dev eth0
localhost core # ip -4 route show
192.168.23.23 dev eth0  scope link 

…otherwise, I cannot set 192.168.23.23 as my default gateway.

Therefore, may I ask you to follow ip(8) in behavior, or make the route scope
configurable please?

See http://michael.stapelberg.de/Artikel/kvm_best_practices_2012/ for the
environment this is running in.

Thanks!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150116/76c38281/attachment.html>


More information about the systemd-bugs mailing list