Overview: In a .network file [Route] section, if the Destination= directive is specified before the Gateway= directive the former is ignored. The documentation does not explicitly state that the Gateway must come before the Destination. Steps to Reproduce: Add Route section to .network file with Destination listed first. [Route] Destination=x.x.x.x Gateway=x.x.x.x Actual Results: Default route is added for gateway. Destination is ignored. Expected Results: Static route is added for specified destination Version: $ /usr/lib/systemd/systemd --version systemd 216 +PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN $ uname -a Linux xxxx 3.17.7-gentoo #1 SMP Mon Jan 5 12:29:29 EST 2015 x86_64 AMD Opteron(tm) Processor 4122 AuthenticAMD GNU/Linux
I am pretty sure this has long been fixed in current networkd versions. if this is reproducible in the two most recent systemd upstream versions, please file a new issue in systemd github. thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.