[libvirt] Can we run guest OS without using NAT and iptables?

Stefan Hajnoczi stefanha at gmail.com
Mon Oct 29 09:30:50 UTC 2012


On Mon, Oct 29, 2012 at 12:55:43PM +0530, freak 62 wrote:
>  Can we run guest o.s. on KVM without enabling NAT and iptables?
> 
>     The reason to do this is , I wanted to disable conntrack module
> from my system and to disable that I must have to delete iptable and
> NAT.
> 
>      I am getting the following message, when I start guest o.s. on
> KVM (iptable and NAT disabled):
> 
>         Error starting domain: internal error 'Network default' is not active.
> 
>      Is their any way to run guest o.s. with NAT disabled? or Is their
> any way to disable conntrack module and still can use KVM to run guest
> OS ?
> 
>    I am using Ubuntu 10.04

This is a libvirt question since libvirt sets up the networking
configuration.  You can try a different network config either using the
virt-manager GUI tool or by editing the network XML, which is documented
here:

http://libvirt.org/formatnetwork.html

CCed libvirt mailing list.

Stefan




More information about the libvir-list mailing list