PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Networking need help with NETSH

Reply

need help with NETSH

 
Thread Tools Rate Thread
Old 24-02-2004, 07:49 PM   #1
Guest
 
Posts: n/a
Default need help with NETSH


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
Old 25-02-2004, 04:19 AM   #2
Pegasus \(MVP\)
Guest
 
Posts: n/a
Default Re: need help with NETSH


<anonymous@discussions.microsoft.com> wrote in message
news:013201c3fb06$ea8d4c10$3a01280a@phx.gbl...
> 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
Old 09-03-2004, 09:32 PM   #3
Marcus Gau-Wagener
Guest
 
Posts: n/a
Default Re: need help with NETSH

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)" <I.can@fly.com> schrieb im Newsbeitrag
news:#qKKi40#DHA.2308@tk2msftngp13.phx.gbl...
>
> <anonymous@discussions.microsoft.com> wrote in message
> news:013201c3fb06$ea8d4c10$3a01280a@phx.gbl...
> > 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off