You are not logged in.
I've configured a bond network connection with netctl,
/etc/netctl/bonding:
Description="A bonded interface"
Interface=bond0
Connection=bond
BindsToInterfaces=(enp8s0 eno1)
IP=static
Address="192.168.1.100/23"
Gateway="192.168.0.1"
Mode=802.3ad
and I've done
# netctl start bonding
# netctl enable bonding
and
$ netctl is-enabled bonding
returns true,
but the network will not start at boot until I run
# netctl restart bonding
and then it works flawlessly.
Any idea what the problem could be?
Last edited by Lindhe (2015-10-04 18:57:52)
Offline
Lindhe, do you still have the problem if you comment out the "Mode=802.3ad" and add the following to /etc/modprobe.d/bonding.conf :
options bonding mode=4 miimon=100
I've found that the Mode= line is ignored completely when I check the bond's actual status via
cat /proc/net/bonding/bond0
Last edited by EzdineG (2015-10-04 15:50:31)
Offline
Cool, that did indeed do a difference. Thank you very much. It starts up just fine now, even if it takes a few seconds before it establish a connection (i mount some nfs-shares on boot, which waits for a connection).
Do you think there might be something I could do to connect quicker? In particular I'm thinking about the lacp rate - would it make a difference to have it fast instead of slow? I have not quite grasped what it does. It's the interval between LACP PDU's, right? But what will the actual difference be?
While on the subject - do one need to configure the LACP rate on both the switch and host, or only on the switch?
Offline
I set lacp rate in /etc/modprobe.d/bonding.conf like so:
options bonding mode=4 miimon=100 lacp_rate=1
and I found no measureable change in how fast it connected on boot.
Offline