[systemd-bugs] [Bug 83172] New: systemd-networkd: Routes added before network is up fail (DHCP)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 27 20:46:04 PDT 2014


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

          Priority: medium
            Bug ID: 83172
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-networkd: Routes added before network is up
                    fail (DHCP)
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: freedesktop at techmunk.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I have this configuration on systemd 216:

[Match]
Name=eno1

[Network]
DHCP=yes

[Route]
Gateway=192.168.0.254
Destination=192.168.68.0/24


I can't recall when this stopped working correctly, but it seems that the
routes are being added before the network is up. I'm not really in a position
to push the routes via DHCP, which would obviously be a solution to this,
though is this actually expected to work correctly?

What I'm seeing in the logs is the following:

Aug 27 14:35:27 scarecrow systemd-networkd[214]: eno1            : gained
carrier
Aug 27 14:35:27 scarecrow systemd-networkd[214]: eno1            : could not
set route: Network is unreachable
Aug 27 14:35:28 scarecrow systemd-networkd[214]: eno1            : DHCPv4
address 192.168.0.7/24

So the route is being set before the address is set.

Is this actually a bug? Or something that was not anticipated i.e. it was
assumed that routes would be sent via DHCP?

-- 
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/20140828/e2beed16/attachment.html>


More information about the systemd-bugs mailing list