[libvirt] Cannot get network to work with LXC

James Yu cyu021 at gmail.com
Tue Jul 7 14:39:42 UTC 2009


Hi all,

I tried to use the first xml config in http://libvirt.org/drvlxc.html to
setup my first light weight container.
However, I was unable to get the container's network to work.
When I tried to give the interface an IP, I got the following error message:

sh-4.0# /sbin/ifconfig veth1 192.168.0.1/24
SIOCSIFADDR: Permission denied
SIOCSIFNETMASK: Permission denied
SIOCGIFADDR: Cannot assign requested address
SIOCSIFBROADCAST: Permission denied
SIOCSIFFLAGS: Permission denied
sh-4.0#
Any advise ?


This is a UTF-8 formatted mail
-----------------------------------------------
James C.-C.Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090707/cdec58c0/attachment-0001.htm>


More information about the libvir-list mailing list