Jump to content

using winnt.sif with 2 NIC's ?


Recommended Posts

I have two nic's one for the internet ( which is shared ) and another with DHCP enabled for sharing the connection, how can i put the information for the second adapter in winnt.sif.

PS: Xp setup takes the shared connection as Local Area Connection 2

Also anyway of sharing LAC 2 unattended with HTTP and FTP forwarded.

current winnt.sif

[Networking]
   InstallDefaultComponents=No

[NetAdapters]
   Adapter1=params.Adapter1

[params.Adapter1]
   INFID=*

[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=172.16.7.70,10.16.7.157
   SubnetMask=255.255.0.0,255.255.254.0
   DefaultGateway=10.16.X.X
   DNSServerSearchOrder=10.16.X.X
   WINS=No
   NetBIOSOptions=2

Link to comment
Share on other sites


is it like this

[NetAdapters]
   Adapter1=params.Adapter1
   Adapter2=params.Adapter2

[params.Adapter1]
   INFID=*

[params.Adapter2]
   INFID=*

[NetProtocols]
   MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
   DNS=No
   UseDomainNameDevolution=No
   EnableLMHosts=Yes
   AdapterSections=params.MS_TCPIP.Adapter1
   AdapterSections=params.MS_TCPIP.Adapter2

[params.MS_TCPIP.Adapter1]
   SpecificTo=Adapter1
   DHCP=YES
   WINS=No
   NetBIOSOptions=2

[params.MS_TCPIP.Adapter2]
   SpecificTo=Adapter2
   DHCP=No
   IPAddress=172.16.7.70,10.16.7.157
   SubnetMask=255.255.0.0,255.255.254.0
   DefaultGateway=10.16.6.3
   DNSServerSearchOrder=10.16.0.2
   WINS=No
   NetBIOSOptions=2

ip setting are for adapter 2 cause its the shared one, or i could just give winnt.sif the setting for one adapter, the other one would become dhcp'ed and i could just change the cable based on whats what.

Link to comment
Share on other sites

I do mine like this:

[NetAdapters]
ADMtek=params.ADMtek
VIA=params.VIA

[params.ADMtek]
NetCardAddress=(mac address in the format of 0x************)
ConnectionName="**********"

[params.VIA]
NetCardAddress=(mac address in the format of 0x************)
ConnectionName="***********"

[NetClients]

[NetServices]

[NetProtocols]
MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=No
AdapterSections=params.MS_TCPIP.ADMtek, params.MS_TCPIP.VIA

[params.MS_TCPIP.ADMtek]
SpecificTo=ADMtek
DHCP=Yes
DNSServerSearchOrder=***.***.***.***
WINS=No
NetBIOSOptions=2

[params.MS_TCPIP.VIA]
SpecificTo=VIA
DHCP=Yes
DNSServerSearchOrder=***.***.***.***
WINS=No
NetBIOSOptions=2

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...