Changing IP from command line


S

Stefano

Hi,
I'm trying to change IP of my computer from command line. I'm using
this netsh.

netsh interface ip set address name = "Connessione alla rete locale
(LAN)" source = static addr = 192.168.210.130 mask = 255.255.255.0

(I'm using italian version)

The above command works under Windows XP but it doesn't modify IP
under Windows Vista.
If I use the same tecnique to modify gateway it works under Vista too

@netsh interface ip set address name = "Connessione alla rete locale
(LAN)" gateway = 192.168.210.45 gwmetric = 1

Is it possible to change IP from command line under Windows Vista ?

Thanks in advance,
Stefano
 
Ad

Advertisements

Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top