Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4547

Advanced users • Jumbo frames on PI5 - how to persist this setting?

$
0
0
Others have succeeded (posting.php?mode=reply&t=358626#preview) to set the built-in ethernet adapter to accept jumbo frames (mtu=9000)
I have also managed to setup jumbo packets on pi5 (bookworm).
Using these ifconfig commands from a terminal

Code:

user@pi105:~ $ sudo ifconfig -v eth0 downuser@pi105:~ $ sudo ifconfig -v eth0 mtu 9000user@pi105:~ $ sudo ifconfig -v eth0 upand here is the output from ifconfig confirming the MTU=9000eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000        inet 192.168.49.214  netmask 255.255.255.0  broadcast 192.168.49.255.....
It also appears to work using ping from a windows machine:
ping 192.168.49.214 -f -l 8972
(although it does not accept 9000 bytes only up to 8972)

But the main problem is how to make this configuration of MTU=9000 to be persistent from boot to boot. Wonder if someone has got this to work.
I have used the NetworkManager via its graphical interface
$sudo nmtui
to update the configuration file "/etc/NetworkManager/system-connections/Wired connection 1.nmconnection"
to hold the lines

Code:

[ethernet]mtu=9000
This is the recommended way to for instance set a fixed ip address so also mtu ought to work - but it does not- the MTU falls back to 1500 after a reboot.

Anyone with an idea to why setting a persisten mtu is not working

Statistics: Posted by h.larsen — Thu Mar 28, 2024 11:36 pm — Replies 1 — Views 31



Viewing all articles
Browse latest Browse all 4547

Trending Articles