2020-11-12 18:38:10 +00:00
|
|
|
[NetDev]
|
|
|
|
Name=${bond}
|
|
|
|
Kind=bond
|
|
|
|
|
|
|
|
[Bond]
|
|
|
|
Mode=${mode}
|
2021-01-01 21:00:50 +00:00
|
|
|
|
|
|
|
# Atleast one of those settings break LACP on our HPE 1920-48G switch
|
|
|
|
# TODO find out which settings are responsible
|
2020-11-15 08:39:44 +00:00
|
|
|
% if mode in {'balance-rr', '802.3ad', 'balance-tlp'}:
|
2021-01-01 21:00:50 +00:00
|
|
|
#TransmitHashPolicy=layer2
|
2020-11-15 08:39:44 +00:00
|
|
|
% endif
|
2021-01-01 21:00:50 +00:00
|
|
|
#MIIMonitorSec=0.1
|
2020-11-15 08:39:44 +00:00
|
|
|
% if mode == '802.3ad':
|
2021-01-01 21:00:50 +00:00
|
|
|
#LACPTransmitRate=fast
|
|
|
|
#AdSelect=bandwidth
|
|
|
|
#AdActorSystemPriority=${prio}
|
2020-11-15 08:39:44 +00:00
|
|
|
% endif
|