summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-21 12:17:27 +0200
committerTom Gundersen <teg@jklm.no>2015-08-21 12:17:27 +0200
commitc7f19d8da82b5e71f5323a6b98f54d2526c0d919 (patch)
treed8e1410e0e9c71780ce574ef1e58947a79635785
parent7b088084186f8fb3880b4343038216f09ec6493e (diff)
parentd94facdcaa8053768a2d190ee8dd6ff5114f8b33 (diff)
Merge pull request #1001 from major/add-bonding-docs
man: networkd - adding bonding examples for systemd-networkd
-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>