DHCP is our network. The static network is the network at one of our client sites.
Main Topics
Browse All TopicsCan anyone tell me if it is possible to configure Windows 2000 to sign into two networks? One netowork uses DHCP the other has static IP addresses. I want the user to be able to log into either one without having yo make changes to TCP/Ip. I thought this was possible with using Hardware Profiles but when I assign an address to the NIC in one profile it changes it in the other one as well. Any information on this would be appreciated.\
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Couple of questions...
1) Do you have any control over your DHCP address pool?
2) Do you always know the static IP's that you will be using at the client site, or do they sometimes change?
I think that you have a couple of options, but they depend on how much control you have and how "static" your client's environment is.
I'll keep checking back....
During the college years I set up the following.
Add this to autoexec.bat
@ECHO OFF
IF "%config%"=="HOME" GOTO QUIT
IF "%config%"=="SCHOOL" GOTO HELP
:HOME
echo Welcome to the @home network
GOTO QUIT
:SCHOOL
echo Welcome to Shernet
GOTO QUIT
:QUIT
and this to config.sys
[menu]
menuitem=HOME, Start computer with CD-ROM support.
menuitem=SCHOOL, Start computer without CD-ROM support.
menudefault=SCHOOL,10
menucolor=7,0
[HOME]
[SCHOOL]
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z
device=display.sys con=(ega,,1)
country=004,850,country.sy
install=mode.com con cp prepare=((850) ega.cpi)
install=mode.com con cp select=850
***NOTE*** these are direct copies, the [COMMON] part 'might' not be required
Under the :HOME and :SCHOOL portions i'd add a regedit line to load up some settings
IE:
regedit /s c:\homeSettings.reg
or
regedit /s c:\schoolSettings.reg
Wish I could help you more but I'm running XP now and apparently the reg keys are 'slightly' different.
Either way, this code should prompt you with a menu before windows boot that will allow you to select your location/network and then insert/update the required registry keys so that no reboot or settings changes are required.
Hope this helps and hope someone can fill in my blanks.
Best of luck!
I have a similar problem. static ip's at work and dhcp at home. my home LAN uses a different gateway therefore it requires a reconfigure. I found a simple fix to the problem:
configure your TCP/IP for one network then run regedit.
find the following key: HKEY_LOCAL_MACHINE\SYSTEM\
Within that key is a list of all your network interfaces identified by interface id's (unique to interface/adapter unfortunately)
Select the interface that corrosponds to your LAN.
Right click and export the reg to a file name network1.reg
reconfgure the TCP/IP settings then export the same key again to another file network2.reg
double clicking on either of the reg files will import the reg settings for the appropriate network. I am running windows-xp which does this without requiring a reboot, I don't know if Windows 2k does.
I know that this is a bit of a dirty hack but it might be quicker than trying to script something using WMI/ADSI. It might also be possible to run a script on startup which will ask for a choice between networks and import the appropriate setting for you to save you double clicking on the .reg file(s).
Business Accounts
Answer for Membership
by: tmwsiyPosted on 2003-04-14 at 14:48:17ID: 8329636
If you are using the same network card then you will have to reconfigure tcp/ip each time you switch. You could write a vbscript that changes the ip configurations for the user so all they woudl hafta do is run them to change from one environment to the other. Is the static environment hie home? If so you could implement dhcp there as well to make it easy.