mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
Adding bonding examples for systemd-networkd
This commit provides some basic bonding configuration examples for .netdev and .network files.
This commit is contained in:
parent
0d43ffef5a
commit
d94facdcaa
@ -985,6 +985,20 @@ Kind=veth
|
||||
Name=veth-peer</programlisting>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>/etc/systemd/network/bond.netdev</title>
|
||||
<programlisting>[NetDev]
|
||||
Name=bond1
|
||||
Kind=bond
|
||||
|
||||
[Bond]
|
||||
Mode=802.3ad
|
||||
TransmitHashPolicy=layer3+4
|
||||
MIIMonitorSec=1s
|
||||
LACPTransmitRate=fast
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>/etc/systemd/network/dummy.netdev</title>
|
||||
<programlisting>[NetDev]
|
||||
|
@ -828,6 +828,18 @@ Name=em1
|
||||
[Network]
|
||||
Tunnel=vti-tun</programlisting>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>/etc/systemd/network/bond.network</title>
|
||||
|
||||
<programlisting>[Match]
|
||||
Name=bond1
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
Loading…
Reference in New Issue
Block a user