Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

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.
0
talker2004
Asked:
talker2004
  • 5
  • 4
1 Solution
 
Toni UranjekConsultant/TrainerCommented:
Is server authorized, is scope activated?
0
 
jimbecherCommented:
  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 ...
0
 
talker2004Author Commented:
When i renew i get "unable to contact DHCP server".
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
jimbecherCommented:
  I guess that answered that question :) Is the DHCP server authorized, activated and running? Did you turn off the firewalls on the server(s)?
0
 
talker2004Author Commented:
I turned off the firewall on the server. When i go to authorize the DHCP Server I am getting Access Denied.
0
 
jimbecherCommented:
That would stop it from working. Are you logging it to the server as administrator?
0
 
talker2004Author Commented:
I am logged in as administrator, I am still getting access denied when I choose authorize from teh actions menu.
0
 
jimbecherCommented:
0
 
jimbecherCommented:
0
 
talker2004Author Commented:
thanks, I was logged in as the machine admin not the domain admin.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now