Bug 89506

Summary: systemd network: MTUBytes ignored for NetDev kind "gre"
Product: systemd Reporter: linus.luessing
Component: generalAssignee: Tom Gundersen <teg>
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.