about dhcp configuration

Tim ignored_mailbox at yahoo.com.au
Mon Feb 26 07:29:01 UTC 2007


On Mon, 2007-02-26 at 09:49 +0300, ismail bushra wrote:
> My question regarding DHCP configuration spceially in section of fixed
> ip to specified mac address, so how many fixed ip and mac address can
> i specified ? 1,2,3 ..... and the proper syntax.
 

man dhcpd.conf
man dhcpd

This is an example taken from parts of my /etc/dhcpd.conf file:


  host flakey {
    hardware ethernet 00:00:21:25:92:fb;
    fixed-address 192.168.1.180;
    set ddns-rev-name = "9.1.168.192.in-addr.arpa.";
    option host-name "deadmeat";
    update-static-leases on;
  }

A client calling itself flakey, that matches the MAC after "hardware
ethernet" gets set the fixed IP address, that reverse IP address is set
into my dynamic DNS server, the client is told to use the "deadmeat"
hostname (instead of flakey), and the dynamic DNS system writes the
change into the DNS records, even though this is a static entry.

You don't need all of that, that's just some of the possiblities.


-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the users mailing list