DHCP Enabled: One Windows Server 2019 and Another Windows 10 Pro VM - No Internet Access
In this article, we will discuss the configuration of two virtual machines (VMs) - one running Windows Server 2019 and another running Windows 10 Pro, with DHCP enabled on the Windows Server 2019 VM, and no internet access on either VM. We will cover the key concepts of DHCP, Active Directory, and DNS, and provide step-by-step instructions for installation and configuration.
What is DHCP?
Dynamic Host Configuration Protocol (DHCP) is a network protocol that automatically assigns IP addresses to devices on a network. DHCP simplifies the process of managing IP addresses and reduces the potential for errors. With DHCP, network administrators can easily manage and update IP address assignments, as well as configure other network settings such as DNS servers and default gateways.
Installing DHCP on Windows Server 2019
To install DHCP on Windows Server 2019, follow these steps:
- Open Server Manager and click on "Add roles and features".
- Select "Role-based or feature-based installation" and click "Next".
- Select the server where you want to install DHCP and click "Next".
- Select "DHCP Server" and click "Next".
- Review the features to be installed and click "Install".
- Once the installation is complete, click "Close".
Configuring DHCP on Windows Server 2019
To configure DHCP on Windows Server 2019, follow these steps:
- Open the DHCP console and right-click on "IPv4" and select "New Scope".
- Enter a name and description for the scope and click "Next".
- Enter the starting and ending IP addresses for the scope and click "Next".
- Configure the lease duration and click "Next".
- Add any exclusions or delay and click "Next".
- Configure the DHCP options and click "Next".
- Review the settings and click "Finish".
What is Active Directory?
Active Directory (AD) is a directory service developed by Microsoft that provides centralized management of network resources such as users, computers, and printers. AD allows network administrators to manage access to network resources, enforce security policies, and delegate administrative tasks. With AD, network administrators can easily manage and update user and computer accounts, as well as configure group policies and access controls.
Installing Active Directory on Windows Server 2019
To install Active Directory on Windows Server 2019, follow these steps:
- Open Server Manager and click on "Add roles and features".
- Select "Role-based or feature-based installation" and click "Next".
- Select the server where you want to install Active Directory and click "Next".
- Select "Active Directory Domain Services" and click "Next".
- Review the features to be installed and click "Install".
- Once the installation is complete, click "Close".
Configuring Active Directory on Windows Server 2019
To configure Active Directory on Windows Server 2019, follow these steps:
- Open Server Manager and click on "Promote this server to a domain controller".
- Select "Add a new forest" and enter the root domain name. Click "Next".
- Configure the domain controller options and click "Next".
- Configure the DNS options and click "Next".
- Configure the additional options and click "Next".
- Review the settings and click "Install".
What is DNS?
Domain Name System (DNS) is a hierarchical naming system used to identify and locate computers and services on the internet and private networks. DNS allows users to access network resources using easy-to-remember domain names instead of IP addresses. With DNS, network administrators can easily manage and update domain name assignments, as well as configure other network settings such as DHCP servers and default gateways.
Configuring DNS on Windows Server 2019
To configure DNS on Windows Server 2019, follow these steps:
- Open the DNS console and right-click on the "Forward Lookup Zones" and select "New Zone".
- Enter a name for the zone and click "Next".
- Select the zone type and click "Next".
- Configure the replication and click "Next".
- Configure the primary and secondary DNS servers and click "Next".
- Review the settings and click "Finish".
- DHCP is a network protocol that automatically assigns IP addresses to devices on a network.
- Active Directory is a directory service developed by Microsoft that provides centralized management of network resources.
- DNS is a hierarchical naming system used to identify and locate computers and services on the internet and private networks.
- To install DHCP on Windows Server 2019, open Server Manager and click on "Add roles and features", select "Role-based or feature-based installation", select the server where you want to install DHCP, select "DHCP Server", and click "Install".
- To configure DHCP on Windows Server 2019, open the DHCP console, right-click on "IPv4", and select "New Scope", enter a name and description for the scope, enter the starting and ending IP addresses for the scope, configure the lease duration, add any exclusions or delay, and configure the DHCP options.
- To install Active Directory on Windows Server 2019, open Server Manager and click on "Add roles and features", select "Role-based or feature-based installation", select the server where you want to install Active Directory, select "Active Directory Domain Services", and click "Install".
- To configure Active Directory on Windows Server 2019, open Server Manager and click on "Promote this server to a domain controller", select "Add a new forest", enter the root domain name, configure the domain controller options, configure the DNS options, and configure the additional options.
- To configure DNS on Windows Server 2019, open the DNS console, right-click on the "Forward Lookup Zones", and select "New Zone", enter a name for the zone, select the zone type, configure the replication, and configure the primary and secondary DNS servers.