* Can we run guest OS without using NAT and iptables?
@ 2012-10-29 7:25 freak 62
2012-10-29 9:30 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: freak 62 @ 2012-10-29 7:25 UTC (permalink / raw)
To: kvm
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
Any help?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Can we run guest OS without using NAT and iptables?
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
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2012-10-29 9:30 UTC (permalink / raw)
To: freak 62; +Cc: libvir-list, kvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can we run guest OS without using NAT and iptables?
2012-10-29 9:30 ` Stefan Hajnoczi
@ 2012-10-29 15:19 ` Cole Robinson
0 siblings, 0 replies; 3+ messages in thread
From: Cole Robinson @ 2012-10-29 15:19 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: freak 62, libvir-list, kvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-29 15:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).