[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

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.
0
mehranalmasi
Asked:
mehranalmasi
1 Solution
 
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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority 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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now