Bug 89506 - systemd network: MTUBytes ignored for NetDev kind "gre"
Summary: systemd network: MTUBytes ignored for NetDev kind "gre"
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Tom Gundersen
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 21:26 UTC by linus.luessing
Modified: 2019-08-19 10:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description linus.luessing 2015-03-09 21:26:48 UTC
We are having a recent Arch Linux here, but unfortunately the MTUBytes option seems to get ignored for GRE tunnels:

-----
$ cat /etc/systemd/network/31-somename.netdev
[NetDev]
Name=somename
Kind=gre
MTUBytes=1400

[Tunnel]
Local=xxx.xxx.xxx.xxx
Remote=yyy.yyy.yyy.yyy
TTL=64
-----

Even after a complete system reboot the MTU is set to 1476 instead of 1400.


Systemd packages:
-----
$ pacman -Qs "systemd"
local/libsystemd 218-2
    systemd client libraries
local/systemd 218-2
    system and service manager
local/systemd-sysvcompat 218-2 (base)
    sysvinit compat for systemd
-----
Comment 1 Lennart Poettering 2019-08-19 10:17:00 UTC
I am pretty sure this has long been fixed, the current code explicitly sets IFLA_MTU for all interfaces that are created. If this still is a problem, please open a new issue on the github instance.


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.