[Cialug] NIC Teaming/Bonding and Vlans

Tom Pohl tom at tcpconsulting.com
Mon Jul 9 12:47:39 CDT 2007


The first hit from google for linux bonding vlan shows returns this  
page:

http://www.linuxhorizon.ro/vlans.html

It suggests that VLANing on a bond device should work (a patch might  
be necessary?).

-Tom


On Jul 9, 2007, at 12:30 PM, Matt Patterson wrote:

> All,
>
> I have run into a problem that I'm hoping someone may have hit  
> before. I have a debian 3.1 box that I recently moved to a network  
> where NIC bonding/teaming is the standard.  I did the normal  
> configuration of making sure mii, bonding, and 8021q modules were  
> loaded and the ifenslave utility was installed.  I can setup the  
> nic bond and everything appears to be just fine.  However, when I  
> add a vlan to the bond0 device, I get the following:
>
> ERROR: trying to add VLAN #224 to IF -:bond0:-  error: Invalid  
> argument
>
> in /var/log/syslog I see:
>
> Jul  9 12:14:45 zabbix kernel: register_vlan_device: VLANs not  
> supported on bond0.
>
> Normally I would accept that as being the case that maybe the NICs  
> just don't support vlans or something is screwed up with the vlan  
> tools. BUT... I can take down the NIC bond and add vlans to eth0  
> with NO ISSUES.
>
> WTF!?!
>
> Anyone have any insight on what I might be screwing up? Or is this  
> a debian feature?
>
> -Matt
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>



More information about the Cialug mailing list