DHCP service on WS2008R2 guest

Discussions about using Windows guests in VirtualBox.
Post Reply
Mnstrspeed
Posts: 1
Joined: 31. May 2011, 05:40
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows Server 2008 R2, Ubuntu 11.04, Windows 7

DHCP service on WS2008R2 guest

Post by Mnstrspeed »

I'm trying to setup a DHCP server on my Windows Server 2008 R2 guest to provice DHCP services to other (Windows 7) guests in the internal network (for learning purposes, I'm aware of the built-in VirtualBox DHCP server). Everything seems fine (the DHCP server is authorized by AD, I have an active scope setup, the service is running and I'm not getting any error messages in the logs), but for some reason the clients can't seem to be able to contact the DHCP server. They're also unable to ping the server unless I assign a static IP on the clients (the server already has one for the DHCP service).

When running an "ipconfig /renew", it says it was "unable to contact" the DHCP server and the request has timed out. Running this command increases the number of discovers in the statistics for the DHCP service by about 18, yet the number of requests stays at 0.

Something (VirtualBox?) seems to be blocking the connection; firewall is disabled for both the server and the clients, and VirtualBox isn't running any internal DHCP servers (I checked using "VBoxManage list dhcpservers"). I've been stuck on this issue for quite a while, so I appreciate any help.

Thanks in advance.

(I'm running VirtualBox 4.0.6 on a Windows 7 Ultimate 64-bit host)
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: DHCP service on WS2008R2 guest

Post by Sasquatch »

I just configured a Windows 2003 VM (non-AD) with DHCP and set an XP VM to be the client on Internal Networking and the client got an IP in an instant. Now the systems are different, but the technique is the same: it proofs that intnet is not the problem here for DHCP.
So, you have to check the system for firewall settings and such to figure out why it doesn't work for you. I know that 2008 R2 has a firewall enabled by default and it might be conflicting with your DHCP requests coming in.
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