summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-10-23 17:32:36 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-10-23 17:37:39 +0200
commit0bc11cb7301972f771d85e5fc1737187d7453697 (patch)
treee47e0be08d4b824df8b5fcfb671d9d74a1577058 /man
parentd7bee60ed7ffcee0ecc57e36114f7553ce00cdc4 (diff)
downloadNetworkManager-0bc11cb7301972f771d85e5fc1737187d7453697.tar.gz
man: add an example for ifcfg configuration of bridges
Diffstat (limited to 'man')
-rw-r--r--man/nm-settings-ifcfg-rh.xsl20
1 files changed, 20 insertions, 0 deletions
diff --git a/man/nm-settings-ifcfg-rh.xsl b/man/nm-settings-ifcfg-rh.xsl
index 408b4b3d5c..f069828ce0 100644
--- a/man/nm-settings-ifcfg-rh.xsl
+++ b/man/nm-settings-ifcfg-rh.xsl
@@ -140,6 +140,21 @@ ONBOOT=yes
</para>
<para>
<programlisting>
+ <emphasis role="bold">Bridge and bridge port configuration:</emphasis>
+ifcfg-bridge: ifcfg-bridge-port:
+NAME=bridge NAME=bridge007-port-eth0
+UUID=4be99ce0-c5b2-4764-8b77-ec226e440125 UUID=3ad56c4a-47e1-419b-b0d4-8ad86eb967a3
+DEVICE=bridge007 DEVICE=eth0
+STP=yes ONBOOT=yes
+TYPE=Bridge TYPE=Ethernet
+BRIDGING_OPTS=priority=32768 BRIDGE=bridge007
+ONBOOT=yes
+BOOTPROTO=dhcp
+
+ </programlisting>
+ </para>
+ <para>
+ <programlisting>
<emphasis role="bold">Bonding configuration:</emphasis>
ifcfg-BOND: ifcfg-BOND-slave:
NAME=BOND NAME=BOND-slave
@@ -182,6 +197,11 @@ TEAM_MASTER=team0
DEVICETYPE=TeamPort
</programlisting>
</para>
+ <para>
+ The UUID values in the config files must be unique. You can use <emphasis>uuidgen</emphasis>
+ command line tool to generate such values. Alternatively, you can leave out UUID
+ entirely. In that case NetworkManager will generate a UUID based on the file name.
+ </para>
</formalpara>
</refsect1>