![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Static IP in Vista Unattend installation Hi, I have generated an answer file for Windows Vista using the WAIK-tools. Everything works just fine but I can't find any reference how to set a static IP in unattend.xml. I have found the proper place (I think) for the IP but can't seem to get the subnet mask set properly. Any ideas? Thanks, Hege |
My System Specs![]() |
| | #2 (permalink) |
| | Static Vista I have the same problem you do. I did get the subnet mask to work. Under unicastipaddress--ipaddress if put in the ip address in teh following format it works. 192.168.0.1/24 would give you a subnet mask of 255.255.255.0 192.168.0.1/16 would give you a subnet mask of 255.255.0.0 Dont forget to put in the correct interface of the card default is Local Area Connection I am now stuck on default gateway I thinks its under routes-->NextHopAddress But when ever I put in route info my vista install is failing for some reason. Let me know if you have any info on this EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Static IP in Vista Unattend installation I have the same problem you do. I did get the subnet mask to work. Under unicastipaddress--ipaddress if put in the ip address in teh following format it works. 192.168.0.1/24 would give you a subnet mask of 255.255.255.0 192.168.0.1/16 would give you a subnet mask of 255.255.0.0 Dont forget to put in the correct interface of the card default is Local Area Connection I am now stuck on default gateway I thinks its under routes-->NextHopAddress But when ever I put in route info my vista install is failing for some reason. Let me know if you have any info on this "Hege Berg" wrote: > Hi, > > I have generated an answer file for Windows Vista using the > WAIK-tools. > Everything works just fine but I can't find any reference how > to set a > static IP in unattend.xml. I have found the proper place (I > think) for the > IP but can't seem to get the subnet mask set properly. Any > ideas? > > > Thanks, > > Hege -- Posted at author's request, using http://www.WinForumz.com interface Articles individually verified to usenet standards. Visit URL to contact author/report abuse Thread archive: http://www.WinForumz.com/vista/Stati...pict10653.html |
My System Specs![]() |
| | #4 (permalink) |
| | Reply 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. <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> EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Static IP in Vista Unattend installation 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. <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> "Hege Berg" wrote: > Hi, > > I have generated an answer file for Windows Vista using the > WAIK-tools. > Everything works just fine but I can't find any reference how > to set a > static IP in unattend.xml. I have found the proper place (I > think) for the > IP but can't seem to get the subnet mask set properly. Any > ideas? > > > Thanks, > > Hege |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Static IP in Vista Unattend installation I'm glad you found out how to do static ip / subnet / gateway. Thank you! Do any of you know how to go about telling WinPE 2.0 to use a particular nic when dealing with multiple nics in a machine? For instance, lets say I am booting WinPE 2.0 on a client machine that has an Intel and a 3com nic. In WinPE 1.6 I could specify the nic order to be loaded in the winbom.ini based on the pci info (vendor/device/subsystem ID) for the nic. In WinPE 2.0, I'm thinking maybe the "Identifier" field in the unattend file has something to do with it but I'm not sure. Any ideas? Thanks! -- khsh ------------------------------------------------------------------------ khsh's Profile: http://forums.techarena.in/member.php?userid=19315 View this thread: http://forums.techarena.in/showthread.php?t=616428 http://www.techarena.in |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Unattend installation - configuring 2nd network adapter | Vista installation & setup | |||
| Vista Unattend Installation not excepting Product Key | Vista installation & setup | |||
| Unattend Gadget Installation Default Gadgets?? | Vista installation & setup | |||
| Access a static member on a nested static class. | PowerShell | |||
| Static Driver installation | Vista hardware & devices | |||