Re: Invalid Argument when adding a bond to a bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Again,

I checked the kernel source (net/bridge/br_ioctl.c)...  The Invalid Argument is being returned by add_del_if after __dev_get_by_index is under to find the network interface using the index that was passed to it.

I checked with GDB and determine that the index being passed in 8...  That corresponds to the public bond interface index # (/sys/class/net/public-bond/ifindex).

Where should I be looking next?

---
Thanks,
Dyweni

On Wed, 21 Dec 2011 10:01:52 -0600, Dyweni - Bridge wrote:

Hi All,

I'm getting an 'Invalid argument' error when trying to add a bonded interface to a new bridge.  Has anyone seen this before?

 

I'm running Linux 3.2-rc6

 

Bonded interface was created like this:

echo "+public-bond" > /sys/class/net/bonding_masters
echo "+eth0" > /sys/class/net/public-bond/bonding/slaves

The bridged interface was created like this:

brctl addbr pubbridge
brctl addif pubbridge public-bond

 

--

-- 
Thanks,
Dyweni
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux