Servicio DHCP

Todo lo anterior no se concibe sin un servidor DHCP que configure los clientes Wifi.

 

El fichero /etc/dhcp/dhcpd.conf

authoritative;
one-lease-per-client on;
server-identifier caronte.bezmi.ies;
default-lease-time 604800;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
option domain-name-servers 192.168.10.1;
option domain-name "bezmi.ies";
ddns-rev-domainname "10.168.192.IN-ADDR.ARPA";
ddns-domainname "bezmi.ies";
ddns-update-style interim;
ddns-updates on;
option netbios-name-servers 192.168.10.1;
 
 
key DHCP_UPDATER {
        algorithm hmac-md5;
        secret "u/j4WZ0GKzT7HMDyys4drQ==";
};
 
zone bezmi.ies. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}
 
zone in-addr.arpa. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}
 
zone 10.168.192.in-addr.arpa. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}
 
  subnet 192.168.0.0 netmask 255.255.255.0 {
     range 192.168.10.50 192.168.10.250;
 }