DhcpEnabled (Standard 8 Module Reference)

7/8/2014

Review the applicable Embedded Core modules and any examples for the DhcpEnabled setting in Windows Embedded 8 Standard (Standard 8).

This setting specifies whether to enable DHCP on an interface.

Set to true to enable DHCP; otherwise, set to false.

Modules

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Setting Description

TCPIP

Products/Embedded Core/TCPIP/Interfaces/Interface/Ipv4Settings/DhcpEnabled

Specifies whether to enable DHCP for the IPv4 protocol on an interface.

TCPIP

Products/Embedded Core/TCPIP/Interfaces/Interface/Ipv6Settings/DhcpEnabled

Specifies whether to enable DHCP for the IPv6 protocol on an interface.

XML Example

The following XML example shows how to enable DHCP on IPv4 settings but disable them on IPv6 settings on an interface.

<Interface wcm:action="add">
    <Ipv4Settings>
        <DhcpEnabled>true</DhcpEnabled>
         <Metric>20</Metric>
     </Ipv4Settings>
    <Ipv6Settings>
        <DhcpEnabled>false</DhcpEnabled>
         <Metric>30</Metric>
     </Ipv6Settings>
</Interface>

For an example of how to configure TCP/IP interface settings, see TCPIP Settings XML Example.

See Also

Concepts

Embedded Core Settings