Scripting Network Addr Changes

  • Thread starter Thread starter Tennis Smith
  • Start date Start date
T

Tennis Smith

Hi,

I have several dozen PCs in a test environment. Each PC has 3 ethernet
cards, each with a connection to a different subnet. Now, it looks like we
will have to make changes to most of these addresses.

Is there a way I can simply run a script/app on each PC to change the vital
info in the network addresses? I'm trying to avoid going to each one and
making the ip address/mask different.

TIA,
-Tennis
 
Tennis Smith said:
Hi,

I have several dozen PCs in a test environment. Each PC has 3 ethernet
cards, each with a connection to a different subnet. Now, it looks like we
will have to make changes to most of these addresses.

Is there a way I can simply run a script/app on each PC to change the vital
info in the network addresses? I'm trying to avoid going to each one and
making the ip address/mask different.

To put it another way: I'm trying to avoid doing manual changes of
addresses. I'd rather have some automated way of doing this.

-Tennis
 
To put it another way: I'm trying to avoid doing manual changes of
addresses. I'd rather have some automated way of doing this.

Tennis,

Try "netsh int ip set" from a command window. You will note that netsh will
execute remotely too.

<http://support.microsoft.com/?id=242468>

And Tennis, please don't contribute to the spread and success of email address
mining viruses. Learn to munge your email address properly, to keep yourself a
bit safer when posting to open forums. Protect yourself and the rest of the
internet - read this article.
http://www.mailmsg.com/SPAM_munging.htm

Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.
 
Thanks for the info, both the netsh stuff and the spam data.

Also, does "netsh" work only on win2k? What about xp or me??

-Tennis
 
Thanks for the info, both the netsh stuff and the spam data.

Also, does "netsh" work only on win2k? What about xp or me??

Tennis,

Netsh works on both 2K and XP. I do not have ME right now. If you could try it
("netsh int ip set /?" from a command window) on an ME system, and post your
findings, this could help others.

Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.
 
Back
Top