<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 21, 2020, 07:44 Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey!<br>
<br>
There's an ongoing discussion in the ModemManager package in github<br>
related to how the MTU may be configured in the network interface<br>
based on what the MM bearer object reports:<br>
<a href="https://github.com/openwrt/packages/issues/11383" rel="noreferrer noreferrer" target="_blank">https://github.com/openwrt/packages/issues/11383</a><br>
<br>
E.g.:<br>
<br>
$ ip route show<br>
default via 25.225.105.222 dev wwan0 proto static src 25.225.105.221 mtu 1430<br>
<br>
Looks like the protocol handler implementation for netifd may allow<br>
setting the MTU to the routes associated with the network interface,<br>
instead of assigning the MTU value to the interface itself. Are both<br>
methods completely equivalent? Is there any reason to avoid setting<br>
the MTU in the interface when using netifd, or just not implemented<br>
yet?<br>
<br>
Cheers!<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer noreferrer" target="_blank">https://aleksander.es</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I'm actually not aware of any method to set the interface MTU via netifd that isn't a UCI setting.</div><div dir="auto"><br></div><div dir="auto">There's very little documentation about the supported ubus methods and parameter formats.</div><div dir="auto"><br></div><div dir="auto">Does anyone have information on this?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></div>