From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 13:34:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2754616A419 for ; Fri, 21 Sep 2007 13:34:00 +0000 (UTC) (envelope-from asmund.eikli@uia.no) Received: from pat.hia.no (pat.hia.no [158.36.80.149]) by mx1.freebsd.org (Postfix) with ESMTP id 9FDEB13C480 for ; Fri, 21 Sep 2007 13:33:59 +0000 (UTC) (envelope-from asmund.eikli@uia.no) Received: from [158.36.80.150] (helo=mail-mx1.hia.no) by pat.hia.no with esmtp (Exim 4.44) id 1IYiRo-0000wP-Fn for freebsd-questions@freebsd.org; Fri, 21 Sep 2007 15:21:33 +0200 Received: from localhost ([127.0.0.1] helo=mail-mx1.hia.no) by mail-mx1.hia.no with esmtp (Exim 4.44) id 1IYiRo-000895-AK for freebsd-questions@freebsd.org; Fri, 21 Sep 2007 15:21:32 +0200 Received: from asmunde.krs.hia.no ([158.36.178.91]) by mail-mx1.hia.no with esmtp (Exim 4.44) id 1IYiRn-000887-J9 for freebsd-questions@freebsd.org; Fri, 21 Sep 2007 15:21:32 +0200 Message-ID: <46F3C554.2070700@uia.no> Date: Fri, 21 Sep 2007 15:21:24 +0200 From: Aasmund Eikli Organization: =?ISO-8859-1?Q?H=F8gskolen_i_Agder?= User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070920112119.GA43389@polands.org> <20070921024706.47a4094c@gumby.homeunix.com.> <3942.208.49.58.254.1190376521.squirrel@email.polands.org> <20070921141006.469f94f6@gumby.homeunix.com.> In-Reply-To: <20070921141006.469f94f6@gumby.homeunix.com.> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on pat.hia.no X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED autolearn=failed version=3.1.9 X-SA-Exim-Version: 4.2 (built Mon, 31 Jan 2005 16:42:16 +0100) Subject: Re: QEMU and tap problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: asmund.eikli@uia.no List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 13:34:00 -0000 Have a look at this article: http://sysnotes.hia.no/2007/09/21/how-to-fix-network-bridging-for-qemu/ It may give you some ideas although it is for Linux. The basic premise is to make qemu emulate the guest host so it appears as any other physical host on the network. It may work better. Regards Oz RW wrote: > On Fri, 21 Sep 2007 07:08:41 -0500 (CDT) > "Doug Poland" wrote: > >> On Thu, September 20, 2007 20:47, RW wrote: >>> On Thu, 20 Sep 2007 06:21:20 -0500 >>> Doug Poland wrote: >>>> I've been following the various instructions I've found on the web >>>> in an attempt to get tap networking with qemu-devel-0.9.0s.20070802 >>>> >>> Are you actually sure that you actually need tap? >>> >> Good question. My reason for running Win2K server under QEMU is I'm >> working on a java app that speaks to SQLServer. Initially, all I need >> is to communicate with the host/guest on the same machine. After >> that, I'll need the QEMU guest to be on the network so I can connect >> to the java app from other computers. >> >>> A lot of the how-tos are out of date >>> >> I've noticed that :( >> >>> - recent versions of Qemu can give a guest network access without >>> it. >>> >> When I started QEMU with the -net nic -net user switches, then Windows >> gets a 10. address and the guest can see the network. However, I >> cannot see open ports I'm interested in, 1433 and 3389, from the host. > > > I understand it when you run a guest without any networking switches, > it sees an emulated ethernet interface that behaves as if it's > connected to a basic NAT router. This emulation is running as an > ordinary user in the host, so it can't do anything that requires root > access - which is why you can't ping out. And because of the NAT you > can't make incoming connections to the guest (which prevents incoming > pings). > > IIRC there is some kind of redirection switch that will allow you to > connect to guest ports via ports on the host (analogous to the port > forwarding on a NAT router). > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >