This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

allow dhcp only for known mac addresses

This feature looks rather simple to implement:

I would like to be able to enter mac addresses from the pc's that are known to me, and allow only those networkcards to receive an ip address.

Currently, it's a dhcp-on or dhcp-off situation, unless I'm missing something.

I know it's no defence against intruders,but still, I'd like to control the handing out of ip addresses.

mj


This thread was automatically locked due to age.
Parents
  • Try this:

    Shutdown all the PCs.

    Set your DHCP range for only 1 IP (choose one that wasn't used before).

    Turn on a dhcp client that is always left running (printer, whatever).

    Setup static leases for all the other PCs. Static leases are supposed to be OUTSIDE the dhcp pool anyways.

    Barry
  • Hi,

    I suppose i could do that, yes, but I'd still have to manually take care of which MAC has which IP.

    I guess astaro uses ISC DHCP? (but I didn't check) This DHCP has an option to 'deny unknown clients', and allows you to enter mac addresses like:

     host hostnameXX { hardware ethernet x:x:x:x:x:x; }

    This would allow only these mac addresses to receive an ip address. Therefore, the only thing required to implement this functionality, would be a change to the WebAdmin.
    (to allow mac addresses to be entered)
  • You can edit the dhcp-default config file if you're brave.

    Barry
  • I think that mourik_jan's suggestion is a good one.  Simple to implement, an improvement in security, and zero impact on users that don't need it.

    I would like to see this for clients that use wireless connectivity internally and want to be restrictive about who can access that network.
  • I allways thought that the concept of a MAC-Address Whitelist only gives a false sense of security, because the MAC is so easy to fake.

    And for the DHCP Problem...
    just give out a IP Range that lives outside of your Subnet, so a "unknown" PC can´t talk to anything (ofcourse it still can "sniff") and use static leases for your Devices.

    If you have a manageble Switch, it might be possible to use a MAC-Address "lock" for the Ports.
  • Thank you, BangkokBob. :-)

    Let's hope astaro people read this, and feel the same way as we do.
Reply Children
No Data