Ok that looks promising. So for pre-down I'd add right after the pre-up line?: pre-down ifenslave -d bond eth4 eth9
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
