From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 13:46:09 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FF591065679; Mon, 9 Mar 2009 13:46:09 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 29C948FC21; Mon, 9 Mar 2009 13:46:08 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1811107rvb.43 for ; Mon, 09 Mar 2009 06:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=x1rHCaS6Lq1IIGyrwRTxm7z+dwE1MeP1sfOkNqfUklo=; b=c0HWNUJZLYQhgiDUmbwKeUOxAnYBq9hTsi2z46GUMV5ZylvM1HdLi1i5xLMh8mdulv Yt9f+rsobHxd7tFL1Kh+awN3ySLa5Ib0szDauY0nt664+ebgoTXbFwlXHkXHQtG1Ojyj z3KL1lUKYD/D3VQu33aREiX0e89C5fy+maCsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dsGarRdDYKvq5n4srnj6m1R2fuNCV8w7ORNQT9xyBc1as+1YN60w94dM5xfx3swqmc jvBnp8JZv7JL/MS/wynLqIBzRSP9J29hJ9oPDC+zMq6Ly06AZOQyGR630GRTHJ/SQdeg 0M1Vr5zda6uTERWJQhE4LCpkE4UL8tOCuzLKk= MIME-Version: 1.0 Received: by 10.141.142.15 with SMTP id u15mr3084240rvn.112.1236606368538; Mon, 09 Mar 2009 06:46:08 -0700 (PDT) In-Reply-To: <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> <49B33157.9040106@FreeBSD.org> <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> Date: Mon, 9 Mar 2009 08:46:08 -0500 Message-ID: From: Phusion To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 13:46:09 -0000 On Sun, Mar 8, 2009 at 4:40 AM, Scot Hetzel wrote: > On 3/7/09, Doug Barton wrote: >> Doug Barton wrote: >> =A0> Doug Barton wrote: >> =A0>> So I'm past the Network Install phase and we're now finalizing the >> =A0>> install. :) >> =A0> >> =A0> Well, bad news ... the install is finished, but networking is not >> =A0> working. If I do user mode networking it gets an IP address but can= 't >> =A0> see the outside world. If I follow your instructions from the previ= ous >> =A0> e-mail it never gets an IP address at all, the network status thing >> =A0> says "limited or no connectivity." >> >> >> Turns out that there is a page on the wiki that has some good >> =A0suggestions, although it could use a bit of tweaking. I got networkin= g >> =A0up by doing this in the host: >> > The How To was based on =A0that wiki page and several others. =A0Plus my > own creation of not depending on the qemu startup/shutdown scripts to > add/remove the tap device to/from the bridge. > >> =A0myif=3Dbge0 >> >> =A0ifconfig tap create >> =A0ifconfig bridge create >> =A0ifconfig bridge0 addm tap0 addm $myif up >> > As you found out you need to add your hosts interface (bge0, rl0) to the = bridge. > >> =A0Then I was able to start qemu with the tap command line and now >> =A0networking works. >> > I was at work and couldn't answer your early questions, but it is good > to hear that =A0you were able to make it work. > > On 3/7/09, Doug Barton wrote: >> =A0Finally it looks to me like I'll need to set up samba on the host if = I >> =A0want the XP guest to have access to files that are not in the image, >> =A0correct? The man page mentions the -smb option for the user mode >> =A0network stack, will that work for tap too? >> > You'll need to setup samba to allow the XP guest access to the files > on the host system. =A0I haven't tried the -smb option under a tap > setup, it might work. > > Scot > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" > I am curious how your local firewall configuration looks on the host operating system. I am using pf firewall. Let me know. Phusion