Prev Previous Post   Next Post Next

Changing IP from command line

Posted: 02-15-2008, 05:31 PM
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
Reply With Quote

Responses to "Changing IP from command line"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP command line Qfreed Windows Vista Networking & Sharing 2 08-25-2007 03:31 PM
VPN via command line Mike_S Windows XP Work Remotely 2 12-01-2004 02:19 AM
Command Line Ruben Garcia Windows XP Embedded 1 05-04-2004 07:16 PM
XP Fax: Command line Darb Windows XP Printers / Scanners / Fax 1 01-08-2004 09:20 AM
fax command line Sandro Windows XP Printers / Scanners / Fax 2 11-10-2003 07:36 PM