IpAddress (Standard 8 Module Reference)

7/8/2014

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

This setting specifies the IP address of a DNS server, an IP address that is a member of NameServerList, or a unicast IP address.

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

DNS-Client

Products/Embedded Core/DNS-Client/Interfaces/Interface/DNSServerSearchOrder/IpAddress

Specifies the IP address of a DNS Server.

You use Key and Value attributes to specify the order in which to search for extended domain names.

NetBT

Products/Embedded Core/NetBT/Interfaces/Interface/NameServerList/IpAddress

Specifies IP addresses that are members of NameServerList.

You use Key and Value attributes to specify unique keys for each address. Name-server priority is based on the Key of the IP address, with higher priority given to lexographically lower keys.

TCPIP

Products/Embedded Core/TCPIP/Interfaces/Interface/UnicastIpAddresses/IpAddress

Specifies a unicast IP address for an interface. You can specify the unicast IP address for both the IPv4 and the IPv6 protocols. This setting is interface-specific.

You use Key and Value attributes to specify unique keys for each IP address. Name-server priority is based on the Key of the IP address, with higher priority given to lexographically lower keys.

XML Example

These XML examples show how to specify IP addresses.

DNS Server

The following XML example shows how to specify the IP address of a DNS server.

<DNSSuffixSearchOrder>
      <DomainName wcm:action="add" wcm:keyValue="1">server1.fabrikam.com</DomainName>
      <DomainName wcm:action="add" wcm:keyValue="2">fabrikam.com</DomainName>
</DNSSuffixSearchOrder>
<UseDomainNameDevolution>true</UseDomainNameDevolution>
<Interfaces>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">192.168.1.2</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
         <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
      <Interface wcm:action="add">
         <Identifier>Local Area Connection 2</Identifier>
         <DNSDomain>fabrikam.com</DNSDomain>
         <DNSServerSearchOrder>
            <IpAddress wcm:action="add" wcm:keyValue="1">192.168.1.1</IpAddress>
            <IpAddress wcm:action="add" wcm:keyValue="2">2001:4898:28:4:213:20ff:fe16:3e96</IpAddress>
         </DNSServerSearchOrder>
         <EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration>
        <DisableDynamicUpdate>false</DisableDynamicUpdate>
      </Interface>
</Interfaces>

NetBT NameServerList

The following XML example shows how to configure the IP address that is a member of NameServerList.

<NameServerList>
    <IpAddress wcm:action="add" wcm:keyValue="MyKey">MyValue</IpAddress> 
</NameServerList>

TCP/IP Unicast IP Address

The following XML example shows how to configure a unicast IP address for IPv4 and IPv6 protocols.

   <Interfaces>
   <!-- Add static IP address (192.168.0.1/24, ffff:1::3/48) & route (12.34.0.0/16) to interface with identifier "Ethernet 1" -->
      <Interface wcm:action="add">
         <Ipv4Settings>
            <DhcpEnabled>true</DhcpEnabled> 
            <Metric>20</Metric> 
            <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
         </Ipv4Settings>
         <Ipv6Settings>
            <DhcpEnabled>false</DhcpEnabled> 
            <Metric>30</Metric> 
            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled> 
         </Ipv6Settings>
      <Identifier>Ethernet 1</Identifier>
         <UnicastIpAddresses>
           <IpAddress wcm:action="add" wcm:keyValue="1">192.168.0.1/24</IpAddress>
           <IpAddress wcm:action="add" wcm:keyValue="2">ffff:1::3/48</IpAddress>
         </UnicastIpAddresses>
         <Routes>
            <Route wcm:action="add">
               <Identifier>1</Identifier> 
               <Metric>10</Metric> 
               <NextHopAddress>12.34.0.0</NextHopAddress> 
               <Prefix>16</Prefix> 
            </Route>
            <Route wcm:action="add">
               <Identifier>10</Identifier> 
               <Metric>29</Metric> 
               <NextHopAddress>12.34.56.0</NextHopAddress> 
               <Prefix>24</Prefix> 
            </Route>
         </Routes>
      </Interface>
      <Interface wcm:action="add">
         <Ipv4Settings>
            <DhcpEnabled>true</DhcpEnabled> 
            <Metric>20</Metric> 
            <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
         </Ipv4Settings>
         <Ipv6Settings>
            <DhcpEnabled>false</DhcpEnabled> 
            <Metric>10</Metric> 
            <RouterDiscoveryEnabled>true</RouterDiscoveryEnabled> 
         </Ipv6Settings>
         <Identifier>Local Area Connection</Identifier> 
         <UnicastIpAddresses>
            <IpAddress wcm:action="add" wcm:keyValue="1">123.45.67.8</IpAddress> 
            </UnicastIpAddresses>
         <Routes>
            <Route wcm:action="add">
               <Identifier>1</Identifier> 
               <Metric>10</Metric> 
               <NextHopAddress>12.34.0.0</NextHopAddress> 
               <Prefix>16</Prefix> 
            </Route>
         </Routes>
      </Interface>
   </Interfaces>

See Also

Concepts

Embedded Core Settings