From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Hajnoczi Subject: Re: Can we run guest OS without using NAT and iptables? Date: Mon, 29 Oct 2012 10:30:50 +0100 Message-ID: <20121029093050.GA16595@stefanha-thinkpad.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: libvir-list@redhat.com, kvm@vger.kernel.org To: freak 62 Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:43927 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752556Ab2J2Jaz (ORCPT ); Mon, 29 Oct 2012 05:30:55 -0400 Received: by mail-bk0-f46.google.com with SMTP id jk13so1844994bkc.19 for ; Mon, 29 Oct 2012 02:30:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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