[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] Cannot get network to work with LXC



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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]