summaryrefslogtreecommitdiff
path: root/man/systemd.netdev.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.netdev.xml
parent07d61815894c9cc30935fcc000814468585a79a7 (diff)
networkd: Add example to create MACVTAP and attach it to a link (#4946)
Fixes: #4914
Diffstat (limited to 'man/systemd.netdev.xml')
-rw-r--r--man/systemd.netdev.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 5145b019ae..ef6a37fe76 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -1230,6 +1230,15 @@ Kind=vrf
[VRF]
TableId=42</programlisting>
</example>
+
+ <example>
+ <title>/etc/systemd/network/25-macvtap.netdev</title>
+ <para>Create a MacVTap device.</para>
+ <programlisting>[NetDev]
+Name=macvtap-test
+Kind=macvtap
+ </programlisting>
+ </example>
</refsect1>
<refsect1>
<title>See Also</title>