DHCP stand for Dynamic Host Configuration Protocol. What is DHCP or Understanding DHCP is also important thing to know before you deploy
DHCP Server.
Dynamic Host Configuration Protocol |
--------------------------------------------------------------------------------------------
Also View: How to Configure Volume Shadow Services (VSS)
--------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Also View: Add Multiple Servers in Windows Server 2012 Server Manager
------------------------------------------------------------------------------------------------
Also View: How to Configure Volume Shadow Services (VSS)
--------------------------------------------------------------------------------------------
When you install the DHCP Server role on a computer that is
a member of an Active Directory Domain Services domain, the DHCP Server is
automatically authorized to allocate IP addresses to clients that are members
of the same domain. If the server is not a domain member when you install the
role, and you join it to a domain later, you must manually authorize the DHCP
server in the domain by right-clicking the server node in the DHCP console and,
from the shortcut menu, selecting Authorize. After installing the DHCP Server role, you must configure
the service by creating a scope before it can serve clients.
Before we begin we need to verify following things:
- You are familiar with DHCP concepts such as scopes, leases, and options.
- The operating system is configured correctly.
- This computer has a static IP address.
- All existing disk volumes use the NTFS file system. FAT32 volumes are not secure, and they do not support file and folder compression, disk quotas, file encryption, or individual file permissions.
Install DHCP Role Server Manager
- Launch the Add Role Wizard from Server Manager.
- Select DHCP server role and go through the steps needed for installation.
- The last page of the wizard (which comes up after the role has been installed), provides a link – “Complete DHCP configuration”. This provides some tasks that need to be performed to enable the DHCP server role to work properly after role installation.
Finish Installation |
Description |
Authorization |
Summary |
------------------------------------------------------------------------------------------------
Also View: Add Multiple Servers in Windows Server 2012 Server Manager
------------------------------------------------------------------------------------------------
Install DHCP Server via PowerShell
To install the DHCP server role via PowerShell, one needs to
run the following command:
Command:
Add-WindowsFeature
-IncludeManagementTools dhcp
Creating DHCP security groups
Command:netsh dhcp add securitygroups
Note: You will need to restart the DHCP service for these groups
to become active.
Command:
Restart-service dhcpserver
Authorizing the DHCP server in Active Directory (only needed
for a domain-joined setup)
Command: Add-DhcpServerInDC <hostname of the DHCP server>
<IP address of the DHCP server>
0 comments:
Post a Comment