Change MTU a 9000 in interface with bonding and VLAN_ID
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Change MTU a 9000 in interface with bonding and VLAN_ID
Good afternoon:
I have a redhat 7.4 and I have created a bonding with two interfaces that are configured by VLAN_ID, since several VLANs pass through there and I have to "tagging".
The problem is that I need to change the MTU to 9000 and it gives me an out of range error. I have put the parameter in the interfaces and in the bonding, but they do not raise them. The Bonding appears with MTU 9000, but it does not raise it and also the interfaces that are part of Bonding. And the physical interfaces follow MTU 1500.
I have been reading that with interfaces configured with VLANes it can not be done, but I find it super weird that it can not be done.
OK, your VLAN tagging should be done on the Bond interface as that is the only interface that counts for the connection. Where are you setting the MTU's at? can you show your command and where you are placing it?
# ip link show dev bondHB525
26: bondHB525: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT qlen 1000
link/ether 54:48:10:1b:e3:53 brd ff:ff:ff:ff:ff:ff
# ip link set mtu 9000 dev bondHB525 RTNETLINK answers: Numerical result out of range
Several VLANs pass through each physical interface. It is possible that this is the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.