You can't do macvlan on a bridge. It has to be done on an real physical nic.
Quoting Anjali Kulkarni (anj...@juniper.net): > > Hi, > > We are trying to have a VM and a container ping each other via a private > bridge (not going through host) via macvlan interface. A bridge, lxcbr1 is > already created and contains a link from VM, and we want to add container > to it as well. > To do that, on adding the foll. config to a container, the error shown > below is seen, and tips about how to fix this issue? > > Config: > lxc.network.type = macvlan > lxc.network.macvlan.mode = bridge > lxc.network.flags = down > lxc.network.name = eth0 > lxc.network.link = lxcbr1 > lxc.network.ipv4 = 1.1.1.1/24 > > > Error seen: > lxc-start: failed to move 'lxcbr1' to the container : Invalid argument > lxc-start: failed to create the configured network > lxc-start: failed to spawn 'test' > lxc-start: The container failed to start. > lxc-start: Additional information can be obtained by setting the --logfile > and --log-priority options. > > Thanks > Anjali > > > > > > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users