]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Adding bonding examples for systemd-networkd 1001/head
authorMajor Hayden <major@mhtx.net>
Fri, 21 Aug 2015 03:14:49 +0000 (22:14 -0500)
committerMajor Hayden <major@mhtx.net>
Fri, 21 Aug 2015 03:14:49 +0000 (22:14 -0500)
This commit provides some basic bonding configuration examples for .netdev and .network files.

man/systemd.netdev.xml
man/systemd.network.xml

index a78ceb12529135c22fc3589d92eb612a089511b7..2680627a781efc53d006b834625b1dcb274b6dc0 100644 (file)
@@ -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]
index e44491cc2e303adee6c2352ad86109e5a8200fa0..e8a164d22d937cfe0cff8e92c0473790e41cdc52 100644 (file)
@@ -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>