Untuk membuat Server DHCP (Dynamic Host Configuration Protocol) pada Linux yang dapat melayani permintaan klien secara otomatis (BOOTP) untuk layanan IP Address statis dan dinamis, edit file /etc/dhcpd.conf, sebagai berikut:
# vi /etc/dhcpd.conf
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
options routers 192.168.0.1;
options subnet-mask 255.255.255.0;
options domain-name "aaa.bbb.co.id";
options domain-name-server 192.168.0.90;
range dynamic-bootp 192.168.0.16 192.168.0.253;
default-lease-time 21600;
max-lease-time 43200;
host melky {
hardware ethernet 00:0B:6A:B5:F0:49;
fixed-address melky;
options subnet-mask 255.255.255.128;
}
host ahmad {
hardware ethernet 00:0B:6A:B5:F0:50;
fixed-address ahmad;
options subnet-mask 255.255.255.192;
}
}
Recent comments
26 weeks 13 hours ago
26 weeks 16 hours ago
26 weeks 17 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago
26 weeks 22 hours ago