I am running LFS-7.2 on my iMac G3 under system V init and LFS-7.7 on my 
powerMac G4 under systemd.

Setting up interface bonding with systemd is fairly easy:
- add Bonding driver support to the kernel (as a module, in my case);
- create the needed configuration files under /etc/systemd/network.  In my case:

bash-4.3# cat 20-bond0.netdev
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=802.3ad
LACPTransmitRate=fast
MIIMonitorSec=1s
UpDelaySec=2s
DownDelaySec=8s

bash-4.3# cat 50-bonding-master.network
[Match]
Name=bond0
[Network]
Address=192.168.1.8/24
Gateway=192.168.1.1
DNS=192.168.1.1

bash-4.3# cat 50-bonding-primary.network
[Match]
Name=enP2p32s15f0
[Network]
Bond=bond0

bash-4.3# cat 50-bonding-secondary.network
[Match]
Name=wlP1p16s21
[Network]
Bond=bond0

But I am stuck when trying to do the same with system V init.
I found an LFS-hint from 2003 for 2.4 and 2.6 kernels, using the now obsolete 
ifenslave program.
I also found a “Bonding ifup-script for LFS 6.2”, most probably also completely 
out-dated.

I have the following in /lib/services:

lfs_pol [ ~ ]$ ls -l /lib/services
totaal 44
-rw-r--r-- 1 root root 29377  4 jan  2016 init-functions
-rwxr-xr-- 1 root root  2361  4 jan  2016 ipv4-static
-rwxr-xr-- 1 root root  1979  4 jan  2016 ipv4-static-route
-rwxr-xr— 1 root root  2343 30 apr  2014 wpa

I don’t think that ipv4-static-route supports bonding, so I think that I must 
look for, or develop, an alternate service, and possibly also updating ifup and 
ifdown.
Has any one already done this?  Or can any one explain how to do this?

pvg

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to