Date: Mon, 9 Mar 2009 08:46:08 -0500 From: Phusion <phusion2k@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode Message-ID: <c3ed3fdc0903090646v3698a86dj218a477d3f79e6a@mail.gmail.com> 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>
index | next in thread | previous in thread | raw e-mail
On Sun, Mar 8, 2009 at 4:40 AM, Scot Hetzel <swhetzel@gmail.com> wrote: > On 3/7/09, Doug Barton <dougb@freebsd.org> wrote: >> Doug Barton wrote: >> > Doug Barton wrote: >> >> So I'm past the Network Install phase and we're now finalizing the >> >> install. :) >> > >> > Well, bad news ... the install is finished, but networking is not >> > working. If I do user mode networking it gets an IP address but can't >> > see the outside world. If I follow your instructions from the previous >> > e-mail it never gets an IP address at all, the network status thing >> > says "limited or no connectivity." >> >> >> Turns out that there is a page on the wiki that has some good >> suggestions, although it could use a bit of tweaking. I got networking >> up by doing this in the host: >> > The How To was based on that wiki page and several others. Plus my > own creation of not depending on the qemu startup/shutdown scripts to > add/remove the tap device to/from the bridge. > >> myif=bge0 >> >> ifconfig tap create >> ifconfig bridge create >> ifconfig bridge0 addm tap0 addm $myif up >> > As you found out you need to add your hosts interface (bge0, rl0) to the bridge. > >> Then I was able to start qemu with the tap command line and now >> networking works. >> > I was at work and couldn't answer your early questions, but it is good > to hear that you were able to make it work. > > On 3/7/09, Doug Barton <dougb@freebsd.org> wrote: >> Finally it looks to me like I'll need to set up samba on the host if I >> want the XP guest to have access to files that are not in the image, >> correct? The man page mentions the -smb option for the user mode >> network 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. I 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.org" > I am curious how your local firewall configuration looks on the host operating system. I am using pf firewall. Let me know. Phusionhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c3ed3fdc0903090646v3698a86dj218a477d3f79e6a>
