[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Net - Qemu
From: |
Emmanuel Charpentier |
Subject: |
[Qemu-devel] Re: Net - Qemu |
Date: |
Thu, 22 Sep 2005 21:13:15 +0200 |
User-agent: |
Debian Thunderbird 1.0.6 (X11/20050802) |
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