From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: Guest network, wireless host Date: Sat, 29 Aug 2009 19:19:04 -0500 Message-ID: <4A99C578.2010001@codemonkey.ws> References: <200908291023.45240.thomas@koch.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: thomas@koch.ro Return-path: Received: from mail-yx0-f181.google.com ([209.85.210.181]:51248 "EHLO mail-yx0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752876AbZH3AYN (ORCPT ); Sat, 29 Aug 2009 20:24:13 -0400 Received: by yxe11 with SMTP id 11so435726yxe.4 for ; Sat, 29 Aug 2009 17:24:15 -0700 (PDT) In-Reply-To: <200908291023.45240.thomas@koch.ro> Sender: kvm-owner@vger.kernel.org List-ID: Thomas Koch wrote: > I found this howto about guests running on a host with wireless internet > connection: (proxy arp) > > http://blog.bodhizazen.net/linux/bridge-wireless-cards/ > > The steps described there work so far, but it would be perfect, if the guest > could somehow obtain an IP via DHCP and if the whole stuff could be setup as > Debian package. > This is just doing routing. There's a much easier way to do this with libvirt. See: http://www.libvirt.org/formatnetwork.html#examplesRoute DHCP will never work because you've technically created a separate subnet. You could run a local copy of dnsmasq to manage the range of IP addresses you're reserved for your private subnet though. Regards, Anthony Liguori