- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers - Netservers
- >
- Nic Teaming Ip Configuration Script
ProLiant Servers - Netservers
1748264
Members
3985
Online
108760
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP