LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-14-2018, 02:10 PM   #1
camison
LQ Newbie
 
Registered: Dec 2018
Posts: 4

Rep: Reputation: Disabled
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.

Can you help me?

Thanks and best regards

Last edited by camison; 12-14-2018 at 02:38 PM.
 
Old 12-14-2018, 03:14 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Could you post your configuration for the ports? Would help seeing what you are trying to do from a configuration standpoint.
 
Old 12-15-2018, 11:45 AM   #3
camison
LQ Newbie
 
Registered: Dec 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
[root@XXXXXXXXX network-scripts]# cat ifcfg-bondHB521

##################Bonding de RAC. VLAN InterConnect

DEVICE=bondHB521

TYPE=Bond

BOOTPROTO=none

BONDING_MASTER=yes

ONBOOT=yes

DEFROUTE=no

name=bondHB521

IPADDR=172.XXX.XXX.XXX

PREFIX=28

[root@XXXXXXXXX network-scripts]# cat ifcfg-em3_2.521

############## Red de RAC. VLAN InterConnect

TYPE=Vlan

VLAN=yes

PHYSDEV=em3_2

VLAN_ID=521

PROXY_METHOD=none

BROWSER_ONLY=no

IPV4_FAILURE_FATAL=no

NAME=em3_2.521

UUID=bae51585-93c1-4ab3-9ed9-f1261b2f8f91

ONBOOT=yes

MASTER=bondHB521

SLAVE=yes


[root@XXXXXXXXX network-scripts]# cat ifcfg-em4_2.521

############## Red de RAC. VLAN InterConnect

TYPE=Vlan

VLAN=yes

PHYSDEV=em4_2

VLAN_ID=521

PROXY_METHOD=none

BROWSER_ONLY=no

IPV4_FAILURE_FATAL=no

NAME=em4_2.521

UUID=dd956a5b-bc80-4d80-b44a-6069a69cc128

ONBOOT=yes

MASTER=bondHB521

SLAVE=yes
 
Old 12-16-2018, 10:34 AM   #4
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
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?
 
Old 12-16-2018, 01:07 PM   #5
camison
LQ Newbie
 
Registered: Dec 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
I put the variable MTU = 9000 in both interfaces and in the bonding and it did not work.

Then I did it with "nmcli" changing the 802-3-ethernet.mtu to 9000, but it did not work either. Give the same error in both cases: out of range.

Thank you
 
Old 12-16-2018, 03:28 PM   #6
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
ok try this command and share

Code:
ip link set mtu 9000 dev <BOND INTERFACE>

ip link show dev <INTERFACE>
Lets see if you can set it from the command line.
 
Old 12-17-2018, 02:31 AM   #7
camison
LQ Newbie
 
Registered: Dec 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
I had already tried :-(

# 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.

Last edited by camison; 12-17-2018 at 02:47 AM.
 
Old 12-17-2018, 05:41 PM   #8
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I'm not finding anything on the web for this that matches what you are experiencing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is bond0 ready and a bonding interface? - Bonding Problems (RPI) Elliottlc Linux - Networking 6 10-24-2014 06:04 AM
Is bond0 ready and a bonding interface? - 4G Bonding Router Problems Elliottlc Linux - Networking 5 10-22-2014 02:37 PM
bonding bonding-xor and bonding-alb Chrysalis Linux - Networking 1 10-24-2009 02:14 PM
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 09:59 AM
LXer: How to Change MTU (Maximum Transmission Unit) of network interface in Ubuntu Li LXer Syndicated Linux News 0 08-16-2008 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration