home/work user configuration

Hi,
How do I setup a user with a notebook to use static IP at home and DHCP server when he come to work and connects to network. Can I create two different profiles to be used using the same NIC?

thanks for your answer.
mehranalmasiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sunray_2003Commented:
I assume he is going to use broadband connection at both places

Just create one network connection going to networks and connections

At home he can put the IP address and other information right-clicking that network connection, going to internet protocol (tcp/ip) and other place he can just remove that

Sunray
0
mehranalmasiAuthor Commented:
thanks. This is the stuff the admins are suppose to do! My goal is to do all that with click of an icon to switch the configuration.

Mehran
0
rhinocerosCommented:
You can try to use the command "netsh". At first, you should create two batch files as following


1. e.g.  netsh interface ip set address "Local Area Connection" dhcp
(To switch the specified adapter from a static address to DHCP)


2. e.g. netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1
(To change to a static address)


And then click one of batch files to switch the IP configuration as you want.


More information
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q257/7/48.ASP&NoWebContent=1


I hope it can help.



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Chris_PicciottoCommented:
It would be simple if you had a docking station or port replicator.
0
jhanceCommented:
Let me suggest that you may want to look at NetSwitcher:

http://www.netswitcher.com

It's able to "remember" your two setup and let you choose which one to use depending on where you are.
0
darth_wannabeCommented:
also check multinetwork manager
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.