On 03/10/2011 10:45 PM, richard -rw- weinberger wrote: > hi! > > i'm trying to use lxc 0.7.4 on centos 5.5 (kernel 2.6.37.3). > > lxc-start fails when i configure a network. > e.g: > lxc-start: failed to create vethivvZMG-vethGjB0lG : Operation not supported > lxc-start: failed to create netdev > lxc-start: failed to create the network > lxc-start: failed to spawn 'c0' > lxc-start: No such file or directory - failed to remove cgroup '/cgroup/c0' > > it fails within lxc_veth_create(): > err = netlink_transaction(&nlh, nlmsg, answer); > err becomes -95. > > within netlink_transaction() this condition leads to the error. > answer->nlmsghdr.nlmsg_type == NLMSG_ERROR > > this is my configuration: > lxc.utsname = c0 > lxc.network.type = veth > lxc.network.flags = up > lxc.network.link = bridge0 > lxc.network.hwaddr = a1:b2:c3:d4:e5:f6 > lxc.network.ipv4 = 10.0.2.41/24 > lxc.network.name = eth0 > lxc.mount = /lxc/_cfg/c0/fstab > lxc.rootfs = /lxc/c0/ > > > any ideas why it fails? > without a network configuration it works fine...
Is it possible the veth's kernel module is not loaded and module auto-load is disabled ? ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel