aboutsummaryrefslogtreecommitdiff
path: root/net/bonding.sh
AgeCommit message (Collapse)Author
2012-10-11net/bonding: subsume functionality for NFS bootingRobin H. Johnson
If the kernel is NFS-booting, it is critical that we don't down the slave interfaces when we activate the bond. To do so will break the root filesystem when networking is temporarily lost. Reported-by: Walter <walter@pratyeka.org> X-Gentoo-Bug: 428604 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=428604 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2012-01-26WhitespaceChristian Ruppert
2012-01-25net/bonding: Fix which interface IPs get added to.Robin H. Johnson
The previous bonding change of ensuring interfaces were down to add slave interfaces, but it clobbered the IFACE variable, because it was being passed to a bash function rather than a command. X-Gentoo-Bug: 400613 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400613 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-12-12net/bonding: ensure slave interfaces are down before adding.Robin H. Johnson
The old ifenslave binary forcibly set new slave interface to down before adding into the kernel, as a way of show it's version to the kernel. We need to duplicate this so that the kernel doesn't think it's an old ifenslave version using the bonding setup interface. X-Gentoo-Bug: 391881 X-Gentoo-Bug-URL: https://bugs.gentoo.org/391881 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Thanks-to: Yun Zheng Hu <hu@fox-it.com>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-16net:bonding small style change for readabilityWilliam Hubbs
2011-05-16Do not add slaves to bond interface if they are already addedKfir Lavi
X-Gentoo-Bug: 366653 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=366653 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2011-03-18net: bonding: avoid using bash string replaceMike Frysinger
X-Gentoo-Bug: 359311 X-Gentoo-Bug-URL: http://bugs.gentoo.org/359311 Reported-by: Raffaello D. Di Napoli <fastijum@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-31ensure bonding interface is down before we attempt to configure, alsoJory A. Pratt
mode has to be configure before any other arguements are passed. Thanks Ed Wildgoose <gentoo@wildgooses.com> for patch.
2010-08-13Fixes bug #332383. Thanks Lutz Heermann.Anthony G. Basile
2010-08-13Fix bug #332181. Thanks Lutz Heermann.Anthony G. Basile
2010-03-24Try and describe bonding errors a bit more.Roy Marples
2009-05-01Add (c) to CopyrightRoy Marples
2008-09-19Allow configuration of bond via extra sysfs entries, #105.Roy Marples
2008-09-18Enable bonding via sysfs, #104 thanks to Wolfram SchlichRoy Marples
2008-03-26Merge net.OS into netRoy Marples