We continue this series with part 5 on Windows Server 2012 by installing DHCP Server Services. The only basic thing you need to know about DHCP is that it assigns IP addresses to computers that require them. It ensures that there are no IP conflicts on the network. Off course this is just the basic role of DHCP.
To install DHCP Server follow the steps below:
1) As usual step 1 is to start Server Manager Dashboard.
2) Click on Add Roles and Features from Manage Menu.
3) The Add Roles and Features wizard begins, Click Next.
4) Select Role-based or feature-based installation, Click Next.
5) Select the Server you’d like to install DHCP on, Click Next.
6) Select DHCP Server from the Roles list; click Add Features on the popup window.
8) Select any Features if required, Click Next.
9) Read the description about DHCP Server, Click Next.
10) Review the installation summary and Click Install.
11) After Installation, You will be asked to “Complete DHCP Configuration”
12) Launch DHCP Post-Install Configuration Wizard, Click Next.
13) Specify Alternate credentials if you are installing DHCP on a different server that is not a part of the same domain. We will use the default AD credentials. Click Commit.
14) It is required to restart the DHCP Server service on the computer you installed the DHCP server on.
There are 2 ways to restart DHCP Server service.
1. From Server Manager.
Navigate to Services from Tools Menu.
Find DHCP Server, Right Click and select Restart.
2. From PowerShell.
Run as Administrator.
Enter “net stop DHCPServer, Wait for service to stop.
Enter “net start DHCPServer, Wait for service to start.
Configuring DHCP Server
Ok so we have finished installing DHCP Server service now we will configure it to assign IP’s to all computers in the domain WackyTechTips.com
1) Launch DHCP from the Tools Menu.
2) Expand server-name (dc.wacktechtips.com)
3) Right Click IPv4, and select New Scope.
4) New Scope Wizard starts, Click Next.
5) Enter a Name and Description for the new scope, Click Next.
6) Assign an IP Address Start IP and End IP, everything in between those IP is your IP Address Range. E.g. 192.168.1.100 to 192.168.1.254 is the IP’s my DHCP Server can assign to computers in the domain.
To explain to you about Length and Subnet mask that would require a whole extra post. For now we leave it those values at default.
7) Specify IP Address Exclusions, this range of IP will be reserved and not assigned to any computers in your network by DHCP server, although you can manually assign an excluded IP address to a computer. Example, Printers, VOIP / PBX systems, these types of devices should be assigned IP’s manually.
8) Specify how long you want the DHCP server to lease an IP address to a computer. Default is 8 hours.
9) Select Yes, I want to configure these options now, Click next.
10) Specify Default Gateway for your network.
11) Specify Parent Domain and DNS server. Make sure when you enter Server Name under DNS it resolves to the correct IP, if it doesn’t take a look at your DNS settings. Click Next.
12) Specify any WINS server. We don’t have one configured so we are going to leave it blank and Click Next.
13) Select Yes, I want to activate this scope now. Click Next.
14) We have successfully configured DHCP server, Click Finish to exit the wizard.
We have successfully installed and configure DHCP server.
enable romtee desktop for this computer . That’s it. If they are on the same network than you can go to run and type in mstsc hit enter and a romtee connection window will pop up. Here you can type in the host name or IP and credentials and your in.