Please do not top-post. On 26 March 2015 at 17:25, Michael Sumulong <[email protected]> wrote: > Ok that looks promising. > > So for pre-down I'd add right after the pre-up line?: > pre-down ifenslave -d bond eth4 eth9
IIRC ifdown bond0 should release the slaves. me@there .../src/linux $ git grep -A1 ifconfig\ bond0\ down drivers | cat drivers/net/bonding/bond_main.c: * ifconfig bond0 down drivers/net/bonding/bond_main.c- * will release all slaves, marking them as down. mhm, at least it's supposed to so don't bother too much with post-down i'd say. HTH, > > > On Thu, Mar 26, 2015 at 11:43 AM, Bernhard Reutner-Fischer > <[email protected]> wrote: >> >> On 26 March 2015 at 14:57, Michael Sumulong <[email protected]> wrote: >> > I am currently using BusyBox 1.22.1 and would like to be able to setup >> > network interface bonding via my /etc/network/interfaces file but I'm >> > not >> > sure if there's any support for bonding in ifupdown.c. Can anyone >> > confirm >> > this is true or am I missing something? >> >> I suggest you do that with pre-up and post-down >> Maybe something like this works already?: >> >> auto bond0 >> iface bond0 inet static >> address 10.0.0.77 >> netmask 255.255.255.0 >> gateway 10.0.0.1 >> pre-up ifenslave bond0 eth4 eth9 >> >> echo "alias bond* bonding" >> /etc/modprobe.d/bonding.conf >> >> HTH, > > _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
