From: Stuart Jansen Subject: Re: Simple way of putting a VM on a LAN Date: Fri, 25 Jul 2008 15:31:25 -0700 Message-ID: <1217025085.7587.2.camel@simplicity.buscaluz.org> References: <170fa0d20806262146s5710198cw7072aeaac4c7f39f@mail.gmail.com> <48649112.7000704@redhat.com> <4874E715.8040903@tmr.com> <90eb1dc70807091023g6d26aba8pa324d6c5cd2b955@mail.gmail.com> <488801D9.6020007@tmr.com> <90eb1dc70807240722r371205fep9567014aa45158a9@mail.gmail.com> <488A02DB.8020204@tmr.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.gurulabs.com ([67.137.148.7]:54800 "EHLO mail.gurulabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752262AbYGYXAj (ORCPT ); Fri, 25 Jul 2008 19:00:39 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.gurulabs.com (Postfix) with ESMTP id D7D831BE5CC for ; Fri, 25 Jul 2008 16:31:40 -0600 (MDT) Received: from mail.gurulabs.com ([127.0.0.1]) by localhost (mail.gurulabs.com [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id av6K03Y4ae7i for ; Fri, 25 Jul 2008 16:31:27 -0600 (MDT) Received: from [10.151.53.20] (unknown [148.87.66.58]) by mail.gurulabs.com (Postfix) with ESMTP for ; Fri, 25 Jul 2008 16:31:27 -0600 (MDT) In-Reply-To: <488A02DB.8020204@tmr.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 2008-07-25 at 12:44 -0400, Bill Davidsen wrote: > But when the host is really on the network, it uses DHCP to set the IP, > while in a VM it never sends any DHCP packets, the setting of the IP > times out, and I wind up with no IP until I set it. I have checked with > tcpdump, the DHCP requests for IP appear on the bridge, but not on the > eth0 NIC, and so are never seen by the DHCP server. > > Do you see this problem, or have any information about it? Obviously > suggestions on fixing this are needed, since the dhcp server is a > candidate for virtualization in the future. Just to be certain of the obvious, you added eth0 to the bridge, right? brctl addif br0 eth0 And the tap device is active, right? ifconfig tap0 up Assuming it isn't something so obvious, I'm suspecting spanning tree. brctl stp br0 off