On Fri, Jun 3, 2016 at 6:20 PM, Heena Sirwani <[email protected]> wrote:
> Hi, > I was trying to configure a container to behave as a router by connecting > one of its interfaces to a bridge that connects it to the internet and > another interface bridged to provide a private network to devices. I was > able to do this in a privileged container. In an unprivileged container, it > says unable to configure network. I would like to ask, how will I be able > to configure interfaces for an unprivileged container? > > The error logs are something like this: > lxc 1464950278.448 ERROR lxc_start - start.c:lxc_spawn:1047 > - failed to create the configured network > lxc 1464950278.448 ERROR lxc_start - > start.c:__lxc_start:1213 - failed to spawn 'test1' > > And my configs are something like these: > lxc.network.type = veth > lxc.network.link = br0 > lxc.network.flags = up > lxc.network.hwaddr = 00:16:3e:xx:xx:xx > > lxc.network.type = veth > lxc.network.link = br5 > lxc.network.flags = up > lxc.network.hwaddr = 00:16:3e:xx:xx:xx > > Am I missing something? > > Thanks, > Heena >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
