Configure DHCP Server on Linux CentOS
# yum -y install dhcp
# vi dhcpd.conf
Kemudian kita buat sebuah File Konfigurasi DHCP Server yang di letakkan pada folder : /etc/dhcp/ dengan nama file : dhcpd.conf
/etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.100.255;
option routers 192.168.100.5;
option domain-name-servers 192.168.100.5, 8.8.8.8, 8.8.4.4;
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.100 192.168.100.200;
}
service dhcpd start
Comments
Post a Comment