summaryrefslogtreecommitdiff
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorpoma <pomidorabelisima@gmail.com>2014-03-17 21:08:40 +0100
committerTom Gundersen <teg@jklm.no>2014-03-17 21:35:28 +0100
commitf47c5c47d1a7bcfa1842ff7cc52b1f7fc1d86bcf (patch)
treeac6dedcc5655b3d31622aafde2bedc64a72239b0 /man/systemd.network.xml
parent58dfc42ecfa95f2b859790d726bfae2feea1faa9 (diff)
man: networkd - additional examples related to bridging
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r--man/systemd.network.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 8a39fc4fa4..f3b3b315b6 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -362,13 +362,35 @@ Name=en*
DHCP=yes</programlisting>
</example>
+ <example>
+ <title>/etc/systemd/network/bridge-static.network</title>
+
+ <programlisting>[Match]
+Name=bridge0
+
+[Network]
+Address=192.168.0.15/24
+Gateway=192.168.0.1
+DNS=192.168.0.1</programlisting>
+ </example>
+
+ <example>
+ <title>/etc/systemd/network/bridge-slave-interface.network</title>
+
+ <programlisting>[Match]
+Name=enp2s0
+
+[Network]
+Bridge=bridge0</programlisting>
+ </example>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>systemd-networkd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>systemd-networkd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
</refsect1>