DhcpDefaultGateway

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<interface-name>

Data type Range Default value
REG_MULTI_SZ IPAddress[ IPAddress...] (A-space delimited list of dotted decimal IP addresses.) (There is no default value for this entry. The value is configured by DHCP.)

Description

An ordered list of gateways that can be used as the default gateway for this system. This list is configured by DHCP. Packets are sent to the default gateway when they are destined for a subnet to which this computer is not connected, or for which there is no specific.

At any time, only one gateway is the default gateway. The other gateways are used, in the order specified, when the system detects that the current default gateway is not operational (See EnableDeadGWDetect and TcpMaxDataRetransmissions).

This DHCP-configured entry is overridden by DefaultGateway, which is configured by the user, when that entry contains a valid value. (It is blank by default.)

Tip Image Tip

This entry is associated with a DHCP option. Configuration data for DHCP options is stored in each HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dhcp\Parameters\Options\ <Option#> subkey. The path to this entry is stored in the value of RegLocation in the associated <Option#> subkey.

To find the DHCP option associated with this entry, use Regedit.exe. From the Edit menu, click Find, and enter the following text: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDefaultGateway and select only the Data checkbox.

Caution Image Caution

The DHCP client service adds this entry to the registry when the service is enabled. It is maintained for internal use by the DHCP client service. Do not delete this entry or change its value.