HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- ProLiant Deployment and Provisioning
- >
- Re: Using SYSPREP to apply IP addres to Virtual NI...
ProLiant Deployment and Provisioning
1832978
Members
2879
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 01:37 AM
03-18-2004 01:37 AM
I am using RDP to create an imaging process for a DL380-G3. I am able to create a NIC team via the CQNICCFG utility, but I can't seem to figure out how to apply a static IP address to the virtual NIC Team using SYSPREP.
Is it possible to apply a static IP to a virtual NIC using an automated process, such as SYSPREP?
Any suggestions or information would be appreciated.
Thanks,
Paul
Is it possible to apply a static IP to a virtual NIC using an automated process, such as SYSPREP?
Any suggestions or information would be appreciated.
Thanks,
Paul
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2004 06:58 PM
03-22-2004 06:58 PM
Solution
Hello Paul
I use the following in unattend scripted builds which uses the template nicteam.txt and writes the required IP informtion in to a file based upon the systems ID.
rem ReplaceTokens .\deploy\configs\nicteam.txt .\deploy\configs\team\%ID%.txt
The contents of nicteam.txt is as follows:
IPAddress1="%NIC2IPADDR%"
SubnetMask1="%NIC2IPNETMASK%"
DefaultGateway1="%NIC2IPGATEWAY%"
strnetshell1="netsh.exe interface ip set address " & chr(34) & "Team #0 - Adapter Fault Tolerance Mode" & chr(34) & " static " & IPAddress1 & " " & SubnetMask1 & " " & DefaultGateway1 & " 1"
WshShell.run "cmd /c " & strnetshell1 & " >> %systemdrive%\log.txt",1,True
The above is just a subset of whats actually in the file and works a treat for me.
Hope this helps
Regards
Simon
I use the following in unattend scripted builds which uses the template nicteam.txt and writes the required IP informtion in to a file based upon the systems ID.
rem ReplaceTokens .\deploy\configs\nicteam.txt .\deploy\configs\team\%ID%.txt
The contents of nicteam.txt is as follows:
IPAddress1="%NIC2IPADDR%"
SubnetMask1="%NIC2IPNETMASK%"
DefaultGateway1="%NIC2IPGATEWAY%"
strnetshell1="netsh.exe interface ip set address " & chr(34) & "Team #0 - Adapter Fault Tolerance Mode" & chr(34) & " static " & IPAddress1 & " " & SubnetMask1 & " " & DefaultGateway1 & " 1"
WshShell.run "cmd /c " & strnetshell1 & " >> %systemdrive%\log.txt",1,True
The above is just a subset of whats actually in the file and works a treat for me.
Hope this helps
Regards
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 04:26 AM
03-24-2004 04:26 AM
Re: Using SYSPREP to apply IP addres to Virtual NIC Team
Simon,
Thanks for the help. This works perfectly. You've removed one of the biggest thorns in my side. Much appreciated.
Paul
Thanks for the help. This works perfectly. You've removed one of the biggest thorns in my side. Much appreciated.
Paul
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP