[2003] Unattended install -> Instellingen per NIC

Pagina: 1
Acties:

  • grimson
  • Registratie: Augustus 2000
  • Laatst online: 17:58

grimson

domeingrommer

Topicstarter
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[Networking]

[NetAdapters]
    Adapter01 = params.Adapter01
    Adapter02 = params.Adapter02

[Params.Adapter01]
    ConnectionName = "Corporate Network #1"
    INFID = *

[Params.Adapter02]
    ConnectionName = "Corporate Network #2"
    INFID = *

[NetProtocols]
    MS_TCPIP = params.MS_TCPIP

[Params.MS_TCPIP]
    DNS = yes
    DNSSuffixSearchOrder = myworkdns.nl
    EnableLMHosts = No
    AdapterSections = params.TCPIP.Adapter01,params.TCPIP.Adapter02

[params.TCPIP.Adapter01]
    SpecificTo = "Adapter01"
    DNSServerSearchOrder = "192.168.100.30"
    DNSDomain = "myworkdns.nl"
    DefaultGateway = "192.168.100.1"
    DHCP = "No"
    IPAddress = "192.168.100.93"
    SubnetMask = "255.255.255.0"
    WINS = "Yes"
    WINSServerList ="192.168.100.30"
    NetBiosOption = "1"

[params.TCPIP.Adapter02]
    SpecificTo = "Adapter02"
    DNSServerSearchOrder = "192.168.200.30"
    DNSDomain = "myworkdns.nl"
    DefaultGateway = "192.168.200.1"
    DHCP = "No"
    IPAddress = "192.168.200.93"
    SubnetMask = "255.255.255.0"
    WINS = "Yes"
    WINSServerList ="192.168.200.30"
    NetBiosOption = "0"


Ik ben voor Windows 2003 (US geen OEM) een mooie unattended install aan het maken en het zou mooi zijn om meerdere netwerkkaarten te configureren. Voorheen deed ik het altijd maar voor één netwerkkaart maar het is uiteraard mogelijk voor meerdere netwerkkaarten.

Microsoft zegt dat als je de eerste netwerkkaart die Windows tegenkomt wil gebruiken en configureren je * kan gebruiken als INFID. Bij INFID kan je dus specificeren op PCI id etc. Een * betekend dus de eerste die Windows vind ongeacht type.

Dit gaat goed als je maar één adapter in je unattended antwoordbestand beschrijft.
Zoals je ziet heb ik nu 2 kaarten beschreven met het idee dat als Windows er 2 ziet de 2e ook gaat configureren. Voor de 2e kaart kies ik dus ook *.

Het punt is nu als ik dit doe zoals bovenstaande dat Windows beide kaarten niet meer automatisch configureerd.
Als ik;
code:
1
2
3
[Params.Adapter02]
    ConnectionName = "Corporate Network #2"
    INFID = TEST

aanpas in het bestand dan zal Windows 2003 de 1e NIC weer netjes benoemen en configureren maar de 2e uiteraard niet omdat Windows geen kaart kan vinden met het PCItag TEST.

Wat ik dus wil is dat Windows kaar 1 én kaart 2, ongeacht welke, automatisch benoemd. Klaarblijkelijk kan ik niet 2x * gebruiken als INFID. :'(
If only one adapter is available in the computer, you can use an asterisk for the InfID parameter (for the computer to assume that this adapter is the first network adapter).
http://support.microsoft....aspx?scid=kb;en-us;288229
Misschien kan het helaas niet ...
If InfID = *, Setup matches the first enumerated/detected network
adapter on the computer with the settings in this section. Therefore,
on a computer with a single network card, you can specify
adapter-specific entries without knowing the name or type of the
network adapter.
For computers with more than one network adapter, you must specify the
correct Plug and Play ID of each adapter. 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 InfID
receives the answer file entries.
Zoekt en gij zult zelf vinden .... jammer ;)

Uiteraard toch mijn vraag (omdat ik nou eenmaal een topic geopend heb):
Hoe kan ik 2 NIC's automatisch configureren via een unattended script?

[ Voor 45% gewijzigd door grimson op 30-12-2004 21:35 ]

Zon opbrengst http://plugwise.grimson.nl/ | Fotomeuk


  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

met macadressen werken (ref.chm > unattend.txt > networking > [params.adapter instance]
NetCardAddress = network_card_MAC_address
Value network_card_MAC_address
Example NetCardAddress = 0x123456789AB

Comments :
This entry is required when you install multiple network cards of the same type (with the same Plug and Play ID) on a computer and apply nondefault entries to the adapters.
This entry is not required for PCI adapters if you specify the PCI location information.

[ Voor 4% gewijzigd door alt-92 op 30-12-2004 23:17 ]

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device


  • grimson
  • Registratie: Augustus 2000
  • Laatst online: 17:58

grimson

domeingrommer

Topicstarter
BackSlash32 schreef op donderdag 30 december 2004 @ 23:14:
met macadressen werken (ref.chm > unattend.txt > networking > [params.adapter instance]
[...]
Hmja.. maar ik wil juist één CD maken die niet afhankelijk is van de hardware en dus voor meerdere servers inzetbaat is.
Als je op MAC adres gaat definiëren dan moet je voor elke server een aparte unattended.txt maken en dit zal dus 'administratief' een hoop rompslomp met zich meebrengen.

Ik zelf bedoel eigenlijk dat zoals je voor de enkele netwerkkaart een wildcard kan gebruiken ook voor de 2e een wildcard kan gebruiken maar dit kan waarschijnlijk niet.

Zon opbrengst http://plugwise.grimson.nl/ | Fotomeuk