I have windows server 2012 installed on a VM along with windows 8 to do DHCP lab (I am new to networking), but the server cannot assign an IP address to windows 8.
I am using a wireless router.
In the server's powershell, I type ipconfig /all to see my IP address and subnet mask and my default gateway,
which is IP address:
10.0.2.15 255.255.255.0 10.0.2.2
I went to network to set static IP address the same as above and the preferred DNS server is 10.0.2.15.
Then I create a DHCP range: 10.0.2.100 to 10.0.2.200 and DNS server is and I can see my scope in the DHCP view.
I boot up windows 8 on my VM to see it works.
I go back to server to refresh the address release but nothing happens.
In windows 8 , I command prompt the ipconfig /all
Ipaddress : 10.0.2.15 (which is server address?) subnet mask: 255.255.255.0 default gateway: 10.0.2.2 DNS server : 192.168.1.1
What am I doing wrong? Is the problem with my DNS configuration?
Since DHCP server is using broadcast method to release IP address, you might run into the situation where you have more than 1 DHCP server in your network. Run the IPCONFIG /ALL again to make sure you got the IP from the right DHCP server.