I am trying to do some basic testing of a DHCP server (Windows Server 2012).
I'm trying to do all this testing from a laptop. The VM's are set Host-Only (or 'Private to my Mac' setting)
To get started; I've got win2012 a DHCP server with a private IP (
172.16.158.128). This what it defaulted to after setting the host-only networking.
Sample scope set up with basically this:
Add-DhcpServerv4Scope -Name "Test Scope" -StartRange 172.16.158.50 -EndRange 172.16.158.60 -SubnetMask 255.255.255.0
I am trying to test setting a specific workstation host to always pick up a certain IP.
So I create a Ubuntu VM (again, just something small footprint as my laptop isn't a beast), host only networking. It can ping the
.128 DHCP server.
When I go
dhclient -v -s 172.16.158.128
DHCPREQUEST's only (or
If I go
I instantly get
DHCPREQUEST of 172.16.158.130 on eth0 to 255.255.255.255 port 67 DHCPACK of 172.16.158.130 from 172.16.158.254
Windows firewall is disabled on win2012
What am I missing? How do I get the Windows machine to serve the requests?
edit The vm's are in VMware Fusion 6.0.5