Sei sulla pagina 1di 18

How to Install and Configure Windows Server 2008 DHCP Server

Page 1 of 18

Admin KnowledgeBase Articles & Tutorials Authors Blogs Free Tools SharePoint Hosting Message Boards Newsletters Software White Papers

Site Search Search Site Advanced Search

Submit Query

How to Install and Configure Windows Server 2008 DHCP Server

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 2 of 18

Like

235

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 3 of 18

hand out to your PC clients, your DNS server IP addresses, and your default gateway. Additionally, you will want to have a plan for all subnets involved, what scopes you will want to define, and what exclusions you will want to create. To start the DHCP installation process, you can click Add Roles from the Initial Configuration Tasks window or from Server Manager Roles Add Roles.

Figure 1: Adding a new Role in Windows Server 2008 When the Add Roles Wizard comes up, you can click Next on that screen. Next, select that you want to add the DHCP Server Role, and click Next.

Figure 2: Selecting the DHCP Server Role If you do not have a static IP address assigned on your server, you will get a warning that you should not install DHCP with a dynamic IP address.

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 4 of 18

At this point, you will begin being prompted for IP network information, scope information, and DNS information. If you only want to install DHCP server with no configured scopes or settings, you can just click Next through these questions and proceed with the installation. On the other hand, you can optionally configure your DHCP Server during this part of the installation. In my case, I chose to take this opportunity to configure some basic IP settings and configure my first DHCP Scope. I was shown my network connection binding and asked to verify it, like this:

Figure 3: Network connection binding What the wizard is asking is, what interface do you want to provide DHCP services on? I took the default and clicked Next. Next, I entered my Parent Domain, Primary DNS Server, and Alternate DNS Server (as you see below) and clicked Next.

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 5 of 18

Figure 4: Entering domain and DNS information I opted NOT to use WINS on my network and I clicked Next. Then, I was promoted to configure a DHCP scope for the new DHCP Server. I have opted to configure an IP address range of 192.168.1.50-100 to cover the 25+ PC Clients on my local network. To do this, I clicked Add to add a new scope. As you see below, I named the Scope WBC-Local, configured the starting and ending IP addresses of 192.168.1.50-192.168.1.100, subnet mask of 255.255.255.0, default gateway of 192.168.1.1, type of subnet (wired), and activated the scope.

Figure 5: Adding a new DHCP Scope Back in the Add Scope screen, I clicked Next to add the new scope (once the DHCP Server is installed).

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 6 of 18

I chose to Disable DHCPv6 stateless mode for this server and clicked Next. Then, I confirmed my DHCP Installation Selections (on the screen below) and clicked Install.

Figure 6: Confirm Installation Selections After only a few seconds, the DHCP Server was installed and I saw the window, below:

Figure 7: Windows Server 2008 DHCP Server Installation succeeded I clicked Close to close the installer window, then moved on to how to manage my new DHCP Server.

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 7 of 18

How to Manage your new Windows Server 2008 DHCP Server


Like the installation, managing Windows Server 2008 DHCP Server is also easy. Back in my Windows Server 2008 Server Manager, under Roles, I clicked on the new DHCP Server entry.

Figure 8: DHCP Server management in Server Manager While I cannot manage the DHCP Server scopes and clients from here, what I can do is to manage what events, services, and resources are related to the DHCP Server installation. Thus, this is a good place to go to check the status of the DHCP Server and what events have happened around it. However, to really configure the DHCP Server and see what clients have obtained IP addresses, I need to go to the DHCP Server MMC. To do this, I went to Start Administrative Tools DHCP Server, like this:

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 8 of 18

Figure 9: Starting the DHCP Server MMC When expanded out, the MMC offers a lot of features. Here is what it looks like:

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 9 of 18

Figure 10: The Windows Server 2008 DHCP Server MMC The DHCP Server MMC offers IPv4 & IPv6 DHCP Server info including all scopes, pools, leases, reservations, scope options, and server options. If I go into the address pool and the scope options, I can see that the configuration we made when we installed the DHCP Server did, indeed, work. The scope IP address range is there, and so are the DNS Server & default gateway.

Figure 11: DHCP Server Address Pool

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 10 of 18

Figure 12: DHCP Server Scope Options So how do we know that this really works if we do not test it? The answer is that we do not. Now, lets test to make sure it works.

How do we test our Windows Server 2008 DHCP Server?


To test this, I have a Windows Vista PC Client on the same network segment as the Windows Server 2008 DHCP server. To be safe, I have no other devices on this network segment. I did an IPCONFIG /RELEASE then an IPCONFIG /RENEW and verified that I received an IP address from the new DHCP server, as you can see below:

Figure 13: Vista client received IP address from new DHCP Server Also, I went to my Windows 2008 Server and verified that the new Vista client was listed as a client on the DHCP server. This did indeed check out, as you can see below:

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 11 of 18

Like

235

115 comments Add a comment... Comment using... Ghaffar Ag Hunza, Northern Areas, Pakistan Nice and great article ... Reply 1 Like 11 September at 21:03

Abhy Dogra Really good, and full of knowledge

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 12 of 18

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 13 of 18

About David Davis

David Davis has served as an IT Manager for over 15 years. He has a number of certifications including CCIE #9369, MCSE, CISSP, & VCP. Additionally, David has authored over one hundred articles, a number of video training courses including Windows XP, Wireless Networking, Linux Administration, ISA Server, A+ Certification, Microsoft Virtual Server, VMware Server & Workstation, & VMware ESX Server. David publishes Cisco Networking how-to articles & videos at his website, HappyRouter.com. Click here for David Davis's section.

Receive all the latest articles by email!


Get all articles delivered directly to your mailbox as and when they are released on WindowsNetworking.com! Choose between receiving instant updates with the Real-Time Article Update, or a monthly summary with the Monthly Article Update. Sign up to the WindowsNetworking.com Monthly Newsletter, written by Dr. Tom Shinder, containing news, the hottest tips, Networking links of the month and much more. Subscribe today and don't miss a thing! Real-Time Article Update (click for sample) Monthly Article Update (click for sample) Monthly Newsletter (click for sample)

Enter email address

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 14 of 18

Latest articles by David Davis


7 Steps To Successfully Troubleshoot A Windows Network How to get certified on Microsoft System Center Overview of Microsoft System Center product line and how it can help you Diagnosing Wireless Issues with inSSIDer and other tools Syncing and Backing up files with free Dropbox

Related links
Setting up a DHCP server in Windows 2003 Windows 2000 Install DHCP Server Configuring Windows Server 2003 to act as a NAT router Using the new Windows Server 2008 Core OCList and OCSetup CLI tools to Add & Remove Server Roles 10 Windows Server 2008 Netsh commands you should know

Featured Links*
Internet monitoring, Web security and Internet Access Control - All in one! Boost employee productivity by monitoring, controlling and reporting on employee internet access. Protect users and company network against malware infection through web browsing and downloads, as well as phishing scams. ManageEngine ServiceDesk Plus - The Out-of-the-box ITIL Ready HelpDesk Software Get an out-of-the-box, flexible helpdesk with integrated asset management and ITIL features, used by more than 10000 IT managers in 23 different languages ManageEngine OpManager - The Complete Network Monitoring Software Monitor WAN infrastructure, LAN, Servers, Switches, Routers, Services, Apps, CPU, Memory, AD, URL, Logs, Printers. Satisfies your entire Network infrastructure Management needs. Get Spiceworks IT Management & Help Desk Software & Request Price Quotes - All Free! Download Spiceworks IT management software to make your IT day easier! In addition to network monitoring, help desk functionality, UPS management software, & IT community access, Spiceworks now offers a free multi-vendor request for quote service. And it's still 100% free! Get it today! Manage, Secure and Track Your Devices with Free Mobile Device Management account 3CX Mobile Device Manager is an online service that allows you to easily manage, secure, monitor, find and track your Android smartphones and tablets. With 3CX MDM, you can track all your connected devices, secure all your devices by remotely locking and wiping them and much more. Take full advantage of your mobile devices without creating a management nightmare. Sign Up for a Free 3CX Mobile Device Manager account.

Receive all the latest articles by email!


Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below! Click for Real-Time sample & Monthly sample
Enter Email

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 15 of 18

Community Area
Log in|Register

Become a WindowsNetworking.com member!


Discuss your network issues with thousands of other network administrators. Click here to join!

Featured Freeware!

SolarWinds Free SAN Monitor for EMC CLARiiON Quickly and easily monitor your EMC CLARiiON storage arrays. GET NEW FREE TOOL

Admin KnowledgeBase

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 16 of 18

Articles & Tutorials Cloud Computing Common for all OSes Dial up Networking, ICS, RAS, ADSL General Networking Network Protocols Network Troubleshooting Product Reviews VoIP Windows 7 Windows 2000 Windows 2003 Windows 95/98/ME Windows NT 4 Windows Server 2008 Windows Server 2012 Windows Vista Windows XP Wireless Networking Authors Deb Shinder Scott D. Lowe Eric Geier Brien M. Posey David Davis Mitch Tulloch Robert J. Shimonski Russell Hitchcock Blogs Free Tools Hardware Anti-Spam Hardware Anti-Virus Hardware Firewalls & VPN Load Balancers Mail Archiving Servers Storage Message Boards Newsletter Signup RSS Feed Services SharePoint Hosting Software Active Directory Management Administration tools Backup software Data recovery software Database server software DNS servers Email archiving Free Tools Help desk software IP Address Management IP PBX Servers Misc. network administrator tools Network Configuration Management Network inventory software Network Mapping Network monitoring / management

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 17 of 18

Network Traffic Monitoring Patch Management Remote control software SharePoint Tools Software distribution and metering Storage and quota software Terminal Servers Thin Client Servers Web content management servers White Papers IP PBX, SIP & VoIP FAQSponsored by 3CX

Featured Products

Readers' Choice
Which is your preferred Anti Virus hardware solution?
Vote!

Abaca Email Protection Gateway Blue Coat ProxyAV Appliances Check Point UTM-1 Appliances Cisco IronPort Web Security Appliances iPrism Web Filter McAfee Web Gateway Network Box Panda GateDefender Performa SonicWALL Email Security SpamTitan ISO
please specify

TechGenix Sites
MSPAnswers.com Resource site for Managed Service Providers. ISAserver.org The No.1 Forefront TMG / UAG and ISA Server resource site. MSExchange.org The leading Microsoft Exchange Server 2010 / 2007 / 2003 resource site. WindowSecurity.com

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

How to Install and Configure Windows Server 2008 DHCP Server

Page 18 of 18

Network Security & Information Security resource for IT administrators. WServerNews.com The largest Windows Server focused newsletter worldwide. VirtualizationAdmin.com The essential Virtualization resource site for administrators. Admin KnowledgeBase Articles & Tutorials Authors Blogs Free Tools Hardware Links Message Boards

Newsletters Software White Papers About Us : Email us : Product Submission Form : Advertising Information WindowsNetworking.com is in no way affiliated with Microsoft Corp. *Links are sponsored by advertisers. Copyright 2012 TechGenix Ltd. All rights reserved. Please read our Privacy Policy and Terms & Conditions.

http://www.windowsnetworking.com/articles_tutorials/How-to-Install-Configure-Win... 18.09.2012

Potrebbero piacerti anche