summaryrefslogtreecommitdiff
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@users.noreply.github.com>2016-12-23 22:39:29 +0530
committerLennart Poettering <lennart@poettering.net>2016-12-23 18:09:29 +0100
commit42125eda21398112160ed364dca2f7bd391d5afd (patch)
tree94fe620cd81754be0ccccf1e846070aed8687eef /man/systemd.network.xml
parent07d61815894c9cc30935fcc000814468585a79a7 (diff)
networkd: Add example to create MACVTAP and attach it to a link (#4946)
Fixes: #4914
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>