<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: ip6tnl does not set MTU correctly without reboot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89197">89197</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-networkd: ip6tnl does not set MTU correctly without reboot
          </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>nils@nilsschneider.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using systemd v219 when defining an ip6tnl .netdev MTUBytes is not honoured
except when the netdev is created at boot time.

Observe the MTU being set to 1452 even though 1337 is specified. After reboot,
the MTU is set correctly.

# cat ip6tnl-test.netdev 
[NetDev]
Name=ip6tnl-test
Kind=ip6tnl
MTUBytes=1337

[Tunnel]
Mode=ip6ip6
Local=2001:db8::1
Remote=2001:db8::2
# systemctl restart systemd-networkd
# ip link show ip6tnl-test
17: ip6tnl-test@eth0: <POINTOPOINT,NOARP> mtu 1452 qdisc noop state DOWN mode
DEFAULT group default 
    link/tunnel6 2001:db8::1 peer 2001:db8::2
# reboot
Connection closed.
% ssh host
# ip link show ip6tnl-test
12: ip6tnl-test@eth0: <POINTOPOINT,NOARP> mtu 1337 qdisc noop state DOWN mode
DEFAULT group default 
    link/tunnel6 2001:db8::1 peer 2001:db8::2</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>