03-19-2025 06:15 PM
Hi, I'd like to make an inquiry. When a computer performs a DHCP broadcast request, I imagine that it reaches servers both within its network and beyond (if DHCP relay is configured on the router). If this is an external server where you have configured multiple scopes with different networks, how does the scope server know which to provide the data, and does it look at the gateway from which the request is received? Thank you very much.
Solved! Go to Solution.
03-19-2025 06:58 PM
When a computer sends a DHCP request across the network, and it is relayed to an external DHCP server, the relay agent (like a router) includes its own IP address in a field called the Gateway IP Address (GIADDR) in the DHCP message. The DHCP server uses this GIADDR field to identify the subnet from which the request originated, then matches it to a specific scope—a configuration on the server defining the IP range and network settings for that subnet. Based on this match, the server assigns an IP address from the appropriate scope to the client, ensuring that it belongs to the correct network.
03-19-2025 06:46 PM
The relayed DHCP packet provides the necessary data.
03-19-2025 06:58 PM
When a computer sends a DHCP request across the network, and it is relayed to an external DHCP server, the relay agent (like a router) includes its own IP address in a field called the Gateway IP Address (GIADDR) in the DHCP message. The DHCP server uses this GIADDR field to identify the subnet from which the request originated, then matches it to a specific scope—a configuration on the server defining the IP range and network settings for that subnet. Based on this match, the server assigns an IP address from the appropriate scope to the client, ensuring that it belongs to the correct network.
03-19-2025 07:56 PM
03-19-2025 07:56 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide