qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Net -  Qemu
@ 2005-09-22 16:53 luciana
  2005-09-22 19:13 ` [Qemu-devel] " Emmanuel Charpentier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: luciana @ 2005-09-22 16:53 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: Net -  Qemu
  2005-09-22 16:53 [Qemu-devel] Net - Qemu luciana
@ 2005-09-22 19:13 ` Emmanuel Charpentier
  2005-09-22 20:11 ` [Qemu-devel] " Jim C. Brown
  2005-09-23  6:19 ` Info
  2 siblings, 0 replies; 4+ messages in thread
From: Emmanuel Charpentier @ 2005-09-22 19:13 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Net -  Qemu
  2005-09-22 16:53 [Qemu-devel] Net - Qemu luciana
  2005-09-22 19:13 ` [Qemu-devel] " Emmanuel Charpentier
@ 2005-09-22 20:11 ` Jim C. Brown
  2005-09-23  6:19 ` Info
  2 siblings, 0 replies; 4+ messages in thread
From: Jim C. Brown @ 2005-09-22 20:11 UTC (permalink / raw)
  To: qemu-devel

On Thu, Sep 22, 2005 at 01:53:11PM -0300, 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?   

You can't, for the most part.

You have two options - either user tuntap networking or modify the source
code of qemu's DHCP server.

> Thank you
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Net -  Qemu
  2005-09-22 16:53 [Qemu-devel] Net - Qemu luciana
  2005-09-22 19:13 ` [Qemu-devel] " Emmanuel Charpentier
  2005-09-22 20:11 ` [Qemu-devel] " Jim C. Brown
@ 2005-09-23  6:19 ` Info
  2 siblings, 0 replies; 4+ messages in thread
From: Info @ 2005-09-23  6:19 UTC (permalink / raw)
  To: qemu-devel

On WinXP or Win2k3, you can build a network bridge over 
the host NIC adapter and multiple TAP Adapters from 
OpenVPN. The host IP config is done on the bridge, not on 
the host NIC. I do that at my home for QEMU, but I haven't 
testet it with more then one TAP. If you work in an MS 
network, there is a policy which could prevent you from 
bridging.

Andreas

On Thu, 22 Sep 2005 13:53:11 -0300
  luciana <luciana@cptec.inpe.br> 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
>
>
>_______________________________________________
>Qemu-devel mailing list
>Qemu-devel@nongnu.org
>http://lists.nongnu.org/mailman/listinfo/qemu-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-23  6:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 16:53 [Qemu-devel] Net - Qemu luciana
2005-09-22 19:13 ` [Qemu-devel] " Emmanuel Charpentier
2005-09-22 20:11 ` [Qemu-devel] " Jim C. Brown
2005-09-23  6:19 ` Info

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).