Je configure le serveur isc-dhcp-server sur Ubuntu 12.04
Mon adaptateur eth0 a une adresse IP statique
Le /etc/default/isc-dhcp-server
INTERFACES="eth0"
Le /etc/dhcp/dhcpd.conf
ddns-update-style none;
option domain-name-servers 192.168.100.100;
option domain-name "cauir.upv.es";
default-lease-time 3600;
max-lease-time 4000;
authoritative;
subnet 192.168.100.0 netmask 255.255.255.0{
option broadcast-address 192.168.100.255;
option routers 192.168.100.100;
Host ubuntu{
hardware eth0:02:03:04:05:ff;
fixed-address 192.168.100.120;
}
Host windows7{
hardware eth0:02:03:04:ff:02;
fixed-address 192.168.100.130;
}
}
J'utilise service isc-dhcp-server start
et j'ai: start: Job failed to start
Si j'utilise initctl restart isc-dhcp-server
j'ai initctl: Unknown instance:
Qu'est-ce que je fais mal?
Devrait utiliser ethernet avant l'adresse mac
Host ubuntu{
hardware ethernet 0:02:03:04:05:ff;
fixed-address 192.168.100.120;
}
Host windows7{
hardware ethernet 0:02:03:04:ff:02;
fixed-address 192.168.100.130;
}