[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>
wrote:

> 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 25.225.105.222 dev wwan0 proto static src 25.225.105.221 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
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list