PC Review


Reply
Thread Tools Rate Thread

need help with NETSH

 
 
Guest
Posts: n/a
 
      24th Feb 2004
I'm trying to use NETSH to set static IP for my work
laptop, here's the command:
NETSH INT IP SET ADDRESS "Local Area Connection" STATIC
192.168.2.2 255.255.255.0

but I got the invalid interface error.
I did check the interface name by going to Network &
DialUp connection to verify the name.
However, when I use a dump command
(NETSH>interface ip>dump), the name appeared
as "{5A00B56A-5966-44C1-951E-898CCB87C274}"
How do I make this name to be the same as my "Local Area
Connection" name? TIA

..


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      25th Feb 2004

<(E-Mail Removed)> wrote in message
news:013201c3fb06$ea8d4c10$(E-Mail Removed)...
> I'm trying to use NETSH to set static IP for my work
> laptop, here's the command:
> NETSH INT IP SET ADDRESS "Local Area Connection" STATIC
> 192.168.2.2 255.255.255.0
>
> but I got the invalid interface error.
> I did check the interface name by going to Network &
> DialUp connection to verify the name.
> However, when I use a dump command
> (NETSH>interface ip>dump), the name appeared
> as "{5A00B56A-5966-44C1-951E-898CCB87C274}"
> How do I make this name to be the same as my "Local Area
> Connection" name? TIA



This command works on my machine:

netsh interface ip set address local static 192.168.1.1 255.255.255.0


 
Reply With Quote
 
Marcus Gau-Wagener
Guest
Posts: n/a
 
      9th Mar 2004
I have the same problem.

NETSH asnwers with the GUID instead of a normal name.
Nither GUID nor the normal name "Local Area Connection" nor "LAN-Verbindung"
can not be used as a name in
SET ADDRESS NAME = "{....}" STATIC ...

IPCONFIG prompts the normal name.

How can I tell NETSH to use it?



"Pegasus (MVP)" <(E-Mail Removed)> schrieb im Newsbeitrag
news:#qKKi40#(E-Mail Removed)...
>
> <(E-Mail Removed)> wrote in message
> news:013201c3fb06$ea8d4c10$(E-Mail Removed)...
> > I'm trying to use NETSH to set static IP for my work
> > laptop, here's the command:
> > NETSH INT IP SET ADDRESS "Local Area Connection" STATIC
> > 192.168.2.2 255.255.255.0
> >
> > but I got the invalid interface error.
> > I did check the interface name by going to Network &
> > DialUp connection to verify the name.
> > However, when I use a dump command
> > (NETSH>interface ip>dump), the name appeared
> > as "{5A00B56A-5966-44C1-951E-898CCB87C274}"
> > How do I make this name to be the same as my "Local Area
> > Connection" name? TIA

>
>
> This command works on my machine:
>
> netsh interface ip set address local static 192.168.1.1 255.255.255.0
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
NETSH help freesing Windows XP Embedded 5 10th Apr 2008 11:04 PM
NetSH Eng. Felipe Humberto Gallardo Reyes Windows XP General 3 18th Aug 2007 02:01 AM
Using netsh in ASP percy Microsoft Windows 2000 Advanced Server 0 13th Dec 2004 10:13 AM
netsh.exe Espen Johannessen Windows XP Networking 0 11th Sep 2004 01:20 PM
netsh Lardy Windows XP Networking 0 17th Jun 2004 09:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 PM.