Page 1 of 1

XP guest on Ubuntu host - Seperate nic cards?

Posted: 14. May 2008, 20:12
by rcassettyjr@gmail.com
If I want to run XP as a guest on Ubuntu 8.04 can I have the virtual machine use a separate NIC card with a static IP assigned to it? The Host will also have a static IP. The machine has a built in nic card and a PCI one I added.

Thanks

Bob

Posted: 14. May 2008, 21:43
by Sasquatch
What setup do you want to build? You can use NAT if you will use only Internet on the Guest. If you want the Guest to be part of you network, you have to use Host Interface with bridging as described in the manual. Then you can set static addresses to each interface (the bridge on the Host and the Guest NIC in the VM).

Posted: 15. May 2008, 08:51
by thomasjohansen
Have an extra question to this topic.

It's kinda beginner question:

to do a bridging from host to guest (HIF) with a static ip for both guest and host, is it necessary to have two physical nic's?

Both host and guest must be accessible in the lan.


thx in advange
Thomas

Posted: 15. May 2008, 09:08
by DracoZA
No you only need one physical adapter, however you will have to setup Host networking for your guest to have its own network configuration.

You can in theory have several unique guests with each having its own IP.

Posted: 15. May 2008, 09:27
by thomasjohansen
thx for the quick answer.

I actually just ordered a dual nic card few minuts ago, but was able to cancel it after i read your post. :lol:

thx again.


Thomas