Книга: Windows Server 2012 R2 Storage, Security, & Networking Pocket Consultant

Authorizing a DHCP server in Active Directory

Authorizing a DHCP server in Active Directory

Before you can use a DHCP server in the domain, you must authorize it in Active Directory. By authorizing the server, you specify that the server is authorized to provide dynamic IP addressing in the domain. Windows Server 2012 R2 requires authorization to prevent unauthorized DHCP servers from serving domain clients. This in turn ensures that network operations can run smoothly.

Only Enterprise Admins can authorize DHCP servers. In the DHCP console, you authorize a DHCP server by pressing and holding or right-clicking the server entry in the tree view, and then selecting Authorize. To remove the authorization, press and hold or right-click the server, and then select Unauthorize.

At an elevated, administrator Windows PowerShell prompt, you can use AddDhcpServerInDC to authorize DHCP servers. Use the -DnsName parameter to specify the name of the server to authorize or the -IpAddress to specify the IP address ofthe server to authorize as shown in the following examples:

Add-DhcpServerInDC -DnsName CorpSvr03.cpandl.com

Add-DhcpServerInDC –IpAddress 192.168.1.1

Use Remove-DhcpServerInDC to remove the authorization. The basic syntax is the same.

Оглавление книги


Генерация: 1.419. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз