Jump to content

IP being assigned to the wrong LAN


Recommended Posts

My motherboard has 2 LAN adapters built in. My winnt.sif is set to assign a static IP to one of these adapter, but it is assigning it to the wrong one. Is there a way that I can instruct the UA to assign that IP to a specific adapter? Maybe via it's MAC address?

Thx, Darin

Link to comment
Share on other sites


First specify your adapter(s) in the [NetAdapters] section of winnt.sif (or unattend.txt) and then define the MAC address of your cards and/or the PNP-ID in the [params.adapter instance] section:

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

[params.adapter1]
NetCardAddress = 0x123456789AB
ConnectionName = "MyNetwork"

[params.adapter2]
NetCardAddress = 0x123456789AB
ConnectionName = "WAN"

[params.MS_TCPIP.adapter1]
SpecificTo = adapter1
IPAddress = 192.168.0.254

[params.MS_TCPIP.adapter2]
SpecificTo = adapter2
DisableDynamicUpdate = No
EnableAdapterDomainNameRegistration = No
DefaultGateway = 193.1.1.1
DHCP = Yes
DHCPClassId = abc
DNSDomain = fabrikam.com
DNSServerSearchOrder = server1.fabrikam.com, fabrikam.com
IPAddress = 193.1.1.33,193.1.1.34
IpAllowedProtocols = 10
NetBIOSOptions = 1
TcpAllowedProtocols = 10
UdpAllowedProtocols = 10
SubnetMask = 193.1.1.255
WINS = Yes
WINSServerList = 193.1.1.95,193.1.1.97
...

The other option is to use the PNP_ID of each adapter. MS recommends to use MACs if the PNP_IDs are the same ...

all the above can be found in the MS Windows XP Service Pack 2 Deployment Tools

:)

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...