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.