On Wed, Dec 10, 2008 at 09:51:11AM +0100, Jasper Capel wrote:
Andy Gospodarek wrote:
> I was looking over the contents of post_install_network_config in the
> devel branch of cobbler and it looks pretty good. The idea that one
> wants to setup VLANs or bonding as part of the post-install process is a
> good one.
>
> Anyway, there are a few changes that I'd propose though for RHEL/Centos5
> and Fedora and several that would be needed to make RHEL/Centos4 work
> correctly.
>
> For RHEL/Centos5 and Fedora the bonding parameter 'max_bonds' in
> modprobe.conf isn't really needed, so it can be dropped.
*snip*
These changes look good to me, thanks for the feedback. :)
>
> In general the VLAN stuff looks good too, but it would be hard to know
> for sure without testing it pretty well.
>
> Long term it would be great to support VLANs on bonded interfaces, but
> there are not a bunch of people doing that right now (and I didn't write
> any patches, so I should probably shutup :), so it's probably not a
> priority.
>
I'm not exactly sure what you mean here, it was always my intention to
support VLANs on bonding devices (and by request, also bonding several
VLAN devices together).
Creating a device named bond0.10 should add VLAN 10 to bond0. If this
stopped working, that's a defect. ;)
I actually haven't tested it yet, but I would have been surprised from
the code flow that it worked. I actually went back and looked again and
as long as bond0 is created before bond0.10 it looks like it should be
fine. Hopefully I'll get a chance to give this a try soon to know for
sure.