From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cole Robinson Subject: Re: Can we run guest OS without using NAT and iptables? Date: Mon, 29 Oct 2012 11:19:10 -0400 Message-ID: <508E9E6E.3060702@redhat.com> References: <20121029093050.GA16595@stefanha-thinkpad.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freak 62 , libvir-list@redhat.com, kvm@vger.kernel.org To: Stefan Hajnoczi Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30600 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757995Ab2J2PTS (ORCPT ); Mon, 29 Oct 2012 11:19:18 -0400 In-Reply-To: <20121029093050.GA16595@stefanha-thinkpad.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/29/2012 05:30 AM, Stefan Hajnoczi wrote: > 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 You can remove the default virsh network like sudo virsh net-destroy default sudo virsh net-undefine default The most common networking setup that doesn't use NAT + iptables is probably bridged networking: http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29 - Cole