[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Netsh to set local IP

Posted on 2006-11-16
7
Medium Priority
?
751 Views
Last Modified: 2008-01-09
Hi, I want to use the following command to set a static IP for a PC

I have tried both of these and they dont work:

NETSH interface ip set address "Local Area Connection" static 192.168.10.101 255.255.255.0 192.168.10.100 1
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

Please help!

TIA

0
Comment
Question by:j4jack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 2

Expert Comment

by:shawn703
ID: 17957965
Try this one:

NETSH interface ip set address name="Local Area Connection" source=static 192.168.10.101 255.255.255.0 192.168.10.100 1
0
 
LVL 2

Expert Comment

by:shawn703
ID: 17957978
The name of you network connection is "Local Area Connection" right?  (Not "Local Area Connection 2" or something like that...)  Also you have full admin rights?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 3

Accepted Solution

by:
JRockSolid earned 1000 total points
ID: 17960527
I was able to complete the command like this:

netsh interface ip set address local static 192.168.5.101 255.255.255.0 192.168.5.1 1

Hope this works for you
0
 
LVL 3

Expert Comment

by:JRockSolid
ID: 17960539
And the name of my Net Con Isnt local   It is Local Area Connection
0
 
LVL 3

Expert Comment

by:JRockSolid
ID: 17971444
Any Luck?
0
 
LVL 3

Expert Comment

by:JRockSolid
ID: 18054792
Thankyou Jack!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question