[windows2000] SV: Switching between IP settings

  • From: "Svein Arild Haugum" <svein@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 22 Oct 2003 14:24:34 +0200

Windows 2000 users can use the shell to switch between a static IP environment 
and a DHCP environment using the "netsh" command from the shell.

Step 1
Select "Start" then "Programs" then "Aceessories" then "Command Prompt".

Step 2
To switch from a static to a DHCP assigned IP Address at the command prompt 
enter: 
netsh interface ip set address "Local Area Connection" dhcp
Press the "Enter" key.

Step 3
To switch from a DHCP to a static assigned IP Address at the command prompt 
enter: 
netsh interface ip set address "Local Area Connection" static ipaddress 
subnetmask gateway metric 
The worlds in italics should be replaced with the appropriate values for your 
network (the metric option may not be required on all networks).
Press the "Enter" key.

Step 4
Your network settings have now been switched without requiring a reboot. If you 
have multiple network adapters on your laptop entering: Netsh interface ip show 
config 
This will give you a list of adapter names on your network. Replace "Local Area 
Connection" with the appropriate name from the list. For users with a single 
network adapter, the default name is "Local Area Connection", and this step is 
unnecessary..


Also, i think you can use hardware profiles for this. (System)


Mvh
Svein Arild Haugum
Technical Leader, IT Department
Heidenreich AS
Phone:  (+47) 22024286 - Mobile: (+47) 92063445
Email: svein@xxxxxxxxxxxxxx - www.heidenreich.no


 
-----Opprinnelig melding-----
Fra: Bennett, Cameron [mailto:CBennett@xxxxxxxxxxxxxx]
Sendt: 22. oktober 2003 14:14
Til: Windows2000
Emne: [windows2000] Switching between IP settings


Greetings, 
I have a user that is using a laptop at work but wants to be able to connect to 
her hi-speed internet at home.  The IP scheme here at work is static while her 
hi-speed is DHCP.  What is the easiest way to configure a laptop to use two 
different IP configurations?  She will need to be able to select either option 
fairly easily since she is not a sophisticated user.
Thanks for any help or suggestions. 
Cameron 
- - 
Consulting: 
If you're not a part of the Solution, there's good money to be made in 
prolonging the Problem 
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you know, 
in most cases, CPU Utilization IS NOT the single biggest constraint to scaling 
up?! Get this free white paper to understand the real constraints & how to 
overcome them. SAVE MONEY by scaling-up rather than buying more servers.
http://www.rtosoft.com/Enter.asp?ID=147
**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts:

  • » [windows2000] SV: Switching between IP settings