On Mon, 20.04.15 13:17, Ian Pilcher (arequip...@gmail.com) wrote: > On 04/20/2015 01:06 PM, Lennart Poettering wrote: > >On Mon, 20.04.15 13:02, Ian Pilcher (arequip...@gmail.com) wrote: > >>I would love to be able to set the MTU of a physical interface in a > >>.network file. Is this possible? (The systemd.network(5) doesn't list > >>it.) > > > >Yes, this is supported via MTU=. This needs documentation indeed. > > Hmm. I've just tried both MTU and MTUBytes with no effect. E.g.: > > [Match] > Name=eno1 > > [Network] > Address=172.31.250.1/24 > Gateway=172.31.250.254 > DNS=172.31.250.254 > MTUBytes=5000 > > (Unless this requires something later than systemd 216 on Fedora 21.)
It needs to be in a [Link] section in the .network file. The option is indeed called MTUBytes= though. Oh, and as I see now all this is actually correctly documented in systemd.network(5)... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel