Results 1 to 2 of 2

Thread: Prevent User from being able to change IP

  1. #1
    Associate
    Join Date
    Apr 2007
    Posts
    18

    Prevent User from being able to change IP

    Hi all,

    We have dhcpd server running on RHEL AS 4. If on a client, user sets a static IP and then sets it to be a dynamic, his machine gets the same IP from the DHCP server rather than what it was given before by the DHCP server.

    e.g.

    Step 1 :

    Machine set to Dynamic, IP Obtained: 192.168.0.100

    Step 2 :

    Machine assigned a static IP : 192.168.0.200

    Step 3:

    Machine set back to Dynamic, Obtained IP : 192.168.0.200


    In this scenario, in the third step a machine should have got the old one IP i.e. 192.168.0.100 but it didnt get that one. Why is it so? This allows user to have whatever IP he wants. (It is very serious issue when Internet access is given on the IP addresses )

    What setting can I do on this, as users having administrative rights can easily change their dynamic IP.

    (I am not looking for the solution through Group Policy in Windows Domain Environment.)

    Please suggest.......

  2. #2
    Member
    Join Date
    Jan 2007
    Location
    Adelaide, Australia
    Posts
    112

    Thumbs up RE: Prevent User from being able to change IP

    Why don't you configure DHCPd to assign ip addresses based on the MAC address of the machine that is requesting the lease? Eg: As taken directly from Peter's page http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch08_:_Configuring_the_DHCP_Server

    Code:
    <snip>
       # You can also assign specific IP addresses based on the clients'
       # ethernet MAC address as follows (Host's name is "laser-printer":
    
      host laser-printer {
          hardware ethernet 08:00:2b:4c:59:23;
         fixed-address 192.168.1.222;
       }
    </snip>
    This will only assign the address 192.168.1.222 and no other address to the printer. Change this to reflect your own MAC address and host name in your servers dhcp.conf (usually in /etc/ ). Also make sure users cannot change their MAC address on the machine they are using!

    Cheers,
    Mechdave

Similar Threads

  1. Replies: 2
    Last Post: 08-06-2007, 12:34 PM
  2. vsftpd : cannot login with non-anonymous user ...
    By debellez in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 05-10-2006, 07:12 PM
  3. Create and Configure User Accounts in Windows XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 06:48 AM
  4. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  5. can't change user data or passwords!!!!
    By gschlut in forum Linux - General Topics
    Replies: 2
    Last Post: 02-26-2004, 07:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •