Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two static IPs, e.g and I have one network card on the host machine. Can i configure each VM to have it's own IP?

share|improve this question
up vote 1 down vote accepted

You don't need two network cards to allow two VMs. The host will act like a network switch, and send the packets where they need to go.

share|improve this answer
Would you know how I should configure this Womble? I'm new to the VM stuff and I'm really lost. Thanks. – Mridang Agarwalla Jul 19 '11 at 5:36
No, I don't use the commodity VM management stuff. – womble Jul 19 '11 at 5:44
Hello Womble, would I need three IPs for my two VMs — 2 for the guest VMs and one for the KVM host? Am I right? – Mridang Agarwalla Jul 19 '11 at 9:25
Don't ask questions in comments, ask them in questions. – womble Jul 19 '11 at 10:17

Yes you can. With 2 IP addresses you can configure 2 machines to have their own IP addresses (does not matter if they are virtual or real machines). If you set up 2 virtual machines with these IP addresses, you do not have any left for the host machine (which is often fine and some times even desirable).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.