SchoolOnffLine: Instalasi DHCP Server untuk pemberian IP address automatis

From OnnoWiki
Jump to navigation Jump to search

Instalasi DHCP Server

# apt-get install dhcp3-server

Konfigurasi dhcpd.conf

# vi /etc/dhcp3/dhcpd.conf

Isinya kira-kira sebagai berikut

ddns-update-style none;
option domain-name "sekolah.sch.id"
option domain-name-servers 192.168.0.254;
default-lease-time   86400; # 24 jam
max-lease-time      172800; # 48 jam
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
       range 192.168.0.30 192.168.0.70;
       option routers 192.168.0.1;
       }

Restart DHCP Server

# /etc/init.d/dhcp3-server restart



Pranala Menarik