Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4220 - MTU > 1500 settings are missing for WAN and LANx mt7621 #9201

Closed
openwrt-bot opened this issue Jan 7, 2022 · 2 comments
Closed

FS#4220 - MTU > 1500 settings are missing for WAN and LANx mt7621 #9201

openwrt-bot opened this issue Jan 7, 2022 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jan 7, 2022

nicefile:

Dir878 /882 /882-r1 (mt7530)
OpenWrt SNAPSHOT, r18502-53b87a7a28 but seems linux 5.10 builds are afected as 5.4 kernel it's fine.

There is issue with setting MTU to 1508 for DSA driver to be rfc4638 compatibile

root@OpenWrt:# ifconfig br-lan mtu 1508
root@OpenWrt:
# ifconfig eth0 mtu 1508
root@OpenWrt:~# ifconfig LAN2 mtu 1508
ifconfig: SIOCSIFMTU: Invalid argument

But even then MTU > 1500 seem to work for lan side.

root@OpenWrt:~# fping -s -M -b 1473 192.168.1.3
192.168.1.3 is alive

But to be able to use rfc4638 pppoe WAN must be set to 1508
root@OpenWrt:~# ifconfig wan mtu 1508
ifconfig: SIOCSIFMTU: Invalid argument

PPPoE session is always connecting with MTU 1492

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Feb 3, 2022

abajk:

@nicefile Changing the MTU value is supported since 5.11. Try to backport [[https://github.com/torvalds/linux/commit/9470174e7581e75a8ebd78964997314dfc2e706c#diff-35d2b0dd263dfe166663a9af8babdaebc5c43f0698cf6c73eb531079e0fbf4da|this commit]].

@abajk
Copy link
Contributor

@abajk abajk commented Feb 22, 2022

Fixed in commit: 637a3aa.

@jow- jow- closed this as completed Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants