Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Networking > Changing IP from command line

Reply
Thread Tools Display Modes

Changing IP from command line

 
 
Stefano
Guest
Posts: n/a

 
      02-15-2008
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
 
 
 
 
usasma
Guest
Posts: n/a

 
      02-16-2008
I hope that these links will help you
http://www.venkatarangan.com/blog/20...mmand+Line.asp
http://blogs.vishwak.com/blogs/venka...mand-line.aspx

-John

"Stefano" wrote:

> 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
 
Stefano
Guest
Posts: n/a

 
      02-19-2008
On 16 Feb, 22:00, usasma <usa...@discussions.microsoft.com> wrote:
> I hope that these links will help you:http://www.venkatarangan.com/blog/20...9/change-ip-ad...
>
> -John
>


Yes thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line boot from CD/DVD rodeworrier Windows Vista Performance 1 01-13-2008 06:41 PM
XP command line Qfreed Windows Vista Networking 2 08-25-2007 02:31 PM
Where is the help for command line commands? Peter Flindt Windows Vista General Discussion 6 07-24-2007 01:51 PM
Cannot paste to command line Andrew Zirkel Windows Vista General Discussion 2 07-17-2007 12:26 AM
How do you use command line in shortcuts now ? steve h. Windows Vista General Discussion 8 06-29-2006 05:25 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59