[systemd-devel] configuring nspawn private network (mtu & mac)
Ede Wolf
listac at nebelschwaden.de
Mon Jul 1 14:07:27 UTC 2024
Hello,
I am having two container connected via private network to a bridge with
a mtu of 8k.
However the .nspawn generated interfaces have the default mtu of 1500.
And while I can manually adjust the mtu to 8k using the ip link command,
I am wondering, wethere there is a way to specify the mtu right in first
place?
Having "MTUBytes=8192" inside the containers host0.network does not do
the trick. While the mtu inside the container is shown as 8k, the hosts
still lists the interface with an mtu of 1500 - and this of course
creates problems.
And, while we are at it, is there a way to specify the mac as well?
Thanks
Ede
More information about the systemd-devel
mailing list