[libvirt] Libvirt/LXC creation example

28 Jan
2010
28 Jan
'10
1:20 p.m.
Hi, I am looking for a simple example for creating a Linux container (LXC) with a network connection that can be accessed from the outside world. I first tried to set up a bridge and link it with the interface eth0 configured on host via: brctl addif virbr0 eth0 but each time I did that - I lost the connection to the host and could not even ping it. The connection was resumed only when removing the host interface of eth0 from the bridge: brctl delif virbr0 eth0 How can I define the network interfaces to be configured inside the container? How can I setup container IPs? Any full XML example would be appreciated. Thanks - Avi
5696
Age (days ago)
5696
Last active (days ago)
0 comments
1 participants
participants (1)
-
Avi Weit