VLAN MTU 1400

Janko

Dabbler
Joined
Nov 27, 2018
Messages
31
Hello All,

the Hetzner VLAN need a MTU 1400 Size.
I can only set 1492 as minimum.

How can i set 1400?


Version: FreeNAS-11.3-U3.2
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Without knowing your setup, I ask are you using NIC option mtu or vlanmtu? These are NIC driver specific. What NIC are you using?
 

Janko

Dabbler
Joined
Nov 27, 2018
Messages
31
Hello Samuel,

sorry, my fault.

Code:
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3


- VLAN MTU

i can set the 1400 Size under FreeNAS-11.2-U7 without any issues.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401

Realtek NIC are not recommended for FreeNAS. They have a lot of problems. You are highly encouraged to replace it with an Intel NIC...
 

Janko

Dabbler
Joined
Nov 27, 2018
Messages
31

Attachments

  • mtu.png
    mtu.png
    52.5 KB · Views: 405
  • mtu_old.png
    mtu_old.png
    40.1 KB · Views: 343

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Unfortunately, this limit of 1492 for option mtu appears to be hard-coded in /usr/local/lib/python3.7/site-packages/middlewared/plugins/network.py, line 708, in FreeNAS 11.3.

Option vlanmtu is NOT restricted. You'll need to set option vlanmtu 1400 on the parent NIC re0.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Alternatively, you could create a post-init task to ifconfig vlan4001 mtu 1400.
 

Janko

Dabbler
Joined
Nov 27, 2018
Messages
31
Hello Samuel,

if i set it via Options, the Server goes offline.
The post-init Task works fine!

Thank you so much :)
 
Top