Configure Static IP, Default Gateway and Subnet Mask in WAIK

Unanswered Configure Static IP, Default Gateway and Subnet Mask in WAIK

  • jueves, 09 de febrero de 2012 0:41
     
     

    Hi,

    I want to know how to configure mainly the default gateway and subnet mask in my unattend.xml using WAIK. I know it is donw under TCPIP component but i dont know how to input say 255.255.255.192 for the subnet and 10.160.60.62 for the gateway. Any guidance would be great!

    Regards,

    Michael Vowles

Todas las respuestas

  • jueves, 09 de febrero de 2012 1:01
     
     

    I have since figured this out, read: http://en.wikipedia.org/wiki/CIDR my problem now is i need technicians to be able to enter this information as we dont have a DHCP server and we are using domain accounts on the machines to be deployed. So the answer file needs to be edited in say audit mode to enter this into the answer file.


  • jueves, 09 de febrero de 2012 23:13
     
      Tiene código

    I have configured a workaround for this problem as well but now the default gateway isn't added to the network settings i looked at the log file under Panther\UnattengGC\setupact which displays:

    012-02-09 17:50:02, Error                        [NETIOUGC.EXE] TCPIP: Failed parsing route prefix '0.0.0.0\0': 0x57.
    2012-02-09 17:50:02, Error                        [NETIOUGC.EXE] TCPIP: Consumer 5 REJECTED the value named 'Prefix' (under '0') with status 0x57.
    2012-02-09 17:50:02, Error                        [NETIOUGC.EXE] TCPIP: Error processing values under '0' registry key: 0x57.
    2012-02-09 17:50:02, Error                        [NETIOUGC.EXE] TCPIP: Error while processing the the '0' registry key.
    2012-02-09 17:50:02, Error                        [NETIOUGC.EXE] TCPIP: Failed to add the constructed route table entry to the stack: 0x57.

            <component language="neutral" name="Microsoft-Windows-TCPIP" 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 wcm:action="add">
    					<identifier>Local Area Connection</identifier>
                        <ipv4settings>
                            <dhcpenabled>false</dhcpenabled>
                        </ipv4settings>
                        <unicastipaddresses>
                            <ipaddress wcm:action="add" wcm:keyValue="1">10.160.60.1/26</ipaddress>
                        </unicastipaddresses>
                        <routes>
                            <route wcm:action="add">
                                <identifier>0</identifier>
                                <prefix>0.0.0.0\0</prefix>    
    			    <nexthopaddress>10.160.60.62</nexthopaddress>
                            </route>
                        </routes>
                    </interface>
                </interfaces>
            </component>
    I'm really starting to run out of ideas on this.

  • miércoles, 03 de octubre de 2012 13:11
     
     
    I think the  <prefix>0.0.0.0\0</prefix> should be  <prefix>0.0.0.0/0</prefix>