Hi all,
I'd like to raise the MTU of ethX
to at least 1532, ideally 2304, to encapsulate BATMAN, etc.
Some of the VLANs on ethX
will then get a lower MTU.
On ArcherC7v5 (trunk-snapshot) this works, but only up to MTU 1516.
On RB2011 (1907-snapshot) no raising above 1500 is possible.
For the ag71xx there is an ancient bug report about not being able to reach higher than 4070 , whereas I'm only aiming for 2304 .
I'm aiming for 2304, because that is the MTU of the other BATMAN hard_if backhaul. But, I'd be happy with anything >1536, so that i can encapsulate BatmanWithVLAN packets without fragmentation. Else the performance on BATMAN mesh is really bad.
For the RB2011 the official docs quote a max MTU of 4074 on the GE interface and switch. The official firmware by default runs the ports in MTU 1598.
The Archer c7 v5 is running an ath79 trunk-snaphot from today, the RB2011 the latest ar71xx 1907-snapshot.
This is setup in /etc/config/network
:
config device 'eth0_dev'
option ifname 'eth0'
option mtu '2308' # 1516 is the max value, that works here
config device 'bhi_eth0_4_dev'
option name 'eth0.4'
option mtu '2304' # Attempting to set MTU on VLAN to "eth0 - 4"
option macaddr '98:da:c4:33:44:55'
config device 'some_dev'
option name 'eth0.5'
option mtu '1500' # Attempting to set MTU on VLAN 5 to normal 1500
option macaddr '98:da:c4:33:44:77'
So, could somebody please indicate, how to set MTU@eth0 to 2308, or higher than 1516(1500) on ArcherC7v5/RB2011v5
Thank you
Note: Edited/detailed/cleaned/updated with new info, and will now delete my older replies to this thread.