DHCP on Server 2008 core installation

How do i install and configure the DHCP role on a windows server 2008 core installation.

After I install the role i would like to set it up with a scope of 10.0.0.10 through 10.0.0.50. And reserve 10.0.0.100 to a specific mac address.
 
It would also be nice to have a command that listed all the leased clients as well as a command to list the reserved clients too.

Thanks in advance
LVL 7
talker2004Asked:
Who is Participating?
 
Chris DentPowerShell DeveloperCommented:

Yep, or by using the Remote Server Administration Tools (RSAT) on Vista. You'll find that's the case for most of the components on there, including the Firewall and Disk Manager.

It's not quite so simple in a few cases, you have to poke holes in the Firewall to allow administration in the first place. We have a couple of commands to help us there:

netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
netsh advfirewall set currentprofile settings remotemanagement enable

The last one enables remote administration of the Advanced Firewall Settings (again from either Vista or 2008 server).

Chris
0
 
Chris DentPowerShell DeveloperCommented:

This will install it:

ServerManagerCmd -Install DHCP

Once you've done that you can manage it remotely using the regular GUI. If you want to manage it on the command line you'll need to familiarise yourself with NetSh. There's a reference for NetSh here (along with some examples for managing DHCP services):

http://technet.microsoft.com/en-us/library/cc787375.aspx

Chris
0
 
talker2004Author Commented:
So you are basically saying that I can use the GUI from another Server 2008 installation?
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
talker2004Author Commented:
Nice, I am setting up a bunch of vm's on my Hyper-V server, and I am looking for a smaller footprint.

I will be trying this tonight, for now I will leave the question open in case I run into a snag.
0
 
Chris DentPowerShell DeveloperCommented:

No worries :)

You might want this one as a reference:

http://www.petri.co.il/managing-windows-2008-server-core-locally.htm

And quite possibly this as well, depending on whether you prefer the command line or GUI:

http://www.codeplex.com/CoreConfig

Chris
0
 
talker2004Author Commented:
I don't mind a combination of both, but it's relieving to know i can connect with a GUI.
0
 
talker2004Author Commented:
Chris-Dent, I did not get to try it yet. I plan to work on it this weekend.

Just wanted to update you because i hate when people abandon posts and never give out the points.

I will give out points as soon as i get it resolved, I just want to keep it open in case i have another question while i am setting it up.

This goes for that other post as well.

Thanks
0
 
Chris DentPowerShell DeveloperCommented:

No worries, no rush, just yell if it raises any more questions.

Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.