Link to home
Start Free TrialLog in
Avatar of talker2004
talker2004Flag for United States of America

asked on

DHCP server in windows server 2008

I have a server 2008 virtual machine which i am trying to setup as a dhcp server.

I already made it a domain controller and setup dns appropriately to forward DNS queries to my isp. I have actually already tested it by setting up one of my workstations with a static ip which resolves dns queries through the domain controller. It worked we can access the internet from that machine.

Now i want to install DHCP to dish out ip addresses to the rest of the machines on the network.

I disabled DHCP in the router and all of the workstations currently have static ip's. I installed the DHCP role on my server and setup a scope of 192.168.0.2 thru 192.168.0.179.

When i go to one of my workstations and set it to obtain the ip automatically nothing happens, it never gets an ip address. btw the ip address to my domain controller is 192.168.0.180 just incase that matters for anything. What could i be missing?

Any help would be greatly appreciated.
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Is server authorized, is scope activated?
  Did you "authorize" the DHCP server on the domain? I would open up a command prompt on the workstation. Do a "ipconfig /release" to release the current IP address and then a "ipconfig /renew" to get a new ip address. See if either of those two command give you an error ...
Avatar of talker2004

ASKER

When i renew i get "unable to contact DHCP server".
  I guess that answered that question :) Is the DHCP server authorized, activated and running? Did you turn off the firewalls on the server(s)?
I turned off the firewall on the server. When i go to authorize the DHCP Server I am getting Access Denied.
That would stop it from working. Are you logging it to the server as administrator?
I am logged in as administrator, I am still getting access denied when I choose authorize from teh actions menu.
ASKER CERTIFIED SOLUTION
Avatar of jimbecher
jimbecher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks, I was logged in as the machine admin not the domain admin.