LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-17-2005, 04:24 PM   #1
naughtymutt
LQ Newbie
 
Registered: Oct 2002
Posts: 23

Rep: Reputation: 15
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
 
Old 07-17-2005, 07:26 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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).

Last edited by MS3FGX; 07-17-2005 at 07:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DESPERATE : Iptables block users by MAC address. ranjan303 Linux - Security 28 03-29-2005 01:15 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
problem with resolving MAC address from windows system7 Linux - Networking 3 02-15-2004 05:25 PM
sharing ximian email and address between windows and linux dave37 Linux - Software 0 11-06-2003 02:14 PM
How do you find ip address of users? Alinuxnoob Linux - Security 6 02-28-2002 08:42 AM


All times are GMT -5. The time now is 03:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration