Comment 5 for bug 1807273

Revision history for this message
Ryan Harper (raharper) wrote : Re: [Bug 1807273] Re: netplan not respecting mtu

On Thu, Dec 6, 2018 at 5:00 PM jd <email address hidden> wrote:

> That was my thinking as well and your correct. Attached are the data
> you asked for. And tested a couple different things, what i found is
> that this does not survive a reboot, but i'm guessing that netplay apply
> may get called?
>
> I remove the mtu value from the yaml file as well, but it would seem
> that some sort of netplan apply gets called on reboot.
>

Yes, it will get re-applied from the source netplan yaml
(etc/netplan/50-cloud-init.yaml).

There is upstream work to allow this to be toggled[1]. And the solution
there will
likely be storing that use-mtu: False snippet in an
/etc/systemd/network/*.network
file.

It's somewhat unlikely that folks want to drop MTU when the underlying
device
can support larger ones.

1. https://github.com/CanonicalLtd/netplan/pull/61

> Thanks for the tips.

> ** Attachment added: "Files from previous post"
>
> https://bugs.launchpad.net/netplan/+bug/1807273/+attachment/5219826/+files/launch_pad_netplan.txt
>
> --
> You received this bug notification because you are subscribed to
> netplan.
> Matching subscriptions: netplan
> https://bugs.launchpad.net/bugs/1807273
>
> Title:
> netplan not respecting mtu
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/netplan/+bug/1807273/+subscriptions
>