HW profiles

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

For some reason I need that a same station will be able
to load with different IP addresses. (It's not about
alternate IP definitions in the same profile). While
working under address X the station must not be reachable
from subnet Y and v.v.
I supposed that the solution is to define different HW
profiles and in each ot them to define different IP
addresses for net adapter.
It was surprise to discover that net definitions from HW
Profile1 are loaded in HW Profile2.
What is the reason ? There is no problem to change IP
address (even without restart) !
Is there possibility to overcome a problem?

N.B.
Why desktop resolution (e.g. 800x600) of user A should be
expaned to the settings of user B (suppose he wants
1024x768) ?

Al
..
 
You'll need two different network interfaces in order to do it with hardware
profiles. You might try netsh From a command prompt;

1 to set static ip address and subnet, 2 to set dhcp assign ip address 3 to
clear previous dns server ip's, 4 to set primary dns server, 5 to set alt
dns server

1.) netsh interface ip set address name="Local Area Connection 2"
source=static addr=192.168.10.10 mask=255.255.2550 gateway=none
2.) netsh interface ip set address name="Local Area Connection 2"
source=dhcp
3.) netsh interface ip delete dns name="Local Area Connection 2" addr=all
4.) netsh interface ip set dns name="Local Area Connection 2" source=static
addr=192.168.20.20
5.) netsh interface ip add dns name="Local Area Connection 2"
addr=192.168.30.30

Where "Local Area Connection 2" is the name of your connection. Watch for
line wrap.

Create shell scripts to switch it back and forth.

Graphics adapter settings are machine specific (as opposed to user specific)
in Windows 2000
 
Back
Top