Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>> =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 <dougb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c3ed3fdc0903090646v3698a86dj218a477d3f79e6a>