Whether configuring bond on top of VLAN as slave interfaces is a valid configuration ?

Solution Verified - Updated -

Issue

  • Can bond on top of vlan interfaces be configured ?
  • Why is bond on top of VLAN tagged slaves, not a supported configuration?
  • Below is the configuration in which the vlan interfaces are configured on slave interfaces of bond.
[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
  • Is above configuration supported by Red Hat?

Environment

  • Red Hat Enterprise Linux (Any version)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.