summaryrefslogtreecommitdiff
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r--man/systemd.network.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index ea9cdeae88..8d44779a0c 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1490,6 +1490,18 @@ VRF=vrf1
</programlisting>
</example>
+ <example>
+ <title>MacVTap</title>
+ <para>This brings up a network interface <literal>macvtap-test</literal>
+ and attaches it to <literal>enp0s25</literal>.</para>
+ <programlisting># /lib/systemd/network/25-macvtap.network
+[Match]
+Name=enp0s25
+
+[Network]
+MACVTAP=macvtap-test
+</programlisting>
+ </example>
</refsect1>
<refsect1>