I'm having trouble finding information about setting my bond0 interface to use LACP Fast (FA flags).
current configuration:
IFNAME[0]="br0"
BONDNAME[0]="bond0"
BONDING_MIIMON[0]="100"
BRNAME[0]="br0"
BRSTP[0]="no"
BRFD[0]="0"
BONDING_MODE[0]="4"
BONDNICS[0]="eth0 eth1"
BRNICS[0]="bond0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
IPADDR[0]="10.255.255.10"
NETMASK[0]="255.255.255.0"
GATEWAY[0]="10.255.255.1"
DNS_SERVER1="10.255.255.1"
USE_DHCP6[0]="yes"
DHCP6_KEEPRESOLV="no"
SYSNICS="1"
I've got a Cisco switch on the other end of the link with the interface configured as follows:
interface GigabitEthernet1/0/9
description unRAID Bonded Interface
switchport mode access
spanning-tree portfast edge
lacp rate fast
channel-group 3 mode active
!
interface GigabitEthernet1/0/10
description unRAID Bonded Interface
switchport mode access
spanning-tree portfast edge
lacp rate fast
channel-group 3 mode active
It works no problem, the only hiccup is that unraid is still using LACP Slow as can be seen from the switch:
Port: Gi1/0/9
------------
Port state = Up Mstr Assoc In-Bndl
Channel group = 3 Mode = Active Gcchange = -
Port-channel = Po3 GC = - Pseudo port-channel = Po3
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/9 FA bndl 32768 0x3 0x3 0x10A 0x3F
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/9 SA 255 3cec.ef11.fe2e 0s 0x0 0x9 0x1 0x3D
Age of the port in the current state: 0d:00h:04m:25s
Port: Gi1/0/10
------------
Port state = Up Mstr Assoc In-Bndl
Channel group = 3 Mode = Active Gcchange = -
Port-channel = Po3 GC = - Pseudo port-channel = Po3
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/10 FA bndl 32768 0x3 0x3 0x10B 0x3F
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/0/10 SA 255 3cec.ef11.fe2e 0s 0x0 0x9 0x2 0x3D
Age of the port in the current state: 0d:00h:04m:25s
Port-channels in the group:
---------------------------
Port-channel: Po3 (Primary Aggregator)
------------
Age of the Port-channel = 0d:01h:30m:46s
Logical slot/port = 9/3 Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled
Load share deferral = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gi1/0/9 Active 0
0 00 Gi1/0/10 Active 0
Time since last port bundled: 0d:00h:04m:25s Gi1/0/10
Time since last port Un-bundled: 0d:00h:06m:23s Gi1/0/10
Under "Partner's information" you can see the interface on unraid's side has the SA flags set.
Any idea where I can set that flag? For example, on Proxmox I'd set it in /etc/network/interfaces as "bond-lacp-rate 1" on the bond interface.