Net - Qemu
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
Quoted 3 lines · luciana
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
Quoted 5 lines · luciana
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.
Quoted 8 lines
Thank you
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
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
Quoted 7 lines · On Thu, 22 Sep 2005 13:53:11 -0300 luciana <[email protected]> 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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel