DHCP cross-network segment allocation IP address DHCP server must allocate IP addresses across network segments, that is, if you want to assign IP addresses to clients not in the DHCP server's subnet through the router, you must add a DHCP relay proxy to the router, on the DHCP Server, the second scope should be established and the super scope should be established. After the router enables the relay proxy function, it can forward the request to the DHCP server when receiving a request message from the DHCP Client for finding a DHCP server and requesting an IP address lease; the corresponding response packet of the DHCP server is also sent to the router and then forwarded to the DHCP client. The router acts as the intermediary and proxy of the DHCP service. Why use DHCP relay? Because DHCP relies on broadcast communication, the process is: the client sends a broadcast to ask whether there is a DHCP server in the network segment. If there is a DHCP server, DHCP will respond to the client: "I will DHCP server" after the client receives a response, it will send a request for renting an IP address to the server: "I want to rent an IP address" after the DHCP server receives the request, A confirmation message will be sent and the IP address will be rented to the customer: "Okay, your IP address is... "All processes adopt broadcast. We all know that routes are required for communication between different network segments, and routers isolate broadcast by default. Therefore, to allocate IP addresses across network segments, you must use relay. www.2cto.com 1. RRAS (Role: DHCP relay) sets the TCP/IP attribute of the two connections, local 1: 192.168.1.1/24; Local 2: 172.16.1.1/16 start RRAS (Routing and Remote Access Service) set relay: Specify the relay interface as local connection 2, specify the DHCP server address as 192.168.1.22.SERVER (DHCP server), configure and activate the scope: Scope address 172.16.1.50-172.16.1.993.CLIENT (DHCP Client) IPCONFIG/RELEASE (manually RELEASE the DHCP lease) IPCONFIG/RENEW (manually obtain the DHCP lease) IPCONFIG/ALL (verify the lease) Author luodie