That only worked to setup my DNS servers... I found this on another forum, in progress of testing it now
Ok,
I got this to work the static IP, subnet mask and default gateway. The
<identifier> by default is Local Area Connection but could be somthing
else. The IPaddress value with /24 give a subnet mask of 255.255.255.0
/16 would give 255.255.0.0 the nexthopipaddress gives the default
gateway. The prefix of 0.0.0.0/0 is something that finally got this to
work. I was getting setup error before this.
CODE
<settings pass="specialize">
<component name="Microsoft-Windows-TCPIP" language="neutral"
processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Interfaces>
<Interface>
<Identifier>Local Area Connection</Identifier>
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv4Settings>
<UnicastIpAddresses>
<IpAddress wcm:keyValue="1">192.168.0.1/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<NextHopAddress>192.168.0.254</NextHopAddress>
<Metric>20</Metric>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>
</settings>