https://docs.slackware.com/howtos:misc:network_interace_bonding
inside /etc/rc.d/rc.M add (before rc.local section):
if [ -x /etc/rc.d/rc.bond ]; then
. /etc/rc.d/rc.bond
fi
/etc/rc.d/rc.bond :
modprobe bondingchmod +x rc.bond and reboot
ip addr add 192.168.111.3/24 dev bond0
ip link set bond0 up
ip link set eth0 master bond0
ip link set eth1 master bond0
ifconfig eth0 up
ifconfig eth1 up
ip route add default via 192.168.111.13 dev bond0
No comments:
Post a Comment