From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKl3U-0001yH-VX for qemu-devel@nongnu.org; Mon, 03 May 2004 17:32:52 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKl2x-0001jw-Qt for qemu-devel@nongnu.org; Mon, 03 May 2004 17:32:50 -0400 Received: from [81.169.145.166] (helo=natnoddy.rzone.de) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKl2t-0001iy-P0 for qemu-devel@nongnu.org; Mon, 03 May 2004 17:32:15 -0400 Received: from morannon.inferno.nadir.org (b114166.adsl.hansenet.de [62.109.114.166]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i43LVxfP026056 for ; Mon, 3 May 2004 23:31:59 +0200 (MEST) Subject: Re: [Qemu-devel] Question about tun/tap networking From: Arne Bernin In-Reply-To: <20040503202233.GB8530@jbrown.mylinuxbox.org> References: <20040503030941.GA2865@jbrown.mylinuxbox.org> <1083584704.1931.3.camel@localhost> <20040503202233.GB8530@jbrown.mylinuxbox.org> Content-Type: text/plain Message-Id: <1083619894.3425.1.camel@localhost> Mime-Version: 1.0 Date: Mon, 03 May 2004 23:31:34 +0200 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu mailing list On Mon, 2004-05-03 at 22:22, Jim C. Brown wrote: > [/space/qemu/qemu-0.5.4/ $] su root > [/space/qemu/qemu-0.5.4/ #] vde_switch -daemon -tap tap0 > [/space/qemu/qemu-0.5.4/ #] ifconfig tap0 192.168.1.254 > [/space/qemu/qemu-0.5.4/ #] chmod 777 /tmp/vde.ctl > [/space/qemu/qemu-0.5.4/ #] exit > [/space/qemu/qemu-0.5.4/ $] vdeq qemu -hda disk1.img > > This works, not only can I ping 2 different machines on the vde, I can also > ping the LAN from the vde, and vice versa. (ifconfig seems to set up > routing automagicly. Or was it something I put into shorewall...) > > Note that for teh guest OS, you need to set up 192.168.1.254 as the default gateway > for just about everything. > thanks, it is working now, just had some wrong firewall settings on the guest OS linux boxes.... --arne