LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Static IP (https://www.linuxquestions.org/questions/linux-networking-3/static-ip-853235/)

divyashree 12-30-2010 06:28 AM

Static IP
 
Is there any way to force any user a single IP ?

Because after assigning static IP from the server side to a MAC address , if the user changes the static ip from the userside , then the IP of the user changed.

acid_kewpie 12-30-2010 06:38 AM

Not if they have the system access to do it. There are actually some ways to do things on the network switches to only permit certain IP:Mac combinations etc... but that's fairly in depth cisco stuff generally.

divyashree 12-30-2010 01:10 PM

Quote:

Originally Posted by acid_kewpie (Post 4207654)
Not if they have the system access to do it. There are actually some ways to do things on the network switches to only permit certain IP:Mac combinations etc... but that's fairly in depth cisco stuff generally.

No they dont have system access, I myself tried this. After assigning static IP on the server side, if I am changing the IP from my side it works ok without any error.

acid_kewpie 12-31-2010 03:24 AM

but you said they could change their IP??

divyashree 01-01-2011 12:31 AM

Quote:

Originally Posted by acid_kewpie (Post 4208519)
but you said they could change their IP??

They could change means, in windows in control panel -> my network places -> Double click on the network icon -> properties -> double click on TCP/IPV4 -> Enter the static IP -> OK.

Here they change their IP .

acid_kewpie 01-01-2011 01:43 AM

Yrs, so that's system access, which you said they didn't have...?

divyashree 01-01-2011 09:15 AM

Quote:

Originally Posted by acid_kewpie (Post 4209349)
Yrs, so that's system access, which you said they didn't have...?

Yes they have admin access to their own system not to the router.

TB0ne 01-01-2011 10:05 AM

Quote:

Originally Posted by divyashree (Post 4209550)
Yes they have admin access to their own system not to the router.

Right...routers don't (usually) give out IP addresses. If you're letting the users have admin rights on their workstations, they they will obviously be able to change their addresses.

Take away their admin rights, give them DHCP addresses, or learn to live with it.

markotitel 01-04-2011 03:10 AM

Which router do you have? Buy RouterBoard by mikrotik for 30 bucks and you solved your problem, there you can bind IP with MAC.

ComputerErik 01-04-2011 07:22 AM

Quote:

Originally Posted by markotitel (Post 4212360)
Which router do you have? Buy RouterBoard by mikrotik for 30 bucks and you solved your problem, there you can bind IP with MAC.

This solves nothing at all. The OP already stated they have setup MAC binding on whatever is doing DHCP and it works fine. The problem is that the user(s) have admin rights on the PC and can thus change the PC IP address. The OP is looking for a way to prevent this, which as mentioned would require the removal of admin rights, or some complex work on Cisco (or similar) switches to lock specific IP/MAC combos to a port.


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