winbatch Posted April 29, 2004 Share Posted April 29, 2004 I've got an unattended Server 2003 disk created using XPCREATE. It works great, installs all of my hotfixes and registry tweaks and pretty much does what I'm looking for with one exception: The adapter keeps defaulting to DHCP even though the WINNT.SIF I created (using setupmgr) specifies a static IP address and DHCP=No.Any thoughts? It's obviously seeing my WINNT.SIF cuz other parts of it complete properly.Thanks!winbatchHere's my WINNT.SIF;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS FileSystem=* Repartition=No WaitForReboot=No DriverSigningPolicy=Ignore [GuiUnattended] AdminPassword=* AutoLogon=Yes AutoLogonCount=2 OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1[userData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="M. A. Mortenson Company" OrgName="M. A. Mortenson Company" ComputerName=MSP2003SERVER[LicenseFilePrintData] AutoMode=PerSeat[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=763 LongDistanceAccess="9"[RegionalSettings] LanguageGroup=1[branding] BrandIEUsingUnattended=Yes Home_Page=http://www.mydomain.com Help_Page=http://mydomain/helpdesk Search_Page=http://www.google.com[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[identification] JoinDomain=DOMAIN DomainAdmin=DOMAIN\UserName DomainAdminPassword=password[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=10.1.5.1 SubnetMask=255.255.248.0 DefaultGateway=10.1.0.1 DNSServerSearchOrder=10.1.5.1 WINS=Yes WinsServerList=10.1.5.1 NetBIOSOptions=0 DNSDomain=MYDOMAIN.COM Link to comment Share on other sites More sharing options...
Noise Posted April 29, 2004 Share Posted April 29, 2004 Welp, looks fine to me. I see nothing wrong with it. Do you have more than one NIC in this PC you're building? Link to comment Share on other sites More sharing options...
MasterControl Posted April 29, 2004 Share Posted April 29, 2004 Here's a little reference...Compare to yours [Networking]This section contains no entries. However, to configure network protocols during an unattended setup, you must include the [Networking] section name in your answer file. In addition, you must include additional sections that describe your network adapters, protocols to be installed, and static IP address information.To adhere to Server Clusters Best Practices, you must follow the following guidelines when configuring networking:Use at least two interconnects. Although a server cluster can function with only one interconnect, at least two interconnects are necessary to eliminate a single point of failure and are required for the verification of original equipment manufacturer (OEM) clusters.Reserve one network exclusively for internal node-to-node communication (the private network).Do not use teaming network adapters on the private networks.Use static IP addresses for each network adapter on each node.For a complete list of instructions for Networking Best Practices, please refer to Windows Server 2003 Enterprise Server Online Help/Availability and Scalability/Cluster Servers.Use the following entries in unattend.txt to implement the Networking Best Practices recommendations:[NetAdapters] ;list your network adapters here Adapter01 = params.Adapter01 Adapter02 = params.Adapter02 Next, you need to uniquely identify each network adepter. You can either use the INFID entry where you need to specify the Plug and Play IDs of your network adapters, or the NetCardAddress entry to specify MAC addresses. You need to run a special tool called pnpids.exe from Windows Server 2003 Resource Kit to retrieve the PnP IDs for your network cards. For computers with multiple adapters of the same type (that is, the Plug and Play ID for each is the same), you must specify the NetCardAddress or PCI location information. If you do not specify the NetCardAddress or PCI location, only the first adapter enumerated/detected that matches the PnP ID receives the answer file entries.If you specify the NetCardAddress or PCI location, Setup does not use the INFID entry because it is the least specific entry.Therefore, we recommend that you simply identify your network cards by their MAC addresses as follows:[params.Adapter01] NetCardAddress = 0x0002A5D0510F [params.Adapter02] NetCardAddress = 0x000476D5F57D ;Install Client for MS Networks [NetClients] MS_MSClient = params.MS_MSClient [params.MS_MSClient] ;Specify which network protocols to install [NetProtocols] MS_TCPIP = params.MS_TCPIP ;TCP/IP properties [params.MS_TCPIP] AdapterSections = params.MS_TCPIP.Adapter01, params.MS_TCPIP.Adapter02 Now we need to configure both network cards with static IP address information. Following Cluster Networking Best Practices recommendations, for private networks, we need to define the TCP/IP properties for static IP addresses by specifying a class A, B, or C private address and a subnet mask.For a public cluster network, we need to specify a static IP address, subnet mask, default gateway, DNS and WINS entries.;Adapter01 is used for intra-cluster communication. [params.MS_TCPIP.Adapter01] DHCP = No IPAddress = 172.24.23.91 SpecificTo = Adapter01 SubnetMask = 255.255.0.0 WINS = No ;Adapter02 represents a public network [params.MS_TCPIP.Adapter02] DefaultGateway = 157.6.8.1 DHCP = No IPAddress = 157.5.4.1 SpecificTo = Adapter02 SubnetMask = 255.255.252.0 DNSServerSearchOrder = 157.5.0.1,157.6.0.2 WINS = Yes WINSServerList = 157.5.0.1,157.5.1.2 Link to comment Share on other sites More sharing options...
MasterControl Posted April 30, 2004 Share Posted April 30, 2004 Look at the order of your dhcp command, and compare it to the article i posted...Might not make a difference, but i would put them in order as specified. Link to comment Share on other sites More sharing options...
ChrisBaksa Posted April 30, 2004 Share Posted April 30, 2004 If you have more than one adapter in this machine you need to specify the Adapter the IP gets assigned to.[params.Adapter1]PCIBusNumber=10PCIDeviceNumber=2PCIFunctionNumber=0INFID=PCI\VEN_14E4&DEV_1645&SUBSYS_007C0E11&REV_15\3&172E68DD&0&10Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now