summaryrefslogtreecommitdiff
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
parent58dfc42ecfa95f2b859790d726bfae2feea1faa9 (diff)
man: networkd - additional examples related to bridging
-rw-r--r--man/systemd-networkd.service.xml2
-rw-r--r--man/systemd.netdev.xml3
-rw-r--r--man/systemd.network.xml24
3 files changed, 26 insertions, 3 deletions
diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml
index cb6afaad50..bcdd9adae0 100644
--- a/man/systemd-networkd.service.xml
+++ b/man/systemd-networkd.service.xml
@@ -100,7 +100,7 @@
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 5d8b41a3bc..c17ae9eb22 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -209,7 +209,8 @@ Id=1</programlisting>
<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.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
</refsect1>
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>