From: Bartosz Fabianowski <bartosz@fabianowski.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Anyone have functioning networking with a FreeBSD host?
Date: Sun, 13 Jun 2004 15:05:25 +0200 [thread overview]
Message-ID: <40CC5115.7090602@fabianowski.de> (raw)
In-Reply-To: <20040613052815.GA378@prophecy.dyndns.org>
I am using "normal" networking (that is, not slirp) with FreeBSD as
host. My guest operating systems are various versions of Windows and
none of them have any problems with networking whatsoever. Here's my
configuration. Maybe it can help you to fix your installation:
* I compile QEMU from CVS with the patches from the port. Apart from a
--prefix, I pass no special arguments to configure.
* In my /etc/rc.conf, I have set FreeBSD to work as a gateway by setting
gateway_enable="YES".
* My guest uses the IP 192.168.1.7 on the emulated network card, the tap
device on the host has IP 192.168.1.1. The only problem here is that I
have been too lazy to write a network script so it's just a no-op and I
always run "ifconfig tapX inet 192.168.1.1" manually whenever QEMU
starts and allocates a new tap device (why is it by the way that QEMU
always opens a new tap device?).
With those few steps, it all works very nicely. I should note, however,
that to go on the Internet with the guest operating system, its IP must
be NAT-ed somewhere on the way, which is handled by another FreeBSD box
in my case.
- Bartosz
next prev parent reply other threads:[~2004-06-13 13:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-13 5:28 [Qemu-devel] Anyone have functioning networking with a FreeBSD host? Christopher Nehren
2004-06-13 10:46 ` Alexander E. Patrakov
2004-06-13 11:21 ` Antony T Curtis
2004-06-13 18:59 ` Bakul Shah
2004-06-13 22:12 ` Christopher Nehren
2004-06-14 20:49 ` port update (was: Re: [Qemu-devel] Anyone have functioning networking with a FreeBSD host?) Juergen Lock
2004-06-15 0:19 ` Juergen Lock
2004-06-13 13:05 ` Bartosz Fabianowski [this message]
2004-06-13 20:17 ` [Qemu-devel] Anyone have functioning networking with a FreeBSD host? Brad Watson
2004-06-13 20:42 ` Christopher Nehren
2004-06-13 20:55 ` Bartosz Fabianowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40CC5115.7090602@fabianowski.de \
--to=bartosz@fabianowski.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).