From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 12:08:46 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 0541E16A419 for ; Fri, 21 Sep 2007 12:08:46 +0000 (UTC) (envelope-from doug@polands.org) Received: from ms-smtp-04.rdc-kc.rr.com (ms-smtp-04.rdc-kc.rr.com [24.94.166.116]) by mx1.freebsd.org (Postfix) with ESMTP id BC5D013C457 for ; Fri, 21 Sep 2007 12:08:45 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by ms-smtp-04.rdc-kc.rr.com (8.13.6/8.13.6) with ESMTP id l8LC8d2E008847; Fri, 21 Sep 2007 07:08:39 -0500 (CDT) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l8LC8f3J056416; Fri, 21 Sep 2007 07:08:41 -0500 (CDT) (envelope-from doug@polands.org) Received: from 208.49.58.254 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Fri, 21 Sep 2007 07:08:41 -0500 (CDT) Message-ID: <3942.208.49.58.254.1190376521.squirrel@email.polands.org> In-Reply-To: <20070921024706.47a4094c@gumby.homeunix.com.> References: <20070920112119.GA43389@polands.org> <20070921024706.47a4094c@gumby.homeunix.com.> Date: Fri, 21 Sep 2007 07:08:41 -0500 (CDT) From: "Doug Poland" To: "RW" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: ClamAV 0.88.4/4357/Fri Sep 21 04:55:46 2007 on corinth.polands.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: QEMU and tap problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 12:08:46 -0000 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. >> Windows thinks it has connectivity, but I cannot ping the default >> gateway from the guest and I cannot ping the IP of the guest from >> the host. > > This suggest you are accessing the net without tap, ping is a setuid > binary so pings generated in the guest can't be passed on by qemu. > The guest definitely could not see the hosts network with tap set up the way I described. I was using ping as a basic diagnostic tool and did not know the limitation you described. -- Regards, Doug