Windows guest getting a "bad" IP address

Discussions about using Windows guests in VirtualBox.
Post Reply
pmullen
Posts: 6
Joined: 7. Aug 2009, 00:31
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP SP3

Windows guest getting a "bad" IP address

Post by pmullen »

Afternoon

I am in the process of setting up over 100 VB/Windows installations. VB 3.0.4/WinXP/SP3. The first four were fine (I was having duplicate IP issues but these forums said my adapters should be NAT instead of Bridged. That solved that). Starting with #5, the machine will not join our domain. It gets an IP address from somewhere (10.0.2.15) that is not coming from our DHCP server. It is on the network (can get on the Internet). But because it is a "bad" IP address, it won't join the domain. I have compared VB setting with one that works and both are identical.

I have used Parallels the last two years so I am getting up to speed with VB. Any help will be greatly appreciated.

Thanks!!!
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

Re: Windows guest getting a "bad" IP address

Post by Sasquatch »

When you use NAT, VB will provide a DHCP server that gives 10.0.2.15 to every VM and NIC that uses NAT. Only when you add more than one NAT NIC to a VM, the range changes, but that's in the manual (goes to 10.0.3.15 etc. IIRC). Joining a domain while using NAT, as you already noticed, can be done. If you search the forums again on that combination, you should also find a way to get it working properly.
There is one thing I'm wondering though. Why did your VMs generate duplicate IP addresses for your DHCP server? Was it using the Host's MAC address and thus getting the same IP as the Host?
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