Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers - Netservers
- >
- Nic Teaming Ip Configuration Script
ProLiant Servers - Netservers
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
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
07-01-2008 09:10 AM
07-01-2008 09:10 AM
Nic Teaming Ip Configuration Script
Hi Everyone,
I wrote this script because I'm sick of having to re type in all of the ip information and settings every time I setup a team
tested on 32 bit standard, enterprise, 64 bit standard / enterprise
You must build the team before you run this!
this will
- ask you for the ip address
- ask you for the subnet mask
- ask you for the default gateway
- rename the team to "Public Team" or whatever you want
- adds whatever dns servers you want (up to 3)
- adds whatever wins servers you want (up to 2)
- fills in whatever dns suffixes you want (in the right order)
- enable netbios over tcpip (or not if you don't want it to)
'first section searches for the team by the adapter type
'after it finds this adapter it will change the team name to public team (or whatever you want)
'all you have to do if you want your team named something else just change this line objItem.Name = "Public Team" to whatever you want
'after that you will get prompted for the ip address and subnet mask and default gateway
'change strdns1= your dns server
'change strdns2= your second dns server
'change strdns3= your third dns server if you have one
'change strwins1= your wins server
'change strwins2= your second wins server
'change the arrDNSSuffixes = Array("somewhere.com", "somewhere.net", "someotherplace.com", "someotherplace.net") to your dns suffixes
'change iNetBios= your netbios settings
I wrote this script because I'm sick of having to re type in all of the ip information and settings every time I setup a team
tested on 32 bit standard, enterprise, 64 bit standard / enterprise
You must build the team before you run this!
this will
- ask you for the ip address
- ask you for the subnet mask
- ask you for the default gateway
- rename the team to "Public Team" or whatever you want
- adds whatever dns servers you want (up to 3)
- adds whatever wins servers you want (up to 2)
- fills in whatever dns suffixes you want (in the right order)
- enable netbios over tcpip (or not if you don't want it to)
'first section searches for the team by the adapter type
'after it finds this adapter it will change the team name to public team (or whatever you want)
'all you have to do if you want your team named something else just change this line objItem.Name = "Public Team" to whatever you want
'after that you will get prompted for the ip address and subnet mask and default gateway
'change strdns1= your dns server
'change strdns2= your second dns server
'change strdns3= your third dns server if you have one
'change strwins1= your wins server
'change strwins2= your second wins server
'change the arrDNSSuffixes = Array("somewhere.com", "somewhere.net", "someotherplace.com", "someotherplace.net") to your dns suffixes
'change iNetBios= your netbios settings
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2008 10:46 AM
07-01-2008 10:46 AM
Re: Nic Teaming Ip Configuration Script
uh oh forgot to change the local area connection name - changed in this version
This will also rename the nic team to Public team or whattever you want.
This will also rename the nic team to Public team or whattever you want.
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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP