SMEOnffLine: 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 "ukm.co.id"
option domain-name-servers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222, 208.67.220.220;
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