[OpenWrt-Devel] netifd: per-interface MTU settings vs per-route MTU settings?

Michael Jones mike at meshplusplus.com
Sat May 23 15:35:42 EDT 2020

On Thu, May 21, 2020, 07:44 Aleksander Morgado <aleksander at aleksander.es>

> Hey!
> There's an ongoing discussion in the ModemManager package in github
> related to how the MTU may be configured in the network interface
> based on what the MM bearer object reports:
> https://github.com/openwrt/packages/issues/11383
> E.g.:
> $ ip route show
> default via dev wwan0 proto static src mtu
> 1430
> Looks like the protocol handler implementation for netifd may allow
> setting the MTU to the routes associated with the network interface,
> instead of assigning the MTU value to the interface itself. Are both
> methods completely equivalent? Is there any reason to avoid setting
> the MTU in the interface when using netifd, or just not implemented
> yet?
> Cheers!
> --
> Aleksander
> https://aleksander.es

I'm actually not aware of any method to set the interface MTU via netifd
that isn't a UCI setting.

There's very little documentation about the supported ubus methods and
parameter formats.

Does anyone have information on this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200523/d6a5faaa/attachment.htm>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list