Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

help setting up dhcpd

  • 04-07-2005 10:53AM
    #1
    Registered Users, Registered Users 2, Paid Member Posts: 4,449 ✭✭✭


    I need to setup dhcpd leasing out a range of IP addresses, to a list of MAC addresses. So we will have 10 IP addresses, and a list 20+ of MAC addresses, where only 1 or two of those MAC addressed machines would be on the network at one time. So, the dhcpd will not give out IPs to machines without those MAC addresses, and if it sees a machine with a MAC it knows, it will give it one of the reserved IP range.
    Is this doable? I have look around and tried a few ideas with no luck :(
    Can anyone help by pasting their conf file thats setup like this?

    Thanks!


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 4,449 ✭✭✭KeRbDoG


    ok, found out the fix myself, very easy :)
    this is my example dhcpd.conf file
    
    not authoritative;
    deny unknown-clients;
    ddns-update-style interim;
    ignore client-updates;
    subnet 192.168.0.0 netmask 255.255.255.0 {
    range 192.168.0.210 192.168.0.219;
    option routers  192.168.0.254;
            host KeRbDoG {
                    hardware ethernet 00:0D:66:DD:44:44;
            }
            host temp {
                    hardware ethernet 00:20:ee:ff:bb:99;
            }
    }
    
    


Advertisement