windows server 2012 dhcp setup

Published by prasanna on

To install the operating system and configure TCP/IP on DHCP


  1. Start your computer using the Windows Server 2012 product disc or other digital media.
  2. When prompted, enter a product key, accept license terms, configure clock, language, and regional settings, and provide a password for the local Administrator account.
  3. Press Ctrl+Alt+Delete and sign-in using the local Administrator account.
  4. If you are prompted to enable Windows Error Reporting, click Accept.
  5. Click Start, type ncpa.cpl, and then press ENTER. The Network Connections control panel will open.
  6. In Network Connections, right-click Wired Ethernet Connection and then click Properties.
  7. Double-click Internet Protocol Version 4 (TCP/IPv4).
  8. On the General tab, choose Use the following IP address.
  9. Next to IP address type 10.0.0.1 and next to Subnet mask type 255.255.255.0. It is not necessary to provide an entry next to Default gateway.
  10. Next to Preferred DNS server, type 10.0.0.1.
  11. Click OK twice, and then close the Network Connections control panel.

DHCP1 will serve as a domain controller, DNS server, and DHCP server for the contoso.com Active Directory domain.

  1. The Server Manager Dashboard is displayed by default. In the navigation pane, click Configure this local server.
  2. Under PROPERTIES, click the name next to Computer name. The System Properties dialog box will open.
  3. On the Computer Name tab, click Change and then type DHCP1 under Computer name.
  4. Click OK twice, and then click Close.
  5. When you are prompted to restart the computer, click Restart Now.
  6. After restarting the computer, sign-in using the local Administrator account.
  7. In Server Manager, under Configure this local server, click Add Roles and Features.
  8. In the Add Roles and Features Wizard, click Next three times, and then on the Select server roles page select the Active Directory Domain Services checkbox.
  9. When you are prompted to add required features, click Add Features.
  10. Select the DHCP Server checkbox.
  11. When you are prompted to add required features, click Add Features.
  12. Select the DNS Server checkbox.
  13. When you are prompted to add required features, click Add Features.
  14. Click Next five times, and then click Install.
  15. Wait for the installation process to complete, verify on the Installation progress page that Configuration required. Installation succeeded on DHCP1 is displayed, and then click Close.
  16. Click the Notification flag and then click Promote this server to a domain controller. See the following example.Notification flag
  17. In the Active Directory Domain Services Configuration Wizard, on the Deployment Configuration page, choose Add a new forest and then next to Root domain name, type contoso.com.
  18. Click Next, and then on the Domain Controller Options page, under Type the Directory Services Restore Mode (DSRM) password, type a password next to Password and Confirm password. Confirm that Domain Name System (DNS) server and Global Catalog (GC) are selected, and then click Next.
  19. Click Next four times, verify that All prerequisite checks passed successfully is displayed, and then click Install.
  20. The computer will restart automatically to complete the installation process.
  21. Sign in using the local Administrator account.

A domain administrator account is required to configure settings in the test lab.

  1. On the Server Manager menu bar, click Tools, and then click Active Directory Users and Computers.
  2. In the Active Directory Users and Computers console tree, double-click contoso.com, right-click Users, point to New, and then click User.
  3. In the New Object – User dialog box, type user1 under User logon name and next to Full name, then click Next.
  4. Next to Password and Confirm password, type a password for the user1 account.
  5. Clear the checkbox next to User must change password at next logon, select the Password never expires checkbox, click Next, and then click Finish.
  6. Double-click user1 and then click the Member Of tab.
  7. Click Add, type domain admins under Enter the object names to select, click OK twice, and then close the Active Directory Users and Computers console.
  8. Click Start, click Administrator, and then click Sign out.
  9. Sign in to the computer using the user1 credentials by clicking the left arrow next to your server name\Administrator and then clicking Other user.

Next, create a DHCP scope on DHCP

  1. On the Server Manager menu bar, click Tools and then click DHCP. THE DHCP console opens.
  2. In the DHCP console tree, navigate to IPv4. Right-click IPv4 and then click New Scope. The New Scope Wizard opens.
  3. Click Next and then type a name for the new scope next to Name (ex: Contoso-scope1).
  4. Click Next and then in IP Address Range, type 10.0.0.1 next to Start IP address, type 10.0.0.254 next to End IP address, and type 24 next to Length. The value of Subnet mask will change automatically to 255.255.255.0.
  5. Click Next, and then in Add Exclusions and Delay type 10.0.0.1 under Start IP address, type 10.0.0.10 under End IP address, and then click Add. This allows the first ten IP addresses in the 10.0.0.0/24 subnet to be used for static addressing of servers on the network.
  6. Click Next and then in Lease Duration under Limited to enter 0 Days, 0 Hours, and 2 Minutes. This very short lease duration will simplify the DHCP demonstration.
  7. Click Next three times, and then in Domain Name and DNS Servers, verify that the Parent domain is server.com and 10.0.0.1 is listed as the only DNS server.
  8. Click Next twice, and then in Activate Scope select Yes, I want to activate this scope now.
  9. Click Next, and then click Finish.
  10. In the DHCP console tree, right-click dhcp.server.com, and then click Authorize.
  11. Refresh the view in the DHCP console and verify that DHCP is authorized and that the Contoso-scope1 is active.
Categories: Server

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *