Page 1 of 1

Windows guest getting a "bad" IP address

Posted: 10. Aug 2009, 19:07
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!!!

Re: Windows guest getting a "bad" IP address

Posted: 10. Aug 2009, 21:00
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?