From: Cole Robinson <crobinso@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: freak 62 <mailtov16@gmail.com>,
libvir-list@redhat.com, kvm@vger.kernel.org
Subject: Re: Can we run guest OS without using NAT and iptables?
Date: Mon, 29 Oct 2012 11:19:10 -0400 [thread overview]
Message-ID: <508E9E6E.3060702@redhat.com> (raw)
In-Reply-To: <20121029093050.GA16595@stefanha-thinkpad.redhat.com>
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
prev parent reply other threads:[~2012-10-29 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 7:25 Can we run guest OS without using NAT and iptables? freak 62
2012-10-29 9:30 ` Stefan Hajnoczi
2012-10-29 15:19 ` Cole Robinson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508E9E6E.3060702@redhat.com \
--to=crobinso@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=libvir-list@redhat.com \
--cc=mailtov16@gmail.com \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).