Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 02:40:03 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Help configuring qemu networking tap mode
Message-ID:  <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com>
In-Reply-To: <49B33157.9040106@FreeBSD.org>
References:  <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> <49B33157.9040106@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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