Principles of DHCP authorization in Windows domains

Source: Internet
Author: User
Tags in domain

Principles of DHCP authorization in Windows domains

In a network of Windows, you can prevent illegal DHCP servers from being present by authorizing DHCP servers in domain mode. How does it work?

A DHCP server running Windows Server 2003, which detects the availability of active Directory first during startup, and then determines whether to provide DHCP services externally:

1. For servers that are joined to a domain, the DHCP server queries the list of IP addresses for the authorized DHCP servers in Active Directory. If you find your IP address in the address list, initialize and start servicing the client. If you do not find your address in the authorization list, you do not initialize and stop providing the DHCP service, which means the service does not start properly

If installed in multiple forests, the DHCP server will only seek authorization from within the forest in which they reside. Once granted, DHCP servers in multiple forest environments can lease IP addresses to all accessible clients. Therefore, if clients from other forests can access them by using routers that have the DHCP/BOOTP forwarding feature enabled, the DHCP server also leases IP addresses to them.

If Active Directory is unavailable, the DHCP server continues to run in the last known state.

2. For a DHCP server in a workgroup, when the DHCP service starts, the server broadcasts the Send DHCP message (DHCPINFORM) request package to the network to locate the root domain of the other DHCP servers that are installed and configured. This package includes several vendor-specific option types that are known and supported by other DHCP servers running Windows. When other DHCP servers receive these option types, the query and retrieval of root domain information is enabled. When queried, other DHCP servers confirm and return an answer message containing active diretory root domain information through a DHCP acknowledgment message (DHCPACK).
If the stand-alone server does not receive any response, it will start normally. If a stand-alone server receives a reply from an authorized DHCP server, the standalone server will not initialize and the DHCP service starts to terminate.

1. DHCP server in the workgroup when VS2 is started, the inform package sent

2. Authorized DHCP server in domain VS1 to respond with ACK packets

3. The client sends the Discover packet, requests the IP address

4.IP address for 192.168.10.1 Server gives a response, assigning clients to use 192.168.10.21 IP address


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.