<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - systemd-networkd: in [Route] section Gateway must come before Destination"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90082">90082</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-networkd: in [Route] section Gateway must come before Destination
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jyoung15@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>