MAN page from openSUSE Tumbleweed wicked-0.6.45-1.1.i586.rpm
IFCFG-MACVLAN
Section: Network configuration (5)
Updated: April 2014
Index
NAME
ifcfg-macvlan - MACVLAN interface configuration
SYNOPSIS
/etc/sysconfig/network/ifcfg-*
MACVLANs
To setup a macvlan interface you need a configuration file that contains atleast the mandatory
- MACVLAN_DEVICE
- variable with the real interface used for the macvlan virtual interface.
It may contain the optional
- MACVLAN_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
- MACVLAN_FLAG
- variable to set the "nopromisc" flag. By default, this flag is not set.
An ifcfg- file for the interface specified by MACVLAN_DEVICE mustalso be provided. In the most basic case, it should at least containSTARTMODE='auto'.
The rest of the MACVLAN interface IP and routes configuration do not differfrom ordinary interfaces. See also man ifcfg and man routesfor details.
EXAMPLES
- Sets up macvlan0 macvlan interface on top of eth0:
ifcfg-macvlan0
STARTMODE='auto' MACVLAN_DEVICE='eth0' IPADDR='192.168.3.27/24'
- Sets up macvlan0 macvlan interface on top of eth0 and uses DHCP
- for IPADDR configuration:
ifcfg-macvlan0
STARTMODE='auto' BOOTPROTO='dhcp' MACVLAN_DEVICE='eth0'
COPYRIGHT
Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
BUGS
Please report bugs at <
https://bugzilla.novell.com/index.cgi>
AUTHORS
Marius TomaschewskiKarol Mroz
SEE ALSO
routes(5),
ifcfg(5),
wicked(8).
Index
- NAME
- SYNOPSIS
- MACVLANs
- EXAMPLES
- COPYRIGHT
- BUGS
- AUTHORS
- SEE ALSO
This document was created byman2html,using the manual pages.