LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   different IP address for windows users (https://www.linuxquestions.org/questions/linux-networking-3/different-ip-address-for-windows-users-344062/)

naughtymutt 07-17-2005 04:24 PM

different IP address for windows users
 
Is there a way to give different IP addresses to different users on the same Windows XP computer.

Either Pro or Home as i have both available to install

MS3FGX 07-17-2005 07:26 PM

Interesting problem, it took me awhile to think of an answer.

I know of no built-in ability to do what you are asking, however, I think I have a solution.

What you can do is have batch files that run for each user at logon. In the batch file, put something like this:

Code:


netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

Of course filling in your values for the IP address and gateway.

That should set the interface to whatever you want when the user logs in. And a different batch file for each user with different values would allow you to give each user their own IP (even though the machine would have a different IP at boot time).


All times are GMT -5. The time now is 12:50 AM.