Hi,
I'm trying to set up a Windows 7 VM using KVM and the "Virtual Machine Manager" application. My existing internal network is 192.168.1.0/24. I'd like to either have the VM on the same network, or somehow configure it so it has access to the resources (DNS, file shares, etc) on that network.
How can I do this? It seems disabling the DHCP, in an attempt to give it an existing IP, is not possible. Is DHCP required? If so, do I need to set up a forwarding DNS server on the host network to NAT and forward to the real internal DNS server?
When trying to disable NAT, and choose "Route", with DHCP disabled, it shows:
Error changing VM configuration: 'NoneType' object has no attribute 'unlinkNode'
Thanks, Alex
On 24/07/10 21:20, Alex wrote:
Hi,
I'm trying to set up a Windows 7 VM using KVM and the "Virtual Machine Manager" application. My existing internal network is 192.168.1.0/24. I'd like to either have the VM on the same network, or somehow configure it so it has access to the resources (DNS, file shares, etc) on that network.
I have mine setup the way you want. (No Windows though) I set up reserved 192.xxx.xxx.xxx with names\macs' in the Hardware Router.
I set up a br0 in the VM Host, then connected all VM Guests using said br0 During guest setup giving them the pre-assigned mac's\names. I used dhcp as it supplied the reserved ips'
F13 host. with Virt-Manager
Hi,
I have mine setup the way you want. (No Windows though) I set up reserved 192.xxx.xxx.xxx with names\macs' in the Hardware Router.
What is the Hardware Router you are referring to? Is that an application, or do you mean your actual router?
I set up a br0 in the VM Host,
Do you mean using one of the network management tools, or is this from within the Virt-Manager?
then connected all VM Guests using said br0 During guest setup giving them the pre-assigned mac's\names.
I've already created the guest. How can I do this after setup?
I used dhcp as it supplied the reserved ips'
Do you mean also from within the Virt-Manager application, or by some dhcp management application?
Thanks for your help. Your writing is a bit unclear.
Thanks, Alex
On 26/07/10 02:55, Alex wrote:
Hi,
I have mine setup the way you want. (No Windows though) I set up reserved 192.xxx.xxx.xxx with names\macs' in the Hardware Router.
What is the Hardware Router you are referring to? Is that an application, or do you mean your actual router?
Sorry, it was early am, no coffee yet. Hardware Router (Actual Router).
I set up a br0 in the VM Host,
Do you mean using one of the network management tools, or is this from within the Virt-Manager?
then connected all VM Guests using said br0 During guest setup giving them the pre-assigned mac's\names.
I've already created the guest. How can I do this after setup?
You can change some of the settings within Virt-Manager itself.
Also for macs'\shown names I have had sucess by shutting down Virt-Manager completly, directly editing the relevant /etc/libvirt/qemu/*xml script, then reboot the Host box.
I used dhcp as it supplied the reserved ips'
Do you mean also from within the Virt-Manager application, or by some dhcp management application?
As I had only 10guests, I had reserved 10ips\macs in the Hardware router, whic supplies dhcp to everything here, including the guests using the bridge (br0)