[systemd-devel] Setting bonding parameters
poma
pomidorabelisima at gmail.com
Sun Jul 13 11:33:17 PDT 2014
On 26.06.2014 15:30, Lukáš Nykrýn wrote:
> poma píše v Pá 20. 06. 2014 v 13:36 +0200:
>> On 20.06.2014 13:31, Tom Gundersen wrote:
>>> On Thu, Jun 19, 2014 at 1:37 PM, Vladimir Elisseev <vovan at vovan.nl> wrote:
>>>> Simple question: is there a way to set bridge parameters (bridge forward delay, bridge hello time, etc) using systemd networking units?
>>>
>>> This is still on the TODO. Last I heard Lukas was looking into this,
>>> so maybe we'll get that soon :)
>>>
>>> Cheers,
>>>
>>> Tom
>>
>> Ping.
>> Simple question: was Lukas looking into bonding params also? :)
>>
>>
>> poma
>
> I have started with bonding params, but it's not looking promising.
> Except mode all calls end with something like "Could not append
> IFLA_BOND_PRIMARY_RESELEC attribute: Operation not supported", even on
> latest kernel which is in rawhide.
> And setting mode does not show any error, but does not work either.
> If anybody wants to look at it, here is my patch for mode
> http://pastebin.com/qz1XQ9DA
>
> and here is a earlier version which tried to setup everything.
> http://pastebin.com/dzsDQqYF
>
> Lukas
>
>
Yep, ain't workin,
http://cgit.freedesktop.org/systemd/systemd/commit/?id=fe8ac65
systemd-215-4.git3864c28.20140711.fc21.x86_64
man 5 systemd.netdev
...
[BOND] SECTION OPTIONS
The "[Bond]" section accepts the following key:
Mode=
Specifies one of the bonding policies. The default is balance-rr (round robin).
"balance-rr""active-backup""balance-xor""broadcast""802.3ad""balance-tlb""balance-alb"
/etc/systemd/network/bond0mode.netdev
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=active-backup
bondctl detail bond0
Bonding Master: bond0
Oper State: up
Slaves: enp3s0 enp1s9
Active Slave:
Mode: balance-rr 0
Monitor: No monitoring enabled
poma
More information about the systemd-devel
mailing list