IFCFG-MACVTAP(5) | Network configuration | IFCFG-MACVTAP(5) |
NAME¶
ifcfg-macvtap - MACVTAP interface configuration
SYNOPSIS¶
/etc/sysconfig/network/ifcfg-*
MACVTAPs¶
To setup a macvtap interface you need a configuration file that contains at least the mandatory
- MACVTAP_DEVICE
- variable with the real interface used for the macvtap virtual interface.
It may contain the optional
- MACVTAP_MODE
- variable that may be set to one of the following supported modes: "private", "vepa", "bridge" and "pass-through/passthru". The default mode is "vepa".
You may also use the
- MACVTAP_FLAG
- variable to set the "nopromisc" flag. By default, this flag is not set.
An ifcfg- file for the interface specified by MACVTAP_DEVICE must also be provided. In the most basic case, it should at least contain STARTMODE='auto'.
For use as an interface that is passed to a virtualized guest, manual configurations of IP and route for the macvtap device on the host are not needed. See also man ifcfg and man routes for details.
EXAMPLES¶
- Sets up macvtap0 macvtap interface on top of eth0:
-
ifcfg-macvtap0
STARTMODE='auto'
MACVTAP_DEVICE='eth0'
COPYRIGHT¶
Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
BUGS¶
Please report bugs as described at <https://bugs.opensuse.org>
AUTHORS¶
Marius Tomaschewski Karol Mroz
SEE ALSO¶
April 2014 | wicked |