Set macvlan mode (bridge, vepa, passthru or private)

Hi,

For a testing application I attached a macvlan network interface to my containter. I like to configure this macvlan interface in vepa mode. I tried the following instance configuration:

devices:
  eth1:
    name: eth1
    nictype: macvlan
    parent: enx6805ca1f3d00
    type: nic
    user.mode: vepa

The configuration is accepted but appears to have no effect on the actual macvlan mode. Is it possible to set the macvlan mode for an lxd instance?

Thanks!

Hi,

the user.* keys are free form keys used to add custom configuration that does not affect the LXD behavior in any way.

As far as I know we do not support different macvlan modes, but someone should correct me if I am wrong.

1 Like