As the network scale expands, we will use the "Routing and Remote Access" function of the Windows server operating system to divide the network into different subnets. How can I provide services between two subnetworks through a DHCP server? In this case, you need to use the relay proxy function of the DHCP server to provide the DHCP service between two subnets at the same time.
DHCP relay proxy configuration Step 1: Install DHCP relay proxy
On the computer where the "route and remote access" service is installed, open the "route and remote access" console, select the "General" option in "IP routing protocol", right-click, select Add route protocol in the pop-up menu. For example)
New Routing Protocol
In the displayed dialog box, select "DHCP relay agent" and click "OK" to install the DHCP relay agent. For example)
Install DHCP relay agent
Step 2 of DHCP relay proxy configuration: IP address of the DHCP server
In this case, an "DHCP relay agent" will be added to the "IP Route Selection" option. Right-click this option to open the "properties" dialog box. For example)
DHCP relay agent property options
In the Properties dialog box of the DHCP relay agent, we need to specify the IP address of the DHCP server to which the DHCP relay agent directs. Here we enter the IP address 192.168.0.2 of the DHCP server. For example)
IP address of the DHCP server
Step 3: configure the DHCP relay proxy
Finally, right-click the "DHCP service relay agent" option and select "New Interface" to load the DHCP service relay to an interface, in this example, we select the "internal" interface, so that we will apply the "DHCP relay agent" to the network card connecting to another subnet. Through the above settings, computers in different subnets may automatically obtain IP address information through the DHCP relay agent.
Apply the DHCP relay agent to the interface