The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To modify a container so that it uses the bridge or VEPA mode of
macvlan, edit
/container/
and replace the following lines:
name
/config
lxc.network.type = veth lxc.network.flags = up lxc.network.link = virbr0
with these lines for bridge mode:
lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.network.link = eth0
or these lines for VEPA mode:
lxc.network.type = macvlan lxc.network.macvlan.mode = vepa lxc.network.flags = up lxc.network.link = eth0
In these sample configurations, the setting for
lxc.network.link
assumes that you want the
container's network interface to be visible on the network that
is accessible via the host's eth0
interface.