summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMajor Hayden <major@mhtx.net>2015-08-20 22:14:49 -0500
committerMajor Hayden <major@mhtx.net>2015-08-20 22:14:49 -0500
commitd94facdcaa8053768a2d190ee8dd6ff5114f8b33 (patch)
tree766d87dcd625dd3b26600dbe85782716cf1ec228
parent0d43ffef5ad277183ebaef259b2210bfaf913749 (diff)
Adding bonding examples for systemd-networkd
This commit provides some basic bonding configuration examples for .netdev and .network files.
-rw-r--r--man/systemd.netdev.xml14
-rw-r--r--man/systemd.network.xml12
2 files changed, 26 insertions, 0 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index a78ceb1252..2680627a78 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -986,6 +986,20 @@ 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]
Name=dummy-test
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index e44491cc2e..e8a164d22d 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -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>