qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Emmanuel Charpentier <charpent@bacbuc.dyndns.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Net -  Qemu
Date: Thu, 22 Sep 2005 21:13:15 +0200	[thread overview]
Message-ID: <dguvof$e8h$1@sea.gmane.org> (raw)
In-Reply-To: <4332E177.8070909@cptec.inpe.br>

luciana wrote:
> Hello! I need to configure the net emulated by the qemu in the w2000, I
> got to activate it using DHCP, but I need  to configure a fixed ip of
> the type 150.163..... Does anybody know as doing?   Thank you

150.163.0.0 is your local network, right ?

This is what worked for me (Linux host) :

I set up a bridge (br0), configured with DHCP and attached my real
ethernet to it. the /etc/qemu-ifup adds the newly-created tun0 to it
(this has to be a sudo'd command). Works like a charm : all Ethernet
traffic is passed on this tun0 interface whenever the MAC destination is
the right one. Therefore, passing it a MAC address known from my (real)
DHCP server allows automatic (DHCP) configuration of the emulated
machine. You should also be able to configure a fixed IP.

Now, I understand that you are running Windows 2000 on the host. I do
not know if there are bridging utilities for Windows. If so, this might
be an easy solution... if there is something like qemu-ifup in Windows.

Hope this helps,

					Emmanuel Charpentier

  reply	other threads:[~2005-09-22 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22 16:53 [Qemu-devel] Net - Qemu luciana
2005-09-22 19:13 ` Emmanuel Charpentier [this message]
2005-09-22 20:11 ` Jim C. Brown
2005-09-23  6:19 ` Info

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='dguvof$e8h$1@sea.gmane.org' \
    --to=charpent@bacbuc.dyndns.org \
    --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).