Originariamente inviato da billiejoex
Il consiglio che do sempre:
Lascia perdere l'accoppiata dhcpd + bind.
Usa dnsmasq e vai liscio come l'olio con 3 righe da editare nel file di configurazione.
ho seguito il tuo consiglio e devo dire che è abbastanza semplice, anche se non riesco ad associare un indirizzo MAC con uno ip
# agent. If you don't know what a DHCP relay agent is, you probably
# don't need to worry about this.
dhcp-range=192.165.100.1,192.165.100.100,255.255.255.0, 12h

# This is an example of a DHCP range with a network-id, so that
# some DHCP options may be set only for this network.
#dhcp-range=red,192.168.0.50,192.168.0.150

# Supply parameters for specified hosts using DHCP. There are lots
# of valid alternatives, so we will give examples of each. Note that
# IP addresses DO NOT have to be in the range given above, they just
# need to be on the same network. The order of the parameters in these
# do not matter, it's permissble to give name,adddress and MAC in any order

# Always allocate the host with ethernet address 11:22:33:44:55:66
# The IP address 192.168.0.60
dhcp-host=00:A1:B0:00:C1:32,192.165.100.76
# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
dhcp-host=00:A1:B0:00:C1:32,prova1

# Always give the host with ethernet address 11:22:33:44:55:66
# the name fred and IP address 192.168.0.60 and lease time 45 minutes
#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m

# Give the machine which says it's name is "bert" IP address
# 192.168.0.70 and an infinite lease
#dhcp-host=bert,192.168.0.70,infinite

# Always give the host with client identifier 01:02:02:04
# the IP address 192.168.0.60
#dhcp-host=id:01:02:02:04,192.168.0.60

# Always give the host with client identifier "marjorie"
# the IP address 192.168.0.60
#dhcp-host=id:marjorie,192.168.0.60
dove sbaglio???
la macchina client contnua a prendere un indirizzo che vuole!!!