[libvirt] Cannot get network to work with LXC

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

 



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
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]