I move between two networks periodically. Instead of changing between static and dhcp manually, is there a way I can set it up for both networks or script it?
If you want to access two networks from the same workstation, then you could use two nics in your pc, add static routes. You will need a hub or two data runs.
Maybe a hardware profile, where profile 1 is for network 1 and profile 2 network 2? Not sure if that would work or not... Matt Wray
CCNA, MCP
mwray77518@yahoo.com
My girlfriend uses her laptop @ school which is a DHCP environment and has to switch settings to a static whenever she plugs into my home LAN. I'm on the verge of adding a small dhcp server just for her <arghhhh> I haven't tested the globesoft program yet but they claim it allows you to choose ur connection type <dynamic or static> @ startup.
Does anyone know if it's possible to set up metrics to accomplish this? For Instance: look for DHCP as default and use a static IP as backup if no dhcp server found. If the comp can't find a DHCP server, it will automatically use the static. Possible?
Good answer Mattwray. This could work, although hardware profiles are designed to load specific drivers per profile.
It is worth a try. I still think two nics is the only way. I would like to know if the profile works.
To create a hardware profile
In Control Panel, double-click System, and then click the Hardware tab. Click Hardware Profiles button.
Click the name of the hardware profile on which you want to base the new hardware profile, and then click Copy.
Type a name for the hardware profile you are creating.
Change the hardware which is enabled or disabled in this profile by using Device Manager, as described in the following procedure.
To enable or disable hardware in a hardware profile
In Device Manager, expand the hardware type, and then double-click the hardware.
In the Device Usage box, clear or select Disable in this hardware profile.
Click Yes if you are prompted to restart your computer.
To delete or rename a hardware profile
In Control Panel, double-click System, and then click the Hardware tab. Click Hardware Profiles button.
Click the name of the hardware profile that you want to change.
If you want to remove this profile, click Delete.
Hi guys. I tried a hardware profile and created 2 profiles. One for home and one for work (on my laptop). The hardware profile didn't work for me today. After creating the new profile, I went in and setup the TCP/IP settings, DNS, etc... and the new settings also changed my settings on my other profile.
I know 2 nics is the way to go but my laptop doesn't have anymore slots available. Any other suggestions? I've tried to ask the VB guys (on tek-tips) if there was a way and they pointed me here. I tried your method and still no solution. Any help would be great! Thanks!
Referring VB thread I asked a couple of days ago is here:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.