Is bond interface on top of VLAN a supported configuration?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux (Any version)

Issue

  • Is it possible to configure bond on top of vlan interfaces ?
  • Is below configuration supported by Red Hat?
[root@host]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=X.X.X.X
NETWORK=X.X.X.X
BONDING_OPTS="mode=<any-mode> miimon=100"
[...]

[root@host]# cat /etc/sysconfig/network-scripts/ifcfg-eth4
# QLogic Corp. cLOM8214 1/10GbE Controller
DEVICE=eth4
BOOTPROTO=none
ONBOOT=no
USERCTL=no
TYPE=Ethernet

[root@host]# cat /etc/sysconfig/network-scripts/ifcfg-eth4.28
# QLogic Corp. cLOM8214 1/10GbE Controller
DEVICE=eth4.28
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
VLAN=yes

[root@host]# cat /etc/sysconfig/network-scripts/ifcfg-eth5
# QLogic Corp. cLOM8214 1/10GbE Controller
DEVICE=eth5
BOOTPROTO=none
ONBOOT=no
USERCTL=no
TYPE=Ethernet

[root@host]# cat /etc/sysconfig/network-scripts/ifcfg-eth5.28
# QLogic Corp. cLOM8214 1/10GbE Controller
DEVICE=eth5.28
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes

Resolution

  • Configuring bond interface on top of VLAN is not a supported configuration. It technically may work but such a configuration will not be supported by Red Hat.
  • The supported configuration is to create VLAN device over bonded interface. More details how to perform this can be found here.

Diagnostic Steps

  • Check the current bonding and VLAN configuration done in the system.
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.