diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.netdev.xml | 9 | ||||
-rw-r--r-- | man/systemd.network.xml | 12 |
2 files changed, 21 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> 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> |