Can't Get two VM an IP at the same time on a Host Interface

Discussions related to using VirtualBox on Windows hosts.
Post Reply
matt131
Posts: 1
Joined: 15. Jan 2009, 19:40

Can't Get two VM an IP at the same time on a Host Interface

Post by matt131 »

I have been trying for days to get the Host Interface setup correctly.



I have two VM's running XP. I have both setup for networking using Host Interface. I would like for both of them to get an IP address so that they can both talk to each other and to the internet. Is it possible to have two VM running on a Host Interface at once?

Thank you.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Yes. If you've configured Host IF on both guests and they have different MAC addresses then they will just pick up separate IP addresses as standard.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

This is only possible if VB is able to use the Guest MAC to obtain an IP address and the DHCP server doesn't bind IPs to MAC addresses. VB does a failback to the actual hardware MAC address if the first option fails.

You can always set static addresses ;).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply