2020-11-12 18:38:10 +00:00
|
|
|
[NetDev]
|
|
|
|
Name=${bond}
|
|
|
|
Kind=bond
|
|
|
|
|
|
|
|
[Bond]
|
|
|
|
Mode=${mode}
|
2020-11-15 08:39:44 +00:00
|
|
|
% if mode in {'balance-rr', '802.3ad', 'balance-tlp'}:
|
|
|
|
TransmitHashPolicy=layer3+4
|
|
|
|
% endif
|
|
|
|
MIIMonitorSec=1s
|
|
|
|
LACPTransmitRate=fast
|
|
|
|
% if mode == '802.3ad':
|
|
|
|
AdSelect=bandwidth
|
|
|
|
AdActorSystemPriority=${prio}
|
|
|
|
% endif
|