Scroll to navigation

IFCFG-MACVLAN(5) Network configuration IFCFG-MACVLAN(5)

NAME

ifcfg-macvlan - MACVLAN interface configuration

SYNOPSIS

/etc/sysconfig/network/ifcfg-*

MACVLANs

To setup a macvlan interface you need a configuration file that contains at least the mandatory

variable with the real interface used for the macvlan virtual interface.

It may contain the optional

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

variable to set the "nopromisc" flag. By default, this flag is not set.

An ifcfg- file for the interface specified by MACVLAN_DEVICE must also be provided. In the most basic case, it should at least contain STARTMODE='auto'.

The rest of the MACVLAN interface IP and routes configuration do not differ from ordinary interfaces. See also man ifcfg and man routes for details.

EXAMPLES

ifcfg-macvlan0


STARTMODE='auto'
MACVLAN_DEVICE='eth0'
IPADDR='192.168.3.27/24'

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 Tomaschewski
Karol Mroz

SEE ALSO

routes(5), ifcfg(5), wicked(8).

April 2014 wicked