From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Stefan_Kr=C3=BCmmel?= Subject: using KVM w/o dnsmasq on CentOS 5.2 X64 Date: Mon, 02 Feb 2009 11:06:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mx1.simplethings.de ([85.88.4.197]:38254 "EHLO mx1.simplethings.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754994AbZBBKfn (ORCPT ); Mon, 2 Feb 2009 05:35:43 -0500 Received: from smm.simplethings.local ([192.168.0.11] helo=smM.simplethings.de) by mx1.simplethings.de with esmtp (Exim 4.63) (envelope-from ) id 1LTvhL-0006gj-O8 for kvm@vger.kernel.org; Mon, 02 Feb 2009 11:06:36 +0100 Received: from [212.79.172.108] (helo=center.shared) by smM.simplethings.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1LTvfV-0005WC-0i for kvm@vger.kernel.org; Mon, 02 Feb 2009 10:04:41 +0000 Received: from [192.168.2.80] (helo=gate.dev.wheregroup.com) by center.shared with esmtp (Exim 4.50) id 1LTvhK-0007Tn-I6 for kvm@vger.kernel.org; Mon, 02 Feb 2009 11:06:34 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Hi, I'm trying to convert some of our virtual machines from VMWare Server 2 to KVM on CentOS 5.2 X64. KVM constantly gives me headaches when it comes to networking configuration. Being used to VMWare, there are some things that don't work as expected. 1. kvm/libvirt manipulate iptables, effectivly breaking the hosts networking iptables is usually turned off on the dev machine( iptables -F, no rules set during boot) 2. kvm/libvirt comes with dnsmasq, which gets started automagically, colliding with out existing DDNS setup(ISC's bind/dhcpd3 ) I'm hope some of you might shed some light on howto 1) bridge a KVM-VM to an exisiting Ethernet interface, behaving exactly like a real/physical NIC, being able to handle any ARP/BOOTP/PXE/DHCP/IP/whatever requests. and 2) setup a virtual ethernet-network, which is completely isolated from the host's networking WITHOUT using NAT/dnsmasq. e.g. we have a JEOS VM which acts as a tightly restricted dual-homed GW for VMs that are required to run in a completely isolated network. I've browsed thru several docus/wikis related to xen/kvm but none them gave any clues about this custom networking setup. regards Stefan Kruemmel