From 42125eda21398112160ed364dca2f7bd391d5afd Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Fri, 23 Dec 2016 22:39:29 +0530 Subject: networkd: Add example to create MACVTAP and attach it to a link (#4946) Fixes: #4914 --- man/systemd.netdev.xml | 9 +++++++++ man/systemd.network.xml | 12 ++++++++++++ 2 files changed, 21 insertions(+) (limited to 'man') 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 + + + /etc/systemd/network/25-macvtap.netdev + Create a MacVTap device. + [NetDev] +Name=macvtap-test +Kind=macvtap + + See Also 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 + + MacVTap + This brings up a network interface macvtap-test + and attaches it to enp0s25. + # /lib/systemd/network/25-macvtap.network +[Match] +Name=enp0s25 + +[Network] +MACVTAP=macvtap-test + + -- cgit v1.2.3-54-g00ecf