From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Davidsen Subject: Simple way of putting a VM on a LAN Date: Thu, 26 Jun 2008 21:54:00 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:58565 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282AbYF0ByN (ORCPT ); Thu, 26 Jun 2008 21:54:13 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KC3A9-0006ZI-Iy for kvm@vger.kernel.org; Fri, 27 Jun 2008 01:54:09 +0000 Received: from pool-68-236-140-141.alb.east.verizon.net ([68.236.140.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jun 2008 01:54:09 +0000 Received: from davidsen by pool-68-236-140-141.alb.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jun 2008 01:54:09 +0000 Sender: kvm-owner@vger.kernel.org List-ID: I seem to be missing the "right way" to put a VM on the LAN such that it appears to really be a machine on the LAN. This is a requirement for being able to deploy internal servers as needed. For instance, consider a DNS server or outbound mailer at IP 10.x.y.z and how to do that with a VM. Current I have not found a way other than putting the IP on as an alias, like eth0:1, setting up a tunnel using a bunch of stuff from Debian, plugging in a set of moderately complex iptables rules, starting the VM using a bunch of obscure -nic options unreleated to the actual IP to be provided, and generally a ton of complexity to install and remove. I often want to provide momentary service not requiring preserving a lot of state, like mailers, DNS, etc. Surely there's a better way? -- Bill Davidsen "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot