This has been fixed in Precise.
** Changed in: ifupdown (Ubuntu)
Status: New = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/352384
Title:
can not add vlans to a bond network
Although this was a configuration issue, the reporter posted a message
on ubuntu-server regarding this and suggesting a change:
https://lists.ubuntu.com/archives/ubuntu-
server/2009-April/002792.html.
I am therefore assigning to ifupdown so they can figure out how to act
on this.
** Package
Good to hear it worked for you.
I believe the configuration process should be included in the server
guide since it is a desired configuration in most production
environments.
Will try and find out how i can get the info inserted into the guide.
Kind regards,
Márcio Santos
--
can not add
Using my original configuration, it still does not work whether I use
slaves all or slaves eth0 eth1.
On a side note, from Marcio's config I added 'xmit_hash_policy layer2+3'
and 'lacp_rate slow' to my plain bond0 config and it solved a speed
issue I had with mode 4 bonds. I have not done enough
Ok, confirming Marcio's post, this configuration works like a charm:
---
auto bond0
iface bond0 inet manual
bond-mode 4
bond-miimon 100
xmit_hash_policy layer2+3
lacp_rate slow
slaves eth0 eth1
auto vlan101
iface vlan101 inet dhcp
vlan_raw_device bond0
---
--
I think it's because slaves all tries to include the vlan interface
itself. Could you try explicitly listing the devices you want to bond
and see if that fixes it? If it does, I have a patch that should fix it.
--
can not add vlans to a bond network device
https://bugs.launchpad.net/bugs/352384
I had a similar problem a while back.
I was trying to bring the vlans up in a similar way to what you are
doing, and i had the following configuration:
auto vlan50
iface vlan50 inet dhcp
bond-mode 802.3ad
bond-miimon 100
xmit_hash_policy layer2+3
lacp_rate slow