We help IT Professionals succeed at work.
Get Started

Need help on changing subnet mast and gateway ip addresses on 30 servers remotely

474 Views
Last Modified: 2012-05-05
can someone please point me to a utility tool I can use to change the gateway and subnet mask of over 30 servers. May somone has a script of some sort. I've been testing using netsh but I get the error below.

C:\>netsh -r 172.25.212.222 interface set address name="Local Area Connection"
source=static mask = 255.255.252 0 gateway=172.25.213.254 gwmetric=1

The following command was not found: interface set address "name=Local Area Conn
ection" source=static mask = 255.255.0 0 gateway=192.168.1.1 gwmetric=1.
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE